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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58dd31
sub esp, 0x64
lea eax, [0x5be160]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
call fcn.00438580
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
lea ebx, [0x5c00a0]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00406470
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
xor ecx, ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
jmp 0x58da93
mov edi, dword [esp + 0x5c]
add edi, 8
mov eax, edi
mov edi, dword [esp + 0x40]
inc edi
mov ebp, ecx
mov esi, edx
mov ecx, edi
mov edx, eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
cmp ecx, edi
jge 0x58dd10
mov dword [esp + 0x40], ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x5c], edx
mov eax, dword [edx]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
lea ebx, [0x5f6596]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
call fcn.004b81b0
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x58db87
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jg 0x58db4d
mov ebx, dword [esp + 0x60]
lea ebp, [ebx + eax*8 + 4]
mov esi, dword [esp + 0x28]
mov dword [ebp], esi
lea eax, [ebx + eax*8]
mov ebp, dword [0x728500]
test ebp, ebp
jne 0x58db20
mov ebp, dword [esp + 0x4c]
mov dword [eax], ebp
jmp 0x58da79
mov dword [esp + 0x58], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040ec50
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
jmp 0x58da79
lea ebx, [0x5be160]
mov dword [esp], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00438700
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
jmp 0x58dafd
mov ecx, dword [esp + 0x28]
cmp eax, ecx
ja 0x58dd2a
movzx edx, byte [esp + 0x68]
test dl, dl
jne 0x58dcf3
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], ebx
lea ecx, [0x5c00a0]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00409930
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
je 0x58dc2d
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jae 0x58dd23
mov edx, dword [esp + 0x60]
lea ebx, [edx + eax*8 + 4]
mov ebp, dword [esp + 0x28]
mov dword [ebx], ebp
mov ebx, dword [0x728500]
lea eax, [edx + eax*8]
test ebx, ebx
jne 0x58dc13
mov ebx, dword [esp + 0x4c]
mov dword [eax], ebx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x60]
jmp 0x58da79
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040ec50
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x60]
jmp 0x58dc06
lea eax, [0x5c00a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.0040a570
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
lea eax, [ecx + 1]
mov edx, dword [esp + 0x24]
cmp eax, edx
jg 0x58dcbb
mov ebx, dword [esp + 0x60]
lea ebp, [ebx + ecx*8 + 4]
mov esi, dword [esp + 0x28]
mov dword [ebp], esi
lea ecx, [ebx + ecx*8]
mov ebp, dword [0x728500]
test ebp, ebp
jne 0x58dc91
mov ebp, dword [esp + 0x4c]
mov dword [ecx], ebp
mov ecx, eax
jmp 0x58da79
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0040ec50
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
jmp 0x58dc8a
lea ebx, [0x5be160]
mov dword [esp], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00438700
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x20]
jmp 0x58dc6c
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b7580
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0xc]
jmp 0x58dba4
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], esi
add esp, 0x64
ret
call fcn.00425900
ud2
call fcn.00425960
ud2
call fcn.0044a1d0
jmp fcn.0058d9e0