Function at 0x14000834c
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 - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14009a040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r14d, r14d
mov sil, r14b
xor eax, eax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 0x37], eax
lea eax, [r14 + 1]
xchg byte [0x14009a0c0], al
lea rcx, [rbp - 0x69]
mov qword [rbp - 0x39], rcx
lea rax, [rbp + 0x2f]
mov qword [rbp - 0x31], rax
lea ecx, [r14 + 0x10]
call fcn.1400752f0
movups xmm0, xmmword [rbp - 0x39]
movdqu xmmword [rax], xmm0
mov qword [rbp - 0x61], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140008a1c]
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 0x140008694
mov al, byte [0x140148a50]
test al, al
jne 0x14000865c
movss xmm6, dword [0x14008e3f0]
mov dil, byte [rbp - 0x71]
mov rbx, qword [rbp - 0x61]
jmp 0x140008639
lea rcx, [0x14009a0d0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140008688
cmp dword [0x14009a11c], 0x7fffffff
je 0x140008672
lea rcx, [rbp + 0x17]
call fcn.140006de4
mov rcx, qword [rax]
mov qword [0x140148a58], rcx
lea rcx, [0x14009a0d0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14009a0c7], r14b
je 0x140008639
cmp byte [0x140148ada], r14b
je 0x140008628
mov ecx, dword [0x1400d5bf4]
test ecx, ecx
je 0x1400084a2
sub ecx, 1
je 0x140008488
cmp ecx, 1
jne 0x1400084be
mov byte [0x1400d5c00], cl
jmp 0x1400084cc
mov ecx, dword [0x1400d5bf0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1400d5c00], al
jmp 0x1400084c4
mov ecx, dword [0x1400d5bf0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400084be
cmp byte [0x1400d5c00], r14b
sete al
jmp 0x14000849a
mov al, byte [0x1400d5c00]
test al, al
je 0x140008613
test sil, sil
jne 0x140008512
test dil, dil
je 0x1400084f4
test rbx, rbx
je 0x1400084f4
mov rcx, qword [0x140148b08]
test rcx, rcx
je 0x1400084f4
mov rax, rbx
mov qword [rbp - 0x79], rbx
mov qword [rbp - 0x69], rcx
jmp 0x140008516
mov sil, 1
lea rcx, [rbp + 7]
call fcn.14000cf9c
mov rax, qword [rbp + 7]
mov qword [rbp - 0x69], rax
mov rax, qword [rbp + 0xf]
mov qword [rbp - 0x79], rax
jmp 0x140008516
mov rax, qword [rbp - 0x79]
test rax, rax
je 0x140008613
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x79]
call fcn.14000dbf4
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x14008d8bc]
jbe 0x140008613
cmp byte [0x140148ad8], r14b
je 0x14000858e
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.14000dd30
movss xmm0, dword [rbp - 0x59]
andps xmm0, xmm6
movss xmm1, dword [0x14009a24c]
comiss xmm0, xmm1
ja 0x140008586
movss xmm0, dword [rbp - 0x55]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x140008586
movss xmm0, dword [rbp - 0x51]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x140008588
mov al, 1
mov byte [0x140148aee], al
mov rax, qword [0x140148b08]
test rax, rax
je 0x1400085de
cmp byte [0x140148ae9], r14b
je 0x1400085de
mov qword [rbp - 0x61], 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 + 0x27]
lea rcx, [rbp - 0x61]
call fcn.14000d944
mov rbx, qword [rbp - 0x79]
test sil, sil
je 0x140008603
movsd xmm0, qword [rbp + 0x2f]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [rbp + 0x37]
mov dword [rbp - 0x41], eax
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.1400071b4
mov rax, qword [rbp - 0x69]
mov qword [0x140148b08], rax
mov dil, 1
jmp 0x140008628
mov sil, r14b
mov dil, r14b
mov qword [rbp - 0x79], r14
mov qword [rbp - 0x69], r14
mov qword [0x140148b08], r14
mov qword [rbp - 0x61], 1
lea rcx, [rbp - 0x61]
call fcn.140006ea8
mov al, byte [0x14009a0c1]
test al, al
jne 0x14000840d
mov eax, 1
xchg byte [0x14009a0c1], al
mov cl, byte [0x140148a50]
test cl, cl
je 0x140008639
mov eax, r14d
xchg byte [0x14009a0c0], al
cmp dword [rbp - 0x21], r14d
je 0x1400086a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14009a11c], 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
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400752d0
lea r11, [rsp + 0x100]
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