Function at 0x180006b50
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x180045068]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r13, rcx
xor r14d, r14d
mov qword [rbp + 0x50], r14
mov r15d, 0xf
mov qword [rbp + 0x68], r15
mov esi, r14d
mov qword [rbp + 0x60], r14
mov byte [rbp + 0x50], sil
lea ecx, [r14 + 0x20]
call fcn.1800108dc
mov rdi, rax
mov qword [rbp - 0x80], rax
mov qword [rbp + 0xa0], 0x10
mov qword [rbp + 0xa8], 0x1f
movups xmm0, xmmword [str.chcp_437____null]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], r14b
mov qword [rbp + 0x90], rax
lea ecx, [r14 + 0x40]
call fcn.1800108dc
mov rbx, rax
mov qword [rsp + 0x78], rax
mov qword [rbp + 0xc0], 0x32
mov qword [rbp + 0xc8], 0x3f
movups xmm0, xmmword [str.Set_PSReadLineOption__HistorySaveStyle_SaveNothing]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x180030830]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x180030840]
movups xmmword [rax + 0x20], xmm0
movzx eax, word [0x180030850]
mov word [rbx + 0x30], ax
mov byte [rbx + 0x32], r14b
mov qword [rbp + 0xb0], rbx
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x60], r14
mov dword [rbp - 0x78], 0x18
mov qword [rbp - 0x70], r14
mov dword [rbp - 0x68], 1
mov r9d, 0xdcd8
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1800070c1
mov r9d, 0xa00000
lea r8, [rbp - 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1800070c1
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov dword [rbp - 0x40], 0x68
mov dword [rbp - 4], 0x100
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x18], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x10], rax
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 - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, str.powershell.exe__nologo
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1800070c1
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 qword [rbp + 0x30], r14
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
lea ecx, [r14 + 0x40]
call fcn.1800108dc
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rax + 0x20], xmm0
movzx ecx, word [rbx + 0x30]
mov word [rax + 0x30], cx
movzx ecx, byte [rbx + 0x32]
mov byte [rax + 0x32], cl
mov qword [rbp + 0x40], 0x32
mov qword [rbp + 0x48], 0x3f
lea r8, [rbp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.180008b60
test al, al
je 0x1800070c1
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
lea ecx, [r14 + 0x20]
call fcn.1800108dc
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [rdi]
movups xmmword [rax], xmm0
movzx ecx, byte [rdi + 0x10]
mov byte [rax + 0x10], cl
mov qword [rbp + 0x40], 0x10
mov qword [rbp + 0x48], 0x1f
lea r8, [rbp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.180008b60
test al, al
je 0x1800070c1
lea rcx, [r13 + 8]
call fcn.18000e900
mov rbx, qword [rbp + 0x50]
test eax, eax
je 0x180006fa8
lea rdx, [rbp + 0x30]
lea rcx, [r13 + 8]
call fcn.18000e460
mov rdi, rax
lea rax, [rbp + 0x50]
cmp rax, rdi
je 0x180006e96
cmp r15, 0x10
jb 0x180006e6c
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180006e64
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007154
mov rcx, rbx
call fcn.180010918
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov r15, qword [rbp + 0x68]
mov rsi, qword [rbp + 0x60]
mov rbx, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x180006ed1
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006ecc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007154
call fcn.180010918
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
lea r14, [rbp + 0x50]
cmp r15, 0x10
cmovae r14, rbx
cmp rsi, 0x10
jae 0x180006f01
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x48], 0xf
jmp 0x180006f7a
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x180006f55
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180007160
mov rcx, rax
call fcn.1800108dc
mov rcx, rax
test rax, rax
je 0x18000715a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180006f63
test rcx, rcx
je 0x180006f61
call fcn.1800108dc
jmp 0x180006f63
xor eax, eax
mov qword [rbp + 0x30], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1800129f0
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x40], rsi
lea r8, [rbp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.180008b60
test al, al
je 0x1800070c5
lea rcx, [r13 + 8]
call fcn.18000e900
xor r14d, r14d
jmp 0x180006e14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], 0xf
mov r8d, 4
lea rdx, str.exit
lea rcx, [rbp + 0x30]
call fcn.1800094c0
lea r8, [rbp + 0x30]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.180008b60
test al, al
je 0x1800070c5
mov edx, 0x493e0
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x88], 0xf
mov qword [rbp + 0x80], r14
mov byte [rbp + 0x70], 0
lea r8, [rbp + 0x70]
mov rdx, qword [rsp + 0x70]
mov rcx, r13
call fcn.180008300
test al, al
jne 0x180007036
xor dil, dil
jmp 0x18000706b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.180002680
lea rcx, [r13 + 0xf8]
mov rdx, rax
call fcn.18000a970
mov dil, 1
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x1800070a9
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800070a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180007166
call fcn.180010918
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
jmp 0x1800070c8
mov rbx, qword [rbp + 0x50]
xor dil, dil
mov edx, 0x40
mov rcx, qword [rsp + 0x78]
call fcn.180010918
nop
mov edx, 0x20
mov rcx, qword [rbp - 0x80]
call fcn.180010918
nop
cmp r15, 0x10
jb 0x18000711a
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180007112
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000714e
mov rcx, rbx
call fcn.180010918
movzx eax, dil
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1800110b0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180016e8c
nop
call fcn.180016e8c
nop
call fcn.180016e8c
int3
call fcn.180009250
int3
call fcn.180016e8c
int3