Function at 0x5860a0
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 0x58664c
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 0x58626e
cmp edx, 0x14
je 0x5861ff
cmp edx, 0x17
jne 0x5861b1
test ebx, 0x200
jne 0x58610e
lea edx, [0x663100]
mov ebp, dword [esp + 0xa8]
jmp 0x58613c
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.004be9f0
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.004bf510
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.004bd9d0
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 0x5862b5
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x60b960]
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.00582a40
mov byte [esp + 0xb4], 0
add esp, 0x9c
ret
lea eax, [0x5e18e0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044a130
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.00409700
mov eax, dword [esp + 0xc]
lea ecx, [0x5db260]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00585f40
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 0x5862b5
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.004bcca0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0xc], eax
jne 0x5864f8
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 0x5862e9
test edx, 0x200
jne 0x5862e9
mov dword [esp + 0x3c], eax
lea eax, [0x663100]
mov dword [esp + 0x20], eax
jmp 0x586305
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.004be9f0
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 0x58633c
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 0x586441
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004bf830
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.004bc180
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 0x5864ef
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.00583880
movzx eax, byte [esp + 0x14]
test al, al
jne 0x5863dd
mov ebx, dword [esp + 0x2c]
jmp 0x58632a
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.004bc420
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.004bd9d0
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 1]
jmp 0x58632a
nop
mov eax, dword [esp + 0x28]
mov ecx, eax
and eax, 0x1f
cmp eax, 0x11
je 0x5864ac
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.004be660
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.004bd9d0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5864e0
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.004bd9d0
mov byte [esp + 0xb4], 1
add esp, 0x9c
ret
mov eax, edi
mov ecx, ebp
call fcn.004637b0
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.004bcca0
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.00409570
mov eax, dword [esp + 4]
lea ecx, [0x5e17a0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00409570
mov eax, dword [esp + 4]
lea ecx, [0x5e17a0]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
lea eax, [0x60bed4]
mov dword [esp + 4], eax
mov dword [esp + 8], 6
lea eax, [0x61a35e]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0x2a
call fcn.0044dc10
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.004c4b50
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, [0x5e8640]
mov dword [esp], eax
lea ecx, [esp + 0x84]
mov dword [esp + 4], ecx
call fcn.004094a0
mov eax, dword [esp + 8]
lea ecx, [0x5e8640]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00435720
nop
call fcn.00462320
jmp fcn.005860a0