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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x58a3d3
sub esp, 0x88
lea eax, [0xa82740]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004048b0
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp], 0x14
lea ecx, [0xbd51a8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0x18], ebp
call fcn.0043cf70
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00460de4
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov word [esp + 0x60], 1
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov word [esp + 0x78], 1
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00443d30
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x58a2ff
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
test eax, eax
jne 0x58a1bf
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.005885f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x58a2db
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
lea edx, [0xb31380]
mov dword [esp], edx
call fcn.0040bd00
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0x10fd360]
test eax, eax
jne 0x58a2cd
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov ecx, dword [esp + 0x98]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x58a2b4
mov eax, dword [esp + 0x94]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
cmp dword [0x10e4840], eax
je 0x58a27d
mov edx, dword [esp + 0x28]
lea eax, [0xc83240]
mov ecx, edi
jmp 0x58a1a3
mov dword [esp + 0x3c], edi
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [0x10e4844]
mov dword [esp + 8], eax
call fcn.004038f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58a2ae
mov edi, dword [esp + 0x3c]
mov byte [edi + 0x1a], 1
jmp 0x58a26c
mov edi, dword [esp + 0x3c]
jmp 0x58a26c
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x94]
call fcn.00460b40
mov edi, edx
jmp 0x58a260
mov eax, dword [esp + 0x40]
call fcn.00460b40
jmp 0x58a242
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
cmp eax, 1
jne 0x58a3d2
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
cmp dword [0x10e3be8], eax
je 0x58a395
cmp dword [0x10d7cb8], eax
je 0x58a35e
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x88
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0x10d7cbc]
mov dword [esp + 8], edx
call fcn.004038f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58a38b
mov eax, dword [0x10d7e28]
mov ecx, dword [0x10d7e2c]
jmp 0x58a33e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x58a33e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [0x10e3bec]
mov dword [esp + 8], edx
call fcn.004038f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58a3c5
mov eax, dword [0x10e4818]
mov ecx, dword [0x10e481c]
jmp 0x58a33e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
jmp 0x58a336
nop
call fcn.0045f5f0
jmp fcn.0058a070