Function at 0x180017fa0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
sub rsp, 0x138
cmp byte [0x1801438a4], 0
je 0x18001831f
mov qword [rax + 8], rbx
xor ebx, ebx
mov qword [rax - 8], rdi
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movabs rax, 0x837765a25378f0bb
mov qword [0x180145da8], rax
mov dword [0x18011d478], ebx
mov qword [0x18011d540], rbx
mov dword [0x18011d468], 1
call fcn.1800320a0
xorps xmm11, xmm11
xorps xmm10, xmm10
movsd xmm2, qword [rax + 0x10]
movups xmm1, xmmword [rax]
movsd qword [rsp + 0x80], xmm2
mulss xmm1, dword [0x1800da94c]
mulss xmm2, dword [0x1800da94c]
cvtss2sd xmm11, xmm1
cvtss2sd xmm10, xmm2
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
mov dword [0x18011d468], ebx
cvtsd2ss xmm1, xmm0
movabs rdi, 0xd80958fc74e988a6
mov dword [0x18011d478], ebx
mov qword [0x180145da8], rdi
andps xmm1, xmmword [0x1800decc0]
cvtps2pd xmm9, xmm1
call fcn.1800320a0
mov qword [rsp + 0x148], rbx
mov ecx, dword [rax]
movabs rax, 0x17c07fc640e86b4e
mov qword [0x180145da8], rax
mov dword [rsp + 0x148], ecx
mov rax, qword [rsp + 0x148]
mov qword [0x18011d540], rax
mov qword [rsp + 0x148], rbx
mov dword [rsp + 0x148], 0x796e
mov rax, qword [rsp + 0x148]
mov qword [0x18011d548], rax
mov qword [rsp + 0x148], rbx
mov dword [rsp + 0x148], ebx
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x148], rbx
mov qword [0x18011d550], rax
mov dword [rsp + 0x148], ebx
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x148], rbx
mov qword [0x18011d558], rax
mov dword [rsp + 0x148], ebx
mov rax, qword [rsp + 0x148]
mov qword [0x18011d560], rax
mov dword [0x18011d478], ebx
mov dword [0x18011d468], 5
call fcn.1800320a0
movsd xmm0, qword [rax + 0x10]
movups xmm12, xmmword [rax]
movabs rax, 0x14d6f5678d8f1b37
mov dword [0x18011d468], ebx
movsd qword [rsp + 0x80], xmm0
mov qword [0x180145da8], rax
mov dword [0x18011d478], ebx
call fcn.1800320a0
movaps xmm0, xmm10
movups xmm7, xmmword [rax]
movsd xmm8, qword [rax + 0x10]
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
xorps xmm1, xmmword [0x1800decf0]
cvtss2sd xmm0, xmm1
mulsd xmm0, xmm9
movss xmm6, dword [0x1800dc63c]
cvtpd2ps xmm13, xmm0
movaps xmm0, xmm10
mulss xmm13, xmm6
addss xmm13, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
shufps xmm7, xmm7, 0xaa
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm11
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm9
cvtpd2ps xmm9, xmm2
mulss xmm9, xmm6
addss xmm9, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm10, xmm10
lea ecx, [rbx + 0x10]
cvtsd2ss xmm10, xmm0
mulss xmm10, xmm6
addss xmm10, xmm8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movaps xmm11, xmmword [rsp + 0xd0]
movaps xmm8, xmmword [rsp + 0x100]
test ax, ax
jns 0x1800182db
movss xmm7, dword [rsp + 0x80]
movaps xmm6, xmm12
mov dword [rsp + 0x40], 0xff
movaps xmm3, xmm13
mov dword [rsp + 0x38], ebx
movaps xmm2, xmm7
shufps xmm6, xmm12, 0xaa
movaps xmm0, xmm12
mov dword [rsp + 0x30], 0xff
movaps xmm1, xmm6
movss dword [rsp + 0x28], xmm10
movss dword [rsp + 0x20], xmm9
call fcn.180024050
mov dword [0x18011d468], ebx
mov dword [0x18011d478], ebx
mov qword [0x180145da8], rdi
call fcn.1800320a0
movss xmm4, dword [0x1800db708]
movaps xmm3, xmm13
movss dword [rsp + 0x60], xmm4
movaps xmm2, xmm7
mov dword [rsp + 0x58], 1
movaps xmm1, xmm6
mov ecx, dword [rax]
movaps xmm0, xmm12
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], 0x476bf155
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], 0x64
movss dword [rsp + 0x28], xmm10
movss dword [rsp + 0x20], xmm9
call fcn.1800248f0
movaps xmm12, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xe0]
movaps xmm9, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0x120]
mov rdi, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x140]
movaps xmm13, xmmword [rsp + 0xb0]
add rsp, 0x138
ret