Function at 0x14000a240
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 [0x14012f040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r14d, r14d
mov sil, r14b
mov dil, r14b
xor eax, eax
mov qword [rbp + 0x1f], rax
mov dword [rbp + 0x27], eax
lea r15d, [r14 + 1]
mov eax, r15d
xchg byte [0x14012f0f0], al
lea rcx, [rsp + 0x38]
mov qword [rbp - 0x49], rcx
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x41], rax
lea ecx, [r14 + 0x10]
call fcn.1400e6700
movups xmm0, xmmword [rbp - 0x49]
movdqu xmmword [rax], xmm0
mov qword [rbp - 0x71], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000aa38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x14000a67d
mov al, byte [0x14022d420]
test al, al
jne 0x14000a63e
movss xmm6, dword [0x14011b940]
mov rbx, qword [rbp - 0x71]
jmp 0x14000a61d
lea rcx, [0x14012f100]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000a671
cmp dword [0x14012f14c], 0x7fffffff
je 0x14000a65b
lea rcx, [rbp - 0x19]
call fcn.1400022e0
mov rcx, qword [rax]
mov qword [0x14022d428], rcx
lea rcx, [0x14012f100]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14022d4d1], r14b
je 0x14000a610
cmp byte [0x14022d4b5], r14b
je 0x14000a607
mov ecx, dword [0x1401ba77c]
test ecx, ecx
je 0x14000a39a
sub ecx, 1
je 0x14000a380
cmp ecx, 1
jne 0x14000a3b7
mov byte [0x1401ba788], r15b
jmp 0x14000a3c5
mov ecx, dword [0x1401ba778]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [0x1401ba788], al
jmp 0x14000a3bd
mov ecx, dword [0x1401ba778]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test r15b, al
je 0x14000a3b7
cmp byte [0x1401ba788], r14b
sete al
jmp 0x14000a392
mov al, byte [0x1401ba788]
test al, al
je 0x14000a5f0
test sil, sil
jne 0x14000a40f
test dil, dil
je 0x14000a3ef
test rbx, rbx
je 0x14000a3ef
mov rcx, qword [0x14022d4e8]
test rcx, rcx
je 0x14000a3ef
mov rax, rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rcx
jmp 0x14000a414
mov sil, r15b
lea rcx, [rbp - 0x29]
call fcn.14000f63c
mov rax, qword [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x21]
mov qword [rsp + 0x30], rax
jmp 0x14000a414
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14000a5f0
lea rdx, [rbp - 0x49]
lea rcx, [rsp + 0x30]
call fcn.14001066c
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x14011b14c]
jbe 0x14000a5f0
cmp byte [0x14022d4af], r14b
je 0x14000a48f
lea rdx, [rbp - 0x69]
lea rcx, [rsp + 0x30]
call fcn.1400107a8
movss xmm0, dword [rbp - 0x69]
andps xmm0, xmm6
movss xmm1, dword [0x14012f2a4]
comiss xmm0, xmm1
ja 0x14000a486
movss xmm0, dword [rbp - 0x65]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000a486
movss xmm0, dword [rbp - 0x61]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14000a489
mov al, r15b
mov byte [0x14022d4d6], al
mov rax, qword [0x14022d4e8]
test rax, rax
je 0x14000a5b9
cmp byte [0x14022d4d0], r14b
je 0x14000a523
mov qword [rbp - 0x79], rax
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], 8
mov qword [rbp + 0x17], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp - 1], rax
mov byte [rbp + 7], r14b
lea r8, [rbp - 1]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x79]
call fcn.14000ffcc
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14000a51c
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a517
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a654
call fcn.1400e6984
mov rax, qword [0x14022d4e8]
test rax, rax
je 0x14000a5b9
cmp byte [0x14022d4b7], r14b
je 0x14000a5b9
lea rdx, [rbp - 0x71]
lea rcx, [0x14022d4e8]
call fcn.140010598
mov qword [rbp + 7], r14
mov qword [rbp + 0xf], 8
mov qword [rbp + 0x17], 0xf
mov rax, qword [str.Humanoid]
mov qword [rbp - 1], rax
mov byte [rbp + 7], r14b
lea r8, [rbp - 1]
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x71]
call fcn.14000ffcc
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x14000a5b9
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a5b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a654
call fcn.1400e6984
mov rbx, qword [rsp + 0x30]
test sil, sil
je 0x14000a5df
movsd xmm0, qword [rbp + 0x1f]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [rbp + 0x27]
mov dword [rbp - 0x51], eax
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.1400093c4
mov rax, qword [rsp + 0x38]
mov qword [0x14022d4e8], rax
mov dil, r15b
jmp 0x14000a607
mov sil, r14b
mov dil, r14b
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
mov qword [0x14022d4e8], r14
cmp dword [0x14022d4b0], r15d
je 0x14000a61d
mov qword [rbp - 0x79], r15
lea rcx, [rbp - 0x79]
call fcn.14000a6c8
mov al, byte [0x14012f0f1]
test al, al
jne 0x14000a304
mov eax, r15d
xchg byte [0x14012f0f1], al
mov cl, byte [0x14022d420]
test cl, cl
je 0x14000a61d
mov eax, r14d
xchg byte [0x14012f0f0], al
cmp dword [rbp - 0x31], r14d
je 0x14000a68d
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 [0x14012f14c], 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 - 0x31], 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.1400e66e0
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