Function at 0x14001afd0
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rsi, rcx
mov rcx, qword [0x1400cb2f0]
mov r14, r9
mov rbx, r8
mov r13d, edx
call fcn.14002017c
xor r15d, r15d
mov r12, 0xffffffffd0d0d0d1
mov rdi, rax
cmp dword [rax], r15d
jne 0x14001b1d8
cmp r13d, 0x112
jne 0x14001b448
mov rdx, rbx
and edx, 0xfff0
cmp rdx, 0xf000
jne 0x14001b448
xor edx, edx
lea r8, [rbp - 0x20]
xor r9d, r9d
lea ecx, [rdx + 0x26]
call qword [sym.imp.USER32.DLL_SystemParametersInfoA]
cmp dword [rbp - 0x20], r15d
je 0x14001b448
lea rdx, [rdi + 0x10]
and ebx, 0xf
mov rcx, rsi
mov dword [rdi], 1
mov dword [rdi + 0x30], ebx
call qword [sym.imp.USER32.DLL_GetWindowRect]
lea rdx, [rdi + 0x20]
mov rcx, rsi
call qword [sym.imp.USER32.DLL_GetWindowRect]
lea ecx, [r15 + 0x3d]
mov qword [rdi + 0x34], r15
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
lea ecx, [r15 + 0x3e]
mov dword [rdi + 0x3c], eax
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
lea edx, [r15 - 0x10]
mov rcx, rsi
mov dword [rdi + 0x40], eax
call qword [sym.imp.USER32.DLL_GetWindowLongPtrA]
bt rax, 0x17
jae 0x14001b0c4
lea ecx, [r15 + 5]
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
lea ecx, [r15 + 6]
jmp 0x14001b0e9
mov edx, 0xffffffec
mov rcx, rsi
call qword [sym.imp.USER32.DLL_GetWindowLongPtrA]
bt rax, 8
jae 0x14001b0f7
mov ecx, 0x2d
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ecx, 0x2e
mov dword [rdi + 0x44], eax
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
mov dword [rdi + 0x48], eax
jmp 0x14001b0fb
mov qword [rdi + 0x44], r15
mov ecx, 0x22
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ecx, 0x23
mov dword [rdi + 0x4c], eax
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ecx, 0x3b
mov dword [rdi + 0x50], eax
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
mov ecx, 0x3c
mov dword [rdi + 0x54], eax
call qword [sym.imp.USER32.DLL_GetSystemMetrics]
xor r8d, r8d
lea r9, [rdi + 0x34]
lea edx, [r8 + 0x24]
mov rcx, rsi
mov dword [rdi + 0x58], eax
call qword [sym.imp.USER32.DLL_SendMessageA]
mov ecx, 1
call qword [sym.imp.USER32.DLL_GetKeyState]
test ax, ax
jne 0x14001b16c
xor r9d, r9d
mov edx, 0x201
mov rcx, rsi
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.DLL_SendMessageA]
mov rcx, rsi
call qword [sym.imp.USER32.DLL_SetCapture]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x231
mov rcx, rsi
call qword [sym.imp.USER32.DLL_PostMessageA]
cmp dword [rdi + 0x30], r15d
jne 0x14001b1cf
lea rcx, [rdi + 8]
mov dword [rdi + 4], 1
call qword [sym.imp.USER32.DLL_GetCursorPos]
xor r9d, r9d
mov edx, 0x7f86
lea r8d, [r9 + 2]
xor ecx, ecx
mov dword [rsp + 0x28], 0x8040
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.DLL_LoadImageA]
mov rcx, rax
call qword [sym.imp.USER32.DLL_SetCursor]
jmp 0x14001b445
mov dword [rdi + 4], r15d
jmp 0x14001b445
cmp r13d, 0x200
jne 0x14001b249
mov dword [rax + 4], r15d
movsx eax, r14w
shr r14, 0x10
mov dword [rbp - 0x18], eax
movsx eax, r14w
lea r8, [rbp - 0x18]
mov r9d, 1
xor edx, edx
mov rcx, rsi
mov dword [rbp - 0x14], eax
call qword [sym.imp.USER32.DLL_MapWindowPoints]
mov edx, dword [rbp - 0x14]
mov ecx, dword [rbp - 0x18]
mov r8, rdi
call fcn.14001addc
movsxd r8, dword [rdi + 0x30]
lea r9, [rdi + 0x10]
lea edx, [r13 + 0x14]
mov rcx, rsi
call qword [sym.imp.USER32.DLL_SendMessageA]
lea rdx, [rbp - 0x10]
mov rcx, rsi
movups xmm5, xmmword [rdi + 0x10]
movdqu xmmword [rbp - 0x10], xmm5
call fcn.14001aee4
jmp 0x14001b445
cmp r13d, 0x100
jne 0x14001b40b
sub rbx, 0xd
je 0x14001b403
sub rbx, 0xe
je 0x14001b403
sub rbx, 0xa
je 0x14001b3bb
dec rbx
je 0x14001b369
dec rbx
je 0x14001b314
dec rbx
jne 0x14001b448
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.DLL_GetCursorPos]
mov eax, dword [rdi + 0x30]
test eax, eax
jne 0x14001b2b9
mov r8d, dword [rdi + 0x1c]
mov dword [rdi + 0x30], 6
sub r8d, 2
mov edx, dword [rbp - 0x18]
mov ecx, 0x7f85
jmp 0x14001b2f6
cmp eax, 2
jne 0x14001b2da
mov r8d, dword [rdi + 0x1c]
mov edx, dword [rdi + 0x18]
mov dword [rdi + 0x30], 8
sub r8d, 2
sub edx, 2
mov ecx, 0x7f82
jmp 0x14001b2f6
cmp eax, 1
jne 0x14001b300
mov r8d, dword [rdi + 0x1c]
mov edx, dword [rdi + 0x10]
mov dword [rdi + 0x30], 7
sub r8d, 2
mov ecx, 0x7f83
call fcn.14001ad98
jmp 0x14001b448
mov r8d, dword [rbp - 0x14]
add r8d, 0xa
mov edx, dword [rbp - 0x18]
mov dword [rbp - 0x14], r8d
jmp 0x14001b3f6
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.DLL_GetCursorPos]
mov eax, dword [rdi + 0x30]
test eax, eax
jne 0x14001b33d
mov edx, dword [rdi + 0x18]
mov dword [rdi + 0x30], 2
sub edx, 2
mov r8d, dword [rbp - 0x14]
mov ecx, 0x7f84
jmp 0x14001b2f6
cmp eax, 3
jne 0x14001b355
mov edx, dword [rdi + 0x18]
mov r8d, dword [rdi + 0x14]
mov dword [rdi + 0x30], 5
sub edx, 2
jmp 0x14001b2f1
cmp eax, 6
je 0x14001b2be
mov edx, dword [rbp - 0x18]
add edx, 0xa
jmp 0x14001b3ef
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.DLL_GetCursorPos]
mov eax, dword [rdi + 0x30]
test eax, eax
jne 0x14001b38a
mov r8d, dword [rdi + 0x14]
mov dword [rdi + 0x30], 3
jmp 0x14001b2af
cmp eax, 2
je 0x14001b342
cmp eax, 1
jne 0x14001b3ae
mov r8d, dword [rdi + 0x14]
mov edx, dword [rdi + 0x10]
mov dword [rdi + 0x30], 4
add r8d, 2
add edx, 2
jmp 0x14001b2d3
mov r8d, dword [rbp - 0x14]
sub r8d, 0xa
jmp 0x14001b308
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.DLL_GetCursorPos]
mov eax, dword [rdi + 0x30]
test eax, eax
jne 0x14001b3db
mov edx, dword [rdi + 0x10]
mov dword [rdi + 0x30], 1
jmp 0x14001b332
cmp eax, 3
je 0x14001b394
cmp eax, 6
je 0x14001b2df
mov edx, dword [rbp - 0x18]
sub edx, 0xa
mov r8d, dword [rbp - 0x14]
mov dword [rbp - 0x18], edx
mov r9, rdi
mov rcx, rsi
call fcn.14001af58
jmp 0x14001b448
call qword [sym.imp.USER32.DLL_ReleaseCapture]
jmp 0x14001b445
cmp r13d, 0x202
je 0x14001b403
cmp r13d, 0x215
jne 0x14001b448
lea edx, [r13 + 0x1d]
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.DLL_PostMessageA]
mov dword [rdi], r15d
cmp dword [rdi + 4], r15d
je 0x14001b445
mov edx, dword [rdi + 0xc]
mov ecx, dword [rdi + 8]
call qword [sym.imp.USER32.DLL_SetCursorPos]
mov r12, r15
lea r11, [rsp + 0x50]
mov rax, r12
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret