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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65089a
sub esp, 0x60
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x6c]
xor eax, eax
xor ecx, ecx
mov esi, 0xffffffff
jmp 0x6505d0
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x4c]
lea edi, [esi + 1]
cmp ebp, edi
jle 0x6507e4
jb 0x650890
mov dword [esp + 0x58], ecx
mov dword [esp + 0x40], eax
sub ebx, esi
lea eax, [ebx - 1]
mov dword [esp + 0x3c], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, edi
add eax, edx
mov dword [esp + 0x54], eax
nop
mov dword [esp], eax
sub ebp, esi
lea edx, [ebp - 1]
mov dword [esp + 0x38], edx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov byte [esp + 0xc], 0x2c
call fcn.00403350
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x65062c
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
cmp eax, edx
ja 0x650889
mov ecx, dword [esp + 0x54]
mov ebx, ecx
mov ebp, eax
mov esi, edx
jmp 0x650800
mov dword [esp + 0x4c], ebp
jmp 0x650813
mov dword [esp + 0x34], eax
mov dword [esp + 0x50], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00659a60
movzx eax, byte [esp + 0xc]
test al, al
je 0x650682
mov eax, dword [0x706dd0]
mov ecx, dword [0x706dd4]
jmp 0x6505c0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x80]
mov ebx, dword [esp + 0x34]
cmp ebx, ecx
ja 0x65069e
mov ebp, ebx
jmp 0x6506ce
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x7347e0]
mov dword [esp + 0x10], eax
call fcn.00442820
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
mov ebx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x44], ebx
mov dword [esp], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00457450
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov dword [eax + 0x84], ecx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x88], edx
mov edx, dword [0x900e70]
test edx, edx
jne 0x65071c
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x80], edx
jmp 0x650731
lea edi, [eax + 0x80]
mov eax, dword [esp + 0x5c]
call fcn.00456ac0
mov edx, eax
mov eax, dword [esp + 0x64]
movzx ebx, byte [eax]
test bl, bl
jne 0x650756
test ecx, ecx
je 0x650756
movzx ebx, byte [edx]
lea ebp, [0x77cede]
movzx ebx, byte [ebp + ebx]
mov byte [edx], bl
mov ebx, 1
jmp 0x65082c
mov ecx, dword [eax + 0x74]
mov edx, dword [eax + 0x78]
mov ebx, dword [eax + 0x7c]
mov ebp, dword [eax + 0x80]
mov esi, dword [eax + 0x84]
mov edi, dword [eax + 0x88]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x24], 1
call fcn.006490c0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov dword [ebx + 0x78], ecx
mov dword [ebx + 0x7c], edx
mov ecx, dword [0x900e70]
test ecx, ecx
jne 0x6507cf
mov dword [ebx + 0x74], eax
jmp 0x6507d7
lea edi, [ebx + 0x74]
call fcn.00456ac0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
jmp 0x6505c0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x60
ret
dec edx
mov edi, edx
neg edx
sar edx, 0x1f
and edx, 1
add ecx, edx
dec eax
mov edx, edi
test eax, eax
je 0x650647
cmp byte [ecx], 0x20
je 0x6507f0
jmp 0x650647
dec eax
test eax, eax
je 0x650650
lea edi, [eax + ecx - 1]
cmp byte [edi], 0x20
je 0x650812
jmp 0x650650
lea ebx, [esi + 1]
cmp ebx, ecx
jge 0x650756
jae 0x650882
movzx esi, byte [edx + ebx]
xchg esi, eax
cmp al, 0x2d
xchg esi, eax
jne 0x65085c
lea esi, [ebx + 1]
cmp ecx, esi
jle 0x650829
jbe 0x65087b
movzx edi, byte [ebx + edx + 1]
movzx edi, byte [ebp + edi]
xchg edi, eax
mov byte [ebx + edx + 1], al
xchg edi, eax
jmp 0x650829
xchg esi, eax
movzx edi, al
xchg esi, eax
lea ebp, [0x77c9de]
movzx ebp, byte [ebp + edi]
xchg ebp, eax
mov byte [edx + ebx], al
xchg ebp, eax
lea ebp, [0x77cede]
mov esi, ebx
jmp 0x650829
mov eax, esi
call fcn.00456b40
mov eax, ebx
call fcn.00456b40
mov ecx, eax
call fcn.00456b80
mov eax, edi
mov ecx, ebp
call fcn.00456ba0
nop
call fcn.00455690
jmp fcn.00650590