Function at 0x180001ee0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x180022010]
xor rax, rsp
mov qword [rbp + 0x70], rax
cmp qword [rcx + 0x18], 0
mov rsi, rcx
mov dword [rbp - 0x50], 0
mov qword [rsp + 0x50], 0xffffffffffffffff
je 0x180002866
mov rax, qword [rcx]
mov ecx, dword [rax + 0x428]
test ecx, ecx
jne 0x180001f45
mov rcx, qword [rsi + 0x60]
lea rdx, [rbp - 0x80]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsi]
mov eax, dword [rbp - 0x78]
mov dword [rcx + 0x428], eax
mov rax, qword [rsi]
mov ecx, dword [rax + 0x42c]
test ecx, ecx
je 0x180001f5a
mov rcx, rsi
call fcn.180001560
mov rcx, qword [rsi + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x180002866
mov rcx, qword [rsi + 0x18]
mov edx, 0x10
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
jns 0x180001fad
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rsi + 0x18]
mov edx, 0x10
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
js 0x180002859
mov rax, qword [rsi]
xor edx, edx
mov qword [rsp + 0x200], r15
mov r15d, edx
mov dword [rsp + 0x48], edx
mov ecx, dword [rax + 0x44c]
test ecx, ecx
je 0x180001fed
mov rcx, qword [rsi]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x444]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
test eax, eax
sete r15b
mov dword [rsp + 0x48], r15d
mov rax, qword [rsi]
mov ecx, dword [rax + 0x480]
test ecx, ecx
je 0x180002826
mov qword [rsp + 0x238], rbx
mov rbx, rdx
mov qword [rsp + 0x240], rdi
mov qword [rsp + 0x248], r12
mov r12d, 0x488
mov qword [rsp + 0x210], r13
mov qword [rsp + 0x208], r14
movaps xmmword [rsp + 0x1f0], xmm6
movaps xmmword [rsp + 0x1e0], xmm7
movaps xmmword [rsp + 0x1d0], xmm8
movaps xmmword [rsp + 0x1c0], xmm9
movaps xmmword [rsp + 0x1b0], xmm10
movss xmm10, dword [0x18001f2c0]
movaps xmmword [rsp + 0x1a0], xmm11
movss xmm11, dword [0x18001f2cc]
movaps xmmword [rsp + 0x190], xmm12
movss xmm12, dword [0x18001f2d0]
movaps xmmword [rsp + 0x180], xmm13
movss xmm13, dword [0x18001f2c8]
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r12
mov rax, qword [rsi]
mov ecx, dword [rbx + rax + 0x480]
sub ecx, 2
je 0x180002463
cmp ecx, 1
jne 0x18000277f
mov rax, qword [rsi]
movsxd rcx, dword [rbx + rax + 0x4a4]
cmp ecx, dword [rsi + 0x10]
jge 0x18000277f
mov rax, qword [rsi + 8]
lea rdi, [rcx + rcx*2]
mov qword [rsp + 0x60], rdi
cmp qword [rax + rdi*8], 0
je 0x18000277f
cmp dword [rbp - 0x50], 0
jne 0x180002104
mov rcx, qword [rsi + 0x60]
lea rdx, [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x180]
xor edx, edx
test r15d, r15d
jne 0x18000212e
mov rcx, qword [rsi]
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x444]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov r15d, edx
test eax, eax
sete r15b
mov dword [rsp + 0x48], r15d
mov rax, qword [rsi]
movss xmm1, dword [rbx + rax + 0x484]
ucomiss xmm1, xmm11
mov rax, qword [rsi]
movss xmm3, dword [r12 + rax]
mov rax, qword [rsi]
movsxd rcx, dword [rbx + rax + 0x4a4]
mov rax, qword [rsi]
mov r9, qword [rsi + 8]
lea r8, [rcx + rcx*2]
mov r14, qword [rbx + rax + 0x49c]
jp 0x1800022b2
jne 0x1800022b2
xorps xmm1, xmm1
xorps xmm2, xmm2
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [r14 + rax], 0
jne 0x180002180
movsxd r10, eax
cmp r10, 4
jl 0x18000225c
lea r11, [r10 - 3]
nop dword [rax + rax]
movzx eax, byte [r14 + rdx]
cmp al, 0x20
jl 0x1800021bd
movsx rcx, al
mov rax, qword [r9 + r8*8 + 0x10]
addss xmm1, dword [rax + rcx*8 - 0xf4]
jmp 0x1800021c4
cmp al, 0xa
jne 0x1800021c4
xorps xmm1, xmm1
movzx eax, byte [r14 + rdx + 1]
movaps xmm0, xmm1
maxss xmm0, xmm2
cmp al, 0x20
jl 0x1800021e9
movsx rcx, al
mov rax, qword [r9 + r8*8 + 0x10]
addss xmm1, dword [rax + rcx*8 - 0xf4]
jmp 0x1800021f0
cmp al, 0xa
jne 0x1800021f0
xorps xmm1, xmm1
movzx eax, byte [r14 + rdx + 2]
movaps xmm2, xmm1
maxss xmm2, xmm0
cmp al, 0x20
jl 0x180002215
movsx rcx, al
mov rax, qword [r9 + r8*8 + 0x10]
addss xmm1, dword [rax + rcx*8 - 0xf4]
jmp 0x18000221c
cmp al, 0xa
jne 0x18000221c
xorps xmm1, xmm1
movzx eax, byte [r14 + rdx + 3]
movaps xmm0, xmm1
maxss xmm0, xmm2
cmp al, 0x20
jl 0x180002241
movsx rcx, al
mov rax, qword [r9 + r8*8 + 0x10]
addss xmm1, dword [rax + rcx*8 - 0xf4]
jmp 0x180002248
cmp al, 0xa
jne 0x180002248
xorps xmm1, xmm1
add rdx, 4
movaps xmm2, xmm1
maxss xmm2, xmm0
cmp rdx, r11
jl 0x1800021a0
cmp rdx, r10
jge 0x180002297
movzx eax, byte [rdx + r14]
cmp al, 0x20
jl 0x18000227e
movsx rcx, al
mov rax, qword [r9 + r8*8 + 0x10]
addss xmm1, dword [rax + rcx*8 - 0xf4]
jmp 0x180002285
cmp al, 0xa
jne 0x180002285
xorps xmm1, xmm1
movaps xmm0, xmm1
inc rdx
maxss xmm0, xmm2
movaps xmm2, xmm0
cmp rdx, r10
jl 0x180002261
mov eax, dword [rbp - 0x50]
xorps xmm1, xmm1
mulss xmm2, xmm10
xor edx, edx
cvtsi2ss xmm1, rax
mulss xmm1, xmm10
subss xmm1, xmm2
ucomiss xmm3, xmm11
jp 0x1800022dc
jne 0x1800022dc
mov eax, dword [rbp - 0x4c]
xorps xmm3, xmm3
cvtsi2ss xmm3, rax
mov rax, qword [r9 + r8*8 + 0x10]
movss xmm0, dword [rax]
mulss xmm0, xmm10
mulss xmm3, xmm10
subss xmm3, xmm0
cvttss2si eax, xmm1
mov rcx, 0xffffffffffffffff
movd xmm8, eax
mov rax, qword [rsi]
cvtdq2ps xmm8, xmm8
movss xmm9, dword [rbx + rax + 0x48c]
nop dword [rax]
inc rcx
cmp byte [r14 + rcx], 0
jne 0x180002300
mov r13, qword [rsi + 8]
mov r15, rdx
movss dword [rbp - 0x68], xmm8
mov dword [rbp - 0x60], 0
cvttss2si eax, xmm3
movd xmm0, eax
mov rax, qword [r13 + rdi*8 + 0x10]
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x64], xmm0
movss xmm7, dword [rax]
mov dword [rbp - 0x40], 0x3f800000
mov dword [rbp - 0x3c], 0x3f800000
mov dword [rbp - 0x38], 0x3f800000
test ecx, ecx
jle 0x18000277f
mulss xmm9, xmm13
movsxd r12, ecx
nop dword [rax]
movzx eax, byte [r15 + r14]
cmp al, 0xa
jne 0x18000237d
addss xmm0, xmm7
movss dword [rbp - 0x68], xmm8
movss dword [rbp - 0x64], xmm0
jmp 0x18000244d
cmp al, 0x20
jl 0x18000244d
movsx rcx, al
lea r9, [rbp - 0x40]
mov rax, qword [r13 + rdi*8 + 0x10]
xor r8d, r8d
movss xmm1, dword [rax + rcx*8 - 0xf8]
movss xmm6, dword [rax + rcx*8 - 0xf4]
lea rcx, [rbp - 0x10]
cvttss2si eax, xmm1
mov dword [rbp - 0x2c], edx
movaps xmm0, xmm6
mov dword [rbp - 0x30], eax
addss xmm0, xmm1
cvttss2si eax, xmm7
mov dword [rbp - 0x24], eax
cvttss2si eax, xmm0
mov dword [rbp - 0x28], eax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rdx
xor edx, edx
call qword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation]
mov rcx, qword [rsi + 0x18]
lea rdx, [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rbx, qword [rsi + 0x18]
movaps xmm0, xmm9
mov rdi, qword [rbx]
call fcn.180015f18
mov rdx, qword [rsp + 0x60]
lea r8, [rbp - 0x30]
cvttss2si eax, xmm0
xor r9d, r9d
mov rcx, rbx
mov rdx, qword [r13 + rdx*8]
shl eax, 0x18
or eax, 0xffffff
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], 0
call qword [rdi + 0x48]
movss xmm0, dword [rbp - 0x68]
xor edx, edx
mov rdi, qword [rsp + 0x60]
addss xmm0, xmm6
movss dword [rbp - 0x68], xmm0
movss xmm0, dword [rbp - 0x64]
inc r15
cmp r15, r12
jl 0x180002360
mov r12, qword [rsp + 0x78]
jmp 0x18000277f
mov rax, qword [rsi]
movsxd rcx, dword [rbx + rax + 0x4a4]
cmp ecx, dword [rsi + 0x10]
jge 0x18000277f
mov rax, qword [rsi + 8]
lea rdi, [rcx + rcx*2]
cmp qword [rax + rdi*8], 0
je 0x18000277f
mov rax, qword [rsi]
mov ecx, dword [rbx + rax + 0x49c]
cmp ecx, 0xffffffff
jne 0x1800024be
mov eax, dword [rbp - 0x50]
test eax, eax
jne 0x1800024b4
mov rcx, qword [rsi + 0x60]
lea rdx, [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x180]
mov eax, dword [rbp - 0x50]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
jmp 0x1800024cf
mov rax, qword [rsi]
mov ecx, dword [rbx + rax + 0x49c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov rax, qword [rsi + 8]
divss xmm0, dword [rax + rdi*8 + 8]
mov rax, qword [rsi]
movss dword [rsp + 0x58], xmm0
mov ecx, dword [rbx + rax + 0x4a0]
mov rax, qword [rsi + 8]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm0, dword [rax + rdi*8 + 0xc]
mov rax, qword [rsi]
movss dword [rsp + 0x5c], xmm0
movss xmm0, dword [rbx + rax + 0x484]
ucomiss xmm0, xmm12
jp 0x180002549
jne 0x180002549
mov eax, dword [rsp + 0x50]
cmp eax, 0xffffffff
jne 0x180002540
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rsi]
lea rdx, [rsp + 0x50]
mov ecx, dword [rax + 0x428]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [rsp + 0x50]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
jmp 0x180002585
mov rax, qword [rsi]
movss xmm0, dword [rbx + rax + 0x484]
ucomiss xmm0, xmm11
jp 0x1800025a7
jne 0x1800025a7
mov eax, dword [rbp - 0x50]
test eax, eax
jne 0x180002578
mov rcx, qword [rsi + 0x60]
lea rdx, [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x180]
mov eax, dword [rbp - 0x50]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mulss xmm1, xmm10
mov rax, qword [rsi]
mov ecx, dword [rbx + rax + 0x49c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm10
subss xmm1, xmm0
movss dword [rsp + 0x40], xmm1
jmp 0x1800025b9
mov rax, qword [rsi]
movss xmm0, dword [rbx + rax + 0x484]
movss dword [rsp + 0x40], xmm0
mov rax, qword [rsi]
movss xmm0, dword [r12 + rax]
ucomiss xmm0, xmm12
jp 0x1800025fb
jne 0x1800025fb
cmp dword [rsp + 0x50], 0xffffffff
jne 0x1800025f0
lea rcx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rax, qword [rsi]
lea rdx, [rsp + 0x50]
mov ecx, dword [rax + 0x428]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm1, dword [rsp + 0x54]
cvtdq2ps xmm1, xmm1
jmp 0x180002633
mov rax, qword [rsi]
movss xmm0, dword [r12 + rax]
ucomiss xmm0, xmm11
jp 0x18000264f
jne 0x18000264f
cmp dword [rbp - 0x50], 0
jne 0x180002623
mov rcx, qword [rsi + 0x60]
lea rdx, [rbp - 0x58]
mov rax, qword [rcx]
call qword [rax + 0x180]
mov eax, dword [rbp - 0x4c]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
mulss xmm1, xmm10
mov rax, qword [rsi]
mov ecx, dword [rbx + rax + 0x4a0]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm10
subss xmm1, xmm0
jmp 0x180002658
mov rax, qword [rsi]
movss xmm1, dword [r12 + rax]
cvttss2si eax, dword [rsp + 0x40]
mov rcx, qword [rsi + 8]
lea r9, [rsp + 0x58]
xor r14d, r14d
xor edx, edx
mov qword [rbp - 0x20], r14
xorps xmm2, xmm2
movd xmm0, eax
cvttss2si eax, xmm1
cvtdq2ps xmm0, xmm0
movd xmm1, eax
movss dword [rsp + 0x40], xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x44], xmm1
cvttss2si eax, dword [rcx + rdi*8 + 0xc]
mov dword [rbp - 0x14], eax
cvttss2si eax, dword [rcx + rdi*8 + 8]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x30]
mov dword [rbp - 0x18], eax
mov rax, qword [rsi]
movss xmm0, dword [rbx + rax + 0x490]
mov rax, qword [rsi]
movss dword [rsp + 0x68], xmm0
movss xmm1, dword [rbx + rax + 0x494]
mov rax, qword [rsi]
movss dword [rsp + 0x6c], xmm1
movss xmm0, dword [rbx + rax + 0x490]
movss xmm1, dword [rsp + 0x40]
mov rax, qword [rsi]
subss xmm1, xmm0
movss dword [rsp + 0x40], xmm1
movss xmm0, dword [rbx + rax + 0x494]
movss xmm1, dword [rsp + 0x44]
mov rax, qword [rsi]
subss xmm1, xmm0
movss dword [rsp + 0x44], xmm1
movss xmm0, dword [rbx + rax + 0x498]
lea rax, [rsp + 0x68]
movss dword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
mov rcx, qword [rsi + 0x18]
lea rdx, [rbp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rax, qword [rsi]
lea r8, [rbp - 0x20]
mov rcx, qword [rsi + 0x18]
xor r9d, r9d
movss xmm0, dword [rbx + rax + 0x48c]
mov rdx, qword [rsi + 8]
mov r10, qword [rcx]
mulss xmm0, xmm13
mov rdx, qword [rdx + rdi*8]
cvttss2si eax, xmm0
shl eax, 0x18
or eax, 0xffffff
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r14
call qword [r10 + 0x48]
xor edx, edx
mov rax, qword [rsp + 0x70]
add r12, 0x28
mov r15d, dword [rsp + 0x48]
inc rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r12
lea rax, [rax + rax*4]
lea rbx, [rax*8]
mov rax, qword [rsi]
mov ecx, dword [rbx + rax + 0x480]
test ecx, ecx
jne 0x1800020a3
movaps xmm13, xmmword [rsp + 0x180]
movaps xmm12, xmmword [rsp + 0x190]
movaps xmm11, xmmword [rsp + 0x1a0]
movaps xmm10, xmmword [rsp + 0x1b0]
movaps xmm9, xmmword [rsp + 0x1c0]
movaps xmm8, xmmword [rsp + 0x1d0]
movaps xmm7, xmmword [rsp + 0x1e0]
movaps xmm6, xmmword [rsp + 0x1f0]
mov r14, qword [rsp + 0x208]
mov r13, qword [rsp + 0x210]
mov r12, qword [rsp + 0x248]
mov rdi, qword [rsp + 0x240]
mov rbx, qword [rsp + 0x238]
cmp dword [rsp + 0x48], 0
mov r15, qword [rsp + 0x200]
je 0x180002845
mov rcx, qword [rsi]
mov rcx, qword [rcx + 0x444]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x58]
mov rcx, qword [rsi + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.180004600
add rsp, 0x218
pop rsi
pop rbp
ret