Function at 0x140044a10
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 [0x14009d0c0]
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.14005b560
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140044a68
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140065fa0
lea rdx, [0x14005c4e0]
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.1400378c0
nop
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.140041530
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140044afb
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044af6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044af6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b19c
mov r14, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140044b0e
add r14, qword [rbx]
mov rdi, qword [rbx]
jmp 0x140044b14
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 0x140044b41
mov word [rbp - 0x48], r12w
jmp 0x140044c31
sub r14, rdi
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x140044fcd
cmp r14, rsi
jbe 0x140044bed
mov rsi, r14
or rsi, 7
cmp rsi, rax
jbe 0x140044bb3
mov rsi, rax
lea rcx, [r15 + r15]
cmp rcx, 0x1000
jb 0x140044bde
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140044fd3
mov rcx, rax
call fcn.14007ae50
mov rcx, rax
test rax, rax
je 0x140044f90
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rsi
jmp 0x140044bf1
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, r15
ja 0x140044fd3
add rcx, rcx
jne 0x140044b73
mov rax, r12
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rsi
jmp 0x140044bf1
call fcn.14007ae50
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x30], rsi
jmp 0x140044bf1
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 0x140044c24
nop dword [rax + rax]
movsx eax, byte [rdi]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rdi, [rdi + 1]
sub rdx, 1
jne 0x140044c10
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 0x140044e20
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.14005b560
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140044ce8
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140065fa0
lea rdx, [0x14005c4e0]
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.1400378c0
nop
mov rcx, qword [rbx + 0x10]
sub r15, rcx
cmp r15, 0x17
jb 0x140044fd9
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140044d4a
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.140063a80
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.140041530
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140044dc7
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044dc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044dc2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b19c
movdqa xmm0, xmmword [0x14008c250]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140044f59
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044f53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044f53
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.1400378c0
nop
mov rcx, qword [rbx + 0x10]
sub r15, rcx
cmp r15, 0x1a
jb 0x140044fc7
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140044e8a
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.140063a80
nop
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.140041530
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140044f06
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044f01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044f01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b19c
movdqa xmm0, xmmword [0x14008c250]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x140044f59
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044f53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044f53
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b19c
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x140044f9c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044f97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044f97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007b19c
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.14007aa70
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.140035c10
nop
call fcn.140035c10
int3
call fcn.140005170
nop
call fcn.140035c10
int3