Function at 0x40fe00
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov edx, ecx
push esi
xor esi, esi
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x18c], edx
push edi
cmp ebx, 0x40
jae 0x40fe4a
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
movzx eax, word [edx]
and eax, 0xffffff
cmp eax, 0x5a4d
je 0x40fe79
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x3c]
mov dword [ebp - 0x138], ecx
lea eax, [ecx + 0xf8]
cmp ebx, eax
jb 0x40fe2d
mov eax, dword [ecx + edx]
lea ebx, [ecx + edx]
and eax, 0xffffff
mov dword [ebp - 0x174], ebx
cmp eax, 0x4550
jne 0x40fe59
mov eax, 0x14c
cmp word [ebx + 4], ax
jne 0x40fe59
test byte [ebx + 0x38], 1
jne 0x40fe59
movzx edi, word [ebx + 6]
movzx eax, word [ebx + 0x14]
test edi, edi
je 0x40fee3
lea ecx, [ebx + 0x24]
add ecx, eax
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
test edx, edx
jne 0x40fed4
add eax, dword [ebx + 0x38]
jmp 0x40fed6
add eax, edx
cmp eax, esi
cmova esi, eax
add ecx, 0x28
sub edi, 1
jne 0x40fec6
movaps xmm0, xmmword [0x5464e0]
xor eax, eax
mov word [ebp - 0x80], ax
mov eax, dword [0x5670f8]
mov dword [ebp - 0x98], 0x65004b
mov dword [ebp - 0x94], 0x6e0072
mov dword [ebp - 0x90], 0x6c0065
mov dword [ebp - 0x8c], 0x320033
mov dword [ebp - 0x88], 0x44002e
mov dword [ebp - 0x84], 0x4c004c
mov dword [ebp - 0xcc], 0x6f666e
movups xmmword [ebp - 0xdc], xmm0
test eax, eax
jne 0x40ff66
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5670f8], eax
lea ecx, [ebp - 0x170]
push ecx
call eax
mov ecx, dword [ebp - 0x16c]
lea edx, [ecx - 1]
lea edi, [ecx - 1]
not edx
add edi, dword [ebx + 0x50]
lea eax, [ecx - 1]
add eax, esi
and edi, edx
and eax, edx
cmp edi, eax
jne 0x40fe59
mov edx, dword [ebx + 0x34]
push ecx
push 0x3000
push edi
call fcn.0040fcb0
mov esi, eax
mov dword [ebp - 0x17c], esi
test esi, esi
jne 0x40ffca
push ecx
push 0x3000
push edi
xor edx, edx
call fcn.0040fcb0
mov esi, eax
mov dword [ebp - 0x17c], eax
test esi, esi
je 0x41007e
push 0x34
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x178], edi
test edi, edi
jne 0x41009b
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x180], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
cmp dword [ebp - 0x140], edi
jne 0x41007e
movaps xmm0, xmmword [0x546520]
mov eax, dword [0x567100]
mov dword [ebp - 0x18], 0x54004e
mov dword [ebp - 0x14], 0x4c0044
mov dword [ebp - 0x10], 0x2e004c
mov dword [ebp - 0xc], 0x4c0044
mov dword [ebp - 8], 0x4c
mov dword [ebp - 0xe0], 0x79726f
movups xmmword [ebp - 0xf0], xmm0
test eax, eax
jne 0x410068
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x567100], eax
push 0x8000
lea ecx, [ebp - 0x140]
push ecx
lea ecx, [ebp - 0x180]
push ecx
push esi
call eax
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], esi
movzx eax, word [ebx + 0x16]
shr eax, 0xd
and eax, 1
mov dword [edi + 0x1c], 0x40fdb0
mov dword [edi + 0x14], eax
mov dword [edi + 0x20], 0x40fdc0
mov dword [edi + 0x24], 0x40fde0
mov dword [edi + 0x28], 0
mov eax, dword [ebp - 0x16c]
mov dword [edi + 0x30], eax
mov eax, dword [ebx + 0x54]
cmp dword [ebp - 0x134], eax
jae 0x4100e2
push 0xd
jmp 0x410914
push ecx
push 0x1000
push eax
mov edx, esi
call fcn.0040fcb0
push dword [ebx + 0x54]
mov esi, eax
push dword [ebp - 0x18c]
push esi
call fcn.004b0760
mov edx, dword [ebp - 0x18c]
add esp, 0xc
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x130], 0
mov eax, dword [edx + 0x3c]
add eax, esi
mov dword [edi], eax
mov dword [eax + 0x34], ecx
mov ecx, dword [edi]
mov esi, dword [edi + 4]
xor edi, edi
mov dword [ebp - 0x13c], esi
cmp di, word [ecx + 6]
movzx eax, word [ecx + 0x14]
mov edi, dword [ebp - 0x178]
jae 0x410218
lea ebx, [eax + 0x28]
add ebx, ecx
nop word [eax + eax]
mov ecx, dword [ebx]
test ecx, ecx
jne 0x41019c
mov eax, dword [ebp - 0x138]
mov esi, dword [eax + edx + 0x38]
test esi, esi
jle 0x4101ed
mov edx, dword [ebx - 4]
add edx, dword [ebp - 0x13c]
push ecx
push 0x1000
push esi
call fcn.0040fcb0
test eax, eax
je 0x41091a
mov eax, dword [ebx - 4]
add eax, dword [ebp - 0x13c]
push esi
push 0
push eax
mov dword [ebx - 8], eax
call fcn.004b0ce0
jmp 0x4101e4
mov eax, dword [ebx + 4]
add eax, ecx
cmp dword [ebp - 0x134], eax
jb 0x4100db
mov edx, dword [ebx - 4]
push ecx
push 0x1000
add edx, esi
push ecx
call fcn.0040fcb0
test eax, eax
je 0x41091a
push dword [ebx]
mov eax, dword [ebx + 4]
mov esi, dword [ebx - 4]
add eax, dword [ebp - 0x18c]
add esi, dword [ebp - 0x13c]
push eax
push esi
call fcn.004b0760
mov dword [ebx - 8], esi
mov edx, dword [ebp - 0x18c]
add esp, 0xc
mov eax, dword [edi]
add ebx, 0x28
mov ecx, dword [ebp - 0x130]
inc ecx
mov dword [ebp - 0x130], ecx
movzx eax, word [eax + 6]
cmp ecx, eax
jge 0x410212
mov esi, dword [ebp - 0x13c]
jmp 0x410150
mov ebx, dword [ebp - 0x174]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x34]
sub eax, dword [ebx + 0x34]
mov dword [ebp - 0x130], eax
je 0x4102db
cmp dword [ecx + 0xa4], 0
mov edx, dword [edi + 4]
mov dword [ebp - 0x174], edx
jne 0x410248
xor eax, eax
mov dword [edi + 0x18], eax
jmp 0x4102e2
mov ecx, dword [ecx + 0xa0]
add ecx, edx
mov dword [ebp - 0x134], ecx
mov eax, dword [ecx]
test eax, eax
je 0x4102d1
nop dword [eax]
add eax, edx
lea ebx, [ecx + 4]
mov dword [ebp - 0x138], eax
lea edx, [ecx + 8]
mov eax, dword [ebx]
xor esi, esi
sub eax, 8
test eax, 0xfffffffe
jbe 0x4102b7
mov edi, dword [ebp - 0x138]
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x4102a2
mov eax, dword [ebp - 0x130]
and ecx, 0xfff
add dword [ecx + edi], eax
mov eax, dword [ebx]
inc esi
sub eax, 8
add edx, 2
shr eax, 1
cmp esi, eax
jb 0x410282
mov ecx, dword [ebp - 0x134]
add ecx, dword [ebx]
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x134], ecx
mov eax, dword [ecx]
test eax, eax
jne 0x410260
mov edi, dword [ebp - 0x178]
mov eax, 1
mov dword [edi + 0x18], eax
jmp 0x4102e2
mov dword [edi + 0x18], 1
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov dword [ebp - 0x130], esi
cmp dword [ebx + 0x84], 0
je 0x410434
mov ebx, dword [ebx + 0x80]
add ebx, esi
push 0x14
push ebx
mov dword [ebp - 0x134], ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x410434
nop dword [eax]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x410434
push dword [edi + 0x28]
add eax, esi
push eax
mov eax, dword [edi + 0x1c]
call eax
mov esi, eax
add esp, 8
mov dword [ebp - 0x174], esi
test esi, esi
je 0x41042d
mov eax, dword [edi + 0xc]
xor ecx, ecx
inc eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [edi + 8]
call fcn.004b43a2
mov edx, eax
add esp, 8
test edx, edx
je 0x41041a
mov eax, dword [edi + 0xc]
mov ecx, esi
mov dword [edi + 8], edx
mov dword [edx + eax*4], ecx
inc dword [edi + 0xc]
mov edx, dword [ebx]
test edx, edx
jne 0x41038a
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov ebx, dword [ebp - 0x130]
add esi, ebx
add ebx, edx
cmp dword [ebx], 0
je 0x4103da
nop dword [eax]
mov eax, dword [ebx]
push dword [edi + 0x28]
test eax, eax
jns 0x4103ae
movzx eax, ax
jmp 0x4103b9
mov edx, dword [ebp - 0x130]
add edx, 2
add eax, edx
push eax
mov eax, dword [edi + 0x20]
push ecx
call eax
add esp, 0xc
mov dword [esi], eax
test eax, eax
je 0x410401
mov ecx, dword [ebp - 0x174]
add ebx, 4
add esi, 4
cmp dword [ebx], 0
jne 0x4103a0
mov ebx, dword [ebp - 0x134]
add ebx, 0x14
push 0x14
push ebx
mov dword [ebp - 0x134], ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x410434
mov esi, dword [ebp - 0x130]
jmp 0x410320
push dword [edi + 0x28]
mov esi, dword [ebp - 0x174]
mov eax, dword [edi + 0x24]
push esi
call eax
add esp, 8
push 0x7f
jmp 0x410914
push dword [edi + 0x28]
mov eax, dword [edi + 0x24]
push esi
call eax
add esp, 8
push 0xe
jmp 0x410914
push 0x7e
jmp 0x410914
mov edx, dword [edi]
mov ebx, dword [edi + 0x30]
dec ebx
not ebx
movzx ecx, word [edx + 0x14]
add ecx, edx
mov eax, dword [ecx + 0x20]
and ebx, eax
mov esi, dword [ecx + 0x28]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x174], ebx
test esi, esi
jne 0x41046e
test byte [ecx + 0x3c], 0x40
je 0x410465
mov esi, dword [edx + 0x20]
jmp 0x41046e
test byte [ecx + 0x3c], 0x80
je 0x41046e
mov esi, dword [edx + 0x24]
mov edi, dword [edi]
mov eax, 1
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x134], 1
cmp ax, word [edi + 6]
mov edi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x18c]
jae 0x410732
add ecx, 0x64
mov dword [ebp - 0x130], ecx
mov ebx, dword [edi + 0x30]
mov eax, dword [ecx - 0x1c]
dec ebx
not ebx
mov dword [ebp - 0x138], eax
and ebx, eax
mov eax, dword [ecx - 0x14]
mov dword [ebp - 0x13c], eax
test eax, eax
mov eax, dword [ebp - 0x18c]
jne 0x4104e7
mov eax, dword [ecx]
test al, 0x40
je 0x4104d2
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
jmp 0x4104db
test al, al
jns 0x4104e1
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x18c]
cmp dword [ebp - 0x174], ebx
je 0x4106d9
add eax, esi
cmp eax, ebx
ja 0x4106d9
test esi, esi
je 0x4106bd
test edx, 0x2000000
je 0x4105d2
mov eax, dword [ebp - 0x18c]
cmp eax, dword [ebp - 0x174]
jne 0x4106bd
mov eax, dword [edi]
mov edx, dword [edi + 0x30]
cmp dword [eax + 0x38], edx
je 0x41053c
xor edx, edx
mov eax, esi
div dword [edi + 0x30]
test edx, edx
jne 0x4106bd
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x184], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
movaps xmm0, xmmword [0x546520]
mov esi, eax
mov eax, dword [0x567100]
mov dword [ebp - 0x2c], 0x54004e
mov dword [ebp - 0x28], 0x4c0044
mov dword [ebp - 0x24], 0x2e004c
mov dword [ebp - 0x20], 0x4c0044
mov dword [ebp - 0x1c], 0x4c
mov dword [ebp - 0xf4], 0x79726f
movups xmmword [ebp - 0x104], xmm0
test eax, eax
jne 0x4105b7
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x567100], eax
push 0x4000
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x184]
push ecx
push esi
call eax
jmp 0x4106b7
mov ecx, edx
mov eax, edx
shr eax, 0x1e
and eax, 1
shr ecx, 0x1d
and ecx, 1
lea ecx, [eax + ecx*2]
mov eax, edx
shr eax, 0x1f
lea eax, [eax + ecx*2]
mov eax, dword [eax*4 + 0x54320c]
mov dword [ebp - 0x178], eax
test edx, 0x4000000
je 0x41060d
or eax, 0x200
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x18c]
movaps xmm0, xmmword [0x546510]
mov dword [ebp - 0x188], eax
mov eax, dword [0x5670f4]
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x40], 0x54004e
mov dword [ebp - 0x3c], 0x4c0044
mov dword [ebp - 0x38], 0x2e004c
mov dword [ebp - 0x34], 0x4c0044
mov dword [ebp - 0x30], 0x4c
mov dword [ebp - 0xa0], 0x6f6d654d
mov word [ebp - 0x9c], 0x7972
mov byte [ebp - 0x9a], 0
movups xmmword [ebp - 0xb0], xmm0
test eax, eax
jne 0x410690
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5670f4], eax
lea ecx, [ebp - 0x14c]
push ecx
push dword [ebp - 0x178]
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x188]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
jne 0x41091a
mov ecx, dword [ebp - 0x130]
mov eax, dword [ebp - 0x138]
mov esi, dword [ebp - 0x13c]
mov edx, dword [ecx]
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x174], ebx
jmp 0x41070b
mov ecx, dword [ecx]
mov eax, ecx
and eax, edx
or edx, ecx
bt eax, 0x19
jb 0x4106ed
and edx, 0xfdffffff
mov esi, dword [ebp - 0x13c]
sub esi, dword [ebp - 0x18c]
add esi, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x130]
mov ebx, dword [ebp - 0x174]
mov eax, dword [edi]
add ecx, 0x28
inc dword [ebp - 0x134]
mov dword [ebp - 0x130], ecx
movzx eax, word [eax + 6]
cmp dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x18c]
jl 0x4104a1
test esi, esi
je 0x4108af
test edx, 0x2000000
je 0x4107de
cmp eax, ebx
jne 0x4108af
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x178], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
movaps xmm0, xmmword [0x546520]
mov esi, eax
mov eax, dword [0x567100]
mov dword [ebp - 0x54], 0x54004e
mov dword [ebp - 0x50], 0x4c0044
mov dword [ebp - 0x4c], 0x2e004c
mov dword [ebp - 0x48], 0x4c0044
mov dword [ebp - 0x44], 0x4c
mov dword [ebp - 0x108], 0x79726f
movups xmmword [ebp - 0x118], xmm0
test eax, eax
jne 0x4107c3
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x567100], eax
push 0x4000
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x178]
push ecx
push esi
call eax
jmp 0x4108af
mov ecx, edx
mov eax, edx
shr eax, 0x1e
shr ecx, 0x1d
and eax, 1
and ecx, 1
lea ecx, [eax + ecx*2]
mov eax, edx
shr eax, 0x1f
lea eax, [eax + ecx*2]
mov ebx, dword [eax*4 + 0x54320c]
test edx, 0x4000000
je 0x41080e
or ebx, 0x200
mov eax, dword [ebp - 0x18c]
movaps xmm0, xmmword [0x546510]
mov dword [ebp - 0x174], eax
mov eax, dword [0x5670f4]
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x68], 0x54004e
mov dword [ebp - 0x64], 0x4c0044
mov dword [ebp - 0x60], 0x2e004c
mov dword [ebp - 0x5c], 0x4c0044
mov dword [ebp - 0x58], 0x4c
mov dword [ebp - 0xb8], 0x6f6d654d
mov word [ebp - 0xb4], 0x7972
mov byte [ebp - 0xb2], 0
movups xmmword [ebp - 0xc8], xmm0
test eax, eax
jne 0x410891
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x5670f4], eax
lea ecx, [ebp - 0x13c]
push ecx
push ebx
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x174]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
jne 0x41091a
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov esi, dword [eax + 0xc0]
test esi, esi
je 0x4108e1
mov esi, dword [esi + ebx + 0xc]
test esi, esi
je 0x4108e1
mov eax, dword [esi]
test eax, eax
je 0x4108e1
nop dword [eax]
push 0
push 1
push ebx
call eax
mov eax, dword [esi + 4]
lea esi, [esi + 4]
test eax, eax
jne 0x4108d0
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x410a65
cmp dword [edi + 0x14], 0
je 0x410a49
mov ecx, dword [ebp - 0x17c]
add eax, ecx
push 0
push 1
push ecx
call eax
test eax, eax
jne 0x410a2f
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [edi + 0x10], 0
je 0x410931
mov eax, dword [edi]
mov ecx, dword [edi + 4]
push 0
push 0
mov eax, dword [eax + 0x28]
push ecx
add eax, ecx
call eax
cmp dword [edi + 8], 0
je 0x410967
xor esi, esi
cmp dword [edi + 0xc], esi
jle 0x41095c
nop
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x410956
push dword [edi + 0x28]
push eax
mov eax, dword [edi + 0x24]
call eax
add esp, 8
inc esi
cmp esi, dword [edi + 0xc]
jl 0x410940
push dword [edi + 8]
call fcn.004b44ca
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x410a0a
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x17c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [ebp - 0x138], 0
mov esi, eax
jne 0x410a0a
movaps xmm0, xmmword [0x546520]
mov eax, dword [0x567100]
mov dword [ebp - 0x7c], 0x54004e
mov dword [ebp - 0x78], 0x4c0044
mov dword [ebp - 0x74], 0x2e004c
mov dword [ebp - 0x70], 0x4c0044
mov dword [ebp - 0x6c], 0x4c
mov dword [ebp - 0x11c], 0x79726f
movups xmmword [ebp - 0x12c], xmm0
test eax, eax
jne 0x4109f4
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x567100], eax
push 0x8000
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x17c]
push ecx
push esi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x10], 1
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
add eax, dword [ebp - 0x17c]
mov dword [edi + 0x2c], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
mov dword [edi + 0x2c], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00497eb9
mov esp, ebp
pop ebp
ret