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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x578a81
sub esp, 0x70
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
call fcn.00578470
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x58], eax
lea ecx, [0x6635c0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
call fcn.00409000
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x5787d4
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
jmp 0x578814
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
call fcn.0050c0e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00509b10
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.00509e90
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00509b10
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.00509e90
lea eax, [0x663560]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 8], ecx
call fcn.00409000
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x578944
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0050a2a0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x48]
mov dword [esp], ebx
call fcn.0050a2a0
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x50]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], esi
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
jmp 0x5789ee
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0050a2a0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.0050a2a0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0x74]
mov ebx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
mov edx, dword [edx + 0x10]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + 8]
test edx, edx
jne 0x5789f9
xor edx, edx
jmp 0x578a0c
movzx edx, byte [eax]
test dl, dl
je 0x578a07
mov edx, 0xffffffff
jmp 0x578a0c
mov edx, 1
test edx, edx
jne 0x578a3e
mov edx, dword [ecx + 8]
test edx, edx
jne 0x578a1b
xor ecx, ecx
jmp 0x578a2e
movzx ecx, byte [ecx]
test cl, cl
je 0x578a29
mov ecx, 0xffffffff
jmp 0x578a2e
mov ecx, 1
test ecx, ecx
jne 0x578a3e
mov byte [esp + 0x94], 0
add esp, 0x70
ret
mov dword [esp + 0x40], eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 8], ecx
call fcn.00509e90
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.0050a090
mov eax, dword [esp + 8]
test eax, eax
sete al
mov byte [esp + 0x94], al
add esp, 0x70
ret
call fcn.0045dba0
jmp fcn.00578720