Function at 0x1800202c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x78
cmp byte [0x18021edc7], 0
je 0x1800205ab
mov rax, qword [0x18021ed38]
mov qword [r11 + 0x10], rbx
mov rbx, qword [rax]
test rbx, rbx
je 0x1800205a3
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x1800205a3
mov qword [r11 - 8], rdi
mov rdi, qword [rbx + 0x30]
test rdi, rdi
je 0x18002059e
mov eax, dword [rbx + 0x98]
movsd xmm0, qword [rbx + 0x90]
mov dword [rsp + 0x28], eax
mov rax, qword [0x18021eda8]
movsd qword [rsp + 0x20], xmm0
cmp byte [rax + rbx], 0x40
je 0x18002059e
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.180001e20
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x18021ecb9]
cmp byte [0x18021edcd], 0
je 0x180020384
movd xmm0, dword [0x18021edd0]
cvtdq2ps xmm0, xmm0
jmp 0x18002039b
test ax, ax
je 0x180020393
movss xmm0, dword [0x1800b713c]
jmp 0x18002039b
movss xmm0, dword [0x1800b70f8]
movss dword [0x180183330], xmm0
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
mov ecx, dword [0x180183514]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm9, dword [rsp + 0x28]
xor esi, esi
movss xmm8, dword [rsp + 0x24]
xorps xmm6, xmm6
movss xmm7, dword [rsp + 0x20]
test ax, ax
jns 0x18002049f
mov qword [rbx + 0x320], rsi
mov dword [rbx + 0x328], esi
mov rax, qword [0x18021ed48]
test rax, rax
je 0x1800203f6
mov rax, qword [rax]
jmp 0x1800203fe
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 0x18002044a
jne 0x18002044a
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, xmm6
jp 0x18002044a
jne 0x18002044a
movd xmm3, ecx
ucomiss xmm3, xmm6
jp 0x180020450
jne 0x180020450
movsd xmm0, qword [rax + 0x40]
movss xmm3, dword [rax + 0x48]
movaps xmm1, xmm0
movsd qword [rsp + 0x20], xmm0
jmp 0x180020450
movss xmm3, dword [rsp + 0x28]
movss xmm2, dword [0x180183330]
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 [0x180183518]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x180020580
mov qword [rbx + 0x320], rsi
mov dword [rbx + 0x328], esi
mov rax, qword [0x18021ed48]
test rax, rax
je 0x1800204d2
mov rax, qword [rax]
jmp 0x1800204da
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 0x180020526
jne 0x180020526
movss xmm0, dword [rsp + 0x24]
ucomiss xmm0, xmm6
jp 0x180020526
jne 0x180020526
movd xmm2, ecx
ucomiss xmm2, xmm6
jp 0x18002052c
jne 0x18002052c
movsd xmm0, qword [rax + 0x40]
movss xmm2, dword [rax + 0x48]
movaps xmm3, xmm0
movsd qword [rsp + 0x20], xmm0
jmp 0x18002052c
movss xmm2, dword [rsp + 0x28]
movss xmm1, dword [0x180183330]
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 rsi, qword [rsp + 0x90]
movaps xmm9, xmmword [rsp + 0x30]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
add rsp, 0x78
ret