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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65085a
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 0x650590
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x4c]
lea edi, [esi + 1]
cmp ebp, edi
jle 0x6507a4
jb 0x650850
mov dword [esp + 0x54], ecx
mov dword [esp + 0x3c], eax
sub ebx, esi
lea eax, [ebx - 1]
mov dword [esp + 0x38], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, edi
add eax, edx
mov dword [esp + 0x50], eax
nop
mov dword [esp], eax
sub ebp, esi
lea edx, [ebp - 1]
mov dword [esp + 0x34], 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 0x6505ec
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
cmp eax, edx
ja 0x650849
mov ecx, dword [esp + 0x50]
mov ebx, ecx
mov ebp, eax
mov esi, edx
jmp 0x6507c0
mov dword [esp + 0x4c], ebp
jmp 0x6507d3
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00659a30
movzx eax, byte [esp + 0xc]
test al, al
je 0x650642
mov eax, dword [0x706e98]
mov ecx, dword [0x706e9c]
jmp 0x650580
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x80]
mov ebx, dword [esp + 0x40]
cmp ebx, ecx
ja 0x65065e
mov ebp, ebx
jmp 0x65068e
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
lea eax, [0x734860]
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 + 0x40]
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 + 0x58]
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 [0x901e80]
test edx, edx
jne 0x6506dc
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x80], edx
jmp 0x6506f1
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 0x650716
test ecx, ecx
je 0x650716
movzx ebx, byte [edx]
lea ebp, [0x77d17e]
movzx ebx, byte [ebp + ebx]
mov byte [edx], bl
mov ebx, 1
jmp 0x6507ec
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.00649080
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 [0x901e80]
test ecx, ecx
jne 0x65078f
mov dword [ebx + 0x74], eax
jmp 0x650797
lea edi, [ebx + 0x74]
call fcn.00456ac0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x54]
jmp 0x650580
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 0x650607
cmp byte [ecx], 0x20
je 0x6507b0
jmp 0x650607
dec eax
test eax, eax
je 0x650610
lea edi, [eax + ecx - 1]
cmp byte [edi], 0x20
je 0x6507d2
jmp 0x650610
lea ebx, [esi + 1]
cmp ebx, ecx
jge 0x650716
jae 0x650842
movzx esi, byte [edx + ebx]
xchg esi, eax
cmp al, 0x2d
xchg esi, eax
jne 0x65081c
lea esi, [ebx + 1]
cmp ecx, esi
jle 0x6507e9
jbe 0x65083b
movzx edi, byte [ebx + edx + 1]
movzx edi, byte [ebp + edi]
xchg edi, eax
mov byte [ebx + edx + 1], al
xchg edi, eax
jmp 0x6507e9
xchg esi, eax
movzx edi, al
xchg esi, eax
lea ebp, [0x77cc7e]
movzx ebp, byte [ebp + edi]
xchg ebp, eax
mov byte [edx + ebx], al
xchg ebp, eax
lea ebp, [0x77d17e]
mov esi, ebx
jmp 0x6507e9
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.00650550