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

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x18014a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x78]
mov rsi, rdx
mov rdi, rcx
cmp byte [rax], 0
jne 0x18008b37d
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xfa
call fcn.1800653f0
jmp 0x18008b772
movzx eax, byte [0x18014d3d5]
test al, al
je 0x18008b3a9
cmp dword [0x18014a36c], 1
jne 0x18008b3a9
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xa
call fcn.1800653f0
jmp 0x18008b772
movzx eax, byte [0x18014d3d5]
test al, al
jne 0x18008b3bd
cmp dword [0x18014a36c], 0
je 0x18008b391
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x18014d3d8]
jne 0x18008b786
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18008b786
movzx eax, byte [0x18014d3d5]
test al, al
jne 0x18008b786
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x70], rbp
call fcn.180074d90
mov rcx, qword [rax]
mov qword [rdi + 0x198], rcx
mov eax, dword [0x18014d4ac]
cmp byte [0x18014d5b8], 0
mov dword [rdi + 0x1a8], eax
jne 0x18008b4f3
movss xmm0, dword [0x18014eb80]
lea rcx, [rsp + 0x38]
movss xmm1, dword [0x18014eb84]
movss dword [0x18014eb88], xmm0
movss dword [0x18014eb8c], xmm1
call fcn.180074d90
lea rcx, [rsp + 0x38]
mov rbx, qword [rax]
call fcn.180074d90
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 [0x18014a368]
jge 0x18008b4ec
nop dword [rax]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18008b765
lea rcx, [rsp + 0x38]
call fcn.180074d90
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 [0x18014a368]
jl 0x18008b4a0
mov byte [0x18014d5b8], 1
cmp byte [0x18014d5b9], 0
je 0x18008b530
mov rcx, qword [rsi]
add rcx, 0x68
cmp qword [rcx + 0x18], 0xf
mov rdx, qword [rcx + 0x10]
jbe 0x18008b511
mov rcx, qword [rcx]
lea r9, str.tile
mov qword [rsp + 0x20], 4
call fcn.180065880
cmp rax, 0xffffffffffffffff
je 0x18008b765
movss xmm1, dword [0x18014eb8c]
lea rcx, [0x18014d6d0]
movaps xmmword [rsp + 0x60], xmm6
add rdi, 0x190
movaps xmmword [rsp + 0x50], xmm7
call fcn.1800671b0
subss xmm1, dword [0x18014eb88]
xorps xmm0, xmm0
mov eax, eax
xorps xmm6, xmm6
lea rdx, [0x18014eb98]
mov rcx, rdi
cvtsi2ss xmm0, rax
subss xmm0, xmm6
addss xmm0, xmm6
mulss xmm0, dword [0x180130820]
mulss xmm0, xmm1
addss xmm0, dword [0x18014eb88]
movss dword [0x18014eb90], xmm0
call fcn.1800899b0
lea rcx, [rsp + 0x38]
call fcn.180074d90
movss xmm7, dword [0x180130a30]
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 [0x18014eb94]
addss xmm0, dword [0x18014eb90]
subss xmm0, xmm1
divss xmm0, xmm7
cvtps2pd xmm0, xmm0
call fcn.180089ba0
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18008b75b
xor esi, esi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
movsxd r9, dword [rsp + 0x44]
mov edx, 0x204
mov rcx, qword [0x18014d3d8]
mov r8d, 0x2000000
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x30]
call fcn.180074d90
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 8], rdx
call fcn.1800897f0
movss xmm1, dword [0x18014eb8c]
lea rcx, [0x18014d6d0]
call fcn.1800671b0
subss xmm1, dword [0x18014eb88]
xorps xmm0, xmm0
mov eax, eax
lea rdx, [0x18014ebb0]
mov rcx, rdi
cvtsi2ss xmm0, rax
subss xmm0, xmm6
addss xmm0, xmm6
mulss xmm0, dword [0x180130820]
mulss xmm0, xmm1
addss xmm0, dword [0x18014eb88]
movss dword [0x18014eb90], xmm0
call fcn.1800899b0
lea rcx, [rsp + 0x30]
call fcn.180074d90
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 [0x18014eb94]
addss xmm0, dword [0x18014eb90]
subss xmm0, xmm1
divss xmm0, xmm7
cvtps2pd xmm0, xmm0
call fcn.180089ba0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], rsi
call qword [sym.imp.USER32.dll_GetCursorPos]
movsxd r9, dword [rsp + 0x3c]
xor r8d, r8d
mov rcx, qword [0x18014d3d8]
mov edx, 0x205
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x30]
call fcn.180074d90
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 8], rdx
call fcn.1800897f0
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800cc250
add rsp, 0x78
pop rdi
pop rsi
ret
cmp byte [0x18014d5b8], 0
je 0x18008b7ff
mov rdi, qword [0x18014ebd0]
mov rbx, qword [0x18014ebc8]
cmp rbx, rdi
je 0x18008b7f8
movss xmm2, dword [0x1801308b4]
xor esi, esi
nop dword [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.1800631c0
mov dword [rbx + 0x10], eax
add rbx, 0x28
cmp rbx, rdi
jne 0x18008b7b0
mov byte [0x18014d5b8], 0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x32
call fcn.1800653f0
jmp 0x18008b76a