Function at 0x1400153e0
Capabilities:
Create pipe
Create process on windows
Read file on windows
Write and execute a file
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1430]
mov eax, 0x1530
call fcn.1400c6cd0
sub rsp, rax
mov rax, qword [0x1400f80c0]
xor rax, rsp
mov qword [rbp + 0x1420], rax
xor edi, edi
mov dword [rsp + 0x78], Ordinal_30
mov rbx, rdx
mov qword [rsp + 0x50], rdi
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rbp - 0x80], rdi
lea r8, [rsp + 0x78]
mov dword [rbp - 0x78], 1
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400155ee
mov rcx, qword [rsp + 0x50]
lea edx, [rdi + 1]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1400155ee
xorps xmm0, xmm0
mov dword [rbp - 0x70], 0x68
xor eax, eax
mov ecx, 0xfffffff6
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp - 0x34], eax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x20], rax
xorps xmm0, xmm0
xor eax, eax
cmp qword [rbx + 0x18], 0xf
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
jbe 0x1400154d4
mov rbx, qword [rbx]
mov r9d, 0x400
lea rcx, [rbp + 0x10]
mov edx, r9d
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea rax, [rsp + 0x60]
mov byte [rbp + 0x40f], dil
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x10]
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rdi
xor ecx, ecx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400155ee
mov rcx, qword [rsp + 0x50]
lea r9, [rbp]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400155b9
mov ebx, dword [rbp]
test ebx, ebx
je 0x1400155b9
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rbp + 4]
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea rdx, [rbp + 0x410]
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
lea r9, [rbp]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140015566
mov rcx, qword [rsp + 0x60]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
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 rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400155f0
xor al, al
mov rcx, qword [rbp + 0x1420]
xor rcx, rsp
call fcn.1400c60f0
lea r11, [rsp + 0x1530]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret