Function at 0x1400aa480
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov r14, r9
movaps xmm7, xmm2
mov rdi, rdx
mov rbx, rcx
xor ebp, ebp
mov dword [rax - 0x68], ebp
mov rsi, qword [0x14017bdc8]
mov rax, qword [rsi + 0x3ea8]
mov byte [rax + 0x98], 1
mov rax, qword [rsi + 0x3ea8]
cmp byte [rax + 0x9b], bpl
je 0x1400aa4db
xor al, al
jmp 0x1400aa740
movsxd r8, dword [rax + 0xd0]
mov rax, qword [rax + 0xd8]
mov r8d, dword [rax + r8*4 - 4]
xor edx, edx
call fcn.140011b70
cmp dword [rsi + 0x3edc], eax
jne 0x1400aa513
mov r8, rbx
mov edx, 0xb
mov ecx, eax
call fcn.1400328e0
mov rsi, qword [0x14017bdc8]
mov rcx, rbx
cmp rbx, 0xffffffffffffffff
jae 0x1400aa53d
nop dword [rax]
movzx edx, byte [rcx]
test dl, dl
je 0x1400aa53d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400aa534
cmp byte [rax], dl
je 0x1400aa53d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400aa520
movss xmm6, dword [0x14015c1b0]
cmp rbx, rcx
je 0x1400aa580
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
movss dword [rsp + 0x20], xmm6
movss xmm3, dword [0x14015c184]
movss xmm2, dword [rsi + 0x3c18]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsi + 0x3c10]
call fcn.140070f20
xor edx, edx
mov r8d, 1
mov rcx, rbx
call fcn.14007cea0
movaps xmm1, xmm6
movaps xmm0, xmm7
call fcn.1400229f0
mov edx, dword [rdi]
test edx, edx
jne 0x1400aa5aa
lea rax, [0x1400ecb50]
jmp 0x1400aa5c8
lea rcx, [rsp + 0x48]
call fcn.1400b6e70
nop
mov ebp, 1
mov dword [rsp + 0x40], ebp
cmp qword [rax + 0x18], 0xf
jbe 0x1400aa5c8
mov rax, qword [rax]
xor r8d, r8d
mov rdx, r14
mov rcx, rax
call fcn.14007e8c0
nop
test bpl, 1
je 0x1400aa630
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400aa61d
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aa618
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400aa618
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400defdc
movdqa xmm0, xmmword [0x14015c230]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rcx, qword [0x14017bdc8]
mov rdx, qword [rcx + 0x3ea8]
cmp byte [rcx + 0x40fb], 0
je 0x1400aa67c
cmp byte [rcx + 0x40fa], 0
jne 0x1400aa67c
test byte [rcx + 0x3f74], 4
jne 0x1400aa73e
mov eax, dword [rcx + 0x40c0]
cmp eax, dword [rcx + 0x3f70]
jne 0x1400aa73e
test eax, eax
je 0x1400aa73e
jmp 0x1400aa718
mov eax, dword [rcx + 0x3f78]
test al, 1
je 0x1400aa73e
cmp qword [rcx + 0x3eb0], rdx
je 0x1400aa69b
test al, al
jns 0x1400aa73e
mov eax, dword [rcx + 0x3ef4]
test eax, eax
je 0x1400aa6bf
cmp eax, dword [rcx + 0x3f70]
je 0x1400aa6bf
cmp byte [rcx + 0x3f01], 0
jne 0x1400aa6bf
cmp eax, dword [rdx + 0x5c]
jne 0x1400aa73e
mov rax, qword [rcx + 0x40b8]
test rax, rax
je 0x1400aa6fb
mov rax, qword [rax + 0x360]
test rax, rax
je 0x1400aa6fb
cmp byte [rax + 0x97], 0
je 0x1400aa6fb
cmp rax, qword [rdx + 0x360]
je 0x1400aa6fb
mov r8d, dword [rax + 0xc]
bt r8d, 0x1b
jb 0x1400aa73e
bt r8d, 0x1a
jb 0x1400aa73e
test byte [rcx + 0x3f74], 4
jne 0x1400aa73e
mov eax, dword [rdx + 0x5c]
cmp dword [rcx + 0x3f70], eax
jne 0x1400aa718
cmp byte [rdx + 0x98], 0
jne 0x1400aa73e
mov ebx, 4
nop dword [rax]
cmp ebx, 0x1b
je 0x1400aa734
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400aa734
mov dword [rdi], ebx
inc ebx
cmp ebx, 0xe7
jle 0x1400aa720
mov al, 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret