Function at 0x180019190
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 [0x18008d040]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp qword [0x180097538], 0
jne 0x1800191bf
call fcn.18003fa30
mov rcx, qword [0x180097548]
lea rdx, [rbp - 0x40]
mov rbx, qword [0x18008dc98]
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 [0x180097558]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x180097568]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x10], xmm1
mov rax, qword [rbp - 0x18]
mov qword [0x180097558], 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 0x1800192bd
cvttss2si eax, dword [rbx + 0x110]
mov rcx, qword [0x180097548]
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 0x1800192ce
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
call fcn.18001ff10
mov rbx, qword [0x18008dc98]
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.18002fdd0
xor edi, edi
mov dword [rbp - 0x30], 1
mov dword [rbx + 0x1438], edi
lea rdx, [rbp - 0x30]
mov rbx, qword [0x18008dc98]
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.18002fdd0
mov qword [rbx + 0x142c], rdi
lea rdx, [rbp - 0x30]
mov rbx, qword [0x18008dc98]
mov dword [rbp - 0x30], 2
movups xmm0, xmmword [rbx + 0x14dc]
lea rcx, [rbx + 0x18c0]
movups xmmword [rbp - 0x2c], xmm0
call fcn.18002feb0
mov qword [rbx + 0x14dc], rdi
xor edx, edx
mov qword [rbx + 0x14e4], rdi
mov r8d, 0x201
movzx ecx, word [0x180081d4c]
mov eax, dword [0x180081d48]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x180081d4e]
xor byte [rbp - 0x2f], 0x34
xor al, 0x39
xor byte [rbp - 0x2e], 0x35
xor byte [rbp - 0x2d], 0x36
mov word [rbp - 0x2c], cx
xor cl, 0x37
xor byte [rbp - 0x2b], 0x38
mov byte [rbp - 0x2c], cl
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x30], 0x23
mov byte [rbp - 0x2a], al
call fcn.180026060
mov r9, qword [0x18008dc98]
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x18], rdi
xorps xmm5, xmm5
mov rcx, qword [r9 + 0x1860]
call fcn.1800290c0
mov rax, qword [r9 + 0x1860]
movss xmm4, dword [r9 + 8]
movss xmm0, dword [r9 + 0xc]
mov ecx, dword [rax + 0xc4]
test r8b, cl
je 0x180019453
and ecx, 0xfffffff1
comiss xmm4, xmm5
mov dword [rax + 0xc4], ecx
jbe 0x18001941e
movss dword [rax + 0x28], xmm4
mov edx, edi
jmp 0x18001942a
mov byte [rax + 0xb0], dil
mov edx, 2
comiss xmm0, xmm5
mov dword [rax + 0xa8], edx
jbe 0x180019442
movss dword [rax + 0x2c], xmm0
mov dword [rax + 0xac], edi
jmp 0x180019453
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.180041300
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret