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

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [0x18011d040]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, byte [0x1801200c5]
mov rsi, rdx
mov byte [rcx + 0x31], al
mov rdi, rcx
cmp byte [0x1801200c5], 0
jne 0x18003381a
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], 0xfa
call fcn.1800048b0
jmp 0x180033c22
movzx eax, byte [0x1801200d8]
test al, al
je 0x180033846
cmp dword [0x18011d3a4], 1
jne 0x180033846
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], 0xa
call fcn.1800048b0
jmp 0x180033c22
movzx eax, byte [0x1801200d8]
test al, al
jne 0x18003385a
cmp dword [0x18011d3a4], 0
je 0x18003382e
mov qword [rsp + 0xd0], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x180120100]
jne 0x180033c39
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180033c39
movzx eax, byte [0x1801200d8]
test al, al
jne 0x180033c39
lea rcx, [rsp + 0x38]
mov qword [rsp + 0xa0], rbp
call fcn.180005e10
mov rcx, qword [rax]
mov qword [rdi + 0x58], rcx
mov eax, dword [0x1801200fc]
cmp byte [0x1801200fb], 0
mov dword [rdi + 0x68], eax
jne 0x180033997
movss xmm0, dword [0x180121880]
lea rcx, [rsp + 0x40]
movss xmm1, dword [0x180121884]
movss dword [0x180121888], xmm0
movss dword [0x18012188c], xmm1
call fcn.180005e10
lea rcx, [rsp + 0x30]
mov rbx, qword [rax]
call fcn.180005e10
movd xmm0, dword [0x18011d3a0]
movabs rbp, 0x431bde82d7b634db
xorps xmm1, xmm1
cvtdq2ps 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 xmm1, rdx
comiss xmm0, xmm1
jbe 0x180033990
nop word [rax + rax]
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180033c12
lea rcx, [rsp + 0x30]
call fcn.180005e10
movd xmm0, dword [0x18011d3a0]
xorps xmm1, xmm1
cvtdq2ps 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 xmm1, rdx
comiss xmm0, xmm1
ja 0x180033940
mov byte [0x1801200fb], 1
cmp byte [0x1801200c4], 0
je 0x1800339d4
mov rcx, qword [rsi]
add rcx, 0x68
cmp qword [rcx + 0x18], 0xf
mov rdx, qword [rcx + 0x10]
jbe 0x1800339b5
mov rcx, qword [rcx]
lea r9, str.tile
mov qword [rsp + 0x20], 4
call fcn.1800064e0
cmp rax, 0xffffffffffffffff
je 0x180033c12
movss xmm1, dword [0x18012188c]
lea rcx, [0x180120420]
movaps xmmword [rsp + 0x90], xmm6
add rdi, 0x50
movaps xmmword [rsp + 0x80], xmm7
call fcn.180005a50
subss xmm1, dword [0x180121888]
xorps xmm0, xmm0
mov eax, eax
xorps xmm6, xmm6
lea rdx, [0x180121898]
mov rcx, rdi
cvtsi2ss xmm0, rax
subss xmm0, xmm6
addss xmm0, xmm6
mulss xmm0, dword [0x180107224]
mulss xmm0, xmm1
addss xmm0, dword [0x180121888]
movss dword [0x180121890], xmm0
call fcn.18000a7a0
lea rcx, [rsp + 0x48]
call fcn.180005e10
movss xmm7, dword [0x180107440]
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 [0x180121894]
addss xmm0, dword [0x180121890]
subss xmm0, xmm1
divss xmm0, xmm7
cvtps2pd xmm0, xmm0
call fcn.1800335a0
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180033c02
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 [0x180120100]
mov r8d, 0x2000000
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x50]
call fcn.180005e10
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 8], rdx
call fcn.18000a5d0
movss xmm1, dword [0x18012188c]
lea rcx, [0x180120420]
call fcn.180005a50
subss xmm1, dword [0x180121888]
xorps xmm0, xmm0
mov eax, eax
lea rdx, [0x1801218b0]
mov rcx, rdi
cvtsi2ss xmm0, rax
subss xmm0, xmm6
addss xmm0, xmm6
mulss xmm0, dword [0x180107224]
mulss xmm0, xmm1
addss xmm0, dword [0x180121888]
movss dword [0x180121890], xmm0
call fcn.18000a7a0
lea rcx, [rsp + 0x58]
call fcn.180005e10
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 [0x180121894]
addss xmm0, dword [0x180121890]
subss xmm0, xmm1
divss xmm0, xmm7
cvtps2pd xmm0, xmm0
call fcn.1800335a0
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 [0x180120100]
mov edx, 0x205
call qword [sym.imp.USER32.dll_PostMessageW]
lea rcx, [rsp + 0x60]
call fcn.180005e10
mov rcx, rdi
mov rdx, qword [rax]
mov qword [rdi + 8], rdx
call fcn.18000a5d0
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.1800a7090
add rsp, 0xa8
pop rdi
pop rsi
ret
cmp byte [0x1801200fb], 0
je 0x180033cae
mov rdi, qword [0x1801218d0]
mov rbx, qword [0x1801218c8]
cmp rbx, rdi
je 0x180033ca7
movss xmm3, dword [0x1801072b0]
xor esi, esi
nop
movd xmm2, dword [rbx + 0x24]
movd xmm0, dword [rbx + 0x10]
mov edx, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x14]
cvtdq2ps xmm2, xmm2
mov word [rbx], si
mov dword [rbx + 0x20], esi
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm2
divss xmm1, xmm0
mulss xmm1, xmm3
mulss xmm1, xmm2
subss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [rbx + 0x24], eax
call fcn.180003c10
mov dword [rbx + 0x10], eax
add rbx, 0x28
cmp rbx, rdi
jne 0x180033c60
mov byte [0x1801200fb], 0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x32
call fcn.1800048b0
jmp 0x180033c1a