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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58e909
sub esp, 0x60
lea eax, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.00577900
movzx eax, byte [esp + 0xc]
test al, al
je 0x58e5e5
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x58e65e
lea eax, [0x665440]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x6a1d69]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x700a44]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov ecx, edx
mov edx, ebp
mov ebp, eax
mov eax, ebx
mov ebx, edi
mov edi, dword [esp + 0x68]
test edi, edi
je 0x58e855
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x64]
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.005773f0
movzx eax, byte [esp + 8]
test al, al
je 0x58e7e6
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, dword [0x8a7bd4]
mov ebp, dword [0x8a7bd0]
test ebx, ebx
je 0x58e6de
mov dword [esp + 0x3c], ebx
xor eax, eax
jmp 0x58e892
xor eax, eax
xor ecx, ecx
test al, al
je 0x58e751
mov eax, dword [esp + 0x2c]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jb 0x58e6fb
mov ebp, dword [esp + 0x4c]
jmp 0x58e73c
mov dword [esp + 0x34], ecx
lea ecx, [0x659500]
mov dword [esp], ecx
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00448240
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
inc eax
mov ebp, edx
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [ebp + eax*4], ecx
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
jmp 0x58e654
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jb 0x58e766
mov esi, dword [esp + 0x48]
jmp 0x58e79d
lea eax, [0x6688a0]
mov dword [esp], eax
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00448240
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov ecx, dword [esp + 0x20]
mov ebx, ebp
lea ecx, [ecx + ecx*2]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x58]
mov edi, edx
mov edx, dword [esp + 0x5c]
mov dword [esi + ecx*4 + 4], ebp
mov dword [esi + ecx*4 + 8], edx
mov edx, dword [0x8d5630]
lea ebp, [esi + ecx*4]
test edx, edx
jne 0x58e7c8
mov dword [esi + ecx*4], eax
jmp 0x58e7d3
mov ecx, edi
mov edi, ebp
call fcn.0045efb0
mov edi, ecx
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x4c]
mov eax, ebx
mov ebx, dword [esp + 0x30]
jmp 0x58e654
lea eax, [0x665440]
mov dword [esp], eax
call fcn.0040b430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x6a1d69]
mov dword [eax], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x700a44]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x60
ret
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x60
ret
add ebp, 0x10
mov eax, esi
mov esi, dword [ebp + 4]
mov edi, esi
mov esi, dword [ebp]
nop
cmp dword [ebp + 8], ecx
jne 0x58e8c0
mov dword [esp + 0x50], ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
jmp 0x58e8df
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
lea esi, [eax + 1]
cmp ebx, esi
jg 0x58e88d
jmp 0x58e6de
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
cmp ebp, ecx
jge 0x58e8f5
jae 0x58e901
mov esi, dword [edx + ebp*4]
lea ebx, [edi + ebp*4]
cmp dword [ebx], esi
je 0x58e8cc
jmp 0x58e8b8
mov eax, 1
mov ecx, esi
jmp 0x58e6e2
mov eax, ebp
call fcn.0045f030
nop
call fcn.0045dba0
jmp fcn.0058e5a0