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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x650fd9
sub esp, 0x70
call fcn.0040a730
mov eax, dword [esp]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x74]
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x650ac8
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ebx, ebp
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebp, 1
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
test edx, edx
jle 0x650fa3
mov dword [esp + 0x34], edi
cmp edx, 4
jge 0x650eef
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
xor ecx, ecx
mov dword [esp + 0x30], ecx
xor ecx, ecx
test cl, cl
je 0x650ec6
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], ebx
xchg ebp, eax
mov byte [esp + 0x1f], al
xchg ebp, eax
mov dword [esp], 0
mov dword [esp + 4], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0043be30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
movzx edx, byte [esp + 0x1f]
test dl, dl
jne 0x650e42
mov edx, dword [esp + 0x3c]
cmp edx, 4
jge 0x650da8
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x24], edx
xor edx, edx
test bl, bl
je 0x650d7f
mov dword [esp + 0x5c], edi
test edx, edx
jle 0x650d35
cmp edx, 4
jge 0x650cad
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edx, edx
mov byte [esp + 0x1e], dl
xor edx, edx
movzx edi, byte [esp + 0x1e]
xchg edi, eax
test al, al
xchg edi, eax
je 0x650c84
test edx, edx
jg 0x650c31
mov dword [esp], 0
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
call fcn.0043be30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
lea edx, [0x775760]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], esi
call fcn.0040eb90
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
mov dword [edi + 4], eax
mov eax, dword [0xadb480]
test eax, eax
jne 0x650c23
mov eax, dword [esp + 0x6c]
mov dword [edi], eax
jmp 0x650a99
mov eax, dword [esp + 0x6c]
call fcn.0044c870
jmp 0x650a99
lea eax, [0x7ea9ed]
mov dword [esp], eax
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004bb7b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x70
ret
mov eax, dword [0xac91a4]
mov ecx, dword [0xac91a0]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x70
ret
lea ebx, [esi - 4]
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 4
add ebx, ebp
add edx, 0xfffffffc
movzx edi, byte [ebp + 1]
movzx eax, byte [ebp + 2]
movzx ecx, byte [ebp + 3]
shl eax, 8
or ecx, eax
shl edi, 0x10
or ecx, edi
movzx eax, byte [ebp]
shl eax, 0x18
or eax, ecx
cmp edx, eax
jae 0x650d05
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor eax, eax
mov byte [esp + 0x1e], al
mov eax, dword [esp + 0x38]
jmp 0x650ba2
test eax, eax
jl 0x650fc4
sub edx, eax
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
mov ebp, eax
mov eax, 1
mov byte [esp + 0x1e], al
mov eax, dword [esp + 0x38]
mov ecx, ebx
mov ebx, esi
mov esi, ecx
mov ecx, dword [esp + 0x64]
jmp 0x650ba2
lea edx, [0x775760]
mov dword [esp], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040eb90
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 0
mov eax, dword [0xadb480]
test eax, eax
jne 0x650d73
mov dword [edi], 0
jmp 0x650a99
xor eax, eax
call fcn.0044c870
jmp 0x650a99
mov eax, dword [0xac91a4]
mov ecx, dword [0xac91a0]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x70
ret
mov ebx, dword [esp + 0x40]
add ebx, 0xfffffffc
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, 4
mov esi, dword [esp + 0x68]
add ebx, esi
add edx, 0xfffffffc
movzx edi, byte [esi + 2]
movzx eax, byte [esi + 3]
shl edi, 8
or eax, edi
movzx edi, byte [esi + 1]
shl edi, 0x10
or eax, edi
movzx esi, byte [esi]
shl esi, 0x18
or esi, eax
cmp edx, esi
jae 0x650e07
mov eax, dword [esp + 0x38]
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
jmp 0x650b75
test esi, esi
jl 0x650fcb
sub edx, esi
mov eax, ebp
sub ebp, esi
mov edi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, esi
add ebp, ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edi
mov edx, esi
mov esi, eax
mov edi, ebp
mov eax, dword [esp + 0x38]
mov ebp, ebx
mov ebx, 1
jmp 0x650b75
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x650e73
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x64]
jmp 0x650b50
lea eax, [0x7e8793]
mov dword [esp], eax
mov dword [esp + 4], 0x31
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004bb7b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x70
ret
mov eax, dword [0xac91a4]
mov ecx, dword [0xac91a0]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x70
ret
add ecx, 0xfffffffc
mov dword [esp + 0x30], ecx
neg ecx
sar ecx, 0x1f
and ecx, 4
add ecx, ebx
add edx, 0xfffffffc
movzx eax, byte [ebx + 2]
movzx edi, byte [ebx + 3]
shl eax, 8
or edi, eax
movzx eax, byte [ebx + 1]
shl eax, 0x10
or edi, eax
movzx eax, byte [ebx]
shl eax, 0x18
or eax, edi
cmp edx, eax
jae 0x650f58
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x34]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x3c], eax
xor edi, edi
mov dword [esp + 0x40], edi
xor eax, eax
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x34]
jmp 0x650afd
test eax, eax
jl 0x650fd2
sub edx, eax
mov ebx, dword [esp + 0x30]
sub ebx, eax
mov dword [esp + 0x28], ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
add ebx, ecx
mov edi, dword [esp + 0x34]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x58]
mov ecx, 1
mov edx, dword [esp + 0x48]
jmp 0x650afd
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x70
ret
call fcn.00426530
ud2
call fcn.00426530
ud2
call fcn.00426530
ud2
call fcn.0044b110
jmp fcn.00650a60