Function at 0x180019d80
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x18008d020]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp qword [0x1800974d8], 0
jne 0x180019daf
call fcn.180041410
mov rcx, qword [0x1800974e8]
lea rdx, [rbp - 0x40]
mov rbx, qword [0x18008dc38]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x38]
lea rcx, [rbp - 0x18]
sub eax, dword [rbp - 0x40]
movd xmm1, eax
mov eax, dword [rbp - 0x34]
sub eax, dword [rbp - 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 8], xmm1
movss dword [rbx + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x18]
xorps xmm1, xmm1
sub rax, qword [0x1800974f8]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x180097508]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x10], xmm1
mov rax, qword [rbp - 0x18]
mov qword [0x1800974f8], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rbx + 0x125], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rbx + 0x126], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x128], 0
cmp byte [rbx + 0x34f], 0
mov byte [rbx + 0x127], al
je 0x180019ead
cvttss2si eax, dword [rbx + 0x110]
mov rcx, qword [0x1800974e8]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], eax
cvttss2si eax, dword [rbx + 0x114]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rbx + 0x124], 0
je 0x180019ebe
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
call fcn.180020ad0
mov rbx, qword [0x18008dc38]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 3
movss xmm0, dword [rbx + 0x1438]
lea rcx, [rbx + 0x18d0]
movss dword [rbp - 0x2c], xmm0
call fcn.1800316b0
xor edi, edi
mov dword [rbp - 0x30], 1
mov dword [rbx + 0x1438], edi
lea rdx, [rbp - 0x30]
mov rbx, qword [0x18008dc38]
movss xmm1, dword [rbx + 0x142c]
lea rcx, [rbx + 0x18d0]
movss xmm0, dword [rbx + 0x1430]
movss dword [rbp - 0x2c], xmm1
movss dword [rbp - 0x28], xmm0
call fcn.1800316b0
mov qword [rbx + 0x142c], rdi
lea rdx, [rbp - 0x30]
mov rbx, qword [0x18008dc38]
mov dword [rbp - 0x30], 2
movups xmm0, xmmword [rbx + 0x14dc]
lea rcx, [rbx + 0x18c0]
movups xmmword [rbp - 0x2c], xmm0
call fcn.180031790
mov qword [rbx + 0x14dc], rdi
xor edx, edx
mov qword [rbx + 0x14e4], rdi
mov r8d, 0x201
movzx ecx, word [0x180082154]
mov eax, dword [0x180082150]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x180082156]
xor byte [rbp - 0x2f], 0x33
xor al, 0x38
xor byte [rbp - 0x2e], 0x34
xor byte [rbp - 0x2d], 0x35
mov word [rbp - 0x2c], cx
xor cl, 0x36
xor byte [rbp - 0x2b], 0x37
mov byte [rbp - 0x2c], cl
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x30], 0x23
mov byte [rbp - 0x2a], al
call fcn.180026df0
mov r9, qword [0x18008dc38]
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x18], rdi
xorps xmm5, xmm5
mov rcx, qword [r9 + 0x1860]
call fcn.180029f80
mov rax, qword [r9 + 0x1860]
movss xmm4, dword [r9 + 8]
movss xmm0, dword [r9 + 0xc]
mov ecx, dword [rax + 0xc4]
test r8b, cl
je 0x18001a043
and ecx, 0xfffffff1
comiss xmm4, xmm5
mov dword [rax + 0xc4], ecx
jbe 0x18001a00e
movss dword [rax + 0x28], xmm4
mov edx, edi
jmp 0x18001a01a
mov byte [rax + 0xb0], dil
mov edx, 2
comiss xmm0, xmm5
mov dword [rax + 0xa8], edx
jbe 0x18001a032
movss dword [rax + 0x2c], xmm0
mov dword [rax + 0xac], edi
jmp 0x18001a043
mov dword [rax + 0xac], 2
mov byte [rax + 0xb0], dil
mov rax, qword [r9 + 0x1860]
mov byte [rax + 0x92], r8b
mov rax, qword [r9 + 0x1860]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180042cf0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret