Function at 0x1800213b0
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 + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rax, qword [0x1801d72c0]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rdi, r8
mov rsi, rdx
mov qword [rbp - 0x60], rdx
xor r13d, r13d
mov dword [rsp + 0x50], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.x8OeQS9q537v3ud5
lea rcx, [rsp + 0x58]
call fcn.180005170
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 9
lea rdx, str.i7ca.zB
lea rcx, [rsp + 0x78]
call fcn.180005170
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x98]
call fcn.18001e4e0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov r9d, r13d
mov qword [rbp + 0x60], r13
mov r11d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x68], r11
mov byte [rbp + 0x50], r9b
mov dword [rsp + 0x50], 4
mov ebx, r13d
cmp qword [rbp + 0xa8], r13
jbe 0x180021529
mov r14, qword [rsp + 0x70]
mov r15, qword [rsp + 0x68]
mov r12, qword [rsp + 0x58]
nop dword [rax]
lea rcx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 0xf
cmova rcx, qword [rbp + 0x98]
lea r8, [rsp + 0x58]
cmp r14, 0xf
cmova r8, r12
xor edx, edx
mov rax, rbx
div r15
movzx r10d, byte [rdx + r8]
xor r10b, byte [rcx + rbx]
cmp r9, r11
jae 0x1800214fb
lea rax, [r9 + 1]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp r11, 0xf
cmova rax, qword [rbp + 0x50]
mov byte [rax + r9], r10b
mov byte [rax + r9 + 1], 0
jmp 0x180021510
movzx r9d, r10b
xor r8d, r8d
mov edx, 1
lea rcx, [rbp + 0x50]
call fcn.180038790
inc rbx
cmp rbx, qword [rbp + 0xa8]
jae 0x180021529
mov r11, qword [rbp + 0x68]
mov r9, qword [rbp + 0x60]
jmp 0x1800214a0
lea rcx, [rbp + 0x98]
call fcn.180003f70
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x180021544
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.180003fd0
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0x50]
call fcn.180003f70
nop
lea rcx, [rsp + 0x78]
call fcn.180003f70
nop
lea rcx, [rsp + 0x58]
call fcn.180003f70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x20], 0x68
mov dword [rbp - 0x40], 0x18
mov dword [rbp - 0x30], 1
mov qword [rbp - 0x38], r13
xor r9d, r9d
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x180021627
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x18002164c
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], r13
xor r8d, r8d
lea rdx, [0x1801a09d9]
mov rcx, rsi
call fcn.180005170
jmp 0x1800217df
or dword [rbp + 0x1c], 0x101
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov word [rbp + 0x20], r13w
lea rdx, [rbp + 0x78]
cmp qword [rbp + 0x90], 0xf
cmova rdx, qword [rbp + 0x78]
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x180021613
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov rbx, r13
mov qword [rbp + 0x60], rbx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x68], r14
mov byte [rbp + 0x50], bl
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x70]
mov r8d, 0x80
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180021798
mov eax, dword [rbp + 0x70]
test eax, eax
je 0x180021798
mov edi, eax
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x18002174c
lea rax, [rbx + rdi]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x50]
cmp r14, 0xf
cmova rax, qword [rbp + 0x50]
add rbx, rax
mov r8d, edi
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call fcn.180183610
mov byte [rbx + rdi], 0
jmp 0x180021767
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0xc0]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.180005a00
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x70]
mov r8d, 0x80
lea rdx, [rbp + 0xc0]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180021798
mov r14, qword [rbp + 0x68]
mov rbx, qword [rbp + 0x60]
jmp 0x180021704
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x50], 0
lea rcx, [rbp + 0x50]
call fcn.180003f70
nop
lea rcx, [rbp + 0x78]
call fcn.180003f70
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.1801525e0
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret