Function at 0x11ef587
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
pushfd
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], ebx
lea eax, [ebp + 4]
mov dword [ebp - 0x84], esi
mov ebx, 0xfffffff
mov dword [ebp - 0x8c], edi
mov esi, dword [eax + 4]
sub eax, 4
mov edi, dword [0x109dc84]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 4]
and eax, ebx
lea ecx, [edi + eax - 1]
mov eax, ecx
xor edx, edx
div edi
mov eax, dword [0x109dc84]
sub ecx, edx
mov dword [ebp - 0x48], ecx
mov eax, dword [0x129bea8]
mov dword [ebp - 0x44], eax
mov eax, dword [0x109dc84]
mov eax, dword [0x129bea8]
test eax, eax
je 0x11ef67a
and dword [ebp - 0x38], 0
mov eax, dword [0x129bea8]
dec eax
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov edx, ecx
je 0x11ef62f
mov edi, dword [0x1427a7c]
imul edi, edi, 0x343fd
add edi, 0x269ec3
mov dword [0x1427a7c], edi
shr edi, 0x10
shl eax, 0x10
or eax, edi
shr edx, 0x10
jne 0x11ef60a
xor edx, edx
div ecx
cmp dword [ebp - 0x44], 0
jbe 0x11ef671
mov ecx, 0xffffc428
inc dword [ebp - 0x38]
mov eax, 0x3bd7
lea edi, [edx*4 + 0x1427d38]
lock cmpxchg dword [edi], ecx
cmp eax, 0x3bd7
je 0x11ef7f6
mov ecx, dword [0x129bea8]
lea eax, [edx + 1]
xor edx, edx
div ecx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x44]
jb 0x11ef639
xor eax, eax
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x11ef6f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
mov dword [ebp - 0x1c], eax
inc edi
push 0x40
push 0x1000
push dword [ebp - 0x48]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x11ef809
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x11
jb 0x11ef685
xor edi, edi
mov dword [ebp - 0x14], edi
cmp dword [0x144656c], edi
ja 0x11ef6c1
test edi, 3
je 0x11ef6d8
test edi, edi
je 0x11ef6d3
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor edi, edi
mov dword [ebp - 0x14], edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
je 0x11ef5db
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x11ef6f7
mov byte [edi], 0
inc edi
dec eax
jne 0x11ef6f0
mov eax, 0xc89a1d2
mov eax, dword [esi]
shr eax, 2
and eax, 7
lea eax, [eax + esi + 8]
mov esi, dword [esi + 4]
mov dword [ebp - 0x3c], eax
and esi, ebx
lea edi, [esi + eax]
mov dword [ebp - 0x48], eax
mov eax, dword [0x109dc84]
sub eax, esi
lea ecx, [eax + 1]
mov ebx, 0x1000000
sub dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x1c], ecx
xor eax, eax
test ecx, ecx
je 0x11ef75c
mov edx, dword [0x1427a7c]
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x1427a7c], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
shr ecx, 0x10
jne 0x11ef737
xor edx, edx
div dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push esi
push dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov eax, 0x53e1dcf3
mov esi, dword [edi]
mov edi, dword [edi + 4]
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0xd], 0
mov eax, 0x2d218561
mov edx, dword [0x13ca1e8]
mov eax, 0xfffffff
and esi, eax
and edi, eax
xor ecx, ecx
add esp, 0x10
add esi, ebx
mov eax, ebx
mov dword [ebp - 0x24], ecx
sub eax, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], eax
jne 0x11ef813
mov dword [ebp - 0x14], ecx
cmp edi, ecx
jbe 0x11ef9cf
mov ebx, 0xab30505f
mov ecx, 0x54cfafa1
mov eax, dword [ebp - 0x14]
mov edx, ebx
movzx eax, byte [eax + esi]
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xab30505f
ror eax, 0xb
add dword [ebp - 0x24], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
jb 0x11ef7c5
jmp 0x11ef9cf
mov eax, dword [0x109dc84]
imul eax, edx
lea eax, [eax + section..data]
jmp 0x11ef673
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x11ef6b1
mov edx, dword [0x100003c]
mov ecx, esi
lea eax, [edi + esi]
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x28], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov ebx, 0x1000000
add eax, ebx
sub ecx, ebx
mov dword [ebp - 0x1c], edx
mov ebx, ecx
mov edx, ecx
add ecx, edi
mov edi, ecx
and edi, 0xfffff000
sub ecx, edi
and edx, 0xfffff000
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x64], edi
mov edi, eax
add ecx, eax
sub ebx, edx
cmp eax, ecx
mov dword [ebp - 0x5c], ecx
je 0x11ef870
cmp dword [edi], edx
jae 0x11ef870
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x5c]
jne 0x11ef864
xor eax, eax
cmp edi, dword [ebp - 0x5c]
je 0x11ef899
cmp dword [edi], edx
jne 0x11ef899
mov ecx, dword [edi + 4]
sub ecx, 8
shr ecx, 1
je 0x11ef899
movzx edx, word [edi + eax*2 + 8]
and edx, 0xfff
cmp edx, ebx
jae 0x11ef899
inc eax
cmp eax, ecx
jne 0x11ef885
mov ecx, 0x54cfafa1
mov ebx, 0xab30505f
cmp edi, dword [ebp - 0x5c]
je 0x11ef99c
mov edx, dword [edi]
cmp edx, dword [ebp - 0x64]
ja 0x11ef99c
mov edx, dword [edi + 4]
add edx, 0xfffffff8
shr edx, 1
cmp eax, edx
jne 0x11ef8de
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x5c]
je 0x11ef99c
mov eax, dword [ebp - 0x64]
cmp dword [edi], eax
ja 0x11ef99c
xor eax, eax
jmp 0x11ef8b7
mov edx, dword [edi]
cmp edx, dword [ebp - 0x64]
jne 0x11ef8f9
movzx edx, word [edi + eax*2 + 8]
and edx, 0xfff
cmp edx, dword [ebp - 0x60]
jae 0x11ef99c
mov edx, eax
inc eax
test word [edi + edx*2 + 8], 0xf000
mov dword [ebp - 0x54], eax
je 0x11ef8a3
movzx eax, word [edi + edx*2 + 8]
mov edx, dword [edi]
and dword [ebp - 0x14], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x2c], eax
sub dword [ebp - 0x2c], esi
mov dword [ebp - 0x34], eax
je 0x11ef959
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + esi]
mov edx, ebx
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xab30505f
ror eax, 0xb
add dword [ebp - 0x24], eax
inc dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x2c]
jb 0x11ef92a
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x6c], eax
xor esi, esi
mov edx, ebx
movzx eax, byte [ebp + esi - 0x6c]
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xab30505f
ror eax, 0xb
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc esi
cmp esi, 4
jb 0x11ef966
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x54]
add esi, 4
jmp 0x11ef8a3
xor edi, edi
mov eax, dword [ebp - 0x28]
sub eax, esi
mov dword [ebp - 0x1c], eax
je 0x11ef9cf
movzx eax, byte [esi + edi]
sub eax, ecx
mov edx, ebx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xab30505f
ror eax, 0xb
add dword [ebp - 0x24], eax
inc edi
cmp edi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
jb 0x11ef9a8
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x24]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x11ef9d1
mov eax, 0x2685cf33
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
and eax, 7
mov dword [ebp - 0x1c], eax
je 0x11efbb1
xor ecx, ecx
cmp eax, ecx
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], ecx
not edi
jle 0x11efa3e
push 0x38
pop edx
movzx ebx, byte [esi]
cmp dword [ebp - 0x18], 4
jge 0x11efa2b
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x2c], ebx
jmp 0x11efa32
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x14], ebx
inc esi
inc dword [ebp - 0x18]
sub edx, 8
cmp dword [ebp - 0x18], eax
jl 0x11efa18
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x3c]
sub ecx, eax
movzx edx, word [ebp - 8]
xor edi, ecx
mov eax, edi
movzx ecx, word [ebp - 0xc]
sub eax, ecx
mov dword [ebp - 0x30], ecx
imul eax, edx
mov ecx, edi
shr ecx, 0xf
sub eax, ecx
mov dword [ebp - 0x28], edx
xor eax, dword [ebp - 0x3c]
movzx edx, word [ebp - 0xa]
mov ebx, eax
movzx ecx, word [ebp - 6]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], edx
xor ecx, eax
rol ecx, 3
imul edx, ecx
ror ebx, 2
mov ecx, dword [ebp - 8]
add ebx, edx
xor edi, ebx
mov edx, edi
mov ebx, dword [ebp - 0x30]
sub ecx, edi
rol ecx, 6
imul ebx, ecx
ror edx, 0xb
xor edx, ebx
mov ebx, dword [ebp - 0x18]
xor eax, edx
mov edx, dword [ebp - 0x18]
mov ecx, eax
not ecx
ror ecx, 2
add ecx, dword [ebp - 0x34]
imul ecx, dword [ebp - 0x28]
xor edi, ecx
mov ecx, edi
xor edx, edi
imul edx, dword [ebp - 0x28]
ror ecx, 7
sub edx, ecx
xor eax, edx
mov edx, dword [ebp - 8]
mov ecx, edx
xor ecx, eax
rol ecx, 6
imul ebx, ecx
mov ecx, eax
shr ecx, 6
sub ebx, ecx
mov ecx, dword [ebp - 0x30]
xor edi, ebx
mov ebx, edi
sub edx, edi
ror edx, 9
imul ecx, edx
ror ebx, 0xc
mov edx, dword [ebp - 0x34]
sub ecx, ebx
xor eax, ecx
mov ebx, eax
mov ecx, eax
sub ecx, dword [ebp - 0xc]
ror ecx, 9
imul edx, ecx
mov ecx, dword [ebp - 0xc]
ror ebx, 6
add ebx, edx
mov edx, dword [ebp - 0x28]
xor edi, ebx
sub ecx, edi
ror ecx, 8
mov ebx, edi
ror ebx, 7
imul edx, ecx
add ebx, edx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
xor eax, ebx
and dword [ebp - 0x18], 0
mov ebx, eax
xor edx, eax
rol edx, 2
imul ecx, edx
rol ebx, 8
sub ecx, ebx
xor edi, ecx
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0x2c]
xor ecx, edi
xor edi, dword [ebp - 0x14]
xor eax, ecx
test ebx, ebx
mov ecx, edi
mov dword [ebp - 0x28], eax
jle 0x11efb87
cmp dword [ebp - 0x18], 4
jge 0x11efb6e
rol dword [ebp - 0x28], 8
mov dl, byte [ebp - 0x28]
mov ebx, dword [ebp - 0x40]
inc dword [ebp - 0x40]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x11efb7c
mov edx, dword [ebp - 0x40]
inc dword [ebp - 0x40]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], ebx
jl 0x11efb54
add ebx, 0xfffffffc
test ebx, ebx
jle 0x11efb9e
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
jmp 0x11efbc0
xor edx, edx
test ebx, ebx
jge 0x11efbc0
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x11efbc0
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x2c], eax
not eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
shr ecx, 3
je 0x11efd88
movzx edi, word [ebp - 6]
mov dword [ebp - 0x34], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0xc]
xor edi, dword [ebp - 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x68], edi
mov ebx, dword [ebp - 0x18]
movzx edi, byte [esi + 2]
xor ecx, ecx
mov ch, byte [esi]
add esi, 8
mov cl, byte [esi - 7]
shl ecx, 8
or ecx, edi
movzx edi, byte [esi - 5]
shl ecx, 8
or ecx, edi
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov ch, byte [esi - 4]
mov cl, byte [esi - 3]
movzx edi, byte [esi - 2]
xor eax, dword [ebp - 0x28]
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi - 1]
or ecx, edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 8]
xor ecx, eax
sub edi, ecx
movzx ecx, word [ebp - 0xc]
xor edi, dword [ebp - 0x1c]
xor edx, edi
mov edi, edx
sub edi, ecx
movzx ecx, word [ebp - 8]
imul edi, ecx
mov ecx, edx
shr ecx, 0xf
sub edi, ecx
mov ecx, dword [ebp - 0x34]
xor eax, edi
mov edi, eax
xor ecx, eax
rol ecx, 3
imul ebx, ecx
mov ecx, dword [ebp - 8]
ror edi, 2
add edi, ebx
xor edx, edi
movzx edi, word [ebp - 0xc]
mov ebx, edx
sub ecx, edx
rol ecx, 6
imul edi, ecx
ror ebx, 0xb
movzx ecx, word [ebp - 8]
xor ebx, edi
xor eax, ebx
mov edi, eax
not edi
ror edi, 2
add edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x18]
imul edi, ecx
xor edx, edi
xor ebx, edx
imul ebx, ecx
mov edi, edx
mov ecx, dword [ebp - 8]
ror edi, 7
sub ebx, edi
mov edi, dword [ebp - 0x18]
xor eax, ebx
xor ecx, eax
rol ecx, 6
imul edi, ecx
mov ecx, eax
shr ecx, 6
sub edi, ecx
xor edx, edi
mov ecx, dword [ebp - 8]
sub ecx, edx
mov ebx, edx
movzx edi, word [ebp - 0xc]
ror ecx, 9
imul edi, ecx
ror ebx, 0xc
sub edi, ebx
xor eax, edi
mov ecx, eax
mov edi, eax
mov ebx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0xc]
ror ecx, 9
imul ebx, ecx
ror edi, 6
add edi, ebx
mov ecx, dword [ebp - 0xc]
xor edx, edi
movzx edi, word [ebp - 8]
mov ebx, edx
sub ecx, edx
ror ecx, 8
imul edi, ecx
ror ebx, 7
add ebx, edi
xor eax, ebx
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp - 0x18]
mov edi, eax
xor ecx, eax
rol ecx, 2
imul ebx, ecx
rol edi, 8
mov ecx, dword [ebp - 0x2c]
sub ebx, edi
mov edi, dword [ebp - 0x40]
xor edx, ebx
xor ecx, edx
xor edx, dword [ebp - 0x14]
xor ecx, eax
xor ecx, dword [ebp - 0x68]
mov byte [edi + 7], dl
mov eax, ecx
mov cl, byte [ebp - 0xd]
xor cl, al
mov byte [edi + 3], al
xor cl, dl
ror eax, 8
mov byte [edi + 2], al
xor cl, al
ror edx, 8
mov byte [edi + 6], dl
xor cl, dl
ror eax, 8
xor cl, al
ror edx, 8
mov byte [edi + 1], al
xor cl, dl
mov byte [edi + 5], dl
ror eax, 8
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x28]
mov byte [edi], al
mov byte [edi + 4], dl
add edi, 8
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0x30]
ror eax, 8
mov dword [ebp - 0x14], ecx
ror edx, 8
mov dword [ebp - 0x40], edi
jne 0x11efbe6
mov eax, dword [ebp - 0x4c]
mov cl, byte [ebp - 0xd]
cmp cl, byte [eax + 8]
je 0x11efe18
call fcn.012a18fc
mov edx, dword [ebp - 0x50]
mov edi, eax
lea ecx, [edx + 0xc]
and ecx, 0xfffffffc
lea esi, [ecx + 0xfff]
mov dword [edx + 8], 0x103a6aa
mov eax, 0xfffff000
mov edx, 0xffff
and edi, eax
and esi, eax
xor eax, eax
mov ebx, dword [0x1427a7c]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1427a7c], ebx
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
shr edx, 0x10
jne 0x11efdc4
mov ebx, 0xffff
xor edx, edx
div ebx
mov dword [ebp - 0x80], edi
inc edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x4c], 0
jmp 0x11efe0a
mov eax, dword [ebp - 0x4c]
mov dword [ecx], eax
add ecx, 4
cmp ecx, esi
jb 0x11efe02
mov eax, 0x103a6aa
jmp 0x11efee9
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x38]
mov edx, dword [0x13ca1e8]
mov ecx, 0x1000000
mov dword [ebp - 0x30], eax
sub ecx, edx
mov dword [ebp - 0x1c], ecx
jne 0x11efe3b
test eax, eax
je 0x11efedc
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x38]
mov ecx, dword [0x1236cc0]
sub esi, dword [ebp - 0x48]
add eax, ebx
mov dword [ebp - 0x4c], eax
xor edi, edi
dec ecx
js 0x11efe7e
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1236cc4]
and edx, 0xfffffff
cmp ebx, edx
jae 0x11efe75
lea ecx, [eax - 1]
jmp 0x11efe7a
jbe 0x11efe82
lea edi, [eax + 1]
cmp ecx, edi
jge 0x11efe57
mov ebx, edi
jmp 0x11efed4
mov ebx, eax
jmp 0x11efed4
mov eax, dword [ebx*4 + 0x1236cc4]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x11efedc
lea edi, [ecx + esi + 0x1000000]
mov ecx, eax
shl ecx, 2
sar ecx, 0x1e
sar eax, 0x1e
and ecx, 3
and eax, 3
xor edx, edx
dec ecx
je 0x11efec7
dec ecx
je 0x11efec2
dec ecx
jne 0x11efecd
mov edx, dword [ebp - 0x1c]
jmp 0x11efecd
mov edx, dword [ebp - 0x30]
jmp 0x11efecd
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x30]
dec eax
dec eax
jne 0x11efed3
add dword [edi], edx
inc ebx
cmp ebx, dword [0x1236cc0]
jb 0x11efe86
mov eax, dword [0x109dc84]
mov eax, 0x3a2ec97a
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 8], eax
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x80]
mov esp, ebp
pop ebp
popfd
ret