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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x588e9b
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x588bb4
mov ecx, dword [esp + 0xa0]
jmp 0x588bbb
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, 0xffffffff
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
jmp 0x588c42
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x9c]
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0xa8]
mov edx, dword [esp + 0x54]
cmp edi, edx
jle 0x588df8
mov edi, dword [esp + 0x44]
cmp ecx, edi
jl 0x588df8
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x94]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.005832c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
test edx, edx
je 0x588df8
cmp edx, 1
jbe 0x588e8e
mov ebp, dword [ecx + 4]
mov esi, dword [esp + 0x44]
cmp esi, ebp
je 0x588cf0
mov esi, 1
jmp 0x588dbf
mov dword [esp + 0x70], ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x74], eax
mov ebp, dword [ecx]
mov dword [esp + 0x64], ebp
mov edi, dword [esp + 0x40]
cmp ebp, edi
mov edx, dword [esp + 0x9c]
test edx, edx
je 0x588d53
mov dword [esp + 0x80], edx
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x88], ecx
lea ebx, [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.00587410
mov eax, dword [esp + 0xc]
jmp 0x588d7d
mov eax, dword [esp + 0x94]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 0x78]
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.005871d0
mov eax, dword [esp + 0xc]
test eax, eax
jle 0x588d97
mov ecx, dword [esp + 0x44]
add eax, ecx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x40]
cmp ecx, ebx
mov ecx, dword [esp + 0x58]
jmp 0x588da8
mov ecx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x40]
cmp ebx, ebp
setne bl
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x4c]
mov ebp, eax
mov esi, ebx
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x50]
mov edi, dword [ecx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x588def
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
test eax, eax
je 0x588de7
mov eax, dword [esp + 0x90]
mov esi, dword [eax + 0x10]
inc esi
shl esi, 1
mov dword [esp + 0x48], esi
jmp 0x588e3a
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x588dff
mov eax, dword [esp + 0x54]
jmp 0x588c01
add esp, 0x8c
ret
mov ebx, dword [esp + 0xac]
mov ebp, dword [ebx]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov edx, ebx
call ebp
mov eax, dword [esp + 0x54]
inc eax
mov ebp, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
jmp 0x588c01
mov dword [ecx + eax*4 - 4], 0xffffffff
mov edx, eax
mov eax, dword [esp + 0x90]
cmp edx, esi
jge 0x588e81
lea eax, [edx + 1]
cmp ebx, eax
jae 0x588e29
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5f1160]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x60]
jmp 0x588e29
mov eax, ebx
mov esi, ecx
mov ecx, edx
mov edx, esi
jmp 0x588dff
mov eax, 1
mov ecx, eax
call fcn.00464400
nop
call fcn.00462f70
jmp fcn.00588b80