Function at 0x140009f60
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
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140131040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r14d, r14d
mov sil, r14b
mov bl, r14b
and dword [rbp - 0x69], r14d
and dword [rbp - 0x65], r14d
and dword [rbp - 0x61], r14d
lea r15d, [r14 + 1]
mov eax, r15d
xchg byte [0x1401310f0], al
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x39], rcx
lea rax, [rbp - 0x69]
mov qword [rbp - 0x31], rax
lea ecx, [r14 + 0x10]
call fcn.1400e81a0
movups xmm0, xmmword [rbp - 0x39]
movdqu xmmword [rax], xmm0
mov qword [rbp - 0x71], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000a7f8]
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 0x14000a3b0
mov al, byte [0x14022f420]
test al, al
jne 0x14000a366
movss xmm6, dword [0x14011d810]
mov rdi, qword [rbp - 0x71]
jmp 0x14000a345
lea rcx, [0x140131100]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000a3a4
cmp dword [0x14013114c], 0x7fffffff
je 0x14000a38e
lea rcx, [rbp - 9]
call fcn.140008eb4
mov rcx, qword [rax]
mov qword [0x14022f428], rcx
lea rcx, [0x140131100]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14022f4d0], r14b
je 0x14000a336
cmp byte [0x14022f4bc], r14b
je 0x14000a37c
mov ecx, dword [0x1401bc77c]
test ecx, ecx
je 0x14000a0bc
sub ecx, 1
je 0x14000a0a2
cmp ecx, 1
jne 0x14000a0d9
mov byte [0x1401bc788], r15b
jmp 0x14000a0e7
mov ecx, dword [0x1401bc778]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1401bc788], al
jmp 0x14000a0df
mov ecx, dword [0x1401bc778]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r15b, al
je 0x14000a0d9
cmp byte [0x1401bc788], r14b
sete al
jmp 0x14000a0b4
mov al, byte [0x1401bc788]
test al, al
je 0x14000a30e
test sil, sil
jne 0x14000a12e
test bl, bl
je 0x14000a10f
test rdi, rdi
je 0x14000a10f
mov rax, qword [0x14022f4e8]
test rax, rax
je 0x14000a10f
mov rbx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x79], rax
jmp 0x14000a133
mov sil, r15b
lea rcx, [rbp - 0x19]
call fcn.14000f3e0
mov rax, qword [rbp - 0x19]
mov qword [rbp - 0x79], rax
mov rbx, qword [rbp - 0x11]
mov qword [rsp + 0x30], rbx
jmp 0x14000a133
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14000a30e
lea rdx, [rbp - 0x39]
lea rcx, [rsp + 0x30]
call fcn.1400105d0
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x14011cf64]
jbe 0x14000a30e
cmp byte [0x14022f4ae], r14b
je 0x14000a1ae
lea rdx, [rbp - 0x59]
lea rcx, [rsp + 0x30]
call fcn.1400106ac
movss xmm0, dword [rbp - 0x59]
andps xmm0, xmm6
movss xmm1, dword [0x1401312a0]
comiss xmm0, xmm1
ja 0x14000a1a5
movss xmm0, dword [rbp - 0x55]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000a1a5
movss xmm0, dword [rbp - 0x51]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14000a1a8
mov al, r15b
mov byte [0x14022f4d5], al
mov rax, qword [0x14022f4e8]
test rax, rax
je 0x14000a2da
cmp byte [0x14022f4bf], r14b
je 0x14000a244
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 8
mov qword [rbp + 0x27], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp + 0xf], rax
mov byte [rbp + 0x17], r14b
lea r8, [rbp + 0xf]
lea rdx, [rbp - 1]
lea rcx, [rsp + 0x38]
call fcn.14000fed0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14000a23d
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a238
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a387
call fcn.1400e81e4
mov rax, qword [0x14022f4e8]
test rax, rax
je 0x14000a2da
cmp byte [0x14022f4be], r14b
je 0x14000a2da
lea rdx, [rbp - 0x71]
lea rcx, [0x14022f4e8]
call fcn.140010494
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x1f], 8
mov qword [rbp + 0x27], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp + 0xf], rax
mov byte [rbp + 0x17], r14b
lea r8, [rbp + 0xf]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x71]
call fcn.14000fed0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14000a2da
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a2d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a387
call fcn.1400e81e4
test sil, sil
je 0x14000a2fb
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.1400090c0
mov rdi, rbx
mov rax, qword [rbp - 0x79]
mov qword [0x14022f4e8], rax
mov bl, r15b
jmp 0x14000a324
mov sil, r14b
mov bl, r14b
mov qword [rsp + 0x30], r14
mov qword [rbp - 0x79], r14
mov qword [0x14022f4e8], r14
cmp dword [0x14022f4b8], r15d
jne 0x14000a336
cmp byte [0x1401310f8], r14b
jne 0x14000a345
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x38]
call fcn.14000a3fc
mov al, byte [0x1401310f1]
test al, al
jne 0x14000a026
mov eax, r15d
xchg byte [0x1401310f1], al
mov cl, byte [0x14022f420]
test cl, cl
je 0x14000a345
mov eax, r14d
xchg byte [0x1401310f0], al
cmp dword [rbp - 0x21], r14d
je 0x14000a3c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov qword [rsp + 0x38], 0xa
jmp 0x14000a33b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [0x14013114c], 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 + 0x2f]
xor rcx, rsp
call fcn.1400e8180
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret