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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0xb8]
sub rsp, 0x190
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
xor r14d, r14d
mov dword [rbp + 0xc0], r14d
cmp qword [0x1400d4b00], r14
jne 0x14004a947
call fcn.140024a10
mov rdi, qword [0x1400d49b0]
lea rdx, [rsp + 0x40]
mov rcx, qword [0x1400d4b20]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rsp + 0x48]
sub eax, dword [rsp + 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
lea rcx, [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
sub rax, qword [0x1400d4b28]
xorps xmm1, xmm1
cvtsi2ss xmm1, rax
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400d4b30]
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400d4b28], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x130], al
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x131], al
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x132], al
mov byte [rdi + 0x133], r14b
mov rcx, qword [0x1400d49b0]
lea rbx, [rcx + 0x118]
cmp byte [rcx + 0x3af], r14b
je 0x14004aa68
cvttss2si eax, dword [rbx]
mov dword [rbp + 0xc0], eax
cvttss2si eax, dword [rcx + 0x11c]
mov dword [rbp + 0xc4], eax
lea rdx, [rbp + 0xc0]
mov rcx, qword [0x1400d4b20]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0xc4]
mov ecx, dword [rbp + 0xc0]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400d4b20]
jne 0x14004aacc
lea rcx, [rbp + 0xc8]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14004aacc
lea rdx, [rbp + 0xc8]
mov rcx, qword [0x1400d4b20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14004aacc
movd xmm1, dword [rbp + 0xcc]
cvtdq2ps xmm1, xmm1
movd xmm0, dword [rbp + 0xc8]
cvtdq2ps xmm0, xmm0
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], r14b
je 0x14004aadc
mov eax, 0xffffffff
jmp 0x14004aae9
mov rax, qword [0x1400d49b0]
mov eax, dword [rax + 0x1d70]
cmp dword [0x1400d239c], eax
je 0x14004aafc
mov dword [0x1400d239c], eax
call fcn.140024bf0
call fcn.1400066b0
cmp byte [0x1400d49ab], 1
jne 0x14004ab51
movss xmm0, dword [0x1400abd14]
mulss xmm0, dword [0x14009ba70]
cvttss2si r8d, xmm0
mov eax, dword [0x1400d4ab8]
cdq
sub eax, edx
sar eax, 1
mov r10d, eax
mov eax, dword [0x1400d4abc]
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [rsp + 0x20], 0x64
lea r9, [0x1400d2120]
mov edx, r10d
call fcn.14003aa70
lea rcx, [rbp + 0xd0]
call qword [sym.imp.USER32.dll_GetCursorPos]
movss xmm0, dword [0x1400abd08]
movss xmm2, dword [0x14009bb0c]
mulss xmm0, xmm2
cvttss2si rbx, xmm0
movss xmm0, dword [0x1400abd0c]
mulss xmm0, xmm2
cvttss2si rdi, xmm0
movss xmm1, dword [0x1400abd10]
mulss xmm1, xmm2
cvttss2si rsi, xmm1
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004abd3
movzx eax, byte [0x1400d49ac]
test al, al
jne 0x14004abbd
mov byte [0x1400d49ac], 1
jmp 0x14004abc8
cmp al, 1
jne 0x14004abc8
mov byte [0x1400d49ac], r14b
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
movss xmm7, dword [0x14009b9d4]
cmp byte [0x1400d49ac], r14b
je 0x14004adf2
mov r10, qword [0x1400d49b0]
mov eax, esi
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
movsd xmm3, qword [0x14009ba50]
divsd xmm0, xmm3
cvtpd2ps xmm4, xmm0
mov eax, edi
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, xmm3
cvtpd2ps xmm2, xmm0
mov eax, ebx
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, xmm3
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x40], xmm0
movss dword [rsp + 0x44], xmm2
movss dword [rsp + 0x48], xmm4
mov dword [rsp + 0x4c], 0x3f800000
lea rcx, [rsp + 0x40]
call fcn.140003060
mov r8d, dword [rbp + 0xd4]
lea ecx, [r8 + 5]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov rdx, qword [rbp + 0xd0]
lea ecx, [rdx + 5]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0xc0], xmm0
movss dword [rbp + 0xc4], xmm1
add r8d, 0xfffffffb
movd xmm1, r8d
cvtdq2ps xmm1, xmm1
add edx, 0xfffffffb
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0xc8], xmm0
movss dword [rbp + 0xcc], xmm1
mov dword [rsp + 0x28], 0xf
xorps xmm0, xmm0
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rbp + 0xc0]
lea rdx, [rbp + 0xc8]
lea rcx, [r10 + 0x1cc8]
call fcn.14001f3c0
mov rbx, qword [0x1400d49b0]
mov qword [rbx + 0x1ae4], r14
mov qword [rbx + 0x1aec], r14
mov dword [rbx + 0x1ac8], 2
movsd xmm0, qword [rbx + 0x10]
movsd qword [rbx + 0x1af4], xmm0
mov dword [rbx + 0x1acc], 2
movdqa xmm6, xmmword [0x14009bf20]
mov dword [rsp + 0x60], 2
movups xmm0, xmmword [rbx + 0x1610]
movups xmmword [rsp + 0x64], xmm0
lea rcx, [rbx + 0x1a78]
lea rdx, [rsp + 0x60]
call fcn.140013cd0
movups xmmword [rbx + 0x1610], xmm6
movabs rax, 0x1564a8d88becf5e7
mov qword [rsp + 0x60], rax
movabs rax, 0x83ebe38d11c69af0
mov qword [rsp + 0x68], rax
movabs rax, 0x6703c3bbea8ed6c4
mov qword [rsp + 0x40], rax
movabs rax, 0x83ebe38d75a8ef9f
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
xor edx, edx
mov r8d, 0x201f
lea rcx, [rsp + 0x60]
call fcn.140009ee0
call fcn.14000ce00
mov r8, qword [0x1400d49b0]
movsxd rax, dword [r8 + 0x1a78]
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x1a80]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, 0x15f
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x1a78]
call fcn.140049740
mov rax, qword [0x1400d49b0]
mov byte [rax + 0xd0], 1
jmp 0x14004ae00
mov rax, qword [0x1400d49b0]
mov byte [rax + 0xd0], r14b
cmp byte [0x1400abcf5], 1
jne 0x14004b066
lea rax, [0x14009b880]
mov qword [rbp - 0x80], rax
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov dword [rbp + 0x20], r14d
mov qword [rbp + 0x28], r14
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 8], rax
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x60], r14b
mov dword [rbp + 0xc0], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x80]
call fcn.140052d50
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x80], rdi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140053850
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], 4
lea rdx, str.FPS:
lea rcx, [rbp - 0x80]
call fcn.140054010
mov rbx, rax
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
mov ecx, dword [rdx + rax + 0x18]
btr ecx, 0xc
bts ecx, 0xd
mov dword [rdx + rax + 0x18], ecx
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.140059244
mov r8, qword [rax]
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call r8
mov rax, qword [0x1400d49b0]
movss xmm1, dword [rax + 0x3b4]
mov rcx, rbx
call fcn.140050e10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14009bbe0]
movdqu xmmword [rsp + 0x50], xmm1
mov byte [rsp + 0x40], 0
mov dword [rbp + 0xc0], 5
movups xmmword [rsp + 0x60], xmm0
mov ecx, dword [rbp - 8]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14004af67
mov rax, qword [rbp - 0x38]
mov r8, qword [rax]
test r8, r8
je 0x14004af67
mov rax, qword [rbp - 0x58]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x10]
cmovb r8, qword [rbp - 0x10]
sub r8, rdx
jmp 0x14004af98
test cl, 4
jne 0x14004af8e
mov rax, qword [rbp - 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x14004af8e
mov rax, qword [rbp - 0x60]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x28]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14004af98
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14004afa8
lea rcx, [rsp + 0x40]
call fcn.140053c70
nop
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
lea r8, [0x1400d1f60]
call fcn.14003a010
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14004b004
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004affe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004b226
call fcn.140057d3c
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x80], rdi
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x7c], edx
lea rcx, [rbp - 0x78]
call fcn.140050940
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x10]
mov dword [rsp + rcx + 0x7c], r8d
lea rax, vtable.std::ios_base.0
mov qword [rbp + 8], rax
lea rcx, [rbp + 8]
call fcn.14005906c
nop
mov rcx, qword [0x1400d49f8]
cmp byte [0x1400abd07], 1
jne 0x14004b07d
mov edx, 0x11
jmp 0x14004b07f
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
call fcn.14003f6e0
call fcn.1400077c0
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 7
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0x1b
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r14d
movss dword [rsp + 0x28], xmm7
mov dword [rsp + 0x20], r14d
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x14004b145
call fcn.140007c70
mov rcx, qword [0x1400d49b0]
add rcx, 0x1c70
cmp byte [rcx], 0
cmove rcx, r14
call fcn.140024100
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004b208
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004b208
cmp qword [0x1400d4b10], 0
je 0x14004b1ec
mov rcx, qword [0x1400d4b18]
test rcx, rcx
je 0x14004b1a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d4b18], r14
mov rcx, qword [0x1400d4b08]
test rcx, rcx
je 0x14004b1c1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d4b08], r14
mov rbx, qword [0x1400d49b0]
mov rcx, qword [0x1400d4b00]
test rcx, rcx
je 0x14004b1da
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d4b00], r14
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], r14
mov rcx, qword [0x1400d4aa0]
mov rax, qword [rcx]
lea rdx, [0x1400d4a50]
call qword [rax + 0x80]
call fcn.140024a10
movaps xmm6, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x170]
add rsp, 0x190
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14006bb30
nop
int3