Function at 0x4102eb
Capabilities:
Allocate or change rwx memory
Encode data using xor
Encrypt data using salsa20 or chacha

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x154
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], ecx
lea eax, [ebp + 4]
sub eax, 4
mov dword [ebp - 0x154], edx
mov ecx, 0xfffffff
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x140], esi
lea esi, [eax + 0xc]
mov dword [ebp - 0x144], edi
mov dword [ebp - 0xec], eax
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x7c], eax
mov eax, dword [eax]
shr eax, 1
and eax, ecx
and ebx, ecx
xor edx, edx
mov ecx, dword [0x4c7398]
mov dword [ebp - 0x74], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x74]
mov eax, dword [0x4c7398]
mov dword [ebp - 0xd0], esi
mov edi, 0x400000
add ebx, edi
mov dword [ebp - 0xd4], ebx
sub ecx, edx
mov dword [ebp - 0x64], ecx
mov eax, dword [0x403ef8]
mov dword [ebp - 0x88], eax
mov eax, dword [0x4c7398]
mov eax, dword [0x403ef8]
test eax, eax
je 0x41042b
and dword [ebp - 0x5c], 0
mov eax, dword [0x403ef8]
dec eax
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x84], ecx
je 0x4103ce
mov edx, dword [0x51b214]
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x51b214], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
shr dword [ebp - 0x84], 0x10
jne 0x4103a5
xor edx, edx
div ecx
cmp dword [ebp - 0x88], 0
mov dword [ebp - 0x78], edx
jbe 0x41041d
mov ecx, 0xffffc390
mov eax, 0x3c6f
lea edx, [edx*4 + 0x529524]
inc dword [ebp - 0x5c]
lock cmpxchg dword [edx], ecx
cmp eax, 0x3c6f
je 0x410601
mov eax, dword [ebp - 0x78]
inc eax
xor edx, edx
mov ecx, dword [0x403ef8]
div ecx
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x88]
mov dword [ebp - 0x78], edx
jb 0x4103de
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0
jne 0x4104b1
call dword [sym.imp.kernel32.dll_GetLastError]
and dword [ebp - 0x5c], 0
mov dword [ebp - 0x74], eax
inc dword [ebp - 0x5c]
push 0x40
push 0x1000
push dword [ebp - 0x64]
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
test eax, eax
jne 0x410618
push eax
call dword [sym.imp.kernel32.dll_Sleep]
cmp dword [ebp - 0x5c], 0x11
jb 0x410438
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
cmp dword [0x51b2c4], eax
ja 0x410475
test al, 3
je 0x41048d
test eax, eax
je 0x410489
push 0x8000
push 0
push dword [ebp - 0x60]
call dword [sym.imp.kernel32.dll_VirtualFree]
and dword [ebp - 0x60], 0
push dword [ebp - 0x74]
call dword [sym.imp.kernel32.dll_SetLastError]
cmp dword [ebp - 0x60], 0
je 0x41036f
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
test ecx, ecx
je 0x4104b1
mov byte [eax], 0
inc eax
dec ecx
jne 0x4104aa
mov eax, 0x4c9e92b2
add dword [esi], 8
mov eax, dword [ebp - 0x7c]
mov esi, dword [eax]
shr esi, 1
and esi, 0xfffffff
lea eax, [esi + ebx]
mov dword [ebp - 0x74], eax
mov eax, dword [0x4c7398]
mov dword [ebp - 0x80], ebx
sub eax, esi
sub dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], esi
lea ecx, [eax + 1]
mov edx, ecx
xor eax, eax
test ecx, ecx
je 0x41050c
mov ebx, dword [0x51b214]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x51b214], ebx
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
shr edx, 0x10
jne 0x4104e7
xor edx, edx
div ecx
mov eax, dword [ebp - 0x60]
lea ebx, [edx + eax]
push ebx
push esi
push dword [ebp - 0x80]
mov dword [ebp - 0x78], ebx
mov eax, 0xca8a5b02
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xd4]
add esp, 0xc
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0xf4], ecx
test esi, esi
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x88], eax
mov ebx, 0xfffff000
je 0x410c86
lea eax, [ebp - 0xf4]
push eax
mov eax, 0x4ad8aa51
mov eax, 0xfffffff
mov esi, dword [ebp - 0xf4]
and dword [ebp - 0x6c], 0
and dword [ebp - 0x68], 0
pop ecx
mov ecx, dword [ebp - 0xf0]
and ecx, eax
and esi, eax
mov eax, edi
mov dword [ebp - 0x5c], ecx
add esi, edi
mov ecx, dword [0x402600]
sub eax, ecx
mov dword [ebp - 0xf8], eax
jne 0x410620
xor ebx, ebx
cmp dword [ebp - 0x5c], ebx
jbe 0x410891
mov edi, 0x13023717
mov ecx, 0x7fffffff
movzx edx, byte [ebx + esi]
sub edx, edi
add dword [ebp - 0x6c], edx
add edx, dword [ebp - 0x68]
mov eax, edx
imul eax, eax, 0x5858
rol eax, 9
ror edx, 9
xor eax, edx
mov edx, 0xecfdc8e9
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x6c], eax
inc ebx
cmp ebx, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
jb 0x4105b6
jmp 0x410891
mov eax, dword [0x4c7398]
imul eax, dword [ebp - 0x78]
lea eax, [eax + section..data]
mov dword [ebp - 0x60], eax
jmp 0x410421
mov dword [ebp - 0x60], eax
jmp 0x410466
mov edx, dword [0x40003c]
lea edx, [edx + 0x4000a0]
mov ecx, esi
mov eax, dword [ebp - 0x5c]
add eax, esi
mov dword [ebp - 0xcc], eax
mov eax, dword [edx]
add eax, edi
sub ecx, edi
mov edx, dword [edx + 4]
mov edi, ecx
and edi, ebx
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edi
mov edi, ecx
sub edi, dword [ebp - 0x64]
add ecx, edx
mov edx, ecx
and edx, ebx
mov ebx, eax
sub ecx, edx
mov dword [ebp - 0xe4], ecx
mov ecx, dword [ebp - 0x70]
add ecx, eax
mov dword [ebp - 0xe8], edx
cmp eax, ecx
mov dword [ebp - 0xe0], ecx
je 0x410687
mov eax, dword [ebx]
cmp eax, dword [ebp - 0x64]
jae 0x410687
add ebx, dword [ebx + 4]
cmp ebx, ecx
jne 0x410679
and dword [ebp - 0xd8], 0
cmp ebx, ecx
je 0x4106c6
mov eax, dword [ebp - 0x64]
cmp dword [ebx], eax
jne 0x4106c6
mov eax, dword [ebx + 4]
sub eax, 8
shr eax, 1
je 0x4106c6
mov ecx, dword [ebp - 0xd8]
movzx ecx, word [ebx + ecx*2 + 8]
and ecx, 0xfff
cmp ecx, edi
jae 0x4106c6
inc dword [ebp - 0xd8]
cmp dword [ebp - 0xd8], eax
jne 0x4106a3
mov edi, 0x13023717
mov ecx, 0x7fffffff
cmp ebx, dword [ebp - 0xe0]
je 0x410836
cmp dword [ebx], edx
ja 0x410836
mov eax, dword [ebx + 4]
lea edx, [eax - 8]
shr edx, 1
mov eax, dword [ebp - 0xd8]
cmp eax, edx
jne 0x41071c
add ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0xe0]
je 0x410836
mov eax, dword [ebp - 0xe8]
cmp dword [ebx], eax
ja 0x410836
and dword [ebp - 0xd8], 0
jmp 0x4106e4
mov edx, dword [ebp - 0xe8]
cmp dword [ebx], edx
jne 0x410742
movzx eax, word [ebx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0xe4]
jae 0x410836
mov eax, dword [ebp - 0xd8]
inc dword [ebp - 0xd8]
test word [ebx + eax*2 + 8], 0xf000
mov dword [ebp - 0x70], eax
je 0x4106d0
mov edx, dword [ebx]
movzx eax, word [ebx + eax*2 + 8]
and dword [ebp - 0x5c], 0
and eax, 0xfff
lea eax, [eax + edx + 0x400000]
mov dword [ebp - 0x64], eax
sub dword [ebp - 0x64], esi
mov dword [ebp - 0x70], eax
je 0x4107c8
mov eax, dword [ebp - 0x5c]
movzx edx, byte [eax + esi]
sub edx, edi
add dword [ebp - 0x6c], edx
add edx, dword [ebp - 0x68]
mov eax, edx
imul eax, eax, 0x5858
rol eax, 9
ror edx, 9
xor eax, edx
mov edx, 0xecfdc8e9
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x6c], eax
inc dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x64]
jb 0x41077a
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
sub eax, dword [ebp - 0xf8]
xor esi, esi
mov dword [ebp - 0xfc], eax
movzx edx, byte [ebp + esi - 0xfc]
sub edx, edi
add dword [ebp - 0x6c], edx
add edx, dword [ebp - 0x68]
mov eax, edx
imul eax, eax, 0x5858
rol eax, 9
ror edx, 9
xor eax, edx
mov edx, 0xecfdc8e9
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x6c], eax
inc esi
cmp esi, 4
mov dword [ebp - 0x68], eax
jb 0x4107db
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0xe8]
add esi, 4
jmp 0x4106d0
mov eax, dword [ebp - 0xcc]
xor ebx, ebx
sub eax, esi
mov dword [ebp - 0xcc], eax
je 0x410891
movzx edx, byte [ebx + esi]
sub edx, edi
add dword [ebp - 0x6c], edx
add edx, dword [ebp - 0x68]
mov eax, edx
imul eax, eax, 0x5858
rol eax, 9
ror edx, 9
xor eax, edx
mov edx, 0xecfdc8e9
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x6c], eax
inc ebx
cmp ebx, dword [ebp - 0xcc]
mov dword [ebp - 0x68], eax
jb 0x410848
xor edi, edi
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x6c]
mov byte [ebp + eax - 0x54], cl
inc eax
cmp eax, 0x10
jb 0x410895
mov eax, 0x62861ad8
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x110], eax
mov eax, dword [0x5294e0]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x10c], ecx
mov ecx, dword [eax]
mov dword [ebp - 0x13c], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x128], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x114], ecx
lea ecx, [ebp - 0x44]
sub eax, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xd4]
sub eax, dword [ebp - 0x78]
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], edi
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x118], edi
mov dword [ebp - 0xcc], eax
push 0x10
lea edi, [ebp - 0xc8]
pop ecx
lea esi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x70], 2
mov ebx, dword [ebp - 0xc4]
lea edi, [edx + esi]
rol edi, 7
xor eax, edi
lea edi, [esi + eax]
rol edi, 9
xor ecx, edi
lea edi, [ecx + eax]
rol edi, 0xd
xor edx, edi
lea edi, [ecx + edx]
ror edi, 0xe
xor esi, edi
mov edi, dword [ebp - 0xb4]
add ebx, edi
rol ebx, 7
xor dword [ebp - 0xa4], ebx
mov ebx, dword [ebp - 0xa4]
add edi, ebx
rol edi, 9
xor dword [ebp - 0x94], edi
mov edi, ebx
mov ebx, dword [ebp - 0x94]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0x94]
xor dword [ebp - 0xc4], ebx
mov ebx, dword [ebp - 0xc4]
add edi, ebx
ror edi, 0xe
mov ebx, dword [ebp - 0xa0]
xor dword [ebp - 0xb4], edi
mov edi, dword [ebp - 0xb0]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x90], edi
mov edi, ebx
mov ebx, dword [ebp - 0x90]
add edi, ebx
rol edi, 9
xor dword [ebp - 0xc0], edi
mov edi, ebx
mov ebx, dword [ebp - 0xc0]
add ebx, edi
mov edi, dword [ebp - 0xc0]
rol ebx, 0xd
xor dword [ebp - 0xb0], ebx
mov ebx, dword [ebp - 0xb0]
add edi, ebx
ror edi, 0xe
mov ebx, dword [ebp - 0x8c]
xor dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0x9c]
add edi, ebx
rol edi, 7
xor dword [ebp - 0xbc], edi
mov edi, ebx
mov ebx, dword [ebp - 0xbc]
add edi, ebx
rol edi, 9
xor dword [ebp - 0xac], edi
mov edi, ebx
mov ebx, dword [ebp - 0xac]
add ebx, edi
rol ebx, 0xd
mov edi, dword [ebp - 0xac]
xor dword [ebp - 0x9c], ebx
mov ebx, dword [ebp - 0x9c]
add edi, ebx
ror edi, 0xe
xor dword [ebp - 0x8c], edi
mov edi, dword [ebp - 0xbc]
add edi, esi
rol edi, 7
xor dword [ebp - 0xc4], edi
mov edi, dword [ebp - 0xc4]
add edi, esi
rol edi, 9
xor dword [ebp - 0xc0], edi
mov ebx, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xc4]
add ebx, edi
mov edi, dword [ebp - 0xc0]
rol ebx, 0xd
xor dword [ebp - 0xbc], ebx
mov ebx, dword [ebp - 0xbc]
add ebx, edi
mov edi, dword [ebp - 0xb4]
add edi, eax
ror ebx, 0xe
xor esi, ebx
rol edi, 7
xor dword [ebp - 0xb0], edi
mov edi, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xb0]
add ebx, edi
rol ebx, 9
mov edi, dword [ebp - 0xb0]
xor dword [ebp - 0xac], ebx
mov ebx, dword [ebp - 0xac]
add ebx, edi
mov edi, dword [ebp - 0xac]
rol ebx, 0xd
xor eax, ebx
add edi, eax
mov ebx, dword [ebp - 0xa4]
ror edi, 0xe
xor dword [ebp - 0xb4], edi
mov edi, dword [ebp - 0xa0]
add edi, ebx
rol edi, 7
xor dword [ebp - 0x9c], edi
mov ebx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
add ebx, edi
mov edi, dword [ebp - 0x9c]
rol ebx, 9
xor ecx, ebx
add edi, ecx
mov ebx, dword [ebp - 0x90]
rol edi, 0xd
xor dword [ebp - 0xa4], edi
mov edi, dword [ebp - 0xa4]
add edi, ecx
ror edi, 0xe
xor dword [ebp - 0xa0], edi
mov edi, dword [ebp - 0x8c]
add edi, ebx
rol edi, 7
xor edx, edi
mov edi, dword [ebp - 0x8c]
add edi, edx
rol edi, 9
xor dword [ebp - 0x94], edi
mov edi, dword [ebp - 0x94]
add edi, edx
rol edi, 0xd
xor dword [ebp - 0x90], edi
mov edi, dword [ebp - 0x94]
mov ebx, dword [ebp - 0x90]
add ebx, edi
ror ebx, 0xe
xor dword [ebp - 0x8c], ebx
dec dword [ebp - 0x70]
jne 0x410973
mov dword [ebp - 0x98], edx
xor edx, edx
push 0x40
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xc8], esi
pop ebx
mov ecx, dword [ebp + eax - 0x13c]
add dword [ebp + eax - 0xc8], ecx
add eax, 4
cmp eax, ebx
jl 0x410be5
lea edi, [ebp - 0x44]
lea esi, [ebp - 0xc8]
inc dword [ebp - 0x11c]
cmp dword [ebp - 0x60], ebx
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
jbe 0x410c4c
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0xcc]
lea edi, [esi + eax]
lea ecx, [ebp + edx - 0x44]
mov al, byte [ecx + edi]
xor al, byte [ecx]
xor byte [ebp - 0x55], al
inc edx
mov byte [ecx + esi], al
cmp edx, ebx
jb 0x410c1f
sub dword [ebp - 0x60], ebx
add dword [ebp - 0x84], ebx
add esi, ebx
add dword [ebp - 0x88], ebx
mov dword [ebp - 0x64], esi
jmp 0x410943
cmp dword [ebp - 0x60], edx
jbe 0x410c79
lea eax, [ebp - 0x44]
mov esi, dword [ebp - 0x88]
sub esi, eax
mov edi, dword [ebp - 0x84]
sub edi, eax
lea ecx, [ebp + edx - 0x44]
mov al, byte [ecx + esi]
xor al, byte [ecx]
xor byte [ebp - 0x55], al
inc edx
cmp edx, dword [ebp - 0x60]
mov byte [ecx + edi], al
jb 0x410c64
mov edi, 0x400000
mov esi, dword [ebp - 0x7c]
mov ebx, 0xfffff000
mov eax, dword [ebp - 0x74]
mov al, byte [eax + 8]
xor al, byte [ebp - 0x55]
je 0x410d27
call fcn.004fdc7b
mov esi, eax
mov edi, dword [ebp - 0xd0]
mov edx, 0xffff
mov eax, dword [ebp - 0xec]
mov dword [eax + 8], 0x4b3c5b
and edi, 0xfffffffc
and esi, ebx
lea ecx, [edi + 0xfff]
and ecx, ebx
xor eax, eax
mov ebx, dword [0x51b214]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x51b214], ebx
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
shr edx, 0x10
jne 0x410cc3
xor edx, edx
mov ebx, 0xffff
div ebx
inc edx
mov eax, edi
mov dword [ebp - 0x154], esi
cmp edi, ecx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0xd0], 0
jae 0x410d1d
mov edx, dword [ebp - 0xd0]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x410d0e
mov eax, 0x4b3c5b
jmp 0x410dfd
mov eax, dword [ebp - 0xd4]
mov ecx, dword [0x402600]
sub eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
sub edi, ecx
mov dword [ebp - 0x74], edi
jne 0x410d48
test eax, eax
je 0x410df0
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp - 0x78]
mov ecx, dword [0x4bebb0]
sub edi, dword [ebp - 0xd4]
add eax, esi
mov dword [ebp - 0xd0], eax
xor esi, esi
dec ecx
js 0x410d8f
lea eax, [esi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x4bebb4]
and edx, 0xfffffff
cmp dword [ebp - 0x80], edx
jae 0x410d86
lea ecx, [eax - 1]
jmp 0x410d8b
jbe 0x410d93
lea esi, [eax + 1]
cmp ecx, esi
jge 0x410d67
mov ebx, esi
jmp 0x410de8
mov ebx, eax
jmp 0x410de8
mov eax, dword [ebx*4 + 0x4bebb4]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0xd0]
jae 0x410df0
lea esi, [ecx + edi + 0x400000]
mov ecx, eax
shl ecx, 2
sar ecx, 0x1e
sar eax, 0x1e
and ecx, 3
and eax, 3
xor edx, edx
dec ecx
je 0x410ddb
dec ecx
je 0x410dd6
dec ecx
jne 0x410de1
mov edx, dword [ebp - 0x74]
jmp 0x410de1
mov edx, dword [ebp - 0x7c]
jmp 0x410de1
mov edx, dword [ebp - 0x74]
sub edx, dword [ebp - 0x7c]
dec eax
dec eax
jne 0x410de7
add dword [esi], edx
inc ebx
cmp ebx, dword [0x4bebb0]
jb 0x410d97
mov eax, dword [0x4c7398]
mov eax, 0x783796bf
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xec]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x154]
mov edi, dword [ebp - 0x144]
mov ebx, dword [ebp - 0x14c]
mov esi, dword [ebp - 0x140]
mov eax, dword [ebp - 0x150]
mov esp, ebp
pop ebp
popfd
ret