Function at 0x180016380
Capabilities:
Log keystrokes via polling

Disassembly:
mov r11, rsp
sub rsp, 0x138
mov rax, qword [0x18011f3c0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
cmp byte [0x180176de6], 0
je 0x1800166e6
mov qword [r11 + 8], rbx
movabs rax, 0x837765a25378f0bb
mov qword [r11 - 8], rdi
xor ebx, ebx
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
movaps xmmword [r11 - 0x58], xmm10
movaps xmmword [r11 - 0x68], xmm11
movaps xmmword [r11 - 0x78], xmm12
movaps xmmword [r11 - 0x88], xmm13
mov dword [0x180138ba8], ebx
mov qword [0x180178a98], rax
mov qword [0x180138c70], rbx
mov dword [0x180138b98], 1
call fcn.180028960
xorps xmm11, xmm11
xorps xmm10, xmm10
movsd xmm2, qword [rax + 0x10]
movups xmm1, xmmword [rax]
movsd qword [rsp + 0xa0], xmm2
mulss xmm1, dword [0x180104158]
mulss xmm2, dword [0x180104158]
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 [0x180138b98], ebx
cvtsd2ss xmm1, xmm0
movabs rdi, 0xd80958fc74e988a6
mov dword [0x180138ba8], ebx
mov qword [0x180178a98], rdi
andps xmm1, xmmword [0x1801045c0]
cvtps2pd xmm9, xmm1
call fcn.180028960
mov qword [rsp + 0x70], rbx
mov ecx, dword [rax]
movabs rax, 0x17c07fc640e86b4e
mov qword [0x180178a98], rax
mov dword [rsp + 0x70], ecx
mov rax, qword [rsp + 0x70]
mov qword [0x180138c70], rax
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x70], 0x796e
mov rax, qword [rsp + 0x70]
mov qword [0x180138c78], rax
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x70], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rbx
mov qword [0x180138c80], rax
mov dword [rsp + 0x70], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x70], rbx
mov qword [0x180138c88], rax
mov dword [rsp + 0x70], ebx
mov rax, qword [rsp + 0x70]
mov qword [0x180138c90], rax
mov dword [0x180138ba8], ebx
mov dword [0x180138b98], 5
call fcn.180028960
movsd xmm0, qword [rax + 0x10]
movups xmm12, xmmword [rax]
movabs rax, 0x14d6f5678d8f1b37
mov dword [0x180138b98], ebx
movsd qword [rsp + 0xa0], xmm0
mov qword [0x180178a98], rax
mov dword [0x180138ba8], ebx
call fcn.180028960
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 [0x1801045e0]
cvtss2sd xmm0, xmm1
mulsd xmm0, xmm9
movss xmm6, dword [0x180104408]
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 0x1800166a2
movss xmm7, dword [rsp + 0xa0]
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.18001a610
mov dword [0x180138b98], ebx
mov dword [0x180138ba8], ebx
mov qword [0x180178a98], rdi
call fcn.180028960
movss xmm4, dword [0x18010434c]
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.18001b1d0
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]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18006e870
add rsp, 0x138
ret