Function at 0x180023c60
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 r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x180243280]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rdx
xor r15d, r15d
mov rcx, qword [r8 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 7
jb 0x180023f4c
cmp qword [r8 + 0x18], 0xf
jbe 0x180023cbc
mov r8, qword [r8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], 7
lea r9, str.cmd__c
lea rcx, [rbp + 0x38]
call fcn.180043470
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x60], 0x68
mov dword [rbp - 0x80], 0x18
mov dword [rbp - 0x70], 1
mov qword [rbp - 0x78], r15
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x180023d6b
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x180023d90
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
xor r8d, r8d
lea rdx, [0x1801ff6b9]
mov rcx, rdi
call fcn.180005800
jmp 0x180023f1a
or dword [rbp - 0x24], 0x101
mov rax, qword [rsp + 0x60]
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov word [rbp - 0x20], r15w
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0xf
cmova rdx, qword [rbp + 0x38]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
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 0x180023d55
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov rbx, r15
mov qword [rbp + 0x28], rbx
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x30], r14
mov byte [rbp + 0x18], bl
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x10]
lea r8d, [r14 + 0x71]
lea rdx, [rbp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180023ed0
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x180023ed0
mov esi, eax
mov rax, r14
sub rax, rbx
cmp rsi, rax
ja 0x180023e89
lea rax, [rbx + rsi]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x18]
cmp r14, 0xf
cmova rax, qword [rbp + 0x18]
add rbx, rax
mov r8d, esi
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.1801da970
mov byte [rbx + rsi], 0
jmp 0x180023ea1
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x60]
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x18]
call fcn.180006190
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x10]
mov r8d, 0x80
lea rdx, [rbp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180023ed0
mov r14, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x28]
jmp 0x180023e44
mov rcx, qword [rsp + 0x58]
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]
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x18], 0
lea rcx, [rbp + 0x18]
call fcn.180004420
nop
lea rcx, [rbp + 0x38]
call fcn.180004420
mov rax, rdi
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.18017ae80
mov rbx, qword [rsp + 0x220]
add rsp, 0x1f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1800020a0
int3