Function at 0x14000b148
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], r14
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140139040]
xor rax, rsp
mov qword [rbp + 0x50], rax
xor r14d, r14d
mov sil, r14b
xor eax, eax
mov qword [rbp - 8], rax
mov dword [rbp], eax
lea eax, [r14 + 1]
xchg byte [0x1401390f0], al
lea rcx, [rsp + 0x40]
mov qword [rbp - 0x60], rcx
lea rax, [rbp - 8]
mov qword [rbp - 0x58], rax
lea ecx, [r14 + 0x10]
call fcn.1400ed0d0
movups xmm0, xmmword [rbp - 0x60]
movdqu xmmword [rax], xmm0
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14000b88c]
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 0x14000b547
mov al, byte [0x14020e590]
test al, al
jne 0x14000b50f
movss xmm6, dword [0x1401248b0]
mov dil, byte [rsp + 0x38]
mov rbx, qword [rsp + 0x50]
jmp 0x14000b4ec
lea rcx, [0x140139100]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14000b53b
cmp dword [0x14013914c], 0x7fffffff
je 0x14000b525
lea rcx, [rbp - 0x30]
call fcn.140009f8c
mov rcx, qword [rax]
mov qword [0x14020e598], rcx
lea rcx, [0x140139100]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
cmp byte [0x14020e620], r14b
je 0x14000b4ec
cmp byte [0x14020e607], r14b
je 0x14000b4d9
mov ecx, dword [0x14019b63c]
test ecx, ecx
je 0x14000b2a0
sub ecx, 1
je 0x14000b288
cmp ecx, 1
jne 0x14000b2be
mov byte [0x14019b648], cl
jmp 0x14000b2be
mov ecx, dword [0x14019b638]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x14019b648]
jmp 0x14000b2be
mov ecx, dword [0x14019b638]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14000b2be
cmp byte [0x14019b648], r14b
sete byte [0x14019b648]
lea rdx, [rbp - 0x28]
call fcn.1400110d8
lea rdx, [rbp + 0x10]
call fcn.140011128
cmp byte [0x14019b648], r14b
je 0x14000b4b9
test sil, sil
jne 0x14000b327
test dil, dil
je 0x14000b307
test rbx, rbx
je 0x14000b307
mov rcx, qword [0x14020e630]
test rcx, rcx
je 0x14000b307
mov rax, rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x40], rcx
jmp 0x14000b32c
mov sil, 1
lea rcx, [rbp - 0x40]
call fcn.1400103bc
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x30], rax
jmp 0x14000b32c
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14000b4a0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140011170
movss xmm0, dword [rax + 4]
comiss xmm0, dword [0x140124028]
jbe 0x14000b4a0
cmp byte [0x14020e605], r14b
je 0x14000b3a9
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x30]
call fcn.1400112ac
movss xmm0, dword [rsp + 0x78]
andps xmm0, xmm6
movss xmm1, dword [0x140139248]
comiss xmm0, xmm1
ja 0x14000b3a1
movss xmm0, dword [rsp + 0x7c]
andps xmm0, xmm6
comiss xmm0, xmm1
ja 0x14000b3a1
movss xmm0, dword [rbp - 0x80]
andps xmm0, xmm6
comiss xmm0, xmm1
mov al, r14b
jbe 0x14000b3a3
mov al, 1
mov byte [0x14020e625], al
mov rax, qword [0x14020e630]
test rax, rax
je 0x14000b469
cmp byte [0x14020e617], r14b
je 0x14000b40c
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], 8
mov qword [rsp + 0x70], 0xf
mov rax, qword [str.Humanoid]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], r14b
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.140010ec0
mov rax, qword [0x14020e630]
test rax, rax
je 0x14000b469
cmp byte [0x14020e615], r14b
je 0x14000b469
lea rdx, [rsp + 0x50]
lea rcx, [0x14020e630]
call fcn.14001109c
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], 8
mov qword [rsp + 0x70], 0xf
mov rax, qword [str.Humanoid]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], r14b
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x50]
call fcn.140010ec0
mov rbx, qword [rsp + 0x30]
test sil, sil
je 0x14000b48f
movsd xmm0, qword [rbp - 8]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [rbp]
mov dword [rbp - 0x68], eax
lea rdx, [rbp - 0x70]
mov rcx, rbx
call fcn.14000a2f0
mov rax, qword [rsp + 0x40]
mov qword [0x14020e630], rax
mov dil, 1
jmp 0x14000b4d9
mov qword [0x14020e630], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x30], r14
mov dil, r14b
mov sil, r14b
jmp 0x14000b4d9
mov qword [0x14020e630], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x30], r14
mov dil, r14b
mov sil, r14b
lea rdx, [rbp - 0x10]
call fcn.140010d9c
mov qword [rsp + 0x48], 1
lea rcx, [rsp + 0x48]
call fcn.14000a050
mov al, byte [0x1401390f1]
test al, al
jne 0x14000b20d
mov eax, 1
xchg byte [0x1401390f1], al
mov cl, byte [0x14020e590]
test cl, cl
je 0x14000b4ec
mov eax, r14d
xchg byte [0x1401390f0], al
cmp dword [rbp - 0x48], r14d
je 0x14000b557
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov dword [0x14013914c], 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 + 0x50]
xor rcx, rsp
call fcn.1400ed0b0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret