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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x58c83c
sub esp, 0x9c
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x38], ecx
nop
nop
mov edx, dword [esp + 0xb0]
mov ebx, edx
and edx, 0x1f
cmp edx, 0x11
je 0x58c45e
cmp edx, 0x14
je 0x58c3ef
cmp edx, 0x17
jne 0x58c3a1
test ebx, 0x200
jne 0x58c2fe
lea edx, [0x676140]
mov ebp, dword [esp + 0xa8]
jmp 0x58c32c
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebp, ecx
mov ecx, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
call fcn.004c5ee0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
mov ebp, dword [esp + 0xac]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0xb0]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c43a0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x58c4a5
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x61bf8f]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 5
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.00588c30
mov byte [esp + 0xb4], 0
add esp, 0x9c
ret
lea eax, [0x5f0700]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a1a0
mov eax, dword [esp + 0xc]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00409770
mov eax, dword [esp + 0xc]
lea ecx, [0x5e9d60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0058c130
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, ecx
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov ecx, eax
mov eax, dword [esp + 0x38]
jmp 0x58c4a5
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004c3670
mov eax, dword [esp + 0x38]
cmp dword [esp + 0xc], eax
jne 0x58c6e8
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
xor ebp, ebp
xor esi, esi
xor edi, edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ecx
test edx, edx
je 0x58c4d9
test edx, 0x200
jne 0x58c4d9
mov dword [esp + 0x3c], eax
lea eax, [0x676140]
mov dword [esp + 0x20], eax
jmp 0x58c4f5
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004c53c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
xor edx, edx
xor ebx, ebx
jmp 0x58c52c
mov ebp, dword [esp + 0x30]
lea edx, [ebp + 1]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x38]
cmp edx, ebp
jge 0x58c631
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c6200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004c2b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [ebx + 0x28]
mov esi, dword [ebx + 0x24]
mov edi, dword [esp + 0x30]
cmp edi, ebp
jae 0x58c6df
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x78], eax
mov ebx, dword [esi + edi*4]
mov ebp, dword [esp + 0xa0]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
call fcn.00589a70
movzx eax, byte [esp + 0x14]
test al, al
jne 0x58c5cd
mov ebx, dword [esp + 0x2c]
jmp 0x58c51a
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
call fcn.004c2df0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
call fcn.004c43a0
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 1]
jmp 0x58c51a
nop
mov eax, dword [esp + 0x28]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x11
je 0x58c69c
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], ebx
call fcn.004c5030
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebp, dword [esp + 0x6c]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004c43a0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x58c6d0
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call fcn.004c43a0
mov byte [esp + 0xb4], 1
add esp, 0x9c
ret
mov eax, edi
mov ecx, ebp
call fcn.004638e0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 8], eax
call fcn.004c3670
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp], eax
call fcn.004095e0
mov eax, dword [esp + 4]
lea ecx, [0x5f05c0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004095e0
mov eax, dword [esp + 4]
lea ecx, [0x5f05c0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [0x61c51f]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x62b43e]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x2a
call fcn.0044dd40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x8c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004cb520
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
lea eax, [0x5f7a40]
mov dword [esp], eax
lea ecx, [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.004094a0
mov eax, dword [esp + 8]
lea ecx, [0x5f7a40]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435790
nop
call fcn.00462450
jmp fcn.0058c290