Function at 0x140021000
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov eax, dword [rcx]
mov r14d, r9d
mov rsi, rdx
mov rdi, rcx
cmp eax, 0x80000000
je 0x140021349
mov r9d, dword [rdx]
cmp r9d, 0x80000000
je 0x140021349
cmp dword [0x140125094], 2
mov qword [rsp + 0x68], rbx
jne 0x14002107e
movzx ebx, byte [rsp + 0x80]
mov r8d, eax
mov ecx, ebx
xor edx, edx
shl ecx, 0x1f
or ecx, 1
call fcn.1400214f0
call fcn.140021a10
test bl, bl
je 0x140021344
mov rbx, qword [rsp + 0x68]
mov dword [rdi], 0x80000000
mov dword [rsi], 0x80000000
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
or dword [r8], 0x8001
cmp byte [rsp + 0x80], 0
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x30], r15
je 0x1400210e7
cmp dword [0x140125094], 1
jne 0x1400210ce
mov eax, dword [0x140125098]
cmp eax, 0x80000000
jne 0x1400210c2
lea rcx, [0x140125098]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x140125098]
add dword [rdi], eax
mov eax, dword [0x14012509c]
add dword [rsi], eax
jmp 0x1400210f2
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x60]
add dword [rdi], eax
mov eax, dword [rsp + 0x64]
add dword [rsi], eax
jmp 0x1400210f2
mov r8d, 2
call fcn.14009c3c0
cmp dword [0x140125094], 1
jne 0x14002110b
mov eax, dword [rdi]
mov dword [0x140125098], eax
mov eax, dword [rsi]
mov dword [0x14012509c], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r15d, 1
mov r12d, eax
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [rdi]
mov ebx, eax
mov eax, ecx
sar ecx, 0x1f
shl eax, 0x10
and ecx, 0xfffffffe
cdq
inc ecx
idiv r12d
add ecx, eax
mov dword [rdi], ecx
mov ecx, dword [rsi]
mov eax, ecx
shl eax, 0x10
cdq
sar ecx, 0x1f
idiv ebx
and ecx, 0xfffffffe
lea r8d, [rcx + 1]
add r8d, eax
mov eax, dword [0x140125094]
mov dword [rsi], r8d
test r14d, r14d
js 0x1400212ca
cmp r14d, 0x64
jle 0x140021173
lea r14d, [r15 + 0x63]
jmp 0x14002117c
test r14d, r14d
je 0x1400212ca
cmp eax, r15d
je 0x1400212ca
mov qword [rsp + 0x70], rbp
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], r13
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rsp + 0x64]
mov r8d, 0xffffffff
mov ebp, dword [rdi]
mov eax, ecx
mov esi, dword [rsi]
shl eax, 0x10
cdq
lea r13d, [r8 + 0x21]
idiv ebx
test ecx, ecx
mov rcx, qword [rsp + 0x60]
mov ebx, eax
mov eax, r15d
cmovs eax, r8d
add ebx, eax
mov eax, ecx
shl eax, 0x10
cdq
idiv r12d
test ecx, ecx
mov r12d, 0xffc3d44d
cmovs r15d, r8d
lea edi, [r15 + rax]
xor r15d, r15d
cmp edi, ebp
jne 0x1400211f0
cmp ebx, esi
je 0x140021330
cmp edi, ebp
jge 0x14002120c
mov eax, ebp
sub eax, edi
cdq
idiv r14d
cmp eax, 0x1f
cmovle eax, r13d
add eax, edi
mov edi, ebp
cmp eax, ebp
cmovle edi, eax
jmp 0x140021224
jle 0x140021224
mov eax, edi
sub eax, ebp
cdq
idiv r14d
cmp eax, 0x1f
cmovle eax, r13d
sub edi, eax
cmp edi, ebp
cmovl edi, ebp
cmp ebx, esi
jge 0x140021242
mov eax, esi
sub eax, ebx
cdq
idiv r14d
cmp eax, 0x1f
cmovle eax, r13d
add eax, ebx
mov ebx, esi
cmp eax, esi
cmovle ebx, eax
jmp 0x14002125a
jle 0x14002125a
mov eax, ebx
sub eax, esi
cdq
idiv r14d
cmp eax, 0x1f
cmovle eax, r13d
sub ebx, eax
cmp ebx, esi
cmovl ebx, esi
cmp dword [0x140125094], r15d
je 0x14002127f
mov r9d, ebx
mov r8d, edi
xor edx, edx
mov ecx, 0x8001
call fcn.1400214f0
call fcn.140021a10
jmp 0x1400211e2
mov rax, qword [0x14011c188]
mov r8d, ebx
mov edx, edi
movzx ecx, byte [rax + 0xc5]
mov eax, r12d
sub eax, ecx
mov ecx, eax
cmp ebx, 0x80000000
mov qword [rsp + 0x20], rcx
mov ecx, 0x8001
cmove r8d, r15d
cmp edi, 0x80000000
cmove edx, r15d
xor r9d, r9d
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.140021a10
jmp 0x1400211e2
mov edx, dword [rdi]
test eax, eax
je 0x1400212e9
mov r9d, r8d
mov ecx, 0x8001
mov r8d, edx
xor edx, edx
call fcn.1400214f0
call fcn.140021a10
jmp 0x14002133a
mov rax, qword [0x14011c188]
xor r15d, r15d
movzx ecx, byte [rax + 0xc5]
mov eax, 0xffc3d44d
sub eax, ecx
mov ecx, 0x8001
cmp r8d, 0x80000000
mov qword [rsp + 0x20], rax
cmove r8d, r15d
cmp edx, 0x80000000
cmove edx, r15d
xor r9d, r9d
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.140021a10
jmp 0x14002133a
mov r13, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
mov r15, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret