Function at 0x140006670
Capabilities:
Create process on windows
Create process suspended
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10010]
mov eax, 0x10110
call fcn.1400137d0
sub rsp, rax
mov rax, qword [0x140039040]
xor rax, rsp
mov qword [rbp + 0x10000], rax
mov ebx, r9d
mov rsi, r8
mov r14, rcx
mov qword [rsp + 0x50], r8
xor r15d, r15d
lea rax, str._srcds.exe__console__nocrashdialog__nomessagebox_
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 0x35
mov dword [rbp - 0x40], edx
movabs rax, 0x1000000000000000
mov qword [rbp - 0x50], rax
mov rcx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400066e4
mov rcx, qword [r8]
mov rax, qword [r8 + 0x10]
mov qword [rbp - 0x3c], rcx
mov qword [rbp - 0x34], rax
movabs rax, 0xc000000000000004
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x60], 2
lea rax, [rbp - 0x50]
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm1
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.140009a40
nop
lea rdx, str.Executing:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, rax
call fcn.140009c00
lea rdx, [0x140004430]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x20], 0x7fff
mov r8d, 0x8000
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov dword [r14 + 0x6c], 1
mov word [r14 + 0x70], 6
lea rdi, [r14 + 0x18]
lea rax, [r14 + 0x30]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400068ee
mov rcx, qword [r14 + 8]
mov eax, dword [r14 + 0x28]
mov dword [rcx + 0x18], eax
mov dword [r14], ebx
lea rdx, str.Setting_priority_class..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
lea rdx, [0x140004430]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r8d, dword [r14 + 0x28]
xor edx, edx
mov ecx, 0x1200
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
mov edx, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14 + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [r14 + 8]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp - 0x30]
mov dword [rdi + 0x1c], eax
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov rax, qword [rsp + 0x60]
mov qword [rdi], rax
mov r8d, dword [rdi + 0x18]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp - 0x20]
mov qword [rdi + 8], rax
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x10], rax
mov rax, qword [r14 + 8]
mov dword [rax + 0x18], r15d
jmp 0x1400069eb
lea rdx, str.Start_failed_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
lea rdx, [0x140004430]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002cd0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea r9, [rbp - 0xb]
nop dword [rax]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x140006940
lea r8, [rbp - 0xb]
mov rdx, r9
lea rcx, [rsp + 0x60]
call fcn.140003280
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rbx
call fcn.140009c00
lea rdx, [0x140004430]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400069eb
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400069e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400069e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400129e4
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140006a29
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006a24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006a24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400129e4
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], sendto
mov byte [rbp - 0x80], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140006a6f
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140006a6a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006aa4
mov rcx, r8
call fcn.1400129e4
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], sendto
mov byte [rsi], 0
mov rcx, qword [rbp + 0x10000]
xor rcx, rsp
call fcn.140012980
mov rbx, qword [rsp + 0x10148]
add rsp, 0x10110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3