Function at 0x1400083d4
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 [0x1400f7040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r15d, r15d
mov r14b, r15b
mov sil, r15b
and dword [rbp - 0x69], r15d
and dword [rbp - 0x65], r15d
and dword [rbp - 0x61], r15d
lea r12d, [r15 + 1]
mov eax, r12d
xchg byte [0x1400f70f0], al
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x39], rcx
lea rax, [rbp - 0x69]
mov qword [rbp - 0x31], rax
lea ecx, [r15 + 0x10]
call fcn.1400b68e0
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], r15d
mov r9, rax
lea r8, [0x140008c8c]
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 0x140008818
mov al, byte [0x1400f8020]
test al, al
jne 0x1400087ce
movdqa xmm6, xmmword [0x1400e69e0]
mov rdi, qword [rbp - 0x71]
mov rbx, qword [rsp + 0x30]
jmp 0x1400087ad
lea rcx, [0x1400f7100]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000880c
cmp dword [0x1400f714c], 0x7fffffff
je 0x1400087f6
lea rcx, [rbp - 9]
call fcn.1400074b0
mov rcx, qword [rax]
mov qword [0x1400f8028], rcx
lea rcx, [0x1400f7100]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x1400f8082], r15b
je 0x14000879e
cmp byte [0x1400f8072], r15b
je 0x1400087e4
mov ecx, dword [0x1400f729c]
test ecx, ecx
je 0x140008539
sub ecx, 1
je 0x14000851f
cmp ecx, 1
jne 0x140008556
mov byte [0x1400f72a8], r12b
jmp 0x140008564
mov ecx, dword [0x1400f7298]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1400f72a8], al
jmp 0x14000855c
mov ecx, dword [0x1400f7298]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r12b, al
je 0x140008556
cmp byte [0x1400f72a8], r15b
sete al
jmp 0x140008531
mov al, byte [0x1400f72a8]
test al, al
je 0x140008773
test r14b, r14b
jne 0x1400085a1
test sil, sil
je 0x140008584
test rdi, rdi
je 0x140008584
mov rax, qword [0x1400f8078]
test rax, rax
je 0x140008584
mov rbx, rdi
jmp 0x140008598
mov r14b, r12b
lea rcx, [rbp - 0x19]
call fcn.14000b8cc
mov rax, qword [rbp - 0x19]
mov rbx, qword [rbp - 0x11]
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x79], rax
test rbx, rbx
je 0x140008773
lea rdx, [rbp - 0x39]
lea rcx, [rsp + 0x30]
call fcn.14000c668
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x1400e6264]
jbe 0x140008773
lea rdx, [rbp - 0x59]
lea rcx, [rsp + 0x30]
call fcn.14000c6dc
movss xmm0, dword [rbp - 0x59]
andps xmm0, xmm6
movss xmm1, dword [0x1400e63e8]
comiss xmm0, xmm1
ja 0x14000860a
movss xmm0, dword [rbp - 0x55]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000860a
movss xmm0, dword [rbp - 0x51]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r15b
jbe 0x14000860d
mov al, r12b
mov byte [0x1400f80a0], al
mov rax, qword [0x1400f8078]
test rax, rax
je 0x14000873f
cmp byte [0x1400f8081], r15b
je 0x1400086a9
mov qword [rsp + 0x38], rax
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 8
mov qword [rbp + 0x27], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp + 0xf], rax
mov byte [rbp + 0x17], r15b
lea r8, [rbp + 0xf]
lea rdx, [rbp - 1]
lea rcx, [rsp + 0x38]
call fcn.14000c1e0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x1400086a2
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000869d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400087ef
call fcn.1400b6924
mov rax, qword [0x1400f8078]
test rax, rax
je 0x14000873f
cmp byte [0x1400f8080], r15b
je 0x14000873f
lea rdx, [rbp - 0x71]
lea rcx, [0x1400f8078]
call fcn.14000c52c
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], 8
mov qword [rbp + 0x27], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp + 0xf], rax
mov byte [rbp + 0x17], r15b
lea r8, [rbp + 0xf]
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x71]
call fcn.14000c1e0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0xf
jbe 0x14000873f
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000873a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400087ef
call fcn.1400b6924
test r14b, r14b
je 0x140008760
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.1400076bc
mov rdi, rbx
mov rax, qword [rbp - 0x79]
mov qword [0x1400f8078], rax
mov sil, r12b
jmp 0x14000878c
mov rbx, r15
mov r14b, r15b
mov sil, r15b
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x79], r15
mov qword [0x1400f8078], r15
cmp dword [0x1400f8074], r12d
jne 0x14000879e
cmp byte [0x1400f8086], r15b
jne 0x1400087ad
mov qword [rsp + 0x38], r12
lea rcx, [rsp + 0x38]
call fcn.140008868
mov al, byte [0x1400f70f1]
test al, al
jne 0x1400084a3
mov eax, r12d
xchg byte [0x1400f70f1], al
mov cl, byte [0x1400f8020]
test cl, cl
je 0x1400087ad
mov eax, r15d
xchg byte [0x1400f70f0], al
cmp dword [rbp - 0x21], r15d
je 0x140008828
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov qword [rsp + 0x38], 0xa
jmp 0x1400087a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [0x1400f714c], 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 + 0x2f]
xor rcx, rsp
call fcn.1400b68c0
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