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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x588495
sub esp, 0x60
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.00586950
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x588483
mov ebx, dword [esp + 0x70]
cmp ebx, 5
jge 0x588443
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x588371
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
call fcn.004ba7e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edx, [0x884770]
mov dword [esp], edx
call fcn.0045a770
lea eax, [0x884770]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x719bc8]
mov dword [esp + 4], eax
call fcn.00424900
test eax, eax
jne 0x588367
mov eax, dword [esp + 0x64]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
lea eax, [0x6b7260]
mov dword [esp], eax
mov ecx, dword [0x872264]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
call fcn.00406cf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov edx, dword [0x884700]
test edx, edx
jne 0x58834a
mov edx, dword [esp + 0x6c]
mov dword [eax], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
lea ebp, [0x6b7260]
mov dword [esp], ebp
mov ebp, dword [0x872268]
mov dword [esp + 4], ebp
lea ebp, [esp + 0x48]
mov dword [esp + 8], ebp
call fcn.00406cf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x588335
mov ecx, dword [esp + 0x6c]
mov dword [eax], ecx
lea eax, [0x6b6fa0]
mov dword [esp], eax
mov ecx, dword [0x872260]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xc], edx
call fcn.00409500
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax]
xor edx, edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
cmp edx, ecx
jge 0x5881a6
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov esi, dword [esp + 0x24]
cmp ebp, esi
je 0x5882e5
add eax, 8
inc edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
cmp edx, ecx
jl 0x588185
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
lea edx, [0x6b6fa0]
mov dword [esp], edx
mov ebx, dword [0x872260]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.00409500
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
lea ebx, [edx + 1]
cmp ebx, eax
jg 0x5882ad
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], eax
mov ebp, edx
shl edx, 3
mov esi, dword [esp + 0x24]
mov dword [ecx + edx + 4], esi
mov esi, dword [0x884700]
lea ebp, [ecx + ebp*8]
test esi, esi
jne 0x58828c
mov ebp, dword [esp + 0x38]
mov dword [ecx + edx], ebp
lea edx, [0x6b6fa0]
mov dword [esp], edx
mov edx, dword [0x872260]
mov dword [esp + 4], edx
lea edx, [esp + 0x40]
mov dword [esp + 8], edx
call fcn.00406cf0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x58827a
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
call fcn.00425120
add esp, 0x60
ret
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040d5a0
jmp 0x588260
mov dword [esp], ebp
mov edx, dword [esp + 0x38]
mov dword [esp + 4], edx
call fcn.0040d5a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
jmp 0x58821e
lea ebp, [0x6b4960]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
call fcn.00437660
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, edx
mov edx, dword [esp + 0x2c]
jmp 0x5881f1
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call fcn.00449f40
movzx eax, byte [esp + 0x10]
test al, al
jne 0x58831b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x588196
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
call fcn.00425120
add esp, 0x60
ret
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040d5a0
jmp 0x588142
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040d5a0
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
jmp 0x5880f3
nop
call fcn.00425120
add esp, 0x60
ret
lea ebp, [0x6b7260]
mov dword [esp], ebp
mov dword [esp + 4], eax
lea esi, [0x7057cd]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 7
call fcn.00409500
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x5883b1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x70]
jmp 0x58803e
lea eax, [0x7057cd]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 7
lea eax, [0x6b7260]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
lea edx, [esp + 0x58]
mov dword [esp + 8], edx
call fcn.00406cf0
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 5
mov ecx, dword [0x884700]
test ecx, ecx
jne 0x58842f
lea ecx, [0x704f9a]
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.00586080
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
jmp 0x588042
mov dword [esp], eax
lea eax, [0x704f9a]
mov dword [esp + 4], eax
call fcn.0040d5a0
jmp 0x5883fe
mov ebp, dword [esp + 0x6c]
mov dword [esp], ebp
mov dword [esp + 4], 5
lea esi, [0x704f63]
mov dword [esp + 8], esi
mov dword [esp + 0xc], 5
call fcn.00449f40
movzx ebp, byte [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x70]
jmp 0x588034
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
nop
call fcn.00425120
add esp, 0x60
ret
call fcn.004486b0
jmp fcn.00587fc0