Function at 0x180001070
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1160]
mov eax, 0x1260
call fcn.180007510
sub rsp, rax
mov rax, qword [0x18002e040]
xor rax, rsp
mov qword [rbp + 0x1150], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor edi, edi
mov dword [rsp + 0x68], 0x18
mov dword [rsp + 0x78], 1
mov qword [rsp + 0x70], rdi
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
test eax, eax
je 0x180001208
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x60], 0x68
mov rax, qword [rsp + 0x60]
mov qword [rbp], rax
mov qword [rbp - 8], rax
mov word [rbp - 0x20], di
psrldq xmm0, 0xc
movd eax, xmm0
or eax, 0x101
mov dword [rbp - 0x24], eax
movups xmm0, xmmword [str.powershell.exe__NoProfile__ExecutionPolicy_Bypass__Command]
movaps xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [0x18002a790]
movaps xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [0x18002a7a0]
movaps xmmword [rbp + 0x60], xmm0
movsd xmm0, qword [0x18002a7b0]
movsd qword [rbp + 0x70], xmm0
mov eax, dword [0x18002a7b8]
mov dword [rbp + 0x78], eax
xor edx, edx
mov r8d, 0xc4
lea rcx, [rbp + 0x7c]
call fcn.18001f630
lea rcx, [rbp + 0x40]
dec rcx
lea rcx, [rcx + 1]
cmp byte [rcx], dil
jne 0x180001173
movaps xmm0, xmmword [str._Get_WmiObject__Class_Win32_Processor__Select_Object__ExpandProperty_Name_.Trim__]
movups xmmword [rcx], xmm0
movaps xmm1, xmmword [0x18002ac70]
movups xmmword [rcx + 0x10], xmm1
movaps xmm0, xmmword [0x18002ac80]
movups xmmword [rcx + 0x20], xmm0
movaps xmm1, xmmword [0x18002ac90]
movups xmmword [rcx + 0x30], xmm1
movaps xmm0, xmmword [0x18002aca0]
movups xmmword [rcx + 0x40], xmm0
movzx eax, word [0x18002acb0]
mov word [rcx + 0x50], ax
movzx eax, byte [0x18002acb2]
mov byte [rcx + 0x52], al
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x18000122d
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8d, 8
lea rdx, str.Reserved
mov rcx, rbx
call fcn.180002bb0
jmp 0x18000132d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
movdqa xmm1, xmmword [0x18002ad70]
movdqu xmmword [rbp + 0x28], xmm1
mov byte [rbp + 0x18], dil
mov byte [rbp + 0x140], 0
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x141]
call fcn.18001f630
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x10]
mov r8d, 0x1001
lea rdx, [rbp + 0x140]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800012ff
movsxd rax, dword [rbp + 0x10]
test eax, eax
je 0x1800012ff
cmp rax, 0x1001
jae 0x180001354
mov byte [rbp + rax + 0x140], 0
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800012c0
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x18]
call fcn.1800027c0
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x10]
mov r8d, 0x1001
lea rdx, [rbp + 0x140]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180001290
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0x1150]
xor rcx, rsp
call fcn.180006a00
lea r11, [rsp + 0x1260]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180006b98
nop
int3