Function at 0x58be30
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 0x58c193
sub esp, 0x88
lea eax, [0x8cb240]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00403f10
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov dword [esp], 0x14
lea ecx, [0x9b2714]
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.00435810
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.004572a4
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.0043c950
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x58c0bf
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
test ecx, ecx
jne 0x58bf7f
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov dword [esp + 0x44], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 4], ecx
call fcn.0058a4e0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x58c09b
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x44]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x40], ecx
lea edx, [0x946f60]
mov dword [esp], edx
call fcn.0040ae10
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov dword [edi + 4], eax
mov eax, dword [0xdd7ec0]
test eax, eax
jne 0x58c08d
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov ecx, dword [esp + 0x98]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x58c074
mov eax, dword [esp + 0x94]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x28]
cmp dword [0xdc3108], eax
je 0x58c03d
mov edx, dword [esp + 0x24]
lea ecx, [0xa4dfe0]
mov eax, edi
jmp 0x58bf63
mov dword [esp + 0x3c], edi
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [0xdc310c]
mov dword [esp + 8], eax
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
je 0x58c06e
mov edi, dword [esp + 0x3c]
mov byte [edi + 0x1a], 1
jmp 0x58c02c
mov edi, dword [esp + 0x3c]
jmp 0x58c02c
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x94]
call fcn.00456fe0
mov edi, edx
jmp 0x58c020
mov eax, dword [esp + 0x40]
call fcn.00456fe0
jmp 0x58c002
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
cmp eax, 1
jne 0x58c192
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 + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x1c], ecx
cmp dword [0xdc1ba0], ecx
je 0x58c155
cmp dword [0xdb9798], ecx
je 0x58c11e
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x88
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0xdb979c]
mov dword [esp + 8], edx
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
je 0x58c14b
mov ecx, dword [0xdb97d0]
mov eax, dword [0xdb97d4]
jmp 0x58c0fe
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
jmp 0x58c0fe
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0xdc1ba4]
mov dword [esp + 8], edx
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
je 0x58c185
mov ecx, dword [0xdc30e0]
mov eax, dword [0xdc30e4]
jmp 0x58c0fe
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
jmp 0x58c0f6
nop
call fcn.004557a0
jmp fcn.0058be30