-
Notifications
You must be signed in to change notification settings - Fork 14
/
asm.asm
110 lines (88 loc) · 2.58 KB
/
asm.asm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
sub esp, 0x7FFFFFFF
pushfd
pop dword ptr [esp+0x7FFFFFFF]
mov dword ptr [esp+0x7FFFFFFF], eax
mov dword ptr [esp+0x7FFFFFFF], ecx
mov dword ptr [esp+0x7FFFFFFF], edx
mov dword ptr [esp+0x7FFFFFFF], ebx
mov dword ptr [esp+0x7FFFFFFF], esp
add dword ptr [esp+0x7FFFFFFF], 0x7FFFFFFF
mov dword ptr [esp+0x7FFFFFFF], ebp
mov dword ptr [esp+0x7FFFFFFF], esi
mov dword ptr [esp+0x7FFFFFFF], edi
stmxcsr [esp+0x7FFFFFFF]
vmovups [esp+0x7FFFFFFF], xmm0
vmovups [esp+0x7FFFFFFF], xmm1
vmovups [esp+0x7FFFFFFF], xmm2
vmovups [esp+0x7FFFFFFF], xmm3
vmovups [esp+0x7FFFFFFF], xmm4
vmovups [esp+0x7FFFFFFF], xmm5
vmovups [esp+0x7FFFFFFF], xmm6
vmovups [esp+0x7FFFFFFF], xmm7
vmovups [esp+0x7FFFFFFF], ymm0
vmovups [esp+0x7FFFFFFF], ymm1
vmovups [esp+0x7FFFFFFF], ymm2
vmovups [esp+0x7FFFFFFF], ymm3
vmovups [esp+0x7FFFFFFF], ymm4
vmovups [esp+0x7FFFFFFF], ymm5
vmovups [esp+0x7FFFFFFF], ymm6
vmovups [esp+0x7FFFFFFF], ymm7
vmovups [esp+0x7FFFFFFF], zmm0
vmovups [esp+0x7FFFFFFF], zmm1
vmovups [esp+0x7FFFFFFF], zmm2
vmovups [esp+0x7FFFFFFF], zmm3
vmovups [esp+0x7FFFFFFF], zmm4
vmovups [esp+0x7FFFFFFF], zmm5
vmovups [esp+0x7FFFFFFF], zmm6
vmovups [esp+0x7FFFFFFF], zmm7
fsave [esp+0x7FFFFFFF]
push eax
lea eax, [esp+0x4]
push eax
mov dword ptr [esp-0x4], 0x7FFFFFFF
call [esp-0x4]
add esp, 0x4
movzx eax, al
test eax, eax
je nothing_modified
pop eax
frstor [esp+0x7FFFFFFF]
vmovups zmm7, [esp+0x7FFFFFFF]
vmovups zmm6, [esp+0x7FFFFFFF]
vmovups zmm5, [esp+0x7FFFFFFF]
vmovups zmm4, [esp+0x7FFFFFFF]
vmovups zmm3, [esp+0x7FFFFFFF]
vmovups zmm2, [esp+0x7FFFFFFF]
vmovups zmm1, [esp+0x7FFFFFFF]
vmovups zmm0, [esp+0x7FFFFFFF]
vmovups ymm7, [esp+0x7FFFFFFF]
vmovups ymm6, [esp+0x7FFFFFFF]
vmovups ymm5, [esp+0x7FFFFFFF]
vmovups ymm4, [esp+0x7FFFFFFF]
vmovups ymm3, [esp+0x7FFFFFFF]
vmovups ymm2, [esp+0x7FFFFFFF]
vmovups ymm1, [esp+0x7FFFFFFF]
vmovups ymm0, [esp+0x7FFFFFFF]
vmovups xmm7, [esp+0x7FFFFFFF]
vmovups xmm6, [esp+0x7FFFFFFF]
vmovups xmm5, [esp+0x7FFFFFFF]
vmovups xmm4, [esp+0x7FFFFFFF]
vmovups xmm3, [esp+0x7FFFFFFF]
vmovups xmm2, [esp+0x7FFFFFFF]
vmovups xmm1, [esp+0x7FFFFFFF]
vmovups xmm0, [esp+0x7FFFFFFF]
ldmxcsr [esp+0x7FFFFFFF]
mov edi, dword ptr [esp+0x7FFFFFFF]
mov esi, dword ptr [esp+0x7FFFFFFF]
mov ebp, dword ptr [esp+0x7FFFFFFF]
mov ebx, dword ptr [esp+0x7FFFFFFF]
mov edx, dword ptr [esp+0x7FFFFFFF]
mov ecx, dword ptr [esp+0x7FFFFFFF]
mov eax, dword ptr [esp+0x7FFFFFFF]
push dword ptr [esp+0x7FFFFFFF]
popfd
mov esp, dword ptr [esp+0x7FFFFFFF]
ret 0x0
nothing_modified:
pop eax
add esp, 0x7FFFFFFF