Function at 0x180008670
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x118
mov rax, qword [0x1800893c0]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp byte [0x1800b6aaa], 0
je 0x180008a24
mov qword [r11 + 8], rbx
xor ebx, ebx
mov qword [r11 - 8], rdi
movabs rdi, 0xd80958fc74e988a6
mov qword [0x1800b7fc8], rdi
mov dword [0x1800a2b88], ebx
mov dword [0x1800a2b98], ebx
call fcn.18001f0a0
mov qword [rsp + 0x78], rbx
mov ecx, dword [rax]
movabs rax, 0x997abd671d25ca0b
mov qword [0x1800b7fc8], rax
mov dword [rsp + 0x78], ecx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x78], rbx
mov qword [0x1800a2c60], rax
mov dword [rsp + 0x78], 1
mov rax, qword [rsp + 0x78]
mov qword [0x1800a2c68], rax
mov dword [0x1800a2b98], ebx
mov dword [0x1800a2b88], 2
call fcn.18001f0a0
cmp dword [rax], ebx
jne 0x180008a14
movaps xmmword [rsp + 0x100], xmm6
movabs rax, 0xa200eb1ee790f448
movaps xmmword [rsp + 0xf0], xmm7
movaps xmmword [rsp + 0xe0], xmm8
movaps xmmword [rsp + 0xd0], xmm9
movaps xmmword [rsp + 0xc0], xmm10
movaps xmmword [rsp + 0xb0], xmm11
movaps xmmword [rsp + 0xa0], xmm12
mov dword [0x1800a2b88], ebx
mov dword [0x1800a2b98], ebx
mov qword [0x1800b7fc8], rax
call fcn.18001f0a0
movups xmm9, xmmword [rax]
movsd xmm11, qword [rax + 0x10]
movabs rax, 0x837765a25378f0bb
mov qword [0x1800b7fc8], rax
mov dword [0x1800a2b98], ebx
mov qword [0x1800a2c60], rbx
mov dword [0x1800a2b88], 1
call fcn.18001f0a0
xorps xmm8, xmm8
xorps xmm7, xmm7
movups xmm1, xmmword [rax]
movsd xmm2, qword [rax + 0x10]
mulss xmm1, dword [0x180073bec]
mulss xmm2, dword [0x180073bec]
cvtss2sd xmm8, xmm1
cvtss2sd xmm7, xmm2
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm7
andps xmm1, xmmword [0x180073f10]
cvtps2pd xmm6, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm1, xmm1
xorps xmm10, xmm10
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm7
xorps xmm1, xmmword [0x180073f20]
cvtss2sd xmm1, xmm1
mulsd xmm1, xmm6
cvtsd2ss xmm10, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm8
cvtps2pd xmm2, xmm1
mulsd xmm2, xmm6
cvtpd2ps xmm6, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mov dword [0x1800a2b88], ebx
mov dword [0x1800a2b98], ebx
mov qword [0x1800b7fc8], rdi
xorps xmm7, xmm7
movaps xmm8, xmm10
cvtsd2ss xmm7, xmm0
movss xmm0, dword [0x180073d78]
addss xmm8, xmm9
movaps xmm12, xmm6
shufps xmm9, xmm9, 0xaa
addss xmm11, xmm7
mulss xmm10, xmm0
addss xmm12, xmm9
mulss xmm7, xmm0
mulss xmm6, xmm0
addss xmm10, xmm8
addss xmm7, xmm11
addss xmm6, xmm12
call fcn.18001f0a0
mov qword [rsp + 0x70], rbx
mov ecx, dword [rax]
movabs rax, 0x3a87e44bb9a01d54
mov qword [0x1800b7fc8], rax
mov dword [rsp + 0x70], ecx
mov rax, qword [rsp + 0x70]
mov qword [0x1800a2c60], rax
lea rax, [rsp + 0x78]
mov qword [0x1800a2c68], rax
mov dword [0x1800a2b98], ebx
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x70]
mov qword [0x1800a2c70], rax
mov dword [0x1800a2b88], 3
call fcn.18001f0a0
mov qword [rsp + 0x70], rbx
movabs rax, 0xf3a21bcd95725a4a
mov qword [0x1800b7fc8], rax
mov dword [rsp + 0x70], 2
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rbx
mov qword [0x1800a2c60], rax
mov dword [rsp + 0x70], 0xd0
mov rax, qword [rsp + 0x70]
mov qword [0x1800a2c68], rax
mov dword [0x1800a2b98], ebx
mov dword [0x1800a2b88], 2
call fcn.18001f0a0
movaps xmm9, xmmword [rsp + 0xd0]
cmp dword [rax], ebx
jne 0x18000897b
lea ecx, [rbx + 1]
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x1800089e0
mov dword [0x1800a2b88], ebx
mov dword [0x1800a2b98], ebx
mov qword [0x1800b7fc8], rdi
call fcn.18001f0a0
movss xmm4, dword [0x180073db0]
movaps xmm3, xmm10
movss dword [rsp + 0x60], xmm4
movaps xmm2, xmm11
mov dword [rsp + 0x58], 1
movaps xmm1, xmm12
mov ecx, dword [rax]
movaps xmm0, xmm8
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x30], 0x32
movss dword [rsp + 0x28], xmm7
movss dword [rsp + 0x20], xmm6
call fcn.1800117d0
movaps xmm11, xmmword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
movaps xmm12, xmmword [rsp + 0xa0]
mov rbx, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180056550
add rsp, 0x118
ret