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

Disassembly:
mov rax, rsp
push rbp
push rbx
push r14
lea rbp, [rax - 0x28]
sub rsp, 0x110
cmp qword [0x1400ea698], 0
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r15
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
jne 0x1400410fb
call fcn.140024f70
mov rcx, qword [0x1400ea6b8]
lea rdx, [rsp + 0x40]
mov rdi, qword [0x1400ea020]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x48]
lea rcx, [rbp + 0x48]
sub eax, dword [rsp + 0x40]
movd xmm1, eax
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x48]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400ea6c0]
cvtsi2ss xmm0, qword [0x1400ea6c8]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400ea6c0], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1400ea020]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], 0
mov byte [rdi + 0x132], al
cmp byte [rcx + 0x3af], 0
lea rbx, [rcx + 0x118]
je 0x140041207
cvttss2si eax, dword [rbx]
lea rdx, [rbp + 0x30]
mov dword [rbp + 0x30], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1400ea6b8]
mov dword [rbp + 0x34], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x34]
mov ecx, dword [rbp + 0x30]
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 [0x1400ea6b8]
jne 0x14004125f
lea rcx, [rbp + 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14004125f
mov rcx, qword [0x1400ea6b8]
lea rdx, [rbp + 0x38]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14004125f
movd xmm0, dword [rbp + 0x38]
movd xmm1, dword [rbp + 0x3c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], 0
je 0x14004126f
mov eax, 0xffffffff
jmp 0x14004127c
mov rax, qword [0x1400ea020]
mov eax, dword [rax + 0x1d70]
cmp dword [0x1400e78a8], eax
je 0x14004128f
mov dword [0x1400e78a8], eax
call fcn.1400250c0
call fcn.1400067f0
mov ecx, 0x61
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400412c2
inc dword [0x1400e7348]
call fcn.140046d70
mov rcx, rax
call fcn.14004a700
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x62
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400412f0
dec dword [0x1400e7348]
call fcn.140046d70
mov rcx, rax
call fcn.14004a700
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400ea0e0], 1
jne 0x140041340
mov eax, dword [0x1400ea600]
lea r9, [0x1400e7510]
movss xmm0, dword [0x1400e7340]
cdq
mulss xmm0, dword [0x1400b3628]
sub eax, edx
sar eax, 1
mov r10d, eax
mov dword [rsp + 0x20], 0x64
mov eax, dword [0x1400ea604]
cdq
sub eax, edx
mov edx, r10d
sar eax, 1
cvttss2si r8d, xmm0
mov ecx, eax
call fcn.14003aaa0
cmp byte [0x1400c0cf9], 1
xorps xmm10, xmm10
movss xmm9, dword [0x1400b3520]
movaps xmmword [rsp + 0xe0], xmm6
jne 0x14004149b
movaps xmm0, xmmword [0x1400b3b30]
lea rcx, [rsp + 0x50]
movd xmm1, dword [0x1400ea600]
movd xmm2, dword [0x1400ea604]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
movups xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0xd0], xmm8
movss xmm8, dword [0x1400b34f4]
mulss xmm1, xmm8
mulss xmm2, xmm8
movaps xmm0, xmm1
addss xmm0, dword [0x1400b362c]
subss xmm1, dword [0x1400b3630]
movss dword [rbp + 0x30], xmm2
subss xmm2, xmm9
movss dword [rbp + 0x34], xmm0
movss dword [rbp + 0x3c], xmm1
movss dword [rbp + 0x38], xmm2
call fcn.140003140
mov rcx, qword [0x1400ea020]
lea r8, [rbp + 0x30]
add rcx, 0x1cc8
mov dword [rsp + 0x28], 0xf
mov r9d, eax
movss dword [rsp + 0x20], xmm10
lea rdx, [rbp + 0x38]
call fcn.14001f880
movaps xmm0, xmmword [0x1400b3b30]
lea rcx, [rsp + 0x50]
movd xmm2, dword [0x1400ea604]
movd xmm1, dword [0x1400ea600]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm2, xmm8
mulss xmm1, xmm8
movups xmmword [rsp + 0x50], xmm0
movaps xmm0, xmm2
movss dword [rbp + 0x34], xmm1
addss xmm0, dword [0x1400b362c]
subss xmm2, dword [0x1400b3630]
subss xmm1, xmm9
movss dword [rbp + 0x30], xmm0
movss dword [rbp + 0x38], xmm2
movss dword [rbp + 0x3c], xmm1
call fcn.140003140
mov rcx, qword [0x1400ea020]
lea r8, [rbp + 0x30]
add rcx, 0x1cc8
mov dword [rsp + 0x28], 0xf
mov r9d, eax
movss dword [rsp + 0x20], xmm10
lea rdx, [rbp + 0x38]
call fcn.14001f880
movaps xmm8, xmmword [rsp + 0xd0]
call fcn.14003ced0
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
movss xmm2, dword [0x1400b3680]
mov ecx, 0x2d
movss xmm0, dword [0x1400c0ce8]
movss xmm1, dword [0x1400c0cf0]
mulss xmm0, xmm2
mulss xmm1, xmm2
cvttss2si rbx, xmm0
movss xmm0, dword [0x1400c0cec]
mulss xmm0, xmm2
cvttss2si rsi, xmm1
cvttss2si rdi, xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor r14d, r14d
test ax, ax
je 0x140041526
movzx ecx, byte [0x1400ea0e1]
test cl, cl
jne 0x14004150c
mov byte [0x1400ea0e1], 1
jmp 0x14004151b
cmp cl, 1
mov eax, ecx
cmove eax, r14d
mov byte [0x1400ea0e1], al
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1400ea0e1], r14b
movabs r15, 0xd06deb4e512259f3
movabs r12, 0xc22fa8fba0044820
je 0x140041720
movsd xmm2, qword [0x1400b3600]
xorps xmm0, xmm0
mov edx, dword [rbp + 0x44]
xorps xmm1, xmm1
mov eax, ebx
mov dword [rsp + 0x4c], 0x3f800000
cvtsi2sd xmm0, rax
mov eax, edi
cvtsi2sd xmm1, rax
mov eax, esi
divsd xmm0, xmm2
divsd xmm1, xmm2
cvtpd2ps xmm0, xmm0
movss dword [rsp + 0x40], xmm0
cvtpd2ps xmm0, xmm1
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mov rax, qword [rbp + 0x40]
movss dword [rsp + 0x44], xmm0
lea ecx, [rax + 5]
divsd xmm1, xmm2
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x48], xmm0
movd xmm0, ecx
lea ecx, [rdx + 5]
cvtdq2ps xmm0, xmm0
movss dword [rbp + 0x30], xmm0
movd xmm0, ecx
lea ecx, [rax - 5]
cvtdq2ps xmm0, xmm0
lea eax, [rdx - 5]
movd xmm1, ecx
lea rcx, [rsp + 0x40]
movss dword [rbp + 0x34], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbp + 0x3c], xmm0
movss dword [rbp + 0x38], xmm1
call fcn.140003140
mov rcx, qword [0x1400ea020]
lea r8, [rbp + 0x30]
add rcx, 0x1cc8
mov dword [rsp + 0x28], 0xf
mov r9d, eax
movss dword [rsp + 0x20], xmm10
lea rdx, [rbp + 0x38]
call fcn.14001f880
mov rbx, qword [0x1400ea020]
lea rdx, [rsp + 0x50]
movaps xmm6, xmmword [0x1400b3a10]
mov dword [rsp + 0x50], 2
mov qword [rbx + 0x1ae4], r14
lea rcx, [rbx + 0x1a78]
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
movups xmm0, xmmword [rbx + 0x1610]
movups xmmword [rsp + 0x54], xmm0
call fcn.140014160
movabs rax, 0xa20a802d30407ad0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
movabs rax, 0xc22fa8fbc46a3d4f
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x48], rax
xor edx, edx
movdqa xmm0, xmmword [rsp + 0x40]
mov r8d, 0x201f
pxor xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rbx + 0x1610], xmm6
call fcn.14000a0a0
call fcn.14000d0b0
mov r8, qword [0x1400ea020]
movsxd rax, dword [r8 + 0x1a78]
mov rcx, qword [r8 + 0x1a80]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x15f
add rax, rax
movups xmmword [r8 + rax*8], xmm0
dec dword [r8 + 0x1a78]
call fcn.14003fbc0
mov rax, qword [0x1400ea020]
mov byte [rax + 0xd0], 1
jmp 0x14004172e
mov rax, qword [0x1400ea020]
mov byte [rax + 0xd0], r14b
cmp byte [0x1400c0cd6], 1
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xe0]
mov rdi, qword [rsp + 0x100]
mov rsi, qword [rsp + 0x108]
jne 0x1400417ca
movss xmm2, dword [rax + 0x3b4]
lea rdx, [rsp + 0x40]
movabs rcx, 0xfe5dce6e6b7109b5
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x40], rcx
movabs rcx, 0xc22fa8fba0044846
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x70]
movdqa xmm0, xmmword [rsp + 0x40]
cvtps2pd xmm2, xmm2
mov qword [rsp + 0x58], r12
pxor xmm0, xmmword [rsp + 0x50]
movq r8, xmm2
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140014d30
mov edx, 0x2c
lea r9, [rsp + 0x70]
lea r8, [0x1400e7350]
lea ecx, [rdx - 0xe]
call fcn.140039f40
call fcn.140007980
mov rcx, qword [0x1400ea148]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400ea148]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400ea148]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400ea148]
mov r9d, 1
mov dword [rsp + 0x30], r14d
xor r8d, r8d
movss dword [rsp + 0x28], xmm9
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400ea148]
mov rax, qword [rcx]
call qword [rax + 0x148]
movaps xmm9, xmmword [rsp + 0xc0]
mov r15, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xf8]
test eax, eax
js 0x14004189d
call fcn.140007e10
mov rcx, qword [0x1400ea020]
add rcx, 0x1c70
cmp byte [rcx], r14b
cmove rcx, r14
call fcn.140024600
mov rcx, qword [0x1400ea148]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400ea148]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004195f
mov rcx, qword [0x1400ea148]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004195f
cmp qword [0x1400ea6a8], r14
je 0x140041943
mov rcx, qword [0x1400ea6b0]
test rcx, rcx
je 0x1400418ff
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400ea6b0], r14
mov rcx, qword [0x1400ea6a0]
test rcx, rcx
je 0x140041918
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400ea6a0], r14
mov rcx, qword [0x1400ea698]
mov rbx, qword [0x1400ea020]
test rcx, rcx
je 0x140041931
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400ea698], r14
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], r14
mov rcx, qword [0x1400ea148]
lea rdx, [0x1400ea100]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140024f70
add rsp, 0x110
pop r14
pop rbx
pop rbp
ret