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

Disassembly:
push rbp
push rsi
push r14
push r15
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [0x140074010]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor esi, esi
mov qword [rbp - 0x70], rdx
xorps xmm0, xmm0
movsxd r14, ecx
mov r15d, 1
mov qword [rbp - 0x60], rsi
lea rdx, [rsp + 0x60]
mov dword [rbp - 0x58], r15d
lea rcx, [rsp + 0x58]
mov qword [rbp - 0x78], rsi
xor r9d, r9d
mov qword [rbp - 0x48], rsi
lea r8, [rbp - 0x68]
movdqa xmmword [rbp - 0x40], xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], esi
mov qword [rbp - 8], rsi
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], rsi
mov dword [rbp - 0x68], 0x18
mov dword [rbp - 0x50], 0x68
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14000ab06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.internal_error:_CreatePipe:1:_0x_08lx_n
call fcn.140008a70
jmp 0x14000afa6
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14000ab50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.internal_error:_CreatePipe:2:_0x_08lx_n
call fcn.140008a70
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000afa6
lea rax, [rbp + 0x60]
mov qword [rsp + 0x228], r12
mov r12d, 0x20
mov qword [rbp + 0x50], rax
mov edx, 0x101
mov dword [rbp + 0x5c], r12d
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x58], esi
mov byte [rbp + 0x60], sil
call fcn.14002fa70
mov rax, qword [rbp + 0x50]
xor ecx, ecx
mov dword [rbp + 0x58], 0x100
mov byte [rax + 0x100], sil
mov r8d, dword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [rbp + 0x58]
cmp eax, ecx
jne 0x14000abf0
nop dword [rax + rax]
lea edx, [rcx*2 + 1]
cmp edx, dword [rbp + 0x5c]
jle 0x14000abc8
lea rcx, [rbp + 0x50]
call fcn.14002fa70
mov ecx, dword [rbp + 0x58]
lea eax, [rcx + rcx]
mov dword [rbp + 0x58], eax
movsxd rcx, eax
mov rax, qword [rbp + 0x50]
mov byte [rcx + rax], sil
xor ecx, ecx
mov r8d, dword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [rbp + 0x58]
cmp eax, ecx
je 0x14000abb0
test eax, eax
je 0x14000b181
mov dword [rbp + 0x58], eax
lea rdx, [rbp + 0x30]
movsxd rcx, eax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x210], rbx
mov qword [rsp + 0x220], rdi
mov qword [rsp + 0x1e0], r13
mov byte [rcx + rax], sil
mov eax, dword [0x1400673e8]
mov dword [rbp + 0x30], eax
mov eax, 3
mov qword [rbp + 0x20], rdx
mov edx, r12d
mov dword [rbp + 0x28], eax
mov dword [rbp + 0x2c], r12d
nop
add edx, edx
cmp edx, r12d
jle 0x14000ac40
lea rcx, [rbp + 0x20]
call fcn.14002fa70
movsxd rcx, dword [rbp + 0x28]
lea rdx, [0x140067354]
add rcx, qword [rbp + 0x20]
movups xmm0, xmmword [str.__b2db_internal_debug_handle]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1400687b0]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1400687b8]
mov dword [rcx + 0x18], eax
movzx eax, word [0x1400687bc]
mov word [rcx + 0x1c], ax
lea rcx, [rbp + 0x80]
mov r8, qword [rsp + 0x58]
mov dword [rbp + 0x28], r12d
call fcn.140001050
lea rax, [rbp + 0x80]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x14000acb0
mov eax, dword [rbp + 0x28]
mov edx, dword [rbp + 0x2c]
lea edi, [rax + rbx]
cmp edx, edi
jg 0x14000acd8
add edx, edx
cmp edx, edi
jle 0x14000acc6
lea rcx, [rbp + 0x20]
call fcn.14002fa70
mov eax, dword [rbp + 0x28]
movsxd rcx, eax
lea rdx, [rbp + 0x80]
add rcx, qword [rbp + 0x20]
movsxd r8, ebx
inc r8
call fcn.140039e10
mov edx, dword [rbp + 0x2c]
lea ebx, [r15 + rdi]
mov dword [rbp + 0x28], edi
mov byte [rsp + 0x50], r12b
cmp edx, ebx
jg 0x14000ad16
add edx, edx
cmp edx, ebx
jle 0x14000ad04
lea rcx, [rbp + 0x20]
call fcn.14002fa70
mov edi, dword [rbp + 0x28]
movsxd rcx, edi
lea rdx, [rsp + 0x50]
add rcx, qword [rbp + 0x20]
movsxd r8, r15d
call fcn.140039e10
mov rax, qword [rbp + 0x20]
mov dword [rbp + 0x28], ebx
movsxd rcx, ebx
mov byte [rcx + rax], sil
mov eax, dword [rbp + 0x28]
mov edx, dword [rbp + 0x2c]
lea ebx, [rax + 0x1d]
cmp edx, ebx
jg 0x14000ad57
add edx, edx
cmp edx, ebx
jle 0x14000ad45
lea rcx, [rbp + 0x20]
call fcn.14002fa70
mov eax, dword [rbp + 0x28]
movups xmm0, xmmword [str.__b2db_internal_debug_handle]
movsxd rcx, eax
lea rdx, [0x140067354]
add rcx, qword [rbp + 0x20]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x1400687b0]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x1400687b8]
mov dword [rcx + 0x18], eax
movzx eax, word [0x1400687bc]
mov word [rcx + 0x1c], ax
lea rcx, [rbp + 0x80]
mov r8, qword [rsp + 0x70]
mov dword [rbp + 0x28], ebx
call fcn.140001050
lea rax, [rbp + 0x80]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], sil
jne 0x14000adb2
mov eax, dword [rbp + 0x28]
mov edx, dword [rbp + 0x2c]
lea edi, [rax + rbx]
cmp edx, edi
jg 0x14000adda
add edx, edx
cmp edx, edi
jle 0x14000adc8
lea rcx, [rbp + 0x20]
call fcn.14002fa70
mov eax, dword [rbp + 0x28]
movsxd rcx, eax
lea rdx, [rbp + 0x80]
add rcx, qword [rbp + 0x20]
movsxd r8, ebx
inc r8
call fcn.140039e10
mov dword [rbp + 0x28], edi
mov r13, r14
cmp r14, r15
jle 0x14000aeb3
mov rsi, qword [rbp - 0x70]
mov r12, r15
nop dword [rax]
mov edx, dword [rbp + 0x2c]
lea ebx, [rdi + 1]
movsxd r14, edi
mov cl, 0x20
mov byte [rsp + 0x50], cl
cmp edx, ebx
jg 0x14000ae3a
add edx, edx
cmp edx, ebx
jle 0x14000ae23
lea rcx, [rbp + 0x20]
call fcn.14002fa70
movzx ecx, byte [rsp + 0x50]
mov edi, dword [rbp + 0x28]
movsxd rax, edi
add rax, qword [rbp + 0x20]
mov byte [rax], cl
mov rax, qword [rbp + 0x20]
mov dword [rbp + 0x28], ebx
mov rbx, 0xffffffffffffffff
mov byte [r14 + rax + 1], 0
mov r14, qword [rsi + r12*8]
nop dword [rax + rax]
inc rbx
cmp byte [r14 + rbx], 0
jne 0x14000ae60
mov eax, dword [rbp + 0x28]
mov edx, dword [rbp + 0x2c]
lea edi, [rax + rbx]
cmp edx, edi
jg 0x14000ae89
add edx, edx
cmp edx, edi
jle 0x14000ae77
lea rcx, [rbp + 0x20]
call fcn.14002fa70
mov eax, dword [rbp + 0x28]
movsxd rcx, eax
mov rdx, r14
add rcx, qword [rbp + 0x20]
movsxd r8, ebx
inc r8
call fcn.140039e10
inc r12
mov dword [rbp + 0x28], edi
cmp r12, r13
jl 0x14000ae10
xor esi, esi
lea r12d, [rsi + 0x20]
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rdx, qword [rbp + 0x20]
lea rax, [rsp + 0x78]
mov rcx, qword [rbp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r13, qword [rsp + 0x1e0]
mov rdi, qword [rsp + 0x220]
test eax, eax
jne 0x14000afc3
lea rcx, str.internal_error_n
call fcn.140008a70
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x60]
cmp rcx, rax
je 0x14000af71
call fcn.14003e73c
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x30]
mov dword [rbp + 0x58], esi
mov dword [rbp + 0x5c], r12d
mov byte [rbp + 0x60], 0
cmp rcx, rax
je 0x14000af96
call fcn.14003e73c
mov rbx, qword [rsp + 0x210]
mov r12, qword [rsp + 0x228]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140036060
add rsp, 0x1e8
pop r15
pop r14
pop rsi
pop rbp
ret
mov eax, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov dword [0x140076adc], eax
mov rax, qword [rsp + 0x78]
mov qword [0x140076ac8], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x60]
cmp rcx, rax
je 0x14000b00a
call fcn.14003e73c
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x30]
mov dword [rbp + 0x58], esi
mov dword [rbp + 0x5c], r12d
mov byte [rbp + 0x60], 0
cmp rcx, rax
je 0x14000b02f
call fcn.14003e73c
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x30]
mov rbx, qword [rsp + 0x60]
xor edx, edx
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], esi
mov dword [rbp + 0x2c], r12d
mov byte [rbp + 0x30], 0
mov dword [0x140076ab8], r15d
call fcn.140048b8c
mov ecx, eax
lea rdx, [0x140066c90]
call fcn.1400409ec
mov edx, r15d
mov qword [0x140076b10], rax
mov rcx, rbx
call fcn.140048b8c
mov ecx, eax
lea rdx, [0x140066c94]
call fcn.1400409ec
mov ecx, r15d
mov qword [0x140076b00], rax
call fcn.14000a740
cmp dword [0x140076af0], 0
jle 0x14000b151
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [0x140076b08]
lea rdx, str.break__s
mov rcx, qword [0x140076b00]
mov r8, qword [rsi + r8]
call fcn.140008a20
mov rax, qword [0x140076b08]
mov r8d, dword [rsi + rax + 0x10]
cmp r8d, 0xffffffff
je 0x14000b0f3
mov rcx, qword [0x140076b00]
lea rdx, [0x140067364]
call fcn.140008a20
mov rcx, qword [0x140076b00]
lea rdx, [0x140066b00]
call fcn.140008a20
mov rcx, qword [0x140076b08]
mov edx, dword [rsi + rcx + 0x14]
sub edx, 2
je 0x14000b124
cmp edx, 1
jne 0x14000b13a
lea rdx, str.delete__d_n
jmp 0x14000b12b
lea rdx, str.disable__d_n
mov rcx, qword [0x140076b00]
mov r8d, r15d
call fcn.140008a20
inc r15d
add rsi, 0x18
lea eax, [r15 - 1]
cmp eax, dword [0x140076af0]
jl 0x14000b0b0
mov rcx, qword [0x140076b00]
call fcn.14003a61c
mov rcx, qword [0x140076b00]
lea rdx, str.continue_n
call fcn.140008a20
mov rcx, qword [0x140076b00]
call fcn.14003a61c
jmp 0x14000af96
lea rcx, str.internal_error_n
call fcn.140008a70
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000af9e