Function at 0x140001590
Capabilities:
Create process on windows
Create process suspended
Patch process command line
Resume thread
Use process replacement

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x18], r8d
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa40]
sub rsp, 0xb40
xorps xmm0, xmm0
xorps xmm1, xmm1
xor eax, eax
mov r15, rdx
mov rbx, rcx
mov dword [rbp + 0x24], eax
xor r13d, r13d
mov qword [rsp + 0x68], rax
mov edx, 0x104
mov dword [rsp + 0x70], r13d
lea rcx, [rbp + 0x30]
mov r12d, r9d
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rbp - 0x78], xmm1
movups xmmword [rbp - 0x68], xmm1
movups xmmword [rbp - 0x58], xmm1
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__wgetcwd]
xor eax, eax
lea rdi, [rbp - 0x40]
mov ecx, 0x68
rep stosb byte [rdi], al
lea rdi, [rsp + 0x58]
mov dword [rbp - 0x40], 0x68
mov ecx, 0x18
rep stosb byte [rdi], al
lea rcx, str.NTDLL
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x1400019d9
mov rdx, rbx
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rax, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x240]
lea rax, [rbp - 0x40]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x8000004
mov dword [rsp + 0x20], r13d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400016ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateProcessA_Failed_with_Error_:__d__n
call fcn.140001010
jmp 0x1400019d9
mov edx, dword [rsp + 0x68]
lea rcx, str._i__Target_Process_Created_With_Pid_:__d__n
call fcn.140001010
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x70]
mov r9d, 0x30
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x78]
xor edx, edx
call rdi
test eax, eax
je 0x140001712
mov edx, eax
lea rcx, str.____NtQueryInformationProcess_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x1400019d9
mov rdi, qword [rbp - 0x70]
mov rbx, qword [rsp + 0x58]
mov qword [rbp - 0x80], r13
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x7d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, 0x7d0
mov rdx, rdi
mov r14, rax
mov rcx, rbx
lea rax, [rbp - 0x80]
mov r8, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400019a3
cmp qword [rbp - 0x80], 0x7d0
jne 0x1400019a3
mov rdi, qword [r14 + 0x20]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x78], r13
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x280
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r9d, 0x280
mov rdx, rdi
mov rsi, rax
mov rcx, rbx
lea rax, [rsp + 0x78]
mov r8, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x14000196f
cmp qword [rsp + 0x78], 0x280
jne 0x14000196f
test r12d, r12d
je 0x1400017e9
mov r8, qword [rsi + 0x78]
lea rcx, str._i__Writing___s__As_The_Process_Argument_At_:_0x_p_..._n
mov rdx, r15
call fcn.140001530
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, qword [rsi + 0x78]
mov r8, r15
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x50], r13
lea ebx, [rax*2 + 1]
lea rax, [rsp + 0x50]
mov r9d, ebx
mov qword [rsp + 0x20], rax
mov edi, ebx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x14000193e
cmp qword [rsp + 0x50], rdi
jne 0x14000193e
test r12d, r12d
je 0x14000184e
movzx edx, word [rsi + 0x70]
lea rcx, str._i__Updating_The_Length_Of_The_Process_Argument_From__d_To__d_..._n_n
mov r8d, dword [rbp + 0xa80]
call fcn.140001530
mov rdx, qword [r14 + 0x20]
lea rax, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
lea r8, [rbp + 0xa80]
add rdx, 0x70
mov qword [rsp + 0x50], r13
mov r9d, 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001907
cmp qword [rsp + 0x50], 4
jne 0x140001907
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 0xa90]
mov eax, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov dword [rcx], eax
mov rax, qword [rbp + 0xa98]
mov rcx, qword [rsp + 0x58]
mov qword [rax], rcx
mov rax, qword [rbp + 0xaa0]
mov qword [rax], rdx
test rcx, rcx
je 0x1400019d9
test rdx, rdx
je 0x1400019d9
mov eax, 1
jmp 0x1400019db
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____WriteProcessMemory_Failed_With_Error_:__d__n
call fcn.140001010
mov rdx, qword [rsp + 0x50]
lea rcx, str._i__Bytes_Written_:__d_Of__d__n
mov r8d, 4
call fcn.140001010
lea rcx, str.____Failed_To_Update_the_Length_Of_The_Process_Argument_n
jmp 0x1400019d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____WriteProcessMemory_Failed_With_Error_:__d__n
call fcn.140001010
mov rdx, qword [rsp + 0x50]
lea rcx, str._i__Bytes_Written_:__d_Of__d__n
mov r8d, ebx
call fcn.140001010
lea rcx, str.____Failed_To_Write_The_Real_Parameters_n
jmp 0x1400019d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____ReadProcessMemory_Failed_With_Error_:__d__n
call fcn.140001010
mov rdx, qword [rsp + 0x78]
lea rcx, str._i__Bytes_Read_:__d_Of__d__n
mov r8d, 0x280
call fcn.140001010
lea rcx, str.____Failed_To_Read_Targets_Process_ProcessParameters__n
jmp 0x1400019d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____ReadProcessMemory_Failed_With_Error_:__d__n
call fcn.140001010
mov rdx, qword [rbp - 0x80]
lea rcx, str._i__Bytes_Read_:__d_Of__d__n
mov r8d, 0x7d0
call fcn.140001010
lea rcx, str.____Failed_To_Read_Targets_Process_Peb__n
call fcn.140001010
xor eax, eax
lea r11, [rsp + 0xb40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret