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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58fd59
sub esp, 0x60
lea eax, [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], eax
mov byte [esp + 8], 0x30
call fcn.0056b2f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x58fa35
xor eax, eax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x58faae
lea eax, [0x667e60]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x69ddc7]
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, [0x703160]
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 0x58fca5
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.0056ade0
movzx eax, byte [esp + 8]
test al, al
je 0x58fc36
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov ebx, dword [0x867acc]
mov ebp, dword [0x867ac8]
test ebx, ebx
je 0x58fb2e
mov dword [esp + 0x3c], ebx
xor eax, eax
jmp 0x58fce2
xor eax, eax
xor ecx, ecx
test al, al
je 0x58fba1
mov eax, dword [esp + 0x2c]
lea edx, [eax + 1]
mov ebx, dword [esp + 0x30]
cmp ebx, edx
jb 0x58fb4b
mov ebp, dword [esp + 0x4c]
jmp 0x58fb8c
mov dword [esp + 0x34], ecx
lea ecx, [0x65e040]
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.00448480
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 0x58faa4
mov ecx, dword [esp + 0x20]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x24]
cmp ebx, edx
jb 0x58fbb6
mov esi, dword [esp + 0x48]
jmp 0x58fbed
lea eax, [0x66c2e0]
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.00448480
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 [0x894e10]
lea ebp, [esi + ecx*4]
test edx, edx
jne 0x58fc18
mov dword [esi + ecx*4], eax
jmp 0x58fc23
mov ecx, edi
mov edi, ebp
call fcn.0045f830
mov edi, ecx
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x4c]
mov eax, ebx
mov ebx, dword [esp + 0x30]
jmp 0x58faa4
lea eax, [0x667e60]
mov dword [esp], eax
call fcn.0040b400
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x21
lea ecx, [0x69ddc7]
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, [0x703160]
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 0x58fd10
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 0x58fd2f
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
lea esi, [eax + 1]
cmp ebx, esi
jg 0x58fcdd
jmp 0x58fb2e
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 0x58fd45
jae 0x58fd51
mov esi, dword [edx + ebp*4]
lea ebx, [edi + ebp*4]
cmp dword [ebx], esi
je 0x58fd1c
jmp 0x58fd08
mov eax, 1
mov ecx, esi
jmp 0x58fb32
mov eax, ebp
call fcn.0045f8b0
nop
call fcn.0045e420
jmp fcn.0058f9f0