Function at 0x180017bb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x78
cmp byte [0x18023cb4f], 0
je 0x180017ea1
mov rax, qword [0x18023cac0]
mov qword [r11 + 0x10], rbx
mov rbx, qword [rax]
test rbx, rbx
je 0x180017e99
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x180017e99
mov qword [r11 - 8], rdi
mov rdi, qword [rbx + 0x30]
test rdi, rdi
je 0x180017e94
mov rax, qword [0x18023cb30]
movsd xmm0, qword [rbx + 0x90]
mov qword [r11 + 0x20], rsi
mov esi, dword [rbx + 0x98]
cmp byte [rax + rbx], 0x40
movsd qword [rsp + 0x20], xmm0
je 0x180017e8c
mov qword [r11 + 0x18], rbp
movabs rcx, 0x4f8644af03d0e0d6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
call fcn.1800015f0
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x18023ca41]
cmp byte [0x18023cb55], 0
je 0x180017c74
movd xmm0, dword [0x18023cb58]
cvtdq2ps xmm0, xmm0
jmp 0x180017c8b
test ax, ax
je 0x180017c83
movss xmm0, dword [0x1800ac90c]
jmp 0x180017c8b
movss xmm0, dword [0x1800ac8c8]
movss dword [0x180197760], xmm0
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
mov ecx, dword [0x18019794c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm8, dword [rsp + 0x24]
xor ebp, ebp
movss xmm7, dword [rsp + 0x20]
xorps xmm6, xmm6
movd xmm9, esi
test ax, ax
jns 0x180017d8d
mov qword [rbx + 0x320], rbp
mov dword [rbx + 0x328], ebp
mov rax, qword [0x18023cad0]
test rax, rax
je 0x180017ce4
mov rax, qword [rax]
jmp 0x180017cec
mov rax, qword [rsp + 0x80]
movsd xmm1, qword [rax + 0x3d0]
ucomiss xmm1, xmm6
mov ecx, dword [rax + 0x3d8]
mov dword [rsp + 0x28], ecx
movsd qword [rsp + 0x20], xmm1
jp 0x180017d38
jne 0x180017d38
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, xmm6
jp 0x180017d38
jne 0x180017d38
movd xmm3, ecx
ucomiss xmm3, xmm6
jp 0x180017d3e
jne 0x180017d3e
movsd xmm0, qword [rax + 0x40]
movss xmm3, dword [rax + 0x48]
movaps xmm1, xmm0
movsd qword [rsp + 0x20], xmm0
jmp 0x180017d3e
movss xmm3, dword [rsp + 0x28]
movss xmm2, dword [0x180197760]
movaps xmm0, xmm2
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, dword [rsp + 0x24]
addss xmm0, xmm7
mulss xmm2, xmm3
addss xmm1, xmm8
addss xmm2, xmm9
movss dword [rbx + 0x90], xmm0
movss dword [rbx + 0x94], xmm1
unpcklps xmm0, xmm1
movss dword [rbx + 0x98], xmm2
movsd qword [rdi + 0x50], xmm0
movss dword [rdi + 0x58], xmm2
mov ecx, dword [0x180197950]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180017e6e
mov qword [rbx + 0x320], rbp
mov dword [rbx + 0x328], ebp
mov rax, qword [0x18023cad0]
test rax, rax
je 0x180017dc0
mov rax, qword [rax]
jmp 0x180017dc8
mov rax, qword [rsp + 0x80]
movsd xmm3, qword [rax + 0x3d0]
ucomiss xmm3, xmm6
mov ecx, dword [rax + 0x3d8]
mov dword [rsp + 0x28], ecx
movsd qword [rsp + 0x20], xmm3
jp 0x180017e14
jne 0x180017e14
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, xmm6
jp 0x180017e14
jne 0x180017e14
movd xmm2, ecx
ucomiss xmm2, xmm6
jp 0x180017e1a
jne 0x180017e1a
movsd xmm0, qword [rax + 0x40]
movss xmm2, dword [rax + 0x48]
movaps xmm3, xmm0
movsd qword [rsp + 0x20], xmm0
jmp 0x180017e1a
movss xmm2, dword [rsp + 0x28]
movss xmm1, dword [0x180197760]
movss xmm0, dword [rsp + 0x24]
mulss xmm0, xmm1
mulss xmm3, xmm1
subss xmm8, xmm0
mulss xmm2, xmm1
subss xmm7, xmm3
subss xmm9, xmm2
movss dword [rbx + 0x90], xmm7
movaps xmm0, xmm7
movss dword [rbx + 0x94], xmm8
movss dword [rbx + 0x98], xmm9
unpcklps xmm0, xmm8
movsd qword [rdi + 0x50], xmm0
movss dword [rdi + 0x58], xmm9
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
movaps xmm9, xmmword [rsp + 0x30]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
add rsp, 0x78
ret