Function at 0x140009fc4
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 - 0x68]
sub rsp, 0x150
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rbp + 0x38], rax
xor r14d, r14d
mov sil, r14b
mov bl, r14b
and dword [rsp + 0x40], r14d
and dword [rsp + 0x44], r14d
and dword [rsp + 0x48], r14d
lea r15d, [r14 + 1]
mov eax, r15d
xchg byte [0x1401300e0], al
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x68], rcx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x70], rax
lea ecx, [r14 + 0x10]
call fcn.1400e7870
movups xmm0, xmmword [rsp + 0x68]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x68], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000a84c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x14000a435
mov al, byte [0x14022e370]
test al, al
jne 0x14000a3f6
movss xmm6, dword [0x14011c650]
mov rdi, qword [rsp + 0x50]
jmp 0x14000a3d5
lea rcx, [0x14022e530]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000a429
cmp dword [0x14022e57c], 0x7fffffff
je 0x14000a413
lea rcx, [rbp - 0x30]
call fcn.140009124
mov rcx, qword [rax]
mov qword [0x14022e378], rcx
lea rcx, [0x14022e530]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14022e428], r14b
je 0x14000a3c6
cmp byte [0x14022e414], r14b
je 0x14000a3b8
mov ecx, dword [0x1401bb6cc]
test ecx, ecx
je 0x14000a12a
sub ecx, 1
je 0x14000a110
cmp ecx, 1
jne 0x14000a147
mov byte [0x1401bb6d8], r15b
jmp 0x14000a155
mov ecx, dword [0x1401bb6c8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1401bb6d8], al
jmp 0x14000a14d
mov ecx, dword [0x1401bb6c8]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r15b, al
je 0x14000a147
cmp byte [0x1401bb6d8], r14b
sete al
jmp 0x14000a122
mov al, byte [0x1401bb6d8]
test al, al
je 0x14000a385
test sil, sil
jne 0x14000a19e
test bl, bl
je 0x14000a17e
test rdi, rdi
je 0x14000a17e
mov rax, qword [0x14022e438]
test rax, rax
je 0x14000a17e
mov rbx, rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rax
jmp 0x14000a1a3
mov sil, r15b
lea rcx, [rbp - 0x40]
call fcn.14000ec78
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov rbx, qword [rbp - 0x38]
mov qword [rsp + 0x30], rbx
jmp 0x14000a1a3
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14000a385
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x30]
call fcn.14000fce0
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x14011be94]
jbe 0x14000a385
cmp byte [0x14022e406], r14b
je 0x14000a222
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.14000fdbc
movss xmm0, dword [rsp + 0x58]
andps xmm0, xmm6
movss xmm1, dword [0x1401301f0]
comiss xmm0, xmm1
ja 0x14000a219
movss xmm0, dword [rsp + 0x5c]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000a219
movss xmm0, dword [rsp + 0x60]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14000a21c
mov al, r15b
mov byte [0x14022e42d], al
mov rax, qword [0x14022e438]
test rax, rax
je 0x14000a34e
cmp byte [0x14022e417], r14b
je 0x14000a2b8
mov qword [rsp + 0x78], rax
mov qword [rbp], r14
mov qword [rbp + 8], 8
mov qword [rbp + 0x10], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp - 8], rax
mov byte [rbp], r14b
lea r8, [rbp - 8]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x78]
call fcn.14000f764
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x14000a2b1
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a2ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a40c
call fcn.1400e78b4
mov rax, qword [0x14022e438]
test rax, rax
je 0x14000a34e
cmp byte [0x14022e416], r14b
je 0x14000a34e
lea rdx, [rbp - 0x80]
lea rcx, [0x14022e438]
call fcn.14000fbb0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], 8
mov qword [rbp + 0x30], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp + 0x18], rax
mov byte [rbp + 0x20], r14b
lea r8, [rbp + 0x18]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.14000f764
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14000a34e
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a349
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a40c
call fcn.1400e78b4
test sil, sil
je 0x14000a371
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x58], eax
lea rdx, [rbp - 0x60]
mov rcx, rbx
call fcn.140009338
mov rdi, rbx
mov rax, qword [rsp + 0x38]
mov qword [0x14022e438], rax
mov bl, r15b
jmp 0x14000a39c
mov sil, r14b
mov bl, r14b
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [0x14022e438], r14
cmp dword [0x14022e410], r15d
jne 0x14000a3ae
cmp byte [0x14013016c], r14b
jne 0x14000a3d5
mov qword [rbp - 0x78], r15
lea rcx, [rbp - 0x78]
jmp 0x14000a3d0
mov qword [rbp - 0x70], 0xa
lea rcx, [rbp - 0x70]
jmp 0x14000a3d0
mov qword [rsp + 0x50], r15
lea rcx, [rsp + 0x50]
call fcn.14000a480
mov al, byte [0x1401300e1]
test al, al
jne 0x14000a094
mov eax, r15d
xchg byte [0x1401300e1], al
mov cl, byte [0x14022e370]
test cl, cl
je 0x14000a3d5
mov eax, r14d
xchg byte [0x1401300e0], al
cmp dword [rbp - 0x48], r14d
je 0x14000a445
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [0x14022e57c], 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 - 0x48], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.1400e7850
lea r11, [rsp + 0x150]
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