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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58f491
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.0058ee80
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, [0x62fc80]
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.004093b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x58f1e4
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 0x58f224
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.005197f0
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.00516fd0
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.00517350
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.00516fd0
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.00517350
lea eax, [0x62fc20]
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.004093b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x58f354
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00517760
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.00517760
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 0x58f3fe
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00517760
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.00517760
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 0x58f409
xor edx, edx
jmp 0x58f41c
movzx edx, byte [eax]
test dl, dl
je 0x58f417
mov edx, 0xffffffff
jmp 0x58f41c
mov edx, 1
test edx, edx
jne 0x58f44e
mov edx, dword [ecx + 8]
test edx, edx
jne 0x58f42b
xor ecx, ecx
jmp 0x58f43e
movzx ecx, byte [ecx]
test cl, cl
je 0x58f439
mov ecx, 0xffffffff
jmp 0x58f43e
mov ecx, 1
test ecx, ecx
jne 0x58f44e
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.00517350
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.00517550
mov eax, dword [esp + 8]
test eax, eax
sete al
mov byte [esp + 0x94], al
add esp, 0x70
ret
call fcn.004612b0
jmp fcn.0058f130