Function at 0x433420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x748
mov esi, dword [edx]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], ecx
cmp dword [esi + 0x50], 0
lea eax, [esi + 0x50]
lea edx, [esi + 0x38]
cmove eax, edx
mov ebx, dword [eax + 8]
test ebx, ebx
js 0x4340b7
mov esi, dword [eax]
je 0x433482
mov eax, dword [0x6f1130]
test eax, eax
jne 0x433470
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x433fe4
mov dword [0x6f1130], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x433487
jmp 0x433fe4
mov eax, 1
mov edi, dword [ebp + 0xc]
push ebx
push esi
push eax
mov esi, eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x318]
mov edx, dword [eax]
call fcn.004384e0
test edi, edi
je 0x433b43
mov ecx, dword [ebp + 8]
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
mov dword [esp + 0x34], eax
jmp 0x433519
mov ecx, dword [esp + 0x18]
mov byte [ecx + ebx], 0x20
inc ebx
mov esi, dword [esp + 0x358]
mov edi, dword [esp + 0x350]
sub eax, ebx
mov dword [esp + 0x20], ebx
cmp eax, esi
jb 0x433b19
lea eax, [ecx + ebx]
push esi
push edi
push eax
mov edi, ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x38]
add ebx, esi
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x34], ecx
je 0x433b35
lea eax, [ecx + 0xc]
mov ebx, dword [esp + 0x438]
mov dword [esp + 8], ecx
mov dword [esp + 0x38], eax
imul eax, dword [esp + 0x440], 0x158
add eax, ebx
mov dword [esp + 0x14], eax
jmp 0x433548
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp ebx, eax
je 0x4339ef
mov esi, dword [ebx + 0x38]
mov edi, dword [ebx + 0x40]
push dword [esp + 8]
call fcn.005e0110
add esp, 4
cmp edx, edi
mov dword [esp + 0xc], ebx
jne 0x433579
push edi
push esi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4335d5
lea eax, [ebx + 0x158]
mov dword [esp + 0x10], eax
mov eax, ebx
mov ebx, dword [ebx + 0xac]
mov eax, dword [eax + 0xb4]
shl eax, 2
lea esi, [eax + eax*2]
jmp 0x4335a6
add ebx, 0xc
add esi, 0xfffffff4
test esi, esi
je 0x433540
mov eax, dword [ebx]
mov edi, dword [ebx + 4]
mov dword [esp + 4], eax
push dword [esp + 8]
call fcn.005e0110
add esp, 4
cmp edx, edi
jne 0x4335a0
push edi
push dword [esp + 8]
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x4335a0
mov edx, dword [esp + 0xc]
lea esi, [esp + 0xc0]
lea ebx, [esp + 0x318]
mov ecx, esi
call fcn.004384e0
mov ecx, ebx
call fcn.00438d30
push 0x158
push esi
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push dword [esp + 8]
call fcn.005e0110
add esp, 4
cmp edx, 4
jne 0x4339c0
cmp dword [eax], 0x706c6568
jne 0x4339c0
lea ecx, [esp + 0xc0]
mov edx, 0x60aba8
push 0xa
call fcn.0042d0a0
add esp, 4
mov dword [esp + 0x1f0], 1
mov dword [esp + 0x1f4], 1
lea eax, [esp + 0xd8]
mov ecx, 0x20
lea edi, [esp + 0x298]
lea esi, [esp + 0xf0]
lea edx, [esp + 0x6c8]
movsd xmm0, qword [esp + 0xc0]
movsd xmm1, qword [esp + 0xc8]
movsd qword [esp + 0xa0], xmm0
movsd qword [esp + 0xa8], xmm1
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xec]
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x68], xmm1
mov dword [esp + 8], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1f
mov edi, edx
lea esi, [esp + 0x17c]
mov eax, dword [esp + 0x170]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x14], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x20
lea esi, [esp + 0x298]
lea edi, [esp + 0xc0]
mov eax, dword [esp + 0x1f8]
movsd xmm0, qword [esp + 0xa0]
movsd xmm1, qword [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x204]
movsd qword [esp + 0xb0], xmm0
movsd qword [esp + 0xb8], xmm1
movsd xmm0, qword [esp + 0x60]
movsd xmm1, qword [esp + 0x68]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x80], xmm1
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1fc]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x200]
mov dword [esp + 0xc], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1f
mov esi, edx
lea edi, [esp + 0x470]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov eax, 0x100020
or dword [esp + 8], eax
mov eax, dword [0x6f1130]
test eax, eax
jne 0x4337ac
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x434095
mov dword [0x6f1130], eax
push 8
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x434095
test dword [esp + 0x14], 0x1fffffff
mov dword [eax], 0x60abb2
mov dword [esp + 0x2c], eax
mov dword [eax + 4], 0xa
je 0x4337ea
push dword [esp + 0x28]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
movsd xmm0, qword [esp + 0xb0]
movsd xmm1, qword [esp + 0xb8]
movsd xmm2, qword [esp + 0x80]
mov eax, dword [esp + 0x88]
lea edx, [esp + 0xc0]
mov ecx, 0x20
lea edi, [esp + 0x218]
mov esi, edx
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [esp + 0x78]
movsd qword [esp + 0x98], xmm1
movsd qword [esp + 0x50], xmm2
mov dword [esp + 0x58], eax
movsd qword [esp + 0x48], xmm0
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1f
lea edi, [esp + 0x64c]
lea esi, [esp + 0x470]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
push 0x158
push ebx
push edx
call sub.msvcrt.dll_memcpy
add esp, 0xc
cmp dword [esp + 4], 0
jne 0x43389c
mov eax, dword [esp + 0x1f8]
mov ecx, dword [esp + 0x1fc]
mov dword [esp + 4], 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x1d0]
cmp edx, dword [esp + 0x1cc]
jne 0x4338bf
lea ecx, [esp + 0x1c8]
call fcn.00415e90
mov edx, dword [esp + 0x1d0]
movsd xmm0, qword [esp + 0x90]
movsd xmm1, qword [esp + 0x98]
mov eax, dword [esp + 0x1c8]
imul ebx, edx, 0x148
lea esi, [esp + 0x218]
inc edx
movsd qword [eax + ebx + 8], xmm1
movsd qword [eax + ebx], xmm0
mov dword [eax + ebx + 0x10], 0x60abbc
mov dword [eax + ebx + 0x14], 0x2c
lea edi, [eax + ebx + 0x30]
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
movsd qword [eax + ebx + 0x18], xmm0
movsd qword [eax + ebx + 0x20], xmm1
mov ecx, dword [esp + 0x58]
mov dword [eax + ebx + 0x28], ecx
mov ecx, dword [esp + 8]
mov dword [eax + ebx + 0x2c], ecx
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + ebx + 0xbc]
lea esi, [esp + 0x64c]
mov ecx, dword [esp + 0x2c]
mov dword [eax + ebx + 0xb0], ecx
mov dword [eax + ebx + 0xb4], 1
mov dword [eax + ebx + 0xb8], 1
mov ecx, 0x1f
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 4]
mov dword [eax + ebx + 0x138], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + ebx + 0x13c], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + ebx + 0x140], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + ebx + 0x144], ecx
mov dword [esp + 0x1d0], edx
push 0x158
lea eax, [esp + 0xc4]
push eax
lea ebx, [esp + 0x320]
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
nop word [eax + eax]
mov ecx, ebx
call fcn.0041b320
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
cmp ebx, eax
jne 0x4334d0
lea ecx, [esp + 0x18]
mov edx, ebx
call fcn.005bab80
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
jmp 0x4334d0
push dword [esp + 8]
call fcn.005e0110
add esp, 4
mov esi, edx
mov edx, eax
lea ecx, [esp + 0x218]
push esi
call fcn.005ed1f0
add esp, 4
mov eax, dword [esp + 0x438]
imul edx, dword [esp + 0x440], 0x158
mov ecx, dword [esp + 0x218]
mov ebx, dword [esp + 0x220]
mov esi, dword [esp + 0x224]
mov edi, dword [esp + 0x21c]
add edx, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edx
jmp 0x433a68
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
cmp eax, edx
je 0x433ee1
cmp dword [esp + 4], 1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [eax + 0x40]
cmove ecx, dword [esp + 0x2c]
cmp ecx, eax
jne 0x433a9e
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x38]
push edi
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x433af0
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x158]
mov ebx, dword [eax + 0xac]
mov eax, dword [eax + 0xb4]
mov dword [esp + 0x10], ecx
shl eax, 2
lea esi, [eax + eax*2]
jmp 0x433ac6
add ebx, 0xc
add esi, 0xfffffff4
test esi, esi
je 0x433a60
xor ecx, ecx
cmp dword [esp + 4], 1
mov eax, dword [ebx + 4]
sete cl
cmp dword [esp + ecx*4 + 0x220], eax
jne 0x433ac0
push eax
push dword [ebx]
push edi
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x433ac0
cmp dword [esp + 4], 0
je 0x4335d5
cmp dword [esp + 0x14], 0
je 0x4335d5
push edi
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x4335d5
lea ecx, [esp + 0x18]
mov edx, ebx
push esi
call fcn.005f2340
add esp, 4
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
jmp 0x4334f5
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
jmp 0x433b4b
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
lea esi, [esp + 0x4f0]
push 0x158
lea eax, [esp + 0x31c]
push eax
push esi
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea edi, [esp + 0x318]
mov ecx, 0x14
lea eax, [esp + 0x54c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xc0]
mov esi, dword [esp + 0x540]
mov edi, dword [esp + 0x544]
push 0xfc
push eax
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
test esi, esi
je 0x433bb7
test edi, edi
je 0x433bb7
push esi
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
lea edi, [esp + 0x4f0]
lea esi, [esp + 0x318]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 4]
mov dword [esp + 0x540], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x544], eax
mov dword [esp + 0x548], ebx
push 0xfc
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x554]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [0x6f1130]
test eax, eax
jne 0x433c21
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x4340a6
mov dword [0x6f1130], eax
push 0x78
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x4340a6
mov esi, dword [esp + 0x5f8]
imul edi, dword [esp + 0x600], 0x148
xor ebx, ebx
mov dword [esp + 0x318], eax
mov dword [esp + 0x31c], 5
mov dword [esp + 0x320], 0
add edi, esi
lea edx, [ebx*8 - 8]
shr edx, 3
inc edx
mov ecx, esi
nop word cs:[eax + eax]
nop dword [eax]
cmp ecx, edi
je 0x433d5c
test byte [ecx + 0x2c], 1
lea esi, [ecx + 0x148]
mov ecx, esi
je 0x433c80
mov dword [esp + 0xc], edi
mov edi, dword [esi - 0x148]
mov ecx, dword [esi - 0x144]
test ebx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
je 0x433cf0
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov edi, dword [eax]
mov ecx, dword [eax + 4]
xor edi, dword [esp + 4]
xor ecx, dword [esp + 8]
or ecx, edi
je 0x433ce0
inc ebx
add eax, 0x18
cmp edx, ebx
jne 0x433cc0
jmp 0x433cf0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
jmp 0x433c71
mov ebx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x31c]
jne 0x433d1b
lea ecx, [esp + 0x318]
mov edx, ebx
call fcn.00415f20
mov eax, dword [esp + 0x318]
mov ebx, dword [esp + 0x320]
jmp 0x433d1f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
lea ecx, [ebx + ebx*2]
mov edi, dword [esp + 0xc]
inc ebx
mov dword [eax + ecx*8 + 4], edx
mov edx, dword [esp + 4]
mov dword [eax + ecx*8], edx
mov edx, dword [0x6d6b64]
mov dword [eax + ecx*8 + 8], edx
mov dword [eax + ecx*8 + 0xc], 0
mov dword [eax + ecx*8 + 0x10], 0
mov dword [esp + 0x320], ebx
jmp 0x433c66
mov eax, dword [esp + 0x320]
movsd xmm0, qword [esp + 0x318]
lea ecx, [esp + 0x4f0]
mov dword [esp + 0xcc], eax
mov eax, dword [0x6d3de0]
movsd qword [esp + 0xc4], xmm0
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xe8], 0
mov ecx, dword [eax]
mov al, 1
test byte [ecx + 0xd], 4
jne 0x433e03
mov eax, 0x400
test dword [ecx + 0x14], eax
setne al
mov esi, dword [esp + 0x30]
movzx eax, al
lea edx, [esp + 0xc0]
lea ecx, [esi + 4]
push eax
call fcn.00434b30
add esp, 4
mov eax, dword [esp + 0xcc]
mov dword [esi], 1
test eax, eax
je 0x433e62
mov esi, dword [esp + 0xc4]
shl eax, 3
lea edi, [eax + eax*2]
add esi, 0xc
jmp 0x433e48
add esi, 0x18
add edi, 0xffffffe8
je 0x433e62
test dword [esi], 0x3fffffff
je 0x433e40
push dword [esi - 4]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x433e40
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x433e8b
shl eax, 3
lea eax, [eax + eax*2]
test eax, eax
je 0x433e8b
push dword [esp + 0xc4]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
test dword [esp + 0xd4], 0x1fffffff
je 0x433eac
push dword [esp + 0xd0]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
test dword [esp + 0xe0], 0x1fffffff
je 0x433ecd
push dword [esp + 0xdc]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
lea ecx, [esp + 0x4f0]
call fcn.00438d30
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
push dword [esp + 8]
call fcn.005e0110
add esp, 4
mov edi, edx
lea ecx, [esp + 0x298]
mov edx, eax
push edi
call fcn.005ed1f0
add esp, 4
cmp dword [esp + 0x298], 1
jne 0x433f31
lea eax, [esp + 0x29c]
mov ecx, dword [eax + 8]
movsd xmm0, qword [eax]
mov dword [esp + 0x478], ecx
movsd qword [esp + 0x470], xmm0
jmp 0x433f98
mov ebx, dword [esp + 0x2a0]
test ebx, ebx
js 0x4340b7
mov edi, dword [esp + 0x29c]
je 0x433f73
mov eax, dword [0x6f1130]
test eax, eax
jne 0x433f64
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x433fe4
mov dword [0x6f1130], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x433f78
jmp 0x433fe4
mov eax, 1
mov dword [esp + 0x470], eax
mov dword [esp + 0x474], ebx
push ebx
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov dword [esp + 0x478], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], esi
mov ecx, dword [eax]
cmp dword [ecx + 0x50], 0
lea eax, [ecx + 0x50]
lea edx, [ecx + 0x38]
cmove eax, edx
mov ebx, dword [eax + 8]
test ebx, ebx
js 0x4340b7
mov esi, dword [eax]
je 0x433ff2
mov eax, dword [0x6f1130]
test eax, eax
jne 0x433fd5
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x433fe4
mov dword [0x6f1130], eax
push ebx
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov edi, eax
test eax, eax
jne 0x433ff7
mov ecx, ebx
mov edx, 1
call fcn.0040a640
ud2
mov edi, 1
push ebx
push esi
push edi
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 4]
lea eax, [esp + 0x298]
mov dword [esp + 0x298], edi
mov dword [esp + 0x29c], ebx
mov dword [esp + 0x2a0], ebx
lea ecx, [esi + 4]
push eax
lea eax, [esp + 0x474]
push eax
call fcn.0044bc60
add esp, 8
cmp dword [esp + 0x218], 0
mov dword [esi], 1
je 0x434068
cmp dword [esp + 0x220], 0
je 0x434068
push dword [esp + 0x21c]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
lea ecx, [esp + 0x318]
call fcn.00438d30
cmp dword [esp + 0x1c], 0
je 0x433ed9
push dword [esp + 0x18]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x433ed9
mov ecx, 8
mov edx, 4
call fcn.0040a640
ud2
mov ecx, 0x78
mov edx, 8
call fcn.0040a640
ud2
call fcn.0040a620
ud2