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

Disassembly:
push 0xffffffffffffffff
push 0x4a36a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3d8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
mov eax, dword [ebp + 0xb0]
test eax, eax
je 0x4396ad
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x3f8]
cmp ecx, edx
je 0x4396a5
mov eax, dword [eax]
test eax, eax
jne 0x43968f
jmp 0x4396ad
test eax, eax
jne 0x439b3b
lea ecx, [esp + 0x14]
call fcn.0049c994
mov edx, dword [esp + 0x3f8]
mov ecx, ebp
push edx
mov dword [esp + 0x3f4], 0
call fcn.0049ceb0
mov ebx, eax
cmp dword [ebx], 2
jne 0x439863
mov edi, dword [ebx + 4]
mov ecx, 0x4d8200
push edi
call fcn.00428a20
mov ecx, dword [ebp + 0xe8]
mov dword [esp + 0x10], eax
add eax, 0x1c4
mov ecx, dword [ecx + 0x6dc]
push eax
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0041d8e0
test eax, eax
je 0x439b27
mov edx, dword [ebp + 0xb0]
lea esi, [ebp + 0xac]
push edx
push 0
mov ecx, esi
call fcn.0043b830
mov ecx, dword [esp + 0x3f8]
xor edx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 4]
cmp ecx, edx
je 0x439740
mov dword [ecx + 4], eax
jmp 0x439743
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esp + 0x50], 0x4b00c8
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0xa
lea edx, [esp + 0x50]
mov ecx, ebp
push edx
push edi
mov byte [esp + 0x3f8], 1
call fcn.00437d00
mov ebp, dword [esp + 0x54]
xor esi, esi
cmp ebp, esi
je 0x439817
mov eax, ebp
mov ebp, dword [ebp]
mov ecx, 0xa
lea edi, [esp + 0x24]
lea esi, [eax + 8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x24]
cmp eax, 3
jne 0x4397d8
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x78]
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00435670
test eax, eax
je 0x43980d
mov eax, dword [esp + 0x3f8]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x78]
push edx
push eax
call fcn.00439050
jmp 0x43980d
cmp eax, 0x14
jne 0x43980d
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xdc]
push ecx
push edx
mov ecx, 0x4d8200
call fcn.004286b0
mov ecx, dword [esp + 0x3f8]
lea eax, [esp + 0xdc]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004394f0
test ebp, ebp
jne 0x43978d
xor esi, esi
mov ecx, dword [esp + 0x10]
call fcn.00436070
mov dword [esp + 0x50], 0x4b00c8
mov eax, dword [esp + 0x54]
mov byte [esp + 0x3f0], 2
cmp eax, esi
je 0x43983e
mov eax, dword [eax]
cmp eax, esi
jne 0x439838
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
call fcn.0049cb20
mov ebp, dword [esp + 0x18]
mov byte [esp + 0x3f0], 0
cmp dword [ebx], 3
jne 0x439b27
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 4]
push esi
mov ecx, 0x4d8200
call fcn.00428a20
push edi
mov ecx, 0x4d8200
mov dword [esp + 0x50], eax
call fcn.004289d0
mov ecx, dword [eax + 4]
xor ebx, ebx
cmp ecx, ebx
mov dword [esp + 0x10], eax
jne 0x4398c4
add eax, 0x70
lea edx, [esp + 0x14]
push eax
mov eax, dword [ebp + 0xe8]
push esi
push edi
mov ecx, dword [eax + 0x6dc]
push edx
call fcn.0041df20
mov ecx, dword [esp + 0x10]
cmp eax, ebx
mov dword [ecx + 4], eax
je 0x439b27
mov edx, dword [ebp + 0xb0]
lea esi, [ebp + 0xac]
push edx
push ebx
mov ecx, esi
call fcn.0043b830
mov ecx, dword [esp + 0x3f8]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x4398ef
mov dword [ecx + 4], eax
jmp 0x4398f2
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esp + 0x24], 0x4b00c8
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 0xa
lea edx, [esp + 0x24]
mov ecx, ebp
push edx
push edi
mov byte [esp + 0x3f8], 3
call fcn.00437af0
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x439adb
jmp 0x439940
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea esi, [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, 0xa
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x50]
cmp eax, 4
jne 0x439a9e
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x260]
push edx
push eax
call fcn.00402160
test eax, eax
je 0x439ad1
mov ecx, dword [esp + 0x260]
push ecx
mov ecx, 0x4d8200
call fcn.00428a70
mov ebx, eax
test ebx, ebx
jne 0x439a8a
push 0x7b0
call fcn.0049c9be
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x3f0], 4
je 0x4399c3
mov ecx, eax
call fcn.0045bcc0
mov ebp, eax
jmp 0x4399c5
xor ebp, ebp
mov edx, dword [esp + 0x260]
lea edi, [ebp + 8]
mov ecx, 0x62
lea esi, [esp + 0x260]
mov dword [ebp + 4], edx
mov ebx, ebp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [0x4d8bd4]
mov ecx, edx
mov eax, ecx
xor edx, edx
shr eax, 4
div edi
mov eax, dword [0x4d8bd0]
mov byte [esp + 0x3f0], 3
test eax, eax
mov dword [esp + 0x20], ebx
mov esi, edx
je 0x439a24
mov eax, dword [eax + esi*4]
test eax, eax
je 0x439a5c
cmp dword [eax + 8], ecx
je 0x439a1e
mov eax, dword [eax]
test eax, eax
jne 0x439a11
jmp 0x439a5c
test eax, eax
jne 0x439a83
jmp 0x439a5c
mov ebx, edi
lea edi, [ebx*4]
push edi
call fcn.0049c9be
mov edx, eax
mov ecx, edi
mov dword [0x4d8bd0], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x4d8bd4], ebx
mov ebx, dword [esp + 0x20]
mov ecx, 0x4d8bcc
call fcn.00433320
mov dword [eax + 4], esi
mov ecx, dword [ebp + 4]
mov dword [eax + 8], ecx
mov edx, dword [0x4d8bd0]
mov ecx, dword [edx + esi*4]
mov dword [eax], ecx
mov edx, dword [0x4d8bd0]
mov dword [edx + esi*4], eax
mov dword [eax + 0xc], ebp
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x3f8]
push ebx
push eax
mov ecx, ebp
call fcn.00439300
xor ebx, ebx
jmp 0x439ad1
cmp eax, 0x14
jne 0x439ad1
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0xdc]
push ecx
push edx
mov ecx, 0x4d8200
call fcn.004286b0
mov ecx, dword [esp + 0x3f8]
lea eax, [esp + 0xdc]
push eax
push ecx
mov ecx, ebp
call fcn.004394f0
cmp dword [esp + 0x1c], ebx
jne 0x43993c
mov ecx, dword [esp + 0x4c]
call fcn.004360f0
mov dword [esp + 0x24], 0x4b00c8
mov eax, dword [esp + 0x28]
mov byte [esp + 0x3f0], 5
cmp eax, ebx
je 0x439b02
mov eax, dword [eax]
cmp eax, ebx
jne 0x439afc
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
call fcn.0049cb20
mov dword [esp + 0x38], ebx
mov dword [esp + 0x24], 0x4ad4d0
lea ecx, [esp + 0x14]
mov dword [esp + 0x3f0], 0xffffffff
call fcn.0049c982
mov ecx, dword [esp + 0x3e8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3e4
ret 4