Function at 0x1800282f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x78
cmp byte [0x1802271be], 0
je 0x1800285ef
mov rax, qword [0x180227138]
mov qword [r11 + 0x10], rbx
mov rbx, qword [rax]
test rbx, rbx
je 0x1800285e7
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1800285e7
mov qword [r11 - 8], rdi
mov rdi, qword [rbx + 0x30]
test rdi, rdi
je 0x1800285e2
mov eax, dword [rbx + 0x98]
movsd xmm0, qword [rbx + 0x90]
mov dword [rsp + 0x28], eax
mov rax, qword [0x1802271a0]
movsd qword [rsp + 0x20], xmm0
cmp byte [rax + rbx], 0x40
je 0x1800285e2
mov qword [r11 + 0x18], rsi
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.180003550
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
cmp byte [0x1802271c9], 0
mov byte [0x1802270b9], al
je 0x1800283b6
movd xmm0, dword [0x1802271cc]
cvtdq2ps xmm0, xmm0
jmp 0x1800283cc
test al, al
je 0x1800283c4
movss xmm0, dword [0x1800bd79c]
jmp 0x1800283cc
movss xmm0, dword [0x1800bd758]
movss dword [0x18018ad78], xmm0
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
mov ecx, dword [0x18018af5c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
movss xmm9, dword [rsp + 0x28]
movss xmm8, dword [rsp + 0x24]
xorps xmm6, xmm6
movss xmm7, dword [rsp + 0x20]
jae 0x1800284d8
xorps xmm0, xmm0
unpcklps xmm0, xmm6
movsd qword [rbx + 0x320], xmm0
movss dword [rbx + 0x328], xmm6
mov rcx, qword [0x180227148]
test rcx, rcx
je 0x180028430
mov rcx, qword [rcx]
jmp 0x180028438
mov rcx, qword [rsp + 0x80]
movsd xmm1, qword [rcx + 0x3d0]
ucomiss xmm1, xmm6
mov eax, dword [rcx + 0x3d8]
mov dword [rsp + 0x28], eax
movsd qword [rsp + 0x20], xmm1
jp 0x180028486
jne 0x180028486
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, xmm6
jp 0x180028486
jne 0x180028486
movss xmm0, dword [rsp + 0x28]
ucomiss xmm0, xmm6
jp 0x180028486
jne 0x180028486
movsd xmm0, qword [rcx + 0x40]
mov eax, dword [rcx + 0x48]
movaps xmm1, xmm0
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
movss xmm3, dword [0x18018ad78]
movaps xmm2, xmm3
mulss xmm2, xmm1
movaps xmm1, xmm3
mulss xmm1, dword [rsp + 0x24]
mulss xmm3, dword [rsp + 0x28]
addss xmm2, xmm7
addss xmm1, xmm8
addss xmm3, xmm9
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movsd qword [rbx + 0x90], xmm0
movaps xmm0, xmm2
movss dword [rbx + 0x98], xmm3
unpcklps xmm0, xmm1
movsd qword [rdi + 0x50], xmm0
movss dword [rdi + 0x58], xmm3
mov ecx, dword [0x18018af60]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
mov rsi, qword [rsp + 0x90]
jae 0x1800285cc
xorps xmm0, xmm0
unpcklps xmm0, xmm6
movsd qword [rbx + 0x320], xmm0
movss dword [rbx + 0x328], xmm6
mov rcx, qword [0x180227148]
test rcx, rcx
je 0x18002851e
mov rcx, qword [rcx]
jmp 0x180028526
mov rcx, qword [rsp + 0x80]
movsd xmm1, qword [rcx + 0x3d0]
ucomiss xmm1, xmm6
mov eax, dword [rcx + 0x3d8]
mov dword [rsp + 0x28], eax
movsd qword [rsp + 0x20], xmm1
jp 0x180028574
jne 0x180028574
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, xmm6
jp 0x180028574
jne 0x180028574
movss xmm0, dword [rsp + 0x28]
ucomiss xmm0, xmm6
jp 0x180028574
jne 0x180028574
movsd xmm0, qword [rcx + 0x40]
mov eax, dword [rcx + 0x48]
movaps xmm1, xmm0
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
movss xmm2, dword [0x18018ad78]
movss xmm0, dword [rsp + 0x24]
mulss xmm0, xmm2
mulss xmm1, xmm2
subss xmm8, xmm0
subss xmm7, xmm1
movss xmm1, dword [rsp + 0x28]
mulss xmm1, xmm2
subss xmm9, xmm1
movaps xmm0, xmm7
unpcklps xmm0, xmm8
movsd qword [rbx + 0x90], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm8
movss dword [rbx + 0x98], xmm9
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]
movaps xmm9, xmmword [rsp + 0x30]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
add rsp, 0x78
ret