Function at 0x1800060b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rbx, rcx
mov ebp, 0x10
mov ecx, ebp
mov rsi, rdx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
movzx eax, byte [0x18011eef4]
mov byte [rbx + 0x31], al
setne dil
test al, al
jne 0x180006150
test dil, dil
je 0x18000612e
mov byte [rbx + 0x68], al
cmp byte [rbx + 0x69], al
je 0x18000612e
xor eax, eax
mov dword [0x18011c258], ebp
lea r8d, [rbp + 0x18]
mov qword [0x18011c268], rax
lea rdx, [0x18011c250]
mov qword [0x18011c25c], 2
lea ecx, [rbp - 0xf]
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x69], 0
lea rcx, [rsp + 0xa0]
mov byte [rbx + 0x6a], 0
mov qword [rsp + 0xa0], 0x64
call fcn.1800048d0
jmp 0x180006494
mov rcx, qword [rsi]
add rcx, 0x68
mov rdx, qword [rcx + 0x10]
cmp qword [rcx + 0x18], rbp
jb 0x180006164
mov rcx, qword [rcx]
lea r9, str.tile
mov qword [rsp + 0x20], 4
call fcn.1800064b0
cmp rax, 0xffffffffffffffff
jne 0x1800061e2
test dil, dil
je 0x1800061c0
cmp byte [rbx + 0x69], 0
mov byte [rbx + 0x68], 0
je 0x1800061c0
xor eax, eax
mov dword [0x18011c258], ebp
lea rdx, [0x18011c250]
mov qword [0x18011c25c], 2
mov qword [0x18011c268], rax
lea r8d, [rax + 0x28]
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x69], 0
lea rcx, [rsp + 0xa0]
mov byte [rbx + 0x6a], 0
mov qword [rsp + 0xa0], 0x32
call fcn.1800048d0
jmp 0x180006494
movzx eax, byte [0x18011eef3]
test al, al
je 0x180006203
cmp byte [rbx + 0x6a], 0
jne 0x180006203
test dil, dil
je 0x180006203
mov byte [rbx + 0x6a], 1
movzx eax, byte [0x18011eef3]
mov rcx, qword [rsi]
movss xmm0, dword [0x18011c24c]
comiss xmm0, dword [rcx + 0x44]
jbe 0x180006277
test dil, dil
je 0x180006255
cmp byte [rbx + 0x69], 0
mov byte [rbx + 0x68], 0
je 0x180006255
xor eax, eax
mov dword [0x18011c258], ebp
lea rdx, [0x18011c250]
mov qword [0x18011c25c], 2
mov qword [0x18011c268], rax
lea r8d, [rax + 0x28]
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x69], 0
mov byte [rbx + 0x6a], 0
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], 1
call fcn.1800048d0
jmp 0x180006494
test al, al
je 0x180006281
cmp byte [rbx + 0x6a], 0
je 0x180006259
movsd xmm0, qword [rcx + 0x24]
lea r9, [rsp + 0x60]
movsd qword [rbx + 0x50], xmm0
lea r8, [rsp + 0x40]
mov eax, dword [rcx + 0x2c]
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx + 0x40]
mov dword [rbx + 0x58], eax
movss xmm0, dword [rbx + 0x54]
addss xmm0, dword [0x180106148]
mov eax, dword [rbx + 0x64]
movaps xmmword [rsp + 0x80], xmm7
mov dword [rsp + 0x48], eax
movaps xmmword [rsp + 0x70], xmm8
xorps xmm8, xmm8
movss dword [rbx + 0x54], xmm0
movsd xmm0, qword [rbx + 0x5c]
mov eax, dword [rbx + 0x58]
movsd qword [rsp + 0x40], xmm0
movsd xmm0, qword [rbx + 0x50]
movsd qword [rsp + 0x50], xmm0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x58], eax
call fcn.180087700
mov rcx, qword [rsi]
mov edi, eax
movss xmm7, dword [rcx + 0x28]
subss xmm7, dword [rsp + 0x64]
subss xmm7, dword [0x180106148]
ucomiss xmm7, xmm8
jp 0x180006319
je 0x18000633a
movd xmm0, dword [0x18011c248]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm7
jb 0x18000633a
mov qword [rsp + 0xa0], 1
jmp 0x180006479
movzx eax, byte [rbx + 0x68]
mov ecx, 0x20
mov byte [rbx + 0x69], al
mov byte [rbx + 0x68], 0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x180006360
mov byte [0x18011eef2], 1
jmp 0x180006369
cmp byte [0x18011eef2], 0
je 0x1800063d2
cmp byte [rbx + 0x69], 0
mov byte [rbx + 0x68], 0
je 0x1800063a5
xor eax, eax
mov dword [0x18011c258], ebp
lea rdx, [0x18011c250]
mov qword [0x18011c25c], 2
mov qword [0x18011c268], rax
lea r8d, [rax + 0x28]
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x69], 0
mov rax, qword [rsi]
movss xmm0, dword [0x1801062f4]
comiss xmm0, dword [rax + 0x5c]
ja 0x1800063c6
ucomiss xmm7, xmm8
jp 0x180006486
jne 0x180006486
mov byte [0x18011eef2], 0
jmp 0x180006486
mov rax, qword [rsi]
movss xmm0, dword [rax + 0x5c]
andps xmm0, xmmword [0x180106730]
comiss xmm0, dword [0x180106104]
ja 0x180006431
cvttss2si eax, xmm7
test eax, eax
jne 0x1800063f7
cmp edi, 2
jne 0x180006431
cmp byte [rbx + 0x69], 0
mov byte [rbx + 0x68], 1
jne 0x18000646d
xor eax, eax
mov qword [0x18011c258], rbp
lea rdx, [0x18011c250]
mov dword [0x18011c260], eax
mov qword [0x18011c268], rax
lea r8d, [rax + 0x28]
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x69], 1
jmp 0x18000646d
cmp byte [rbx + 0x69], 0
mov byte [rbx + 0x68], 0
je 0x18000646d
xor eax, eax
mov dword [0x18011c258], ebp
lea rdx, [0x18011c250]
mov qword [0x18011c25c], 2
mov qword [0x18011c268], rax
lea r8d, [rax + 0x28]
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_SendInput]
mov byte [rbx + 0x69], 0
mov qword [rsp + 0xa0], 0x14
lea rcx, [rsp + 0xa0]
call fcn.1800048d0
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x70]
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret