Function at 0x14000a4e4
Capabilities:
Create thread
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x28]
sub rsp, 0x120
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140097040]
xor rax, rsp
mov qword [rbp], rax
xor r14d, r14d
mov sil, r14b
xor eax, eax
mov qword [rbp - 0x10], rax
mov dword [rbp - 8], eax
lea eax, [r14 + 1]
xchg byte [0x1400970e0], al
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x60], rcx
lea rax, [rbp - 0x10]
mov qword [rsp + 0x68], rax
lea ecx, [r14 + 0x10]
call fcn.1400737e0
movups xmm0, xmmword [rsp + 0x60]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000abb8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x70], rax
test rax, rax
je 0x14000a846
mov al, byte [0x1401447f0]
test al, al
jne 0x14000a80e
movss xmm6, dword [0x14008bee0]
mov dil, byte [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
jmp 0x14000a7eb
lea rcx, [0x1401449f0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000a83a
cmp dword [0x140144a3c], 0x7fffffff
je 0x14000a824
lea rcx, [rbp - 0x30]
call fcn.140009280
mov rcx, qword [rax]
mov qword [0x1401447f8], rcx
lea rcx, [0x1401449f0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x140144898], r14b
je 0x14000a7eb
cmp byte [0x140144874], r14b
je 0x14000a7d8
mov ecx, dword [0x1400d1994]
test ecx, ecx
je 0x14000a641
sub ecx, 1
je 0x14000a627
cmp ecx, 1
jne 0x14000a65d
mov byte [0x1400d19a0], cl
jmp 0x14000a66b
mov ecx, dword [0x1400d1990]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1400d19a0], al
jmp 0x14000a663
mov ecx, dword [0x1400d1990]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000a65d
cmp byte [0x1400d19a0], r14b
sete al
jmp 0x14000a639
mov al, byte [0x1400d19a0]
test al, al
je 0x14000a7c1
test sil, sil
jne 0x14000a6b5
test dil, dil
je 0x14000a695
test rbx, rbx
je 0x14000a695
mov rcx, qword [0x140144880]
test rcx, rcx
je 0x14000a695
mov rax, rbx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
jmp 0x14000a6ba
mov sil, 1
lea rcx, [rbp - 0x40]
call fcn.14000e640
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x38], rax
jmp 0x14000a6ba
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x14000a7c1
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x38]
call fcn.14000f27c
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x14008b658]
jbe 0x14000a7c1
cmp byte [0x14014486a], r14b
je 0x14000a738
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14000f3b8
movss xmm0, dword [rsp + 0x50]
andps xmm0, xmm6
movss xmm1, dword [0x1400971d8]
comiss xmm0, xmm1
ja 0x14000a730
movss xmm0, dword [rsp + 0x54]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000a730
movss xmm0, dword [rsp + 0x58]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14000a732
mov al, 1
mov byte [0x1401448ac], al
mov rax, qword [0x140144880]
test rax, rax
je 0x14000a78a
cmp byte [0x140144877], r14b
je 0x14000a78a
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], 8
mov qword [rbp - 0x48], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp - 0x60], rax
mov byte [rbp - 0x58], r14b
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x70]
call fcn.14000efd8
mov rbx, qword [rsp + 0x38]
test sil, sil
je 0x14000a7b0
movsd xmm0, qword [rbp - 0x10]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [rbp - 8]
mov dword [rbp - 0x78], eax
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400095b4
mov rax, qword [rsp + 0x40]
mov qword [0x140144880], rax
mov dil, 1
jmp 0x14000a7d8
mov sil, r14b
mov dil, r14b
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r14
mov qword [0x140144880], r14
mov qword [rsp + 0x48], 1
lea rcx, [rsp + 0x48]
call fcn.140009344
mov al, byte [0x1400970e1]
test al, al
jne 0x14000a5ac
mov eax, 1
xchg byte [0x1400970e1], al
mov cl, byte [0x1401447f0]
test cl, cl
je 0x14000a7eb
mov eax, r14d
xchg byte [0x1400970e0], al
cmp dword [rbp - 0x68], r14d
je 0x14000a856
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x140144a3c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x68], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400737c0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret