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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
xor r14d, r14d
mov sil, r14b
and dword [rbp - 0x69], r14d
and dword [rbp - 0x65], r14d
and dword [rbp - 0x61], r14d
lea eax, [r14 + 1]
xchg byte [0x14009f0c0], al
lea rcx, [rbp + 0x6f]
mov qword [rbp - 0x39], rcx
lea rax, [rbp - 0x69]
mov qword [rbp - 0x31], rax
lea ecx, [r14 + 0x10]
call fcn.140077c70
movups xmm0, xmmword [rbp - 0x39]
movdqu xmmword [rax], xmm0
mov qword [rbp + 0x67], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000a7e4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14000a182
mov al, byte [0x14014d9f0]
test al, al
jne 0x14000a14a
movss xmm6, dword [0x140092590]
mov bl, byte [rbp + 0x67]
mov rdi, qword [rbp + 0x67]
jmp 0x14000a127
lea rcx, [0x14009f0d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000a176
cmp dword [0x14009f11c], 0x7fffffff
je 0x14000a160
lea rcx, [rbp + 0x7f]
call fcn.140006ddc
mov rcx, qword [rax]
mov qword [0x14014d9f8], rcx
lea rcx, [0x14009f0d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14009f0c7], r14b
je 0x14000a127
cmp byte [0x14014da76], r14b
je 0x14000a116
mov ecx, dword [0x1400daba4]
test ecx, ecx
je 0x140009f93
sub ecx, 1
je 0x140009f79
cmp ecx, 1
jne 0x140009faf
mov byte [0x1400dabb0], cl
jmp 0x140009fbd
mov ecx, dword [0x1400daba0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1400dabb0], al
jmp 0x140009fb5
mov ecx, dword [0x1400daba0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140009faf
cmp byte [0x1400dabb0], r14b
sete al
jmp 0x140009f8b
mov al, byte [0x1400dabb0]
test al, al
je 0x14000a101
test sil, sil
jne 0x14000a002
test bl, bl
je 0x140009fe4
test rdi, rdi
je 0x140009fe4
mov rax, qword [0x14014daa8]
test rax, rax
je 0x140009fe4
mov rbx, rdi
mov qword [rbp + 0x67], rbx
mov qword [rbp + 0x6f], rax
jmp 0x14000a006
mov sil, 1
lea rcx, [rbp + 7]
call fcn.14000f324
mov rax, qword [rbp + 7]
mov qword [rbp + 0x6f], rax
mov rbx, qword [rbp + 0xf]
mov qword [rbp + 0x67], rbx
jmp 0x14000a006
mov rbx, qword [rbp + 0x67]
test rbx, rbx
je 0x14000a101
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.14000ffc4
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x1400919b4]
jbe 0x14000a101
cmp byte [0x14014da63], r14b
je 0x14000a07e
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x67]
call fcn.1400100f0
movss xmm0, dword [rbp - 0x59]
andps xmm0, xmm6
movss xmm1, dword [0x14009f24c]
comiss xmm0, xmm1
ja 0x14000a076
movss xmm0, dword [rbp - 0x55]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000a076
movss xmm0, dword [rbp - 0x51]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14000a078
mov al, 1
mov byte [0x14014dab7], al
mov rax, qword [0x14014daa8]
test rax, rax
je 0x14000a0ce
cmp byte [0x14014da85], r14b
je 0x14000a0ce
mov qword [rbp + 0x77], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], 8
mov qword [rbp - 1], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp - 0x19], rax
mov byte [rbp - 0x11], r14b
lea r8, [rbp - 0x19]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 0x77]
call fcn.14000fce0
test sil, sil
je 0x14000a0ef
movsd xmm0, qword [rbp - 0x69]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [rbp - 0x61]
mov dword [rbp - 0x41], eax
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.14000719c
mov rdi, rbx
mov rax, qword [rbp + 0x6f]
mov qword [0x14014daa8], rax
mov bl, 1
jmp 0x14000a116
mov sil, r14b
mov bl, r14b
mov qword [rbp + 0x67], r14
mov qword [rbp + 0x6f], r14
mov qword [0x14014daa8], r14
mov qword [rbp + 0x77], 1
lea rcx, [rbp + 0x77]
call fcn.140006ea0
mov al, byte [0x14009f0c1]
test al, al
jne 0x140009efe
mov eax, 1
xchg byte [0x14009f0c1], al
mov cl, byte [0x14014d9f0]
test cl, cl
je 0x14000a127
mov eax, r14d
xchg byte [0x14009f0c0], al
cmp dword [rbp - 0x21], r14d
je 0x14000a192
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14009f11c], 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 - 0x21], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret