Function at 0x140044990
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 - 0x860]
sub rsp, 0x960
mov rax, qword [0x1400a70c0]
xor rax, rsp
mov qword [rbp + 0x850], 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.1400610f0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400449e8
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14006c300
lea rdx, [0x140062140]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 0xb
lea rdx, str.app_log.txt
lea rcx, [rsp + 0x58]
call fcn.140037910
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400414c0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140044a7b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044a76
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044a76
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400817cc
mov r14, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140044a8e
add r14, qword [rbx]
mov rdi, qword [rbx]
jmp 0x140044a94
add r14, rbx
mov rdi, rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movabs r15, 0x7fffffffffffffff
mov qword [rbp - 0x38], r12
mov esi, 7
mov qword [rbp - 0x30], rsi
cmp rdi, r14
jne 0x140044ac1
mov word [rbp - 0x48], r12w
jmp 0x140044bb1
sub r14, rdi
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x140044f4d
cmp r14, rsi
jbe 0x140044b6d
mov rsi, r14
or rsi, 7
cmp rsi, rax
jbe 0x140044b33
mov rsi, rax
lea rcx, [r15 + r15]
cmp rcx, 0x1000
jb 0x140044b5e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140044f53
mov rcx, rax
call fcn.140081480
mov rcx, rax
test rax, rax
je 0x140044f10
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rsi
jmp 0x140044b71
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, r15
ja 0x140044f53
add rcx, rcx
jne 0x140044af3
mov rax, r12
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rsi
jmp 0x140044b71
call fcn.140081480
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rsi
jmp 0x140044b71
mov rax, qword [rbp - 0x48]
lea r8, [rbp - 0x48]
cmp rsi, 7
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x140044ba4
nop dword [rax + rax]
movsx eax, byte [rdi]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 1]
sub rdx, 1
jne 0x140044b90
mov qword [rbp - 0x38], r14
mov word [r8 + r14*2], r12w
mov rsi, qword [rbp - 0x30]
lea r8, [rbp - 0x48]
cmp rsi, 7
cmova r8, qword [rbp - 0x48]
mov edx, 0x400
mov r9d, edx
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov dword [rbp - 0x20], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov dword [rbp + 0x1c], 1
mov word [rbp + 0x20], r12w
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
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 + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140044da0
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.1400610f0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140044c68
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.14006c300
lea rdx, [0x140062140]
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]
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0xb
lea rdx, str.app_log.txt
lea rcx, [rsp + 0x78]
call fcn.140037910
nop
mov rcx, qword [rbx + 0x10]
sub r15, rcx
cmp r15, 0x17
jb 0x140044f59
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140044cca
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x17
lea r9, str.Failed_to_run_command:
mov r8, rbx
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140069fe0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400414c0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140044d47
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044d42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044d42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400817cc
movdqa xmm0, xmmword [0x140094990]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140044ed9
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044ed3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044ed3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8d, 0xb
lea rdx, str.app_log.txt
lea rcx, [rsp + 0x58]
call fcn.140037910
nop
mov rcx, qword [rbx + 0x10]
sub r15, rcx
cmp r15, 0x1a
jb 0x140044f47
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140044e0a
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x1a
lea r9, str.Successfully_ran_command:
mov r8, rbx
movzx edx, byte [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.140069fe0
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.1400414c0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140044e86
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044e81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044e81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400817cc
movdqa xmm0, xmmword [0x140094990]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140044ed9
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044ed3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044ed3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400817cc
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140044f1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044f17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044f17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400817cc
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.1400810a0
lea r11, [rsp + 0x960]
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.140035c60
nop
call fcn.140035c60
int3
call fcn.1400051c0
nop
call fcn.140035c60
int3