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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58a62e
sub esp, 0x50
mov eax, dword [esp + 0x54]
test byte [eax], al
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x14], ebp
call fcn.0058ae90
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
test eax, eax
jne 0x58a5a6
mov eax, dword [esp + 0x54]
movzx ecx, word [eax + 0x100]
nop
lea edx, [ebx + 2]
cmp ebp, edx
jae 0x58a445
mov word [esp + 0x30], cx
mov dword [esp + 0x40], ebx
lea eax, [0x696c40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044b8c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 2]
mov eax, dword [esp + 0x54]
movzx ecx, word [esp + 0x30]
mov ebx, dword [esp + 0x40]
mov edi, ecx
shr cx, 8
mov byte [esi + ebx], cl
xchg edi, eax
mov byte [esi + ebx + 1], al
xchg edi, eax
movzx ecx, word [eax + 0x102]
nop
lea ebx, [edx + 2]
cmp ebp, ebx
jae 0x58a4a6
mov dword [esp + 0x3c], edx
mov word [esp + 0x32], cx
lea eax, [0x696c40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044b8c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x54]
movzx ecx, word [esp + 0x32]
mov edx, dword [esp + 0x3c]
mov edi, ecx
shr cx, 8
mov byte [esi + edx], cl
xchg edi, eax
mov byte [esi + edx + 1], al
xchg edi, eax
mov ecx, dword [eax + 0x104]
lea edx, [ebx + 4]
cmp ebp, edx
jae 0x58a503
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ecx
lea eax, [0x696c40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044b8c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 4]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov edi, ecx
shr ecx, 0x18
mov byte [esi + ebx], cl
mov ecx, edi
shr edi, 0x10
xchg edi, eax
mov byte [esi + ebx + 1], al
xchg edi, eax
mov edi, ecx
shr ecx, 8
mov byte [esi + ebx + 2], cl
xchg edi, eax
mov byte [esi + ebx + 3], al
xchg edi, eax
movzx eax, word [eax + 0x108]
lea ecx, [edx + 2]
cmp ebp, ecx
jae 0x58a572
mov dword [esp + 0x34], edx
mov word [esp + 0x2e], ax
lea eax, [0x696c40]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.0044b8c0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 2]
movzx eax, word [esp + 0x2e]
mov edx, dword [esp + 0x34]
mov ebx, eax
shr ax, 8
mov byte [esi + edx], al
mov byte [esi + edx + 1], bl
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x50
ret
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
lea eax, [0x6a8ce0]
mov dword [esp], eax
call fcn.0040b800
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x6ce1e6]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x58a5e9
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
jmp 0x58a5f9
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.004630d0
mov eax, ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0
lea ecx, [0x751488]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x50
ret
call fcn.00461cc0
jmp fcn.0058a380