Function at 0x140037830
Capabilities:
Check os version
Execute command

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
xor r12d, r12d
mov dword [rbp + 0x810], r12d
mov esi, 8
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov eax, dword [rsi + rdi]
cmp dword [0x140054360], eax
jle 0x1400378a8
lea rcx, [0x140054360]
call fcn.14003a1f0
cmp dword [0x140054360], 0xffffffff
jne 0x1400378a8
call fcn.14001d9c0
lea rcx, [0x14003e140]
call fcn.14003a4a0
nop
lea rcx, [0x140054360]
call fcn.14003a184
lea rcx, [0x140054370]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x1400378c5
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov eax, dword [0x1400543bc]
cmp eax, 0x7fffffff
jne 0x1400378e6
dec eax
mov dword [0x1400543bc], eax
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r8, qword [0x140054468]
mov rax, qword [r8]
cmp rax, r8
je 0x140037917
nop word [rax + rax]
mov rdx, qword [rax + 0x30]
mov ecx, 1
xchg dword [rdx + 0x40], ecx
mov rdx, qword [rax]
mov rax, rdx
cmp rdx, r8
jne 0x140037900
mov dword [0x1400544e8], 1
lea rcx, [0x140054370]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea rcx, str.Injector_starting_up
call fcn.1400281f0
call fcn.14002c200
cmp dword [0x140054568], 0
jne 0x140037acc
mov rbx, qword gs:[0x60]
mov qword [rbp + 0x810], rbx
mov eax, dword [rsi + rdi]
cmp dword [0x140054360], eax
jle 0x14003799a
lea rcx, [0x140054360]
call fcn.14003a1f0
cmp dword [0x140054360], 0xffffffff
jne 0x14003799a
call fcn.14001d9c0
lea rcx, [0x14003e140]
call fcn.14003a4a0
nop
lea rcx, [0x140054360]
call fcn.14003a184
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
lea rax, str.Getting_OS_Info_from_PEB:_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x1c
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x40], xmm0
lea rax, [rbp + 0x810]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, qword [0x140054548]
call fcn.140029960
mov ecx, dword [rbx + 0x118]
mov edx, dword [rbx + 0x11c]
cmp edx, 0xa
jb 0x140037a1f
mov eax, 0xcccccccd
mul edx
shr edx, 3
cmp edx, 0xa
jae 0x140037a10
lea eax, [rcx + rcx*4]
lea ecx, [rdx + rax*2]
mov dword [0x140054568], ecx
movzx eax, word [rbx + 0x120]
mov dword [0x1400545f4], eax
mov eax, dword [rsi + rdi]
cmp dword [0x140054360], eax
jle 0x140037a76
lea rcx, [0x140054360]
call fcn.14003a1f0
cmp dword [0x140054360], 0xffffffff
jne 0x140037a76
call fcn.14001d9c0
lea rcx, [0x14003e140]
call fcn.14003a4a0
nop
lea rcx, [0x140054360]
call fcn.14003a184
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r12
lea rax, str.OS_INFO_n_tOS_Version:__n_tOS_Build_Number:_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x2c
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x40], xmm0
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x140054548]
call fcn.140039b10
mov ecx, 0xf8
call fcn.14003a0fc
mov rsi, rax
mov qword [rbp + 0x818], rax
mov rcx, qword [str.RobloxPlayerBeta.exe]
mov qword [rax], rcx
mov dword [rax + 8], r12d
lea r15, [rax + 0x10]
mov qword [rbp + 0x810], r15
mov ecx, 0x48
call fcn.14003a0fc
mov qword [rbp + 0x810], rax
mov qword [rax], rsi
mov qword [rax + 8], r12
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], r12
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], r12
mov qword [r15], rax
mov qword [rbp + 0x810], rsi
lea rcx, [rsi + 0x18]
lea rdx, [rbp + 0x810]
call fcn.1400383a0
nop
mov qword [rsi + 0x20], r12
lea r14, [rsi + 0x30]
mov qword [rbp + 0x810], r14
mov dword [r14], r12d
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov ecx, 0x40
call fcn.14003a0fc
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [r14 + 8], rax
lea rcx, [r14 + 0x18]
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov qword [r14 + 0x30], 7
mov qword [r14 + 0x38], 8
mov dword [r14], 0x3f800000
mov r8, qword [r14 + 8]
mov edx, 0x10
call fcn.14000bf00
nop
lea rcx, [rsi + 0x70]
call fcn.140038180
nop
lea rcx, [rsi + 0xb0]
call fcn.140038180
nop
lea r12, [rsi + 0xf0]
mov qword [rbp + 0x810], r12
mov ecx, 0x420
call fcn.14003a0fc
mov rbx, rax
xor edx, edx
mov r8d, 0x420
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [r12], rbx
mov qword [rbp + 0x820], rsi
mov rcx, rsi
call fcn.140034c80
mov rcx, rsi
call fcn.140034c80
mov dword [rbp + 0x810], eax
mov rdx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], ax
jne 0x140037c30
lea rcx, [rbp - 0x70]
call fcn.14001e540
nop
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r8, qword [rbp - 0x70]
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x800
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140037ca6
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.14001d870
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rax, qword [rsp + 0x50]
mov qword [rbp + 0x818], rax
mov eax, 8
mov eax, dword [rax + rdi]
cmp dword [0x140054360], eax
jle 0x140037d1c
lea rcx, [0x140054360]
call fcn.14003a1f0
cmp dword [0x140054360], 0xffffffff
jne 0x140037d1c
call fcn.14001d9c0
lea rcx, [0x14003e140]
call fcn.14003a4a0
nop
lea rcx, [0x140054360]
call fcn.14003a184
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
lea rax, str.Target_Process_n_tName:__n_tPID:_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x21
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm0, qword [rbp - 0x80]
movsd qword [rbp - 0x40], xmm0
lea rax, [rbp + 0x810]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x818]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x140054548]
call fcn.140038510
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140037dcd
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037dc8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037dc8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a138
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140037e23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037e1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037e1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a138
mov rcx, rsi
call fcn.140034ef0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov r8d, 0xc
lea rdx, str.HeliosV3.dll
lea rcx, [rbp - 0x50]
call fcn.14001e540
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov dword [rbp + 0x810], 0x7f
lea rcx, [rsp + 0x50]
call fcn.140038960
test eax, eax
jne 0x1400380c1
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.14002b8e0
mov dword [rbp + 0x810], 0xff
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x70]
call fcn.140039350
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.14002b8e0
mov dword [rbp + 0x810], 0x1ff
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140036060
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140037f16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037f11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a138
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], bx
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140037f6b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037f66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a138
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140037fc1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037fbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037fbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003a138
mov eax, 8
mov eax, dword [rax + rdi]
cmp dword [0x140054360], eax
jle 0x140038004
lea rcx, [0x140054360]
call fcn.14003a1f0
cmp dword [0x140054360], 0xffffffff
jne 0x140038004
call fcn.14001d9c0
lea rcx, [0x14003e140]
call fcn.14003a4a0
nop
lea rcx, [0x140054360]
call fcn.14003a184
lea r8, str.Injector_shutting_down
mov edx, 2
mov rcx, qword [0x140054548]
call fcn.140029040
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x14003803d
mov edx, 0x420
call fcn.14003a138
lea rcx, [rsi + 0xb0]
call fcn.1400377a0
lea rcx, [rsi + 0x70]
call fcn.1400377a0
mov rcx, r14
call fcn.140037720
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x140038079
lea rcx, [rbx + 8]
call fcn.14002ed90
mov edx, 0x48
mov rcx, rbx
call fcn.14003a138
mov rbx, qword [r15]
test rbx, rbx
je 0x140038097
lea rcx, [rbx + 8]
call fcn.14001f430
mov edx, 0x48
mov rcx, rbx
call fcn.14003a138
mov edx, 0xf8
mov rcx, rsi
call fcn.14003a138
xor eax, eax
mov rbx, qword [rsp + 0x928]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov edx, eax
call fcn.140039050
int3