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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x14005c010]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, qword [0x14005c8f8]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
movss xmm6, dword [0x140054690]
xor r12d, r12d
movss xmm7, dword [0x140054784]
movss xmm8, dword [0x1400546c4]
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rsi
mov qword [rsp + 0x110], r14
mov qword [rsp + 0x118], r15
nop dword [rax + rax]
mov rdx, qword [0x14005c8e0]
lea rcx, [rbp - 0x31]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x14000ea34
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x31]
call qword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [rbp - 0x29], 0x12
je 0x14000eda9
mov rdx, qword [0x14005c8e0]
lea rcx, [rbp - 0x31]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x14000e9f3
mov rax, qword [0x14005c8e0]
lea rcx, [rbp - 0x41]
mov qword [rdi + 0xc8], rax
mov dword [rdi + 0x18], 0x3bc6980c
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rbp - 0x41]
mov ecx, 1
movd xmm1, dword [rbp - 0x3d]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0xe00], xmm0
movss dword [rdi + 0xe04], xmm1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0xe08], al
mov byte [rdi + 0x3740], al
cmp byte [rdi + 0xd0], r12b
jne 0x14000eaa5
cmp byte [rdi + 0xd1], r12b
jne 0x14000eaa5
xor al, al
jmp 0x14000eaa7
mov al, 1
mov rbx, qword [0x14005c8f8]
mov byte [rdi + 0xd1], al
mov byte [rdi + 0xd0], al
test rbx, rbx
je 0x14000eac8
mov rax, qword [rbx + 0x98]
jmp 0x14000eacb
mov rax, r12
cmp qword [rax + 0x48], r12
jne 0x14000eadd
call fcn.140010330
mov rbx, qword [0x14005c8f8]
test rbx, rbx
je 0x14000eaeb
mov rsi, qword [rbx + 0x90]
jmp 0x14000eaee
mov rsi, r12
xorps xmm0, xmm0
lea rdx, [rbp - 0x61]
movdqu xmmword [rbp - 0x61], xmm0
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x59]
lea rcx, [rbp - 0x39]
sub eax, dword [rbp - 0x61]
mov qword [rbp - 0x39], r12
movd xmm1, eax
mov eax, dword [rbp - 0x55]
sub eax, dword [rbp - 0x5d]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp - 0x39]
xorps xmm1, xmm1
mov r14, qword [0x14005c8f8]
mov rax, rcx
sub rax, qword [rsi + 0x18]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [rsi + 0x18], rcx
test r14, r14
je 0x14000eb73
mov r15, qword [r14 + 0x90]
jmp 0x14000eb76
mov r15, r12
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [r15]
cmp rax, rcx
jne 0x14000ec0a
cmp byte [r14 + 0xd3], r12b
je 0x14000ebcc
cvttss2si eax, dword [r14 + 0xe00]
lea rdx, [rbp - 0x51]
mov dword [rbp - 0x51], eax
cvttss2si eax, dword [r14 + 0xe04]
mov dword [rbp - 0x4d], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x14000ebc3
mov edx, dword [rbp - 0x4d]
mov ecx, dword [rbp - 0x51]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [r14 + 0xd3], r12b
jne 0x14000ec0a
cmp dword [r15 + 0x10], r12d
jne 0x14000ec0a
lea rcx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14000ec0a
mov rcx, qword [r15]
lea rdx, [rbp - 0x49]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14000ec0a
movd xmm2, dword [rbp - 0x45]
lea rcx, [r14 + 8]
movd xmm1, dword [rbp - 0x49]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.140012e90
call fcn.140010cb0
cmp byte [rbx + 0x58], r12b
je 0x14000ec1c
mov eax, 0xffffffff
jmp 0x14000ec29
mov rax, qword [0x14005c8f8]
mov eax, dword [rax + 0x4c08]
cmp dword [rsi + 0x28], eax
je 0x14000ec36
mov dword [rsi + 0x28], eax
call fcn.140010b40
call fcn.140010e80
call fcn.140016a50
lea rcx, [0x14005c990]
call fcn.1400074d0
cmp byte [0x14005c054], r12b
je 0x14000ed1b
mov rax, qword [0x14005c8f8]
lea r8, str.Background
xor edx, edx
mov rcx, qword [rax + 0x48b8]
mov rcx, qword [rcx]
call fcn.140016120
movaps xmm0, xmmword [0x140054d60]
lea rcx, [rbp - 0x61]
movups xmmword [rbp - 0x61], xmm0
mov rbx, rax
call fcn.140013820
mov ecx, dword [0x14005c058]
mov esi, eax
movss xmm0, dword [0x14005c858]
movss xmm1, dword [0x14005c85c]
mulss xmm0, xmm6
lea edx, [rcx + rcx*4]
add edx, edx
mulss xmm1, xmm6
movss dword [rbp - 0x69], xmm0
movd xmm2, edx
movss dword [rbp - 0x65], xmm1
cvtdq2ps xmm2, xmm2
test eax, 0xff000000
je 0x14000ed1b
comiss xmm6, xmm2
ja 0x14000ed1b
subss xmm2, xmm6
mov dword [rsp + 0x28], 0x3f
xorps xmm3, xmm3
movss dword [rsp + 0x20], xmm7
lea rdx, [rbp - 0x69]
mov rcx, rbx
call fcn.140033fe0
mov r8d, dword [rbx + 0x78]
mov r9d, esi
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm8
mov dword [rsp + 0x20], 1
call fcn.140032630
mov dword [rbx + 0x78], r12d
lea rcx, [0x14005c958]
call fcn.14000a4a0
call fcn.140018c40
mov rcx, qword [0x14005c8c0]
lea r8, [0x14005c8c8]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x14005c8c0]
lea r8, [rbp - 1]
mov rdx, qword [0x14005c8c8]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x14005c8f8]
mov rcx, qword [rax + 0x48b8]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14000f8d0
mov rcx, qword [0x14005c8d8]
mov edx, r12d
cmp byte [0x14005c0a0], dl
setne dl
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x40]
jmp 0x14000e9d0
mov r15, qword [rsp + 0x118]
mov r14, qword [rsp + 0x110]
mov rsi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14004a180
lea r11, [rsp + 0xe0]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret