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

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x1804ca010]
xor rax, rsp
mov qword [rbp - 8], rax
mov esi, edx
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetFocus]
mov rdx, qword [rbx + 0x30]
cmp rax, qword [rdx + 8]
jne 0x1800b4c48
cmp qword [rbx + 8], 0
je 0x1800b4a9f
cmp qword [rbx + 0x10], 0
je 0x1800b4a9f
call qword [sym.imp.USER32.dll_GetMessageExtraInfo]
and eax, 0xff515700
cmp eax, 0xff515700
jne 0x1800b4a9f
xor eax, eax
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov edi, 3
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [rbp - 0x3c]
shl r8d, 0x10
movzx eax, word [rbp - 0x40]
or r8, rax
mov edx, esi
mov rcx, qword [rbx + 0x30]
call fcn.180121790
sub rdi, 1
jne 0x1800b49f0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 3]
lea rdx, [0x1803c4ce8]
lea rcx, [rbp - 0x28]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x28]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1800b4a87
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b4a82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b4a82
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov al, 1
jmp 0x1800b4c4a
cmp byte [rbx + 0x28], 0
je 0x1800b4c48
movzx ecx, byte [rbx + 0x44]
test cl, cl
sete al
mov byte [rbx + 0x38], al
test cl, cl
jne 0x1800b4c48
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
je 0x1800b4b8e
xor eax, eax
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov edi, 3
nop dword [rax + rax]
movzx r8d, word [rbp - 0x3c]
shl r8d, 0x10
movzx eax, word [rbp - 0x40]
or r8, rax
mov edx, esi
mov rcx, qword [rbx + 0x30]
call fcn.180121790
sub rdi, 1
jne 0x1800b4af0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], dil
lea r8d, [rdi + 3]
lea rdx, [0x1803c4cec]
lea rcx, [rbp - 0x28]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x28]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1800b4c33
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b4c2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b4c2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rbx + 0x30]
mov rcx, qword [rax + 0x300]
test rcx, rcx
je 0x1800b4c44
mov edx, 0xc8
call fcn.18021fa90
test rax, rax
je 0x1800b4bbb
mov edx, esi
mov rcx, rax
call fcn.180145680
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x18], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
mov r8d, 3
lea rdx, [0x1803c4ce0]
lea rcx, [rbp - 0x28]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x28]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1800b4c33
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b4c2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b4c2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
mov byte [rbp - 0x28], 0
movdqu xmmword [rbp - 0x18], xmm0
mov al, 1
jmp 0x1800b4c4a
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180385c10
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret