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

Disassembly:
sub esp, 0xa8
push ebx
push esi
mov esi, dword [0x607334]
push edi
lea eax, [esp + 0x94]
push eax
mov edi, ecx
call esi
lea ecx, [esp + 0x34]
push 0x80
push ecx
call fcn.004ffbf0
add esp, 8
lea edx, [esp + 0x14]
push edx
call esi
mov ecx, dword [edi + 0x188]
call fcn.0053c4c0
mov ecx, eax
call fcn.004ab9f0
mov ebx, eax
test ebx, ebx
je 0x539d9a
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 8]
push ebp
call fcn.00533dc0
mov esi, dword [esp + 0xbc]
movzx ecx, byte [esi + 0xa]
movzx edx, byte [esi + 9]
push ecx
mov ecx, dword [edi + 0x188]
mov ebp, eax
movzx eax, byte [esi + 8]
push edx
push eax
call fcn.0053c460
movzx ecx, byte [esi + 0xe]
movzx edx, byte [esi + 0xd]
movzx eax, byte [esi + 0xc]
push ecx
mov ecx, dword [edi + 0x188]
push edx
push eax
call fcn.0053c480
mov ecx, dword [ebp + 0xa8]
xor edx, edx
cmp dword [ebp + 0x9c], 0x2bc
push ecx
mov ecx, dword [esi + 0x1c]
sete dl
lea eax, [esi + 0x2c]
push edx
movzx edx, word [esi + 4]
push eax
push ecx
mov ecx, dword [edi + 0x188]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0053d490
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [edi + 0x18c]
mov dword [esp + 0x24], edx
call fcn.00530780
mov ecx, dword [edi + 0x18c]
mov dword [esp + 0x38], eax
call fcn.004b4470
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x18c]
call fcn.00530760
mov ecx, dword [esi + 0x10]
add ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
add ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [esi + 0x14]
add edx, dword [esp + 0x1c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
add edx, dword [esp + 0xc8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi + 0x18c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
call fcn.005590d0
xor esi, esi
mov ecx, ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
call fcn.00530780
mov ecx, ebx
mov dword [esp + 0x60], eax
call fcn.004b4470
lea edx, [esp + 0x14]
mov dword [esp + 0x64], eax
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.00530760
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], ecx
mov ecx, ebx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call fcn.005590d0
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0xff
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], esi
call fcn.00546a30
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
add eax, ecx
mov dword [esp + 0x30], ecx
add esp, 4
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [edi + 0x190]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.005d52b0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xa8
ret 0x10