Function at 0x140007310
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x80
mov rdx, qword [rcx + 0x1a0]
mov rbx, rcx
movss xmm2, dword [0x1400dfc40]
add rdx, 0x10
movaps xmmword [rsp + 0x60], xmm7
xorps xmm7, xmm7
movaps xmmword [rsp + 0x50], xmm8
xorps xmm8, xmm8
movaps xmmword [rsp + 0x40], xmm9
xorps xmm9, xmm9
call fcn.14000d080
cmp byte [0x1401d94ad], 0
je 0x140007579
cmp byte [0x1401d95fb], 0
jne 0x140007579
cmp byte [0x1401d94f6], 0
jne 0x140007579
movaps xmmword [rsp + 0x70], xmm6
mov ecx, 0x57
movaps xmmword [rsp + 0x30], xmm10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movsd xmm10, qword [0x1400dfbe0]
test ax, ax
jns 0x1400073fa
movss xmm0, dword [rbx + 0x17c]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movss xmm6, dword [rbx + 0x180]
xorps xmm7, xmm7
cvtps2pd xmm6, xmm6
cvtsd2ss xmm7, xmm0
mulsd xmm6, xmm10
addss xmm7, xmm8
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm9, xmm9
cvtsd2ss xmm9, xmm0
movaps xmm0, xmm6
addss xmm9, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
addss xmm1, xmm8
movaps xmm8, xmm1
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140007462
movss xmm0, dword [rbx + 0x17c]
cvtps2pd xmm0, xmm0
mulsd xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
movss xmm6, dword [rbx + 0x180]
xorps xmm1, xmm1
cvtps2pd xmm6, xmm6
cvtsd2ss xmm1, xmm0
mulsd xmm6, xmm10
subss xmm7, xmm1
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm6
subss xmm9, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
subss xmm8, xmm1
mov ecx, 0x41
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400074aa
movss xmm6, dword [rbx + 0x180]
cvtps2pd xmm6, xmm6
mulsd xmm6, xmm10
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm6
subss xmm9, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
addss xmm8, xmm1
mov ecx, 0x44
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400074f2
movss xmm6, dword [rbx + 0x180]
cvtps2pd xmm6, xmm6
mulsd xmm6, xmm10
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm6
addss xmm9, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
subss xmm8, xmm1
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm6, dword [0x1400dfe84]
movaps xmm10, xmmword [rsp + 0x30]
test ax, ax
jns 0x140007514
addss xmm7, xmm6
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000752c
addss xmm7, dword [0x1400dfbd0]
movss xmm1, dword [0x1400f2234]
lea rdx, [rsp + 0x20]
movaps xmm0, xmm1
mulss xmm7, xmm6
mov rcx, rbx
mulss xmm0, xmm9
mulss xmm7, xmm1
mulss xmm1, xmm8
addss xmm0, xmm0
addss xmm7, xmm7
addss xmm1, xmm1
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm7
movss dword [rsp + 0x28], xmm1
call fcn.140007250
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
add rsp, 0x80
pop rbx
ret