Function at 0x14001fbb0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov eax, dword [rcx]
mov ebx, r9d
mov rsi, rdx
mov rdi, rcx
cmp eax, 0x80000000
je 0x14001fea9
mov r9d, dword [rdx]
cmp r9d, 0x80000000
je 0x14001fea9
cmp dword [0x140117f14], 2
jne 0x14001fc22
movzx ebx, byte [rsp + 0x80]
mov r8d, eax
mov ecx, ebx
xor edx, edx
shl ecx, 0x1f
or ecx, 1
call fcn.1400200c0
call fcn.1400206e0
test bl, bl
je 0x14001fea9
mov dword [rdi], 0x80000000
mov dword [rsi], 0x80000000
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
or dword [r8], 0x8001
cmp byte [rsp + 0x80], 0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x30], r15
je 0x14001fc95
cmp dword [0x140117f14], 1
jne 0x14001fc7c
mov ecx, dword [0x140117f18]
cmp ecx, 0x80000000
jne 0x14001fc6e
lea rcx, [0x140117f18]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rdi]
mov ecx, dword [0x140117f18]
add eax, ecx
mov dword [rdi], eax
mov eax, dword [0x140117f1c]
add dword [rsi], eax
jmp 0x14001fca0
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 0x14001fca0
mov r8d, 2
call fcn.1400bbac0
cmp dword [0x140117f14], 1
jne 0x14001fcb9
mov eax, dword [rdi]
mov dword [0x140117f18], eax
mov eax, dword [rsi]
mov dword [0x140117f1c], eax
xor ecx, ecx
mov qword [rsp + 0x38], r14
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 r13d, 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 r13d
and ecx, 0xfffffffe
lea r9d, [rcx + 1]
add r9d, eax
mov dword [rsi], r9d
test ebx, ebx
js 0x14001fe7a
mov r14d, WSAAsyncSelect
cmp ebx, r14d
cmovle r14d, ebx
test r14d, r14d
je 0x14001fe7a
cmp dword [0x140117f14], r15d
je 0x14001fe7a
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], rbp
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
idiv r13d
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
cmovs r15d, r8d
xor r12d, r12d
lea edi, [r15 + rax]
lea r15d, [r8 + 0x21]
nop dword [rax + rax]
cmp edi, ebp
jne 0x14001fd9e
cmp ebx, esi
je 0x14001fe90
cmp edi, ebp
jge 0x14001fdba
mov eax, ebp
sub eax, edi
cdq
idiv r14d
cmp eax, 0x1f
cmovle eax, r15d
add eax, edi
mov edi, ebp
cmp eax, ebp
cmovle edi, eax
jmp 0x14001fdd2
jle 0x14001fdd2
mov eax, edi
sub eax, ebp
cdq
idiv r14d
cmp eax, 0x1f
cmovle eax, r15d
sub edi, eax
cmp edi, ebp
cmovl edi, ebp
cmp ebx, esi
jge 0x14001fdf0
mov eax, esi
sub eax, ebx
cdq
idiv r14d
cmp eax, 0x1f
cmovle eax, r15d
add eax, ebx
mov ebx, esi
cmp eax, esi
cmovle ebx, eax
jmp 0x14001fe08
jle 0x14001fe08
mov eax, ebx
sub eax, esi
cdq
idiv r14d
cmp eax, 0x1f
cmovle eax, r15d
sub ebx, eax
cmp ebx, esi
cmovl ebx, esi
cmp dword [0x140117f14], r12d
je 0x14001fe2d
mov r9d, ebx
mov r8d, edi
xor edx, edx
mov ecx, 0x8001
call fcn.1400200c0
call fcn.1400206e0
jmp 0x14001fd90
mov rax, qword [0x1401101f0]
mov r8d, ebx
mov edx, edi
movzx ecx, byte [rax + 0x136]
mov eax, 0xffc3d44d
sub eax, ecx
mov ecx, eax
cmp ebx, 0x80000000
mov qword [rsp + 0x20], rcx
mov ecx, 0x8001
cmove r8d, r12d
cmp edi, 0x80000000
cmove edx, r12d
xor r9d, r9d
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.1400206e0
jmp 0x14001fd90
mov r8d, dword [rdi]
xor edx, edx
mov ecx, 0x8001
call fcn.14001fec0
call fcn.1400206e0
jmp 0x14001fe95
mov rbp, qword [rsp + 0x68]
mov r14, qword [rsp + 0x38]
mov r12, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret