Function at 0x4128c0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x66ee94]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x140], edx
cmp ebx, 0x40
jae 0x412904
push 0xd
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
movzx eax, word [edx]
and eax, 0xffffff
cmp eax, 0x5a4d
je 0x412932
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
mov ecx, dword [edx + 0x3c]
mov dword [ebp - 0x134], ecx
lea eax, [ecx + 0xf8]
cmp ebx, eax
jb 0x4128e8
mov eax, dword [ecx + edx]
lea ebx, [ecx + edx]
and eax, 0xffffff
mov dword [ebp - 0x13c], ebx
cmp eax, 0x4550
jne 0x412913
mov eax, 0x14c
cmp word [ebx + 4], ax
jne 0x412913
mov ecx, dword [ebx + 0x38]
test cl, 1
jne 0x412913
movzx edx, word [ebx + 0x14]
push edi
movzx edi, word [ebx + 6]
add edx, 0x24
test edi, edi
je 0x41299f
add edx, ebx
mov eax, dword [edx + 4]
lea edx, [edx + 0x28]
test eax, eax
cmovne ecx, eax
add ecx, dword [edx - 0x28]
cmp ecx, esi
cmovbe ecx, esi
mov esi, ecx
mov ecx, dword [ebx + 0x38]
sub edi, 1
jne 0x412982
movaps xmm0, xmmword [str.GetNativeSystemINtAllocateVirtuaNtProtectVirtualNtFreeVirtualMem]
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov word [ebp - 0x80], ax
mov eax, dword [0x67332c]
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
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x14c], ecx
movups xmmword [ebp - 0xdc], xmm0
test eax, eax
jne 0x412a32
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0x98]
push eax
call ecx
push eax
call edi
mov dword [0x67332c], eax
lea ecx, [ebp - 0x19c]
push ecx
call eax
mov ecx, dword [ebp - 0x198]
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
je 0x412a79
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x34]
push ecx
push 0x3000
push edi
call fcn.00412780
mov dword [ebp - 0x154], eax
test eax, eax
jne 0x412ac9
push ecx
push 0x3000
push edi
xor edx, edx
call fcn.00412780
mov edi, eax
mov dword [ebp - 0x154], edi
test edi, edi
jne 0x412acf
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x154]
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x34
push 8
mov dword [ebp - 0x16c], eax
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x148], esi
test esi, esi
jne 0x412ba8
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0x170], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp dword [ebp - 0x15c], 0
mov esi, eax
jne 0x412b8b
movaps xmm0, xmmword [0x510550]
mov eax, dword [0x673334]
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 0x412b75
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [ebp - 0x14c]
push eax
call dword [ebp - 0x150]
mov dword [0x673334], eax
push 0x8000
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x170]
push ecx
push esi
call eax
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esi + 4], edi
movzx eax, word [ebx + 0x16]
shr eax, 0xd
and eax, 1
mov dword [esi + 0x1c], 0x412880
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], 0x412890
mov dword [esi + 0x24], 0x4128b0
mov dword [esi + 0x28], 0
mov eax, dword [ebp - 0x198]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x158], ecx
cmp dword [ebp + 0xc], eax
jae 0x412bf8
push 0xd
jmp 0x41341c
push ecx
push 0x1000
push eax
mov edx, edi
call fcn.00412780
push dword [ebx + 0x54]
mov edi, eax
push dword [ebp - 0x140]
push edi
call fcn.004bc650
mov edx, dword [ebp - 0x140]
add esp, 0xc
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x130], 0
mov eax, dword [edx + 0x3c]
add eax, edi
mov dword [esi], eax
mov dword [eax + 0x34], ecx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
xor esi, esi
mov dword [ebp - 0x138], edi
movzx eax, word [ecx + 0x14]
add eax, 0x24
cmp si, word [ecx + 6]
mov esi, dword [ebp - 0x148]
jae 0x412d28
lea ebx, [eax + ecx]
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x412ca8
mov eax, dword [ebp - 0x134]
mov edi, dword [eax + edx + 0x38]
test edi, edi
jle 0x412cf5
mov edx, dword [ebx]
add edx, dword [ebp - 0x138]
push ecx
push 0x1000
push edi
call fcn.00412780
test eax, eax
je 0x413422
mov eax, dword [ebx]
add eax, dword [ebp - 0x138]
push edi
push 0
push eax
mov dword [ebx - 4], eax
call fcn.004bd150
jmp 0x412cec
mov eax, dword [ebx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x412bf1
mov edx, dword [ebx]
push ecx
push 0x1000
add edx, edi
push ecx
call fcn.00412780
test eax, eax
je 0x413422
push dword [ebx + 4]
mov eax, dword [ebx + 8]
mov edi, dword [ebx]
add eax, dword [ebp - 0x140]
add edi, dword [ebp - 0x138]
push eax
push edi
call fcn.004bc650
mov dword [ebx - 4], edi
mov edx, dword [ebp - 0x140]
add esp, 0xc
mov ecx, dword [esi]
add ebx, 0x28
mov edi, dword [ebp - 0x130]
inc edi
mov dword [ebp - 0x130], edi
movzx eax, word [ecx + 6]
cmp edi, eax
mov edi, dword [ebp - 0x138]
jl 0x412c61
mov edi, dword [esi + 4]
mov ebx, dword [ebp - 0x13c]
mov dword [ebp - 0x138], edi
mov eax, dword [ecx + 0x34]
sub eax, dword [ebx + 0x34]
mov dword [ebp - 0x134], eax
je 0x412dba
cmp dword [ecx + 0xa4], 0
jne 0x412d47
xor eax, eax
jmp 0x412dbf
mov ebx, dword [ecx + 0xa0]
add ebx, edi
mov eax, dword [ebx]
test eax, eax
je 0x412dba
mov ecx, dword [ebx + 4]
lea edx, [ebx + 8]
add eax, edi
xor edi, edi
mov dword [ebp - 0x130], eax
lea eax, [ecx - 8]
test eax, 0xfffffffe
jbe 0x412da5
mov esi, dword [ebp - 0x130]
movzx ecx, word [edx]
mov eax, ecx
and eax, 0xf000
cmp eax, 0x3000
jne 0x412d95
mov eax, dword [ebp - 0x134]
and ecx, 0xfff
add dword [ecx + esi], eax
mov ecx, dword [ebx + 4]
inc edi
add edx, 2
lea eax, [ecx - 8]
shr eax, 1
cmp edi, eax
jb 0x412d75
mov eax, dword [ebx + ecx]
add ebx, ecx
mov edi, dword [ebp - 0x138]
test eax, eax
jne 0x412d55
mov esi, dword [ebp - 0x148]
mov eax, 1
mov dword [esi + 0x18], eax
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x13c], ebx
cmp dword [edi + 0x84], 0
je 0x412f0a
mov edi, dword [edi + 0x80]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add edi, ebx
push 0x14
push edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x134], eax
call eax
test eax, eax
jne 0x412f0a
mov eax, dword [edi + 0xc]
test eax, eax
je 0x412f0a
push dword [esi + 0x28]
add eax, ebx
push eax
mov eax, dword [esi + 0x1c]
call eax
mov ebx, eax
add esp, 8
mov dword [ebp - 0x144], ebx
test ebx, ebx
je 0x412f03
mov eax, dword [esi + 0xc]
lea eax, [eax*4 + 4]
push eax
push dword [esi + 8]
call fcn.004cd488
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x412ef0
mov eax, dword [esi + 0xc]
mov dword [esi + 8], ecx
mov dword [ecx + eax*4], ebx
inc dword [esi + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x412e60
mov ecx, dword [edi + 0x10]
jmp 0x412e65
mov eax, dword [edi + 0x10]
mov ecx, eax
mov edx, dword [ebp - 0x13c]
lea edi, [eax + edx]
mov eax, dword [edi]
lea ebx, [ecx + edx]
test eax, eax
je 0x412eb1
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
push ecx
test eax, eax
jns 0x412e87
movzx eax, ax
jmp 0x412e92
mov ecx, dword [ebp - 0x13c]
add ecx, 2
add eax, ecx
push eax
push dword [ebp - 0x144]
call edx
add esp, 0xc
mov dword [ebx], eax
test eax, eax
je 0x412ed8
mov eax, dword [edi + 4]
add edi, 4
add ebx, 4
test eax, eax
jne 0x412e77
mov edi, dword [ebp - 0x130]
add edi, 0x14
push 0x14
push edi
mov dword [ebp - 0x130], edi
call dword [ebp - 0x134]
test eax, eax
jne 0x412f0a
mov ebx, dword [ebp - 0x13c]
jmp 0x412e00
push dword [esi + 0x28]
mov eax, dword [esi + 0x24]
push dword [ebp - 0x144]
call eax
add esp, 8
push 0x7f
jmp 0x41341c
push dword [esi + 0x28]
mov eax, dword [esi + 0x24]
push ebx
call eax
add esp, 8
push 0xe
jmp 0x41341c
push 0x7e
jmp 0x41341c
mov ecx, dword [esi]
mov eax, dword [esi + 0x30]
dec eax
not eax
movzx ebx, word [ecx + 0x14]
add ebx, ecx
mov dword [ebp - 0x134], ebx
mov edx, dword [ebx + 0x20]
and eax, edx
mov edi, dword [ebx + 0x28]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], eax
test edi, edi
jne 0x412f4a
test byte [ebx + 0x3c], 0x40
je 0x412f41
mov edi, dword [ecx + 0x20]
jmp 0x412f4a
test byte [ebx + 0x3c], 0x80
je 0x412f4a
mov edi, dword [ecx + 0x24]
mov ebx, dword [ebx + 0x3c]
mov esi, 1
cmp si, word [ecx + 6]
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x130], 1
jae 0x413233
mov edx, dword [ebp - 0x134]
add edx, 0x64
mov dword [ebp - 0x138], edx
nop dword [eax + eax]
mov eax, dword [edx - 0x1c]
mov dword [ebp - 0x134], eax
mov eax, dword [esi + 0x30]
neg eax
and eax, dword [ebp - 0x134]
mov dword [ebp - 0x148], eax
mov eax, dword [edx - 0x14]
test eax, eax
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x148]
jne 0x412fcb
test byte [edx], 0x40
je 0x412fb7
mov edx, dword [ecx + 0x20]
jmp 0x412fbf
test byte [edx], 0x80
je 0x412fcb
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x144], edx
mov edx, dword [ebp - 0x138]
cmp dword [ebp - 0x13c], eax
je 0x4131c6
mov eax, dword [ebp - 0x140]
add eax, edi
cmp eax, dword [ebp - 0x148]
ja 0x4131c6
test edi, edi
je 0x4131a2
test ebx, 0x2000000
je 0x4130b8
mov ebx, dword [ebp - 0x140]
cmp ebx, dword [ebp - 0x13c]
jne 0x4131a2
mov eax, dword [esi + 0x30]
cmp dword [ecx + 0x38], eax
je 0x413028
xor edx, edx
mov eax, edi
div dword [esi + 0x30]
test edx, edx
jne 0x41319c
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x160], ebx
call dword [ebp - 0x158]
movaps xmm0, xmmword [0x510550]
mov edi, eax
mov eax, dword [0x673334]
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 0x41309d
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 0x14c]
push eax
call dword [ebp - 0x150]
mov dword [0x673334], eax
push 0x4000
lea ecx, [ebp - 0x174]
push ecx
lea ecx, [ebp - 0x160]
push ecx
push edi
call eax
jmp 0x41319c
movaps xmm0, xmmword [0x510540]
mov ecx, ebx
shr ecx, 0x1d
mov eax, ebx
shr eax, 0x1e
and ecx, 1
and eax, 1
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x40], 0x54004e
mov dword [ebp - 0x3c], 0x4c0044
mov dword [ebp - 0x38], 0x2e004c
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x34], 0x4c0044
mov eax, ebx
mov dword [ebp - 0x30], 0x4c
shr eax, 0x1f
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa0], 0x6f6d654d
mov word [ebp - 0x9c], 0x7972
lea eax, [eax + ecx*2]
mov byte [ebp - 0x9a], 0
mov eax, dword [eax*4 + 0x50ea60]
mov ecx, eax
or ecx, 0x200
and ebx, 0x4000000
cmove ecx, eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x168], eax
mov eax, dword [0x673328]
mov dword [ebp - 0x13c], ecx
test eax, eax
jne 0x41317a
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x40]
push eax
call dword [ebp - 0x14c]
push eax
call dword [ebp - 0x150]
mov ecx, dword [ebp - 0x13c]
mov dword [0x673328], eax
lea edx, [ebp - 0x178]
push edx
push ecx
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x168]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
jne 0x413422
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
mov edi, dword [ebp - 0x144]
mov ebx, dword [edx]
mov ecx, dword [esi]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x13c], eax
jmp 0x413208
mov eax, dword [edx]
mov edx, eax
mov edi, dword [ebp - 0x144]
or edx, ebx
sub edi, dword [ebp - 0x140]
and ebx, eax
add edi, dword [ebp - 0x134]
bt ebx, 0x19
mov dword [ebp - 0x134], ecx
mov ebx, edx
mov ecx, edx
setb al
mov edx, dword [ebp - 0x138]
and ecx, 0xfdffffff
test al, al
cmove ebx, ecx
mov ecx, dword [ebp - 0x134]
movzx eax, word [ecx + 6]
add edx, 0x28
inc dword [ebp - 0x130]
mov dword [ebp - 0x138], edx
cmp dword [ebp - 0x130], eax
jl 0x412f80
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp - 0x13c]
test edi, edi
je 0x4133b9
test ebx, 0x2000000
je 0x4132df
cmp edx, eax
jne 0x4133b9
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x148], edx
call dword [ebp - 0x158]
movaps xmm0, xmmword [0x510550]
mov edi, eax
mov eax, dword [0x673334]
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 0x4132c4
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x54]
push eax
call dword [ebp - 0x14c]
push eax
call dword [ebp - 0x150]
mov dword [0x673334], eax
push 0x4000
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x148]
push ecx
push edi
call eax
jmp 0x4133b9
movaps xmm0, xmmword [0x510540]
mov ecx, ebx
shr ecx, 0x1d
mov eax, ebx
shr eax, 0x1e
and ecx, 1
and eax, 1
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x68], 0x54004e
mov dword [ebp - 0x64], 0x4c0044
lea ecx, [eax + ecx*2]
mov dword [ebp - 0x60], 0x2e004c
mov eax, ebx
mov dword [ebp - 0x5c], 0x4c0044
shr eax, 0x1f
mov dword [ebp - 0x58], 0x4c
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xb8], 0x6f6d654d
lea eax, [eax + ecx*2]
mov word [ebp - 0xb4], 0x7972
mov eax, dword [eax*4 + 0x50ea60]
mov ecx, eax
or ecx, 0x200
mov byte [ebp - 0xb2], 0
and ebx, 0x4000000
cmove ecx, eax
mov eax, dword [0x673328]
mov dword [ebp - 0x130], ecx
test eax, eax
jne 0x41339b
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x68]
push eax
call dword [ebp - 0x14c]
push eax
call dword [ebp - 0x150]
mov ecx, dword [ebp - 0x130]
mov dword [0x673328], eax
lea edx, [ebp - 0x140]
push edx
push ecx
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x144]
push ecx
push 0xffffffffffffffff
call eax
test eax, eax
jne 0x413422
mov edx, dword [esi]
mov ecx, edx
mov edi, dword [edx + 0xc0]
test edi, edi
je 0x4133eb
mov ebx, dword [esi + 4]
mov edi, dword [ebx + edi + 0xc]
test edi, edi
je 0x4133eb
mov eax, dword [edi]
test eax, eax
je 0x4133eb
push 0
push 1
push ebx
call eax
mov eax, dword [edi + 4]
lea edi, [edi + 4]
test eax, eax
jne 0x4133d8
mov ecx, dword [esi]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x41356b
mov ecx, dword [ebp - 0x154]
add eax, ecx
cmp dword [esi + 0x14], 0
je 0x413555
push 0
push 1
push ecx
call eax
test eax, eax
jne 0x41353b
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esi + 0x10], 0
je 0x413439
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push 0
push 0
mov eax, dword [eax + 0x28]
push ecx
add eax, ecx
call eax
mov eax, dword [esi + 8]
test eax, eax
je 0x41346f
xor edi, edi
cmp dword [esi + 0xc], edi
jle 0x413466
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x413460
push dword [esi + 0x28]
mov eax, dword [esi + 0x24]
push ecx
call eax
mov eax, dword [esi + 8]
add esp, 8
inc edi
cmp edi, dword [esi + 0xc]
jl 0x413447
push eax
call fcn.004ca013
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x413516
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x154], eax
call dword [ebp - 0x158]
cmp dword [ebp - 0x130], 0
mov edi, eax
jne 0x413516
movaps xmm0, xmmword [0x510550]
mov eax, dword [0x673334]
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 0x413500
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [ebp - 0x14c]
push eax
call dword [ebp - 0x150]
mov dword [0x673334], eax
push 0x8000
lea ecx, [ebp - 0x130]
push ecx
lea ecx, [ebp - 0x154]
push ecx
push edi
call eax
push esi
push 0
call dword [ebp - 0x16c]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x10], 1
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x2c], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ba87e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
mov dword [esi + 0x2c], 0
xor ecx, ebp
pop esi
pop ebx
call fcn.004ba87e
mov esp, ebp
pop ebp
ret