Function at 0x1402d7dd8
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14039d040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov rdi, rcx
mov eax, dword [rdx + 8]
xor ebx, ebx
mov r15d, 0x104
cmp eax, r15d
ja 0x1402d7e46
je 0x1402d7e6b
sub eax, 0xa1
je 0x1402d7e6b
sub eax, 1
je 0x1402d7e6b
sub eax, 2
je 0x1402d7e6b
sub eax, 1
je 0x1402d7e6b
sub eax, 2
je 0x1402d7e6b
sub eax, 1
je 0x1402d7e6b
cmp eax, 0x58
je 0x1402d7e6b
jmp 0x1402d7ed7
sub eax, 0x200
je 0x1402d7e91
sub eax, 1
je 0x1402d7e6b
sub eax, 1
je 0x1402d7e6b
sub eax, 2
je 0x1402d7e6b
sub eax, 1
je 0x1402d7e6b
sub eax, 2
je 0x1402d7e6b
cmp eax, 1
jne 0x1402d7ed7
mov r9, rsi
xor r8d, r8d
mov edx, 0x407
mov rcx, qword [rcx + 0x128]
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [rdi + 0x348]
call fcn.14028c8f8
jmp 0x1402d7ed7
mov r9, rsi
xor r8d, r8d
mov edx, 0x407
mov rcx, qword [rcx + 0x128]
call qword [sym.imp.USER32.dll_SendMessageW]
cmp qword [rsi + 0x10], rbx
jne 0x1402d7ed7
mov qword [rbp - 0x21], rbx
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rbp - 0x21]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rdx, qword [rbp - 0x21]
mov rcx, rdi
call fcn.1402d96a0
mov r12d, 1
mov r14d, 0x100
cmp dword [rsi + 8], r14d
jne 0x1402d7f14
cmp qword [rsi + 0x10], 9
jne 0x1402d7f14
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1402d7f14
mov rax, qword [rcx]
mov rax, qword [rax + 0x150]
call qword [case.0x1402827e1.0]
test eax, eax
jne 0x1402d8072
cmp dword [rsi + 8], r15d
jne 0x1402d8042
mov rax, qword [rsi + 0x10]
sub rax, 0x27
cmp rax, r12
ja 0x1402d8042
mov rdx, qword [rdi + 0x678]
test rdx, rdx
je 0x1402d8042
cmp dword [rdx + 0x78], ebx
je 0x1402d8042
test byte [rdx + 0x40], 2
je 0x1402d8042
mov rax, qword [rdi]
xor r8d, r8d
mov rcx, rdi
mov rax, qword [rax + 0x300]
call qword [case.0x1402827e1.0]
test eax, eax
je 0x1402d8042
mov rcx, qword [rdi + 0x678]
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
mov rax, qword [rax + 0x48]
call qword [case.0x1402827e1.0]
nop
call fcn.14017122c
mov rcx, qword [rax + 8]
call fcn.140161254
nop
mov rcx, qword [rdi + 0x678]
mov rax, qword [rcx]
or esi, 0xffffffff
mov dword [rbp - 0x31], esi
mov dword [rbp - 0x2d], esi
mov rdx, qword [rbp - 0x31]
mov rax, qword [rax + 0x78]
call qword [case.0x1402827e1.0]
mov rcx, qword [rdi + 0x678]
mov rax, qword [rcx]
lea rdx, [rbp - 9]
mov rax, qword [rax + 0x48]
call qword [case.0x1402827e1.0]
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x1402d8687
mov rcx, qword [rbp - 0x29]
call fcn.1402f0198
mov r14d, eax
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1402d800f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1402827e1.0]
test r14d, r14d
je 0x1402d802f
mov rax, qword [rdi]
mov rdx, qword [rdi + 0x678]
mov rcx, rdi
mov rax, qword [rax + 0x2e8]
call qword [case.0x1402827e1.0]
nop
lea rcx, [rbp - 0x39]
call fcn.14016435c
nop
mov rdx, qword [rbp - 0x29]
jmp 0x1402d85d0
cmp dword [rsi + 8], r14d
jne 0x1402d807a
cmp qword [rsi + 0x10], 0xd
jne 0x1402d807a
mov rcx, qword [rdi + 0x678]
test rcx, rcx
je 0x1402d807a
cmp dword [rcx + 0x70], ebx
je 0x1402d807a
cmp dword [rcx + 0x6c], ebx
jne 0x1402d807a
cmp dword [rcx + 0x74], ebx
sete bl
mov edx, ebx
call fcn.1402d489c
mov eax, r12d
jmp 0x1402d8623
mov rax, qword [rdi + 0x678]
test rax, rax
je 0x1402d8618
cmp dword [rax + 0x6c], ebx
je 0x1402d8618
cmp dword [rax + 0x78], ebx
je 0x1402d8618
mov rcx, qword [rax + 0x108]
test rcx, rcx
je 0x1402d80c4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x157
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
mov eax, r12d
jne 0x1402d80c6
mov eax, ebx
mov ecx, dword [rsi + 8]
cmp ecx, r14d
jne 0x1402d8320
test eax, eax
je 0x1402d80dd
cmp qword [rsi + 0x10], 0xd
jne 0x1402d813d
mov rdx, qword [rsi + 0x10]
cmp rdx, 0xd
je 0x1402d81ce
cmp rdx, 0x1b
je 0x1402d81b4
lea rax, [rdx - 0x26]
mov rcx, qword [rdi + 0x678]
test rax, 0xfffffffffffffffd
je 0x1402d8144
cmp dword [rcx + 0x7c], ebx
jne 0x1402d8122
mov rax, qword [rcx]
mov rax, qword [rax + 0xa8]
call qword [case.0x1402827e1.0]
jmp 0x1402d8072
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x360]
call qword [case.0x1402827e1.0]
test eax, eax
jne 0x1402d8072
xor eax, eax
jmp 0x1402d8623
cmp qword [rcx + 0xe0], r12
jle 0x1402d816b
mov rax, qword [rcx]
cmp rdx, 0x26
setne bl
mov edx, ebx
mov rax, qword [rax + 0x158]
call qword [case.0x1402827e1.0]
jmp 0x1402d8072
mov rax, qword [rcx + 0x100]
test rax, rax
mov rcx, rbx
je 0x1402d817e
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1402d8072
mov rax, qword [rdi + 0x678]
mov rcx, qword [rax + 0x100]
mov r9, qword [rsi + 0x18]
mov edx, r14d
mov rcx, qword [rcx + 0x40]
mov r8, qword [rsi + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1402d8072
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
mov rax, qword [rax + 0x310]
call qword [case.0x1402827e1.0]
jmp 0x1402d8313
mov rcx, qword [rdi + 0x678]
cmp dword [rcx + 0x68], ebx
je 0x1402d82a9
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
mov rax, qword [rax + 0x48]
call qword [case.0x1402827e1.0]
nop
call fcn.14017122c
mov rcx, qword [rax + 8]
call fcn.140161254
nop
mov rcx, qword [rdi + 0x678]
mov rax, qword [rcx]
or esi, 0xffffffff
mov dword [rbp - 0x29], esi
mov dword [rbp - 0x25], esi
mov rdx, qword [rbp - 0x29]
mov rax, qword [rax + 0x78]
call qword [case.0x1402827e1.0]
mov rcx, qword [rdi + 0x678]
mov rax, qword [rcx]
lea rdx, [rbp - 1]
mov rax, qword [rax + 0x48]
call qword [case.0x1402827e1.0]
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x1402d8692
mov rcx, qword [rbp - 0x19]
call fcn.1402f0198
mov r14d, eax
mov rdx, qword [rbp - 1]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1402d8276
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x1402827e1.0]
test r14d, r14d
je 0x1402d8296
mov rax, qword [rdi]
mov rdx, qword [rdi + 0x678]
mov rcx, rdi
mov rax, qword [rax + 0x2e8]
call qword [case.0x1402827e1.0]
nop
lea rcx, [rbp - 0x39]
call fcn.14016435c
nop
mov rdx, qword [rbp - 0x19]
jmp 0x1402d85d0
test eax, eax
je 0x1402d82f0
mov rax, qword [rcx + 0x100]
test rax, rax
mov rsi, rbx
je 0x1402d82c0
mov rsi, qword [rax + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
call qword [case.0x1402827e1.0]
mov rcx, rsi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1402d82f0
mov rcx, qword [rdi + 0x678]
mov rcx, qword [rcx + 0x100]
call fcn.14016d9ec
mov rax, qword [rdi]
mov edx, r12d
mov rcx, rdi
mov rax, qword [rax + 0x310]
call qword [case.0x1402827e1.0]
test eax, eax
jne 0x1402d8313
or ecx, 0xffffffff
call qword [sym.imp.USER32.dll_MessageBeep]
mov rcx, rdi
call fcn.14016d9ec
jmp 0x1402d8072
lea eax, [rcx - 0x200]
cmp eax, 0xe
ja 0x1402d813d
mov qword [rbp - 0x31], rbx
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [rbp - 0x31]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [rdi + 0x678]
mov rcx, qword [rax + 0x110]
test rcx, rcx
je 0x1402d8400
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
lea rdx, [rbp + 0x1f]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rax, qword [rdi + 0x678]
mov rcx, qword [rax + 0x110]
mov r9d, 2
lea r8, [rbp + 0x1f]
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1402d8400
mov rax, qword [rdi + 0x678]
mov rcx, qword [rax + 0x110]
test rcx, rcx
je 0x1402d83c6
mov rbx, qword [rcx + 0x40]
mov r9d, r12d
lea r8, [rbp - 0x31]
mov rdx, rbx
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_MapWindowPoints]
movzx r9d, word [rbp - 0x2d]
shl r9d, 0x10
movzx eax, word [rbp - 0x31]
or r9, rax
mov rax, qword [rdi + 0x678]
mov rcx, qword [rax + 0x110]
mov edx, dword [rsi + 8]
jmp 0x1402d81a1
mov rax, qword [rdi + 0x678]
mov r15, qword [rax + 0x100]
lea r14, [r15 + 0x40]
cmp dword [rax + 0x7c], ebx
jne 0x1402d8420
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_HideCaret]
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
lea rdx, [rbp + 0xf]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r9d, 2
lea r8, [rbp + 0xf]
mov rdx, qword [rdi + 0x40]
mov rcx, qword [r14]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1402d8489
cmp dword [rsi + 8], 0x203
jne 0x1402d8489
mov rcx, qword [rdi + 0x678]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x31]
mov rax, qword [rax + 0x88]
call qword [case.0x1402827e1.0]
test eax, eax
jne 0x1402d8072
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1402d84b4
cmp dword [rsi + 8], 0x204
jne 0x1402d84b4
mov rax, qword [rdi + 0x678]
cmp dword [rax + 0x7c], ebx
je 0x1402d8072
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1402d864b
mov eax, dword [rsi + 8]
lea ecx, [rax - 0x201]
cmp ecx, 6
ja 0x1402d84e2
mov edx, 0x49
bt edx, ecx
jb 0x1402d84ed
cmp eax, 0xa1
jne 0x1402d864b
mov rcx, qword [rdi + 0x678]
add rcx, 0x54
mov rdx, qword [rbp - 0x31]
call qword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1402d85fa
mov rcx, qword [rdi + 0x678]
mov rax, qword [rcx]
lea rdx, [rbp - 0x11]
mov rax, qword [rax + 0x48]
call qword [case.0x1402827e1.0]
nop
call fcn.14017122c
mov rcx, qword [rax + 8]
call fcn.140161254
nop
mov rax, qword [rdi]
mov rdx, qword [rbp - 0x31]
mov rcx, rdi
mov rax, qword [rax + 0x308]
call qword [case.0x1402827e1.0]
mov rcx, qword [rdi + 0x678]
mov rax, qword [rcx]
lea rdx, [rbp + 7]
mov rax, qword [rax + 0x48]
call qword [case.0x1402827e1.0]
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x1402d867c
mov rcx, qword [rbp - 0x11]
call fcn.1402f0198
mov r14d, eax
mov rdx, qword [rbp + 7]
add rdx, 0xffffffffffffffe8
or esi, 0xffffffff
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x1402d85a2
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x1402827e1.0]
test r14d, r14d
je 0x1402d85c2
mov rax, qword [rdi]
mov rdx, qword [rdi + 0x678]
mov rcx, rdi
mov rax, qword [rax + 0x2e8]
call qword [case.0x1402827e1.0]
nop
lea rcx, [rbp - 0x39]
call fcn.14016435c
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x1402d8072
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1402827e1.0]
jmp 0x1402d8072
mov rax, qword [rdi]
mov edx, r12d
mov rcx, rdi
mov rax, qword [rax + 0x310]
call qword [case.0x1402827e1.0]
test eax, eax
je 0x1402d8072
mov rdx, rsi
mov rcx, rdi
call fcn.140169ab4
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401475e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov r9d, r12d
lea r8, [rbp - 0x31]
mov rdx, qword [r15 + 0x40]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_MapWindowPoints]
movzx r9d, word [rbp - 0x2d]
shl r9d, 0x10
movzx eax, word [rbp - 0x31]
or r9, rax
mov edx, dword [rsi + 8]
mov rcx, qword [r15 + 0x40]
jmp 0x1402d81a5
mov ecx, 0x80004005
call fcn.1401453b0
nop
mov ecx, 0x80004005
call fcn.1401453b0
nop
mov ecx, 0x80004005
call fcn.1401453b0
int3