Function at 0x1400aff40
Capabilities:
Log keystrokes via polling

Disassembly:
test rcx, rcx
je 0x1400b02f6
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140323680]
xor rax, rsp
mov qword [rbp - 0x60], rax
cmp byte [0x140323ca2], 0
mov rdi, rdx
mov rbx, rcx
movaps xmmword [rsp + 0x110], xmm6
je 0x1400affb1
add rcx, 0x2e0
call fcn.1400ade80
lea rcx, [rbx + 0x2e8]
movaps xmm6, xmm0
call fcn.1400ade80
addss xmm0, dword [0x14023fad8]
comiss xmm0, xmm6
jb 0x1400b02ce
mov r8d, dword [0x14031e034]
lea rcx, [rsp + 0x50]
movaps xmmword [rsp + 0xf0], xmm8
mov rdx, rbx
movaps xmmword [rsp + 0xe0], xmm9
call fcn.1400b3e00
movups xmm8, xmmword [rsp + 0x50]
lea rdx, [rbp - 0x80]
movsd xmm9, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
movaps xmmword [rbp - 0x80], xmm8
movsd qword [rbp - 0x70], xmm9
call fcn.1400b4fc0
xor ebx, ebx
cmp byte [0x140323ca1], bl
je 0x1400b0222
mov rcx, qword [0x140323d60]
add rcx, qword [0x14031e088]
movaps xmmword [rsp + 0x100], xmm7
movaps xmmword [rsp + 0xd0], xmm10
movaps xmmword [rsp + 0xc0], xmm11
movaps xmmword [rsp + 0xb0], xmm12
call fcn.1400ade80
mov rcx, qword [0x140323d60]
movaps xmm12, xmm0
add rcx, qword [0x14031e090]
call fcn.1400ade80
mov rcx, qword [0x140323cf8]
movaps xmm7, xmm0
add rcx, rdi
call fcn.1400ae030
add rax, qword [0x140323d30]
lea r8, [rsp + 0x50]
mov rcx, qword [0x140323aa8]
xorps xmm1, xmm1
mov qword [rsp + 0x58], rax
mov r9d, Ordinal_41
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x60], rax
mov edx, 0x22658c
mov eax, dword [0x140323ab0]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x54], eax
movsd qword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
mov dword [rsp + 0x71], ebx
mov word [rsp + 0x75], bx
mov byte [rsp + 0x77], bl
mov dword [rsp + 0x50], 0x85f8ac8
mov qword [rsp + 0x68], Ordinal_27
mov byte [rsp + 0x70], bl
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
movss xmm6, dword [0x14023b6cc]
movaps xmm11, xmm8
unpckhpd xmm11, xmm8
movaps xmm1, xmm6
movaps xmm0, xmm11
subsd xmm0, qword [0x14031e0a0]
cvtsd2ss xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm10, xmm0
movaps xmm1, xmm6
movaps xmm0, xmm8
subsd xmm0, qword [0x14031e098]
cvtsd2ss xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
movaps xmm2, xmm9
addss xmm10, xmm0
subsd xmm2, qword [0x14031e0a8]
movaps xmm1, xmm6
cvtpd2ps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_powf
addss xmm10, xmm0
xorps xmm1, xmm1
ucomiss xmm1, xmm10
ja 0x1400b0161
xorps xmm0, xmm0
sqrtss xmm0, xmm10
jmp 0x1400b016a
movaps xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
andps xmm7, xmmword [0x14023b790]
lea rdx, [rsp + 0x50]
divss xmm0, xmm12
lea rcx, [rsp + 0x40]
xorps xmm3, xmm3
cvtss2sd xmm3, xmm0
mulss xmm0, xmm0
movaps xmm1, xmm3
movaps xmm2, xmm3
mulsd xmm1, qword [rbp - 0x80]
mulsd xmm3, qword [rbp - 0x70]
mulsd xmm2, qword [rbp - 0x78]
mulss xmm7, xmm0
addsd xmm1, xmm8
xorps xmm0, xmm0
addsd xmm3, xmm9
addsd xmm2, xmm11
cvtss2sd xmm0, xmm7
movsd qword [rsp + 0x50], xmm1
mulsd xmm0, qword [0x14023fde8]
movsd qword [rsp + 0x58], xmm2
cvtpd2ps xmm0, xmm0
cvtps2pd xmm1, xmm0
addsd xmm1, xmm3
movsd qword [rsp + 0x60], xmm1
call fcn.1400b4fc0
movsd xmm1, qword [rsp + 0x48]
movsd xmm0, qword [rsp + 0x40]
cvtpd2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
call fcn.1400afd90
movaps xmm12, xmmword [rsp + 0xb0]
movaps xmm11, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0x100]
jmp 0x1400b023b
movsd xmm1, qword [rsp + 0x48]
movsd xmm0, qword [rsp + 0x40]
cvtpd2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
call fcn.1400afd90
cmp byte [0x140323ca3], bl
movaps xmm9, xmmword [rsp + 0xe0]
movaps xmm8, xmmword [rsp + 0xf0]
je 0x1400b02ce
mov ecx, dword [reloc.WS2_32.dll_bind]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400b02ce
xorps xmm0, xmm0
mov dword [rsp + 0x50], ebx
xorps xmm1, xmm1
mov dword [rsp + 0x64], 2
mov r8d, Ordinal_41
lea rdx, [rsp + 0x50]
mov ecx, 1
movdqu xmmword [rsp + 0x54], xmm0
movdqu xmmword [rsp + 0x68], xmm1
call qword [sym.imp.USER32.dll_SendInput]
xorps xmm0, xmm0
mov dword [rsp + 0x50], ebx
xorps xmm1, xmm1
mov dword [rsp + 0x64], 4
mov r8d, Ordinal_41
lea rdx, [rsp + 0x50]
mov ecx, 1
movdqu xmmword [rsp + 0x54], xmm0
movdqu xmmword [rsp + 0x68], xmm1
call qword [sym.imp.USER32.dll_SendInput]
movaps xmm6, xmmword [rsp + 0x110]
mov rcx, qword [rbp - 0x60]
xor rcx, rsp
call fcn.140234c60
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret