Function at 0x140007af8
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], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140092040]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor r15d, r15d
mov r14b, r15b
mov sil, r15b
and dword [rbp - 0x71], r15d
and dword [rbp - 0x6d], r15d
and dword [rbp - 0x69], r15d
lea r12d, [r15 + 1]
mov eax, r12d
xchg byte [0x1400920e0], al
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x39], rcx
lea rax, [rbp - 0x71]
mov qword [rbp - 0x31], rax
lea ecx, [r15 + 0x10]
call fcn.14006daf0
movups xmm0, xmmword [rbp - 0x39]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140008388]
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 0x140007e9d
mov al, byte [0x1400be360]
test al, al
jne 0x140007e53
movdqa xmm6, xmmword [0x1400879e0]
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
jmp 0x140007e32
lea rcx, [0x1400920f0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140007e91
cmp dword [0x14009213c], 0x7fffffff
je 0x140007e7b
lea rcx, [rbp - 9]
call fcn.14000689c
mov rcx, qword [rax]
mov qword [0x1400be368], rcx
lea rcx, [0x1400920f0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1400be400], r15b
je 0x140007e23
cmp byte [0x1400be3ec], r15b
je 0x140007e69
mov ecx, dword [0x1400bd144]
test ecx, ecx
je 0x140007c5f
sub ecx, 1
je 0x140007c45
cmp ecx, 1
jne 0x140007c7c
mov byte [0x1400bd150], r12b
jmp 0x140007c8a
mov ecx, dword [0x1400bd140]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1400bd150], al
jmp 0x140007c82
mov ecx, dword [0x1400bd140]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12b, al
je 0x140007c7c
cmp byte [0x1400bd150], r15b
sete al
jmp 0x140007c57
mov al, byte [0x1400bd150]
test al, al
je 0x140007e01
test r14b, r14b
jne 0x140007cc7
test sil, sil
je 0x140007caa
test rdi, rdi
je 0x140007caa
mov rax, qword [0x1400be418]
test rax, rax
je 0x140007caa
mov rbx, rdi
jmp 0x140007cbe
mov r14b, r12b
lea rcx, [rbp - 0x19]
call fcn.14000b3e0
mov rax, qword [rbp - 0x19]
mov rbx, qword [rbp - 0x11]
mov qword [rsp + 0x38], rbx
mov qword [rbp - 0x79], rax
test rbx, rbx
je 0x140007e01
lea rdx, [rbp - 0x39]
lea rcx, [rsp + 0x38]
call fcn.14000c3a0
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x140086f90]
jbe 0x140007e01
cmp byte [0x1400be3dd], r15b
je 0x140007d42
lea rdx, [rbp - 0x61]
lea rcx, [rsp + 0x38]
call fcn.14000c414
movss xmm0, dword [rbp - 0x61]
andps xmm0, xmm6
movss xmm1, dword [0x140092290]
comiss xmm0, xmm1
ja 0x140007d39
movss xmm0, dword [rbp - 0x5d]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x140007d39
movss xmm0, dword [rbp - 0x59]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r15b
jbe 0x140007d3c
mov al, r12b
mov byte [0x1400be405], al
mov rax, qword [0x1400be418]
test rax, rax
je 0x140007dcd
cmp byte [0x1400be3ef], r15b
je 0x140007dcd
mov qword [rsp + 0x30], rax
mov qword [rbp + 0xf], r15
mov qword [rbp + 0x17], 8
mov qword [rbp + 0x1f], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp + 7], rax
mov byte [rbp + 0xf], r15b
lea r8, [rbp + 7]
lea rdx, [rbp - 1]
lea rcx, [rsp + 0x30]
call fcn.14000bee0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140007dcd
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007dc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007e74
call fcn.14006db34
test r14b, r14b
je 0x140007dee
movsd xmm0, qword [rbp - 0x71]
movsd qword [rbp - 0x49], xmm0
mov eax, dword [rbp - 0x69]
mov dword [rbp - 0x41], eax
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.140006ab8
mov rdi, rbx
mov rax, qword [rbp - 0x79]
mov qword [0x1400be418], rax
mov sil, r12b
jmp 0x140007e1a
mov rbx, r15
mov r14b, r15b
mov sil, r15b
mov qword [rsp + 0x38], rbx
mov qword [rbp - 0x79], r15
mov qword [0x1400be418], r15
cmp dword [0x1400be3e8], r12d
je 0x140007e32
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x30]
call fcn.140007f04
mov al, byte [0x1400920e1]
test al, al
jne 0x140007bc9
mov eax, r12d
xchg byte [0x1400920e1], al
mov cl, byte [0x1400be360]
test cl, cl
je 0x140007e32
mov eax, r15d
xchg byte [0x1400920e0], al
cmp dword [rbp - 0x21], r15d
je 0x140007ead
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov qword [rsp + 0x30], 0xa
jmp 0x140007e28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [0x14009213c], 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], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14006dad0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret