Function at 0x140009e60
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.140077cd0
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, [0x14000a7f0]
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 0x14000a18e
mov al, byte [0x14014d9f0]
test al, al
jne 0x14000a156
movss xmm6, dword [0x1400925a0]
mov bl, byte [rbp + 0x67]
mov rdi, qword [rbp + 0x67]
jmp 0x14000a133
lea rcx, [0x14009f0d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000a182
cmp dword [0x14009f11c], 0x7fffffff
je 0x14000a16c
lea rcx, [rbp + 0x7f]
call fcn.140006dcc
mov rcx, qword [rax]
mov qword [0x14014d9f8], rcx
lea rcx, [0x14009f0d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14009f0c7], r14b
je 0x14000a133
cmp byte [0x14014da76], r14b
je 0x14000a122
mov ecx, dword [0x1400daba4]
test ecx, ecx
je 0x140009f9f
sub ecx, 1
je 0x140009f85
cmp ecx, 1
jne 0x140009fbb
mov byte [0x1400dabb0], cl
jmp 0x140009fc9
mov ecx, dword [0x1400daba0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1400dabb0], al
jmp 0x140009fc1
mov ecx, dword [0x1400daba0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140009fbb
cmp byte [0x1400dabb0], r14b
sete al
jmp 0x140009f97
mov al, byte [0x1400dabb0]
test al, al
je 0x14000a10d
test sil, sil
jne 0x14000a00e
test bl, bl
je 0x140009ff0
test rdi, rdi
je 0x140009ff0
mov rax, qword [0x14014daa8]
test rax, rax
je 0x140009ff0
mov rbx, rdi
mov qword [rbp + 0x67], rbx
mov qword [rbp + 0x6f], rax
jmp 0x14000a012
mov sil, 1
lea rcx, [rbp + 7]
call fcn.14000f338
mov rax, qword [rbp + 7]
mov qword [rbp + 0x6f], rax
mov rbx, qword [rbp + 0xf]
mov qword [rbp + 0x67], rbx
jmp 0x14000a012
mov rbx, qword [rbp + 0x67]
test rbx, rbx
je 0x14000a10d
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.140010038
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x1400919b4]
jbe 0x14000a10d
cmp byte [0x14014da63], r14b
je 0x14000a08a
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x67]
call fcn.140010164
movss xmm0, dword [rbp - 0x59]
andps xmm0, xmm6
movss xmm1, dword [0x14009f24c]
comiss xmm0, xmm1
ja 0x14000a082
movss xmm0, dword [rbp - 0x55]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000a082
movss xmm0, dword [rbp - 0x51]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14000a084
mov al, 1
mov byte [0x14014dab7], al
mov rax, qword [0x14014daa8]
test rax, rax
je 0x14000a0da
cmp byte [0x14014da85], r14b
je 0x14000a0da
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.14000fcf4
test sil, sil
je 0x14000a0fb
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.14000718c
mov rdi, rbx
mov rax, qword [rbp + 0x6f]
mov qword [0x14014daa8], rax
mov bl, 1
jmp 0x14000a122
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.140006e90
mov al, byte [0x14009f0c1]
test al, al
jne 0x140009f0a
mov eax, 1
xchg byte [0x14009f0c1], al
mov cl, byte [0x14014d9f0]
test cl, cl
je 0x14000a133
mov eax, r14d
xchg byte [0x14009f0c0], al
cmp dword [rbp - 0x21], r14d
je 0x14000a19e
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