Function at 0x14000d834
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
xor eax, eax
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x61], eax
lea eax, [r14 + 1]
xchg byte [0x1401290f0], 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.1400ded30
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, [0x14000dc28]
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 0x14000db8d
mov al, byte [0x1406ac384]
test al, al
jne 0x14000db55
movss xmm6, dword [0x140115970]
mov bl, byte [rbp + 0x67]
mov rdi, qword [rbp + 0x67]
jmp 0x14000db32
lea rcx, [0x140129100]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000db81
cmp dword [0x14012914c], 0x7fffffff
je 0x14000db6b
lea rcx, [rbp + 0x7f]
call fcn.14000c7ec
mov rcx, qword [rax]
mov qword [0x1406ac390], rcx
lea rcx, [0x140129100]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1406ac42b], r14b
je 0x14000db32
cmp byte [0x1406ac40b], r14b
je 0x14000dafc
mov ecx, dword [0x14063968c]
test ecx, ecx
je 0x14000d970
sub ecx, 1
je 0x14000d956
cmp ecx, 1
jne 0x14000d98c
mov byte [0x140639698], cl
jmp 0x14000d99a
mov ecx, dword [0x140639688]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x140639698], al
jmp 0x14000d992
mov ecx, dword [0x140639688]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000d98c
cmp byte [0x140639698], r14b
sete al
jmp 0x14000d968
mov al, byte [0x140639698]
test al, al
je 0x14000dae7
test sil, sil
jne 0x14000d9e8
cmp byte [0x1406ac436], r14b
je 0x14000d9ca
test bl, bl
je 0x14000d9ca
test rdi, rdi
je 0x14000d9ca
mov rax, qword [0x1406ac448]
test rax, rax
je 0x14000d9ca
mov rbx, rdi
mov qword [rbp + 0x67], rbx
mov qword [rbp + 0x6f], rax
jmp 0x14000d9ec
mov sil, 1
lea rcx, [rbp + 7]
call fcn.1400106b8
mov rax, qword [rbp + 7]
mov qword [rbp + 0x6f], rax
mov rbx, qword [rbp + 0xf]
mov qword [rbp + 0x67], rbx
jmp 0x14000d9ec
mov rbx, qword [rbp + 0x67]
test rbx, rbx
je 0x14000dae7
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 0x67]
call fcn.140011584
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x1401150a0]
jbe 0x14000dae7
cmp byte [0x1406ac409], r14b
je 0x14000da64
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x67]
call fcn.1400116c8
movss xmm0, dword [rbp - 0x59]
andps xmm0, xmm6
movss xmm1, dword [0x14012923c]
comiss xmm0, xmm1
ja 0x14000da5c
movss xmm0, dword [rbp - 0x55]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000da5c
movss xmm0, dword [rbp - 0x51]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14000da5e
mov al, 1
mov byte [0x1406ac434], al
mov rax, qword [0x1406ac448]
test rax, rax
je 0x14000dab4
cmp byte [0x1406ac42a], r14b
je 0x14000dab4
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.1400112d4
test sil, sil
je 0x14000dad5
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.14000cb90
mov rdi, rbx
mov rax, qword [rbp + 0x6f]
mov qword [0x1406ac448], rax
mov bl, 1
jmp 0x14000dafc
mov sil, r14b
mov bl, r14b
mov qword [rbp + 0x67], r14
mov qword [rbp + 0x6f], r14
mov qword [0x1406ac448], r14
mov eax, dword [0x140129200]
test eax, eax
jne 0x14000db10
mov qword [rbp + 0x77], 1
jmp 0x14000db29
cmp eax, 1
jne 0x14000db1c
or qword [rbp + 0x77], 0xffffffffffffffff
jmp 0x14000db29
cmp eax, 2
jne 0x14000db32
mov qword [rbp + 0x77], 5
lea rcx, [rbp + 0x77]
call fcn.14000c8b0
mov al, byte [0x1401290f1]
test al, al
jne 0x14000d8db
mov eax, 1
xchg byte [0x1401290f1], al
mov cl, byte [0x1406ac384]
test cl, cl
je 0x14000db32
mov eax, r14d
xchg byte [0x1401290f0], al
cmp dword [rbp - 0x21], r14d
je 0x14000db9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14012914c], 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