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

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x180117040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [rcx + 0x78]
mov rsi, rdx
mov rdi, rcx
cmp byte [rax], 0
jne 0x18007b87d
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xfa
call fcn.180065060
jmp 0x18007bc72
movzx eax, byte [0x18011a0d5]
test al, al
je 0x18007b8a9
cmp dword [0x18011736c], 1
jne 0x18007b8a9
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0xa
call fcn.180065060
jmp 0x18007bc72
movzx eax, byte [0x18011a0d5]
test al, al
jne 0x18007b8bd
cmp dword [0x18011736c], 0
je 0x18007b891
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x18011a0d8]
jne 0x18007bc86
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18007bc86
movzx eax, byte [0x18011a0d5]
test al, al
jne 0x18007bc86
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x70], rbp
call fcn.180066f20
mov rcx, qword [rax]
mov qword [rdi + 0x198], rcx
mov eax, dword [0x18011a1ac]
cmp byte [0x18011a2b8], 0
mov dword [rdi + 0x1a8], eax
jne 0x18007b9f3
movss xmm0, dword [0x18011b880]
lea rcx, [rsp + 0x38]
movss xmm1, dword [0x18011b884]
movss dword [0x18011b888], xmm0
movss dword [0x18011b88c], xmm1
call fcn.180066f20
lea rcx, [rsp + 0x38]
mov rbx, qword [rax]
call fcn.180066f20
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 [0x180117368]
jge 0x18007b9ec
nop dword [rax]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18007bc65
lea rcx, [rsp + 0x38]
call fcn.180066f20
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 [0x180117368]
jl 0x18007b9a0
mov byte [0x18011a2b8], 1
cmp byte [0x18011a2b9], 0
je 0x18007ba30
mov rcx, qword [rsi]
add rcx, 0x68
cmp qword [rcx + 0x18], 0xf
mov rdx, qword [rcx + 0x10]
jbe 0x18007ba11
mov rcx, qword [rcx]
lea r9, str.tile
mov qword [rsp + 0x20], 4
call fcn.180065480
cmp rax, 0xffffffffffffffff
je 0x18007bc65
movss xmm1, dword [0x18011b88c]
lea rcx, [0x18011a3d0]
movaps xmmword [rsp + 0x60], xmm6
add rdi, 0x190
movaps xmmword [rsp + 0x50], xmm7
call fcn.180066870
subss xmm1, dword [0x18011b888]
xorps xmm0, xmm0
mov eax, eax
xorps xmm6, xmm6
lea rdx, [0x18011b898]
mov rcx, rdi
cvtsi2ss xmm0, rax
subss xmm0, xmm6
addss xmm0, xmm6
mulss xmm0, dword [0x1800ffc40]
mulss xmm0, xmm1
addss xmm0, dword [0x18011b888]
movss dword [0x18011b890], xmm0
call fcn.180079eb0
lea rcx, [rsp + 0x38]
call fcn.180066f20
movss xmm7, dword [0x1800ffe50]
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 [0x18011b894]
addss xmm0, dword [0x18011b890]
subss xmm0, xmm1
divss xmm0, xmm7
cvtps2pd xmm0, xmm0
call fcn.18007a0a0
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18007bc5b
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 [0x18011a0d8]
mov r8d, 0x2000000
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x30]
call fcn.180066f20
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 8], rdx
call fcn.180079cf0
movss xmm1, dword [0x18011b88c]
lea rcx, [0x18011a3d0]
call fcn.180066870
subss xmm1, dword [0x18011b888]
xorps xmm0, xmm0
mov eax, eax
lea rdx, [0x18011b8b0]
mov rcx, rdi
cvtsi2ss xmm0, rax
subss xmm0, xmm6
addss xmm0, xmm6
mulss xmm0, dword [0x1800ffc40]
mulss xmm0, xmm1
addss xmm0, dword [0x18011b888]
movss dword [0x18011b890], xmm0
call fcn.180079eb0
lea rcx, [rsp + 0x30]
call fcn.180066f20
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 [0x18011b894]
addss xmm0, dword [0x18011b890]
subss xmm0, xmm1
divss xmm0, xmm7
cvtps2pd xmm0, xmm0
call fcn.18007a0a0
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 [0x18011a0d8]
mov edx, 0x205
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x30]
call fcn.180066f20
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 8], rdx
call fcn.180079cf0
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.1800bbf40
add rsp, 0x78
pop rdi
pop rsi
ret
cmp byte [0x18011a2b8], 0
je 0x18007bcff
mov rdi, qword [0x18011b8d0]
mov rbx, qword [0x18011b8c8]
cmp rbx, rdi
je 0x18007bcf8
movss xmm2, dword [0x1800ffcd4]
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 0x18007bcb0
mov byte [0x18011a2b8], 0
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0x32
call fcn.180065060
jmp 0x18007bc6a