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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x588113
sub esp, 0x84
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00587610
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5880d0
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00587610
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5880a3
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x60ef5a]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004c2f50
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x587b7f
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jle 0x58809c
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004c4000
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c3b00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x587b70
cmp eax, 1
jne 0x587bcd
cmp byte [ecx], 0x2a
je 0x587ff7
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x38], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00512270
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x587c97
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x28]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x24]
mov esi, dword [ecx + 0x2c]
cmp ebx, esi
ja 0x587c39
lea ebx, [edx + 1]
mov dword [ecx + 0x28], ebx
lea ebx, [ebp + edx*8]
lea esi, [0x65eff0]
mov dword [ebx], esi
mov ebx, dword [0x7a0970]
lea edi, [ebp + edx*8 + 4]
test ebx, ebx
jne 0x587c2f
mov dword [edi], eax
jmp 0x587b70
call fcn.0045de10
jmp 0x587b70
mov dword [esp + 0x48], eax
lea eax, [0x5e4320]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00445150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x587c8d
mov dword [ebx + 0x24], eax
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x48]
mov ecx, ebx
jmp 0x587c08
lea edi, [ebx + 0x24]
call fcn.0045de10
jmp 0x587c7e
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.00513590
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x30], ebp
test eax, eax
jne 0x587fea
test ecx, ecx
je 0x587b70
cmp byte [edx], 0x5b
jne 0x587fe3
lea esi, [ecx + edx - 1]
cmp byte [esi], 0x5d
jne 0x587fe3
lea esi, [ecx - 1]
cmp esi, 1
jb 0x588106
add ecx, 0xfffffffe
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add edx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005120b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x587ee5
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x587b70
cmp edx, 2
jge 0x587eb9
xor eax, eax
test al, al
je 0x587eae
lea eax, [edx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebp, dword [esp + 0x40]
lea edx, [ebp + eax]
test ebx, ebx
jbe 0x5880fd
movzx ecx, byte [edx]
cmp cl, 0x2e
jne 0x587e6f
lea edi, [esp + 0x5c]
mov eax, 0
call fcn.0045e0ab
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
setne cl
mov byte [esp + 0x6c], cl
lea ecx, [0x65f004]
mov dword [esp], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 4], edx
call fcn.004092a0
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x34]
mov eax, dword [esp + 0xc]
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x38]
mov esi, dword [esp + 8]
mov edi, esi
lea esi, [edx + 1]
cmp esi, ebp
ja 0x587e04
lea ebp, [edx + 1]
mov dword [ecx + 0x34], ebp
lea ebp, [ebx + edx*8]
mov dword [ebp], edi
mov ebp, dword [0x7a0970]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x587dfd
mov dword [edi], eax
jmp 0x587b70
call fcn.0045de10
jmp 0x587df8
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edi
lea eax, [0x5e4320]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00445150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x38], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x587e65
mov dword [ebx + 0x30], eax
mov edi, dword [esp + 0x50]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
jmp 0x587ddc
lea edi, [ebx + 0x30]
call fcn.0045de10
jmp 0x587e4d
mov byte [esp + 0x27], cl
mov dword [esp], 0
lea eax, [0x60ef5c]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.004484b0
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
movzx eax, byte [esp + 0x27]
cmp al, 0x2e
jmp 0x587d78
mov ebx, edx
mov edx, dword [esp + 0x40]
jmp 0x587d64
mov eax, dword [esp + 0x40]
mov dword [esp], eax
lea ecx, [0x60ef8a]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004028b0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
jmp 0x587d47
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x70]
mov ebx, eax
xor eax, eax
call fcn.0045e0ab
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], ecx
lea ecx, [0x65f018]
mov dword [esp], ecx
lea edx, [esp + 0x70]
mov dword [esp + 4], edx
call fcn.004092a0
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x28]
mov eax, dword [esp + 0xc]
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
mov esi, dword [esp + 8]
mov edi, esi
lea esi, [edx + 1]
cmp ebp, esi
jb 0x587f78
lea ebp, [edx + 1]
mov dword [ecx + 0x28], ebp
lea ebp, [ebx + edx*8]
mov dword [ebp], edi
mov ebp, dword [0x7a0970]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x587f71
mov dword [edi], eax
jmp 0x587b70
call fcn.0045de10
jmp 0x587f6c
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edi
lea eax, [0x5e4320]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00445150
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x7a0970]
test edx, edx
jne 0x587fd9
mov dword [ebx + 0x24], eax
mov edi, dword [esp + 0x50]
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
jmp 0x587f50
lea edi, [ebx + 0x24]
call fcn.0045de10
jmp 0x587fc1
mov eax, ecx
jmp 0x587d08
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x4c]
jmp 0x587d08
lea eax, [0x5d6900]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
lea ecx, [0x65efdc]
mov dword [eax], ecx
lea edx, [0x7a0788]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x88]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x7a0970]
test ebp, ebp
jne 0x588092
mov dword [ebx + 0x24], eax
lea eax, [0x5d6900]
mov dword [esp], eax
call fcn.0040b8d0
mov eax, dword [esp + 4]
lea ecx, [0x65efdc]
mov dword [eax], ecx
lea ecx, [0x7a0788]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x7a0970]
test edx, edx
jne 0x588088
mov dword [ecx + 0x30], eax
add esp, 0x84
ret
lea edi, [ecx + 0x30]
call fcn.0045de10
jmp 0x588081
lea edi, [ebx + 0x24]
call fcn.0045de10
jmp 0x58803c
add esp, 0x84
ret
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x5880bc
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x1c], eax
jmp 0x587b21
mov ecx, dword [esp + 0x88]
lea edi, [ecx + 0x1c]
call fcn.0045de10
jmp 0x587b21
mov ecx, dword [0x7a0970]
test ecx, ecx
jne 0x5880e9
mov ecx, dword [esp + 0x88]
mov dword [ecx + 0x20], eax
jmp 0x587af8
mov ecx, dword [esp + 0x88]
lea edi, [ecx + 0x20]
call fcn.0045de10
jmp 0x587af8
xor eax, eax
mov ecx, ebx
call fcn.0045de90
mov eax, 1
mov ecx, esi
call fcn.0045def0
nop
call fcn.0045c8b0
jmp fcn.00587ab0