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

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [0x18014f040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + 0x78]
mov rsi, rdx
mov rdi, rcx
cmp byte [rax], 0
jne 0x1800a30e0
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], 0xfa
call fcn.18008e7b0
jmp 0x1800a34d4
movzx eax, byte [0x1801520d5]
test al, al
je 0x1800a310c
cmp dword [0x18014f374], 1
jne 0x1800a310c
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], 0xa
call fcn.18008e7b0
jmp 0x1800a34d4
movzx eax, byte [0x1801520d5]
test al, al
jne 0x1800a3120
cmp dword [0x18014f374], 0
je 0x1800a30f4
mov qword [rsp + 0xd0], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x1801520d8]
jne 0x1800a34eb
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800a34eb
lea rcx, [rsp + 0x38]
mov qword [rsp + 0xa0], rbp
call fcn.18008ee80
mov rcx, qword [rax]
mov qword [rdi + 0x198], rcx
mov eax, dword [0x180152194]
cmp byte [0x180152298], 0
mov dword [rdi + 0x1a8], eax
jne 0x1800a3246
movss xmm0, dword [0x180153860]
lea rcx, [rsp + 0x40]
movss xmm1, dword [0x180153864]
movss dword [0x180153868], xmm0
movss dword [0x18015386c], xmm1
call fcn.18008ee80
lea rcx, [rsp + 0x30]
mov rbx, qword [rax]
call fcn.18008ee80
movabs rbp, 0x431bde82d7b634db
xorps xmm0, xmm0
mov rcx, qword [rax]
mov rax, rbp
sub rcx, rbx
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cvtsi2ss xmm0, rdx
cvttss2si eax, xmm0
cmp eax, dword [0x18014f370]
jge 0x1800a323f
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800a34c4
lea rcx, [rsp + 0x30]
call fcn.18008ee80
xorps xmm0, xmm0
mov rcx, qword [rax]
mov rax, rbp
sub rcx, rbx
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cvtsi2ss xmm0, rdx
cvttss2si eax, xmm0
cmp eax, dword [0x18014f370]
jl 0x1800a31f3
mov byte [0x180152298], 1
cmp byte [0x180152299], 0
je 0x1800a3283
mov rcx, qword [rsi]
add rcx, 0x68
cmp qword [rcx + 0x18], 0xf
mov rdx, qword [rcx + 0x10]
jbe 0x1800a3264
mov rcx, qword [rcx]
lea r9, str.tile
mov qword [rsp + 0x20], 4
call fcn.18008eba0
cmp rax, 0xffffffffffffffff
je 0x1800a34c4
movss xmm1, dword [0x18015386c]
lea rcx, [0x1801523b0]
movaps xmmword [rsp + 0x90], xmm6
add rdi, 0x190
movaps xmmword [rsp + 0x80], xmm7
call fcn.180065ac0
subss xmm1, dword [0x180153868]
xorps xmm0, xmm0
mov eax, eax
xorps xmm6, xmm6
lea rdx, [0x180153878]
mov rcx, rdi
cvtsi2ss xmm0, rax
subss xmm0, xmm6
addss xmm0, xmm6
mulss xmm0, dword [0x180136814]
mulss xmm0, xmm1
addss xmm0, dword [0x180153868]
movss dword [0x180153870], xmm0
call fcn.1800a1740
lea rcx, [rsp + 0x48]
call fcn.18008ee80
movss xmm7, dword [0x180136a28]
xorps xmm1, xmm1
movabs rbx, 0x20c49ba5e353f7cf
mov rcx, qword [rax]
mov rax, rbx
mov qword [rdi + 0x10], rcx
sub rcx, qword [rdi + 8]
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cvtsi2ss xmm1, rdx
divss xmm1, xmm7
movss dword [rdi + 0x1c], xmm1
movss xmm0, dword [0x180153874]
addss xmm0, dword [0x180153870]
subss xmm0, xmm1
divss xmm0, xmm7
cvtps2pd xmm0, xmm0
call fcn.1800a1930
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800a34b4
xor esi, esi
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x70], rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
movsxd r9, dword [rsp + 0x74]
mov edx, 0x204
mov rcx, qword [0x1801520d8]
mov r8d, 0x2000000
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x50]
call fcn.18008ee80
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 8], rdx
call fcn.1800a1550
movss xmm1, dword [0x18015386c]
lea rcx, [0x1801523b0]
call fcn.180065ac0
subss xmm1, dword [0x180153868]
xorps xmm0, xmm0
mov eax, eax
lea rdx, [0x180153890]
mov rcx, rdi
cvtsi2ss xmm0, rax
subss xmm0, xmm6
addss xmm0, xmm6
mulss xmm0, dword [0x180136814]
mulss xmm0, xmm1
addss xmm0, dword [0x180153868]
movss dword [0x180153870], xmm0
call fcn.1800a1740
lea rcx, [rsp + 0x58]
call fcn.18008ee80
xorps xmm1, xmm1
mov rcx, qword [rax]
mov rax, rbx
mov qword [rdi + 0x10], rcx
sub rcx, qword [rdi + 8]
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cvtsi2ss xmm1, rdx
divss xmm1, xmm7
movss dword [rdi + 0x1c], xmm1
movss xmm0, dword [0x180153874]
addss xmm0, dword [0x180153870]
subss xmm0, xmm1
divss xmm0, xmm7
cvtps2pd xmm0, xmm0
call fcn.1800a1930
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
movsxd r9, dword [rsp + 0x6c]
xor r8d, r8d
mov rcx, qword [0x1801520d8]
mov edx, 0x205
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x60]
call fcn.18008ee80
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 8], rdx
call fcn.1800a1550
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x80]
mov rbp, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800d1810
add rsp, 0xa8
pop rdi
pop rsi
ret
cmp byte [0x180152298], 0
je 0x1800a356f
mov rdi, qword [0x1801538b0]
mov rbx, qword [0x1801538a8]
cmp rbx, rdi
je 0x1800a3568
movss xmm2, dword [0x1801368ac]
xor esi, esi
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rbx + 0x24]
mov ecx, 1
movd xmm0, dword [rbx + 0x10]
cvtdq2ps xmm0, xmm0
mov word [rbx], si
mov dword [rbx + 0x20], esi
movd xmm1, edx
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
mulss xmm1, xmm2
cvttss2si eax, xmm1
sub ecx, eax
imul ecx, edx
mov edx, dword [rbx + 0x18]
mov dword [rbx + 0x24], ecx
mov ecx, dword [rbx + 0x14]
call fcn.180063c40
mov dword [rbx + 0x10], eax
add rbx, 0x28
cmp rbx, rdi
jne 0x1800a3520
mov byte [0x180152298], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x32
call fcn.18008e7b0
jmp 0x1800a34cc