Function at 0x1800232d4
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x160
mov r13, r9
mov r12, r8
mov rsi, rdx
mov r15, rcx
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [r11 - 0xf8], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov qword [r11 - 0xe0], rbx
xor eax, eax
mov qword [r11 - 0xd8], rax
mov qword [r11 - 0xd0], rax
mov qword [r11 - 0xc8], rax
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [r11 - 0x88]
call fcn.180046390
mov r14d, ebx
mov qword [rsp + 0xc0], rbx
mov dword [rsp + 0x90], ebx
mov edi, ebx
mov dword [rsp + 0x6c], ebx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0xb8], rbx
mov dword [rsp + 0xc8], 0x18
mov qword [rsp + 0xd0], rbx
mov dword [rsp + 0xd8], 1
xor r9d, r9d
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1800236fb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 1
xor eax, eax
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x58]
mov r8, rbx
mov rdx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1800236fb
xor r9d, r9d
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1800236fb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x70]
mov r8, rbx
mov rdx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1800236fb
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x30], 2
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x98]
mov r8, rbx
mov rdx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
xor ebx, ebx
test eax, eax
je 0x1800236fb
xor edx, edx
lea r8d, [r14 + 0x68]
lea rcx, [rsp + 0xf0]
call fcn.180046390
mov dword [rsp + 0xf0], 0x68
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x150], rax
mov word [rsp + 0x130], bx
mov dword [rsp + 0x12c], 0x101
test rsi, rsi
je 0x180023556
mov rcx, r15
call fcn.18005380c
mov rbx, rax
mov rcx, rsi
call fcn.18005380c
add rax, 4
add rbx, rax
lea rcx, [rbx + rbx]
call fcn.180053730
mov r14, rax
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x180023554
mov qword [rsp + 0x20], rsi
mov r9, r15
lea r8, [0x1800af110]
mov rdx, rbx
mov rcx, rax
call fcn.180012aa8
xor ebx, ebx
mov ecx, dword [rsp + 0x1b0]
or ecx, 0x10
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ecx
mov esi, 1
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1800236fb
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x1800235c2
mov rax, qword [rsp + 0xb0]
mov dword [rcx], eax
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x68], ebx
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x68], esi
test r12, r12
je 0x18002362e
mov qword [rsp + 0xe8], r12
mov esi, 2
mov dword [rsp + 0x68], esi
mov rbx, qword [rsp + 0x1a0]
test rbx, rbx
je 0x1800236d8
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
mov r8, rbx
mov rdx, r13
mov rcx, qword [rsp + 0x70]
call fcn.180023814
test eax, eax
jle 0x1800236d8
mov r9d, 1
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x1800236ac
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
mov r8, rbx
mov rdx, r13
mov rcx, qword [rsp + 0x70]
call fcn.180023814
jmp 0x1800236d8
cmp eax, 1
jne 0x1800236d3
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x1800236d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x6c], eax
jmp 0x1800236d8
jmp 0x180023636
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test edi, edi
je 0x1800236fb
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18002370b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x18002371b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18002372b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x18002373e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18002374e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x18002375e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180023771
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14, r14
je 0x18002377e
mov rcx, r14
call fcn.180053728
test edi, edi
je 0x18002378a
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x1a8]
test rcx, rcx
je 0x1800237a1
mov rax, qword [rsp + 0xb0]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1800237b3
call fcn.180053728
mov rax, qword [rsp + 0xa0]
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret