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

Disassembly:
push 0xffffffffffffffff
push 0x46f6d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
mov ebx, dword [0x4714a8]
push ebp
push esi
push edi
push 0
mov ebp, ecx
mov eax, dword [ebp + 0x50]
push 0
lea edi, [ebp + 0x50]
push 0x1009
push eax
mov dword [esp + 0x28], ebp
call ebx
mov ecx, dword [ebp + 0x40]
mov ecx, dword [ecx + 4]
mov esi, dword [esp + 0x7c]
push esi
add ecx, 0x24
call fcn.0042cf30
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x439575
mov edi, edi
mov edx, dword [esi + 8]
cmp dword [edx], 0
je 0x439414
mov eax, edx
mov ecx, dword [eax]
mov edx, dword [ebp + 0x40]
push 0
push ecx
mov ecx, dword [edx + 0xc]
call fcn.00452af0
mov ebp, eax
test ebp, ebp
jne 0x439492
mov eax, dword [0x4810d8]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x78], 0
call fcn.0042d7f0
mov edx, dword [edi]
push 0
push 0
push 0x1004
push edx
call ebx
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push ecx
push eax
push 1
mov ecx, edi
call fcn.00439170
mov ecx, dword [0x4810dc]
mov ebp, eax
mov eax, dword [esp + 0x10]
lea edx, [eax - 0xc]
cmp edx, ecx
mov dword [esp + 0x74], 0xffffffff
je 0x4394b5
add eax, 0xfffffff4
push eax
call dword [0x471300]
test eax, eax
jg 0x4394b5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
jmp 0x4394b5
mov ecx, dword [edi]
push 0
push 0
push 0x1004
push ecx
call ebx
push 0
push 0
push 0
push 0
push ebp
push eax
push 1
mov ecx, edi
call fcn.00439170
mov ebp, eax
mov ecx, dword [edi]
xor edx, edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x60], edx
push ebp
mov dword [esp + 0x68], edx
push 0x102b
mov dword [esp + 0x70], edx
push ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x78], edx
mov dword [esp + 0x60], 0x2000
mov dword [esp + 0x64], 0xf000
call ebx
xor edx, edx
mov dword [esp + 0x20], edx
mov ecx, dword [esi + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
xor eax, eax
mov dword [esp + 0x40], edx
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov eax, dword [edi]
push 0x1006
push eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebp
mov dword [esp + 0x4c], ecx
call ebx
mov ecx, dword [esp + 0x7c]
mov esi, dword [esi]
cmp esi, dword [ecx + 4]
mov ebp, dword [esp + 0x18]
jne 0x4393f0
mov esi, dword [esp + 0x14]
and esi, 4
push 0x4718f8
je 0x43959f
mov edx, dword [ebp + 0x40]
mov ecx, dword [edx + 0xc]
push 0x139
call fcn.00452af0
push eax
mov eax, dword [ebp + 0x10]
push 0x43b
push eax
jmp 0x4395b9
mov ecx, dword [ebp + 0x40]
mov ecx, dword [ecx + 0xc]
push 0x43b
call fcn.00452af0
mov edx, dword [ebp + 0x10]
push eax
push 0x43b
push edx
call dword [0x47149c]
test esi, esi
mov ebx, dword [esp + 0x14]
jne 0x4395d7
test bl, 2
jne 0x4395d7
mov edx, dword [ebp + 0x30]
and edx, 0xd
or edx, 2
jmp 0x4395dd
mov edx, dword [ebp + 0x30]
and edx, 9
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4