Function at 0x14003f090
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x830]
sub rsp, 0x930
mov rax, qword [0x140070040]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov rbx, rdx
xor r12d, r12d
lea rdx, str.Executing_command:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004b880
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14003f0e8
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14004d390
lea rdx, [0x14004b840]
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 rcx, rbx
call fcn.14003be70
mov r14, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14003f11f
add r14, qword [rbx]
mov rdi, qword [rbx]
jmp 0x14003f125
add r14, rbx
mov rdi, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movabs r15, 0x7fffffffffffffff
mov qword [rbp - 0x60], r12
mov esi, 7
mov qword [rbp - 0x58], rsi
cmp rdi, r14
jne 0x14003f152
mov word [rbp - 0x70], r12w
jmp 0x14003f241
sub r14, rdi
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x14003f4cd
cmp r14, rsi
jbe 0x14003f1fe
mov rsi, r14
or rsi, 7
cmp rsi, rax
jbe 0x14003f1c4
mov rsi, rax
lea rcx, [r15 + r15]
cmp rcx, 0x1000
jb 0x14003f1ef
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003f4d3
mov rcx, rax
call fcn.140055d2c
mov rcx, rax
test rax, rax
je 0x14003f490
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rsi
jmp 0x14003f202
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, r15
ja 0x14003f4d3
add rcx, rcx
jne 0x14003f184
mov rax, r12
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rsi
jmp 0x14003f202
call fcn.140055d2c
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x58], rsi
jmp 0x14003f202
mov rax, qword [rbp - 0x70]
lea r8, [rbp - 0x70]
cmp rsi, 7
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x14003f234
nop dword [rax]
movsx eax, byte [rdi]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 1]
sub rdx, 1
jne 0x14003f220
mov qword [rbp - 0x60], r14
mov word [r8 + r14*2], r12w
mov rsi, qword [rbp - 0x58]
lea r8, [rbp - 0x70]
cmp rsi, 7
cmova r8, qword [rbp - 0x70]
mov edx, 0x400
mov r9d, edx
lea rcx, [rbp + 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
mov dword [rbp - 0x14], 1
mov word [rbp - 0x10], r12w
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14003f3a8
lea rdx, str.Failed_to_run_command:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14004b880
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14003f2fa
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14004d390
lea rdx, [0x14004b840]
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 rax, qword [rbx + 0x10]
sub r15, rax
cmp r15, 0x17
jb 0x14003f4d9
cmp qword [rbx + 0x18], 0xf
jbe 0x14003f331
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x17
lea r9, str.Failed_to_run_command:
lea rcx, [rsp + 0x58]
call fcn.14004d120
nop
lea rcx, [rsp + 0x58]
call fcn.14003be70
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14003f459
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f453
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f453
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx + 0x10]
sub r15, rax
cmp r15, 0x1a
jb 0x14003f4c7
cmp qword [rbx + 0x18], 0xf
jbe 0x14003f3e8
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0x1a
lea r9, str.Successfully_ran_command:
lea rcx, [rsp + 0x58]
call fcn.14004d120
nop
lea rcx, [rsp + 0x58]
call fcn.14003be70
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14003f459
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f453
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f453
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056078
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14003f49c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f497
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003f497
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056078
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.140055a70
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140034ef0
nop
call fcn.140034ef0
int3
call fcn.1400049e0
nop
call fcn.140034ef0
int3