Function at 0x180004a80
Capabilities:
Create pipe
Create process on windows
Delete file
Write and execute a file
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x18018f080]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rdx
mov rsi, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rbp + 4], xmm0
movups xmmword [rbp + 0x14], xmm0
mov dword [rbp + 0x24], eax
mov dword [rbp - 0x40], 0x68
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r15
mov dword [rbp - 0x80], Ordinal_26
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 0x180004da8
xor r8d, r8d
lea edx, [r15 + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x180004b3a
mov rcx, qword [rbx]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180004d92
mov dword [rbp - 0x50], r15d
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rax
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x180004bba
mov rcx, qword [rbx]
lea rsi, [rcx + rax*2]
mov r14, rcx
jmp 0x180004bc1
lea rsi, [rbx + rax*2]
mov r14, rbx
movdqu xmmword [rbp - 0x68], xmm0
mov rax, r15
mov qword [rbp - 0x58], rax
sub rsi, r14
mov rdi, rsi
sar rdi, 1
je 0x180004c60
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x180004dd3
add rdi, rdi
cmp rdi, 0x1000
jb 0x180004c27
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x180004dcd
call fcn.18011aed0
mov rcx, rax
test rax, rax
je 0x180004d86
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180004c39
test rdi, rdi
je 0x180004c36
mov rcx, rdi
call fcn.18011aed0
jmp 0x180004c39
mov rax, r15
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
add rdi, rax
mov qword [rbp - 0x58], rdi
mov r8, rsi
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp - 0x60], rdi
mov rax, qword [rbp - 0x58]
jmp 0x180004c64
mov rdi, qword [rbp - 0x60]
mov word [rsp + 0x50], r15w
cmp rdi, rax
je 0x180004c7a
mov word [rdi], r15w
add qword [rbp - 0x60], 2
jmp 0x180004c8b
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x68]
call fcn.1800148e0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180004d4f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx + 0x18], 7
jbe 0x180004d05
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180004d4b
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004d46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004d86
call fcn.18011b354
mov al, 1
jmp 0x180004daa
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180004d92
mov rdx, qword [rbp - 0x58]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004d8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004d8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011b354
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18011aeb0
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1800026c0
int3
call fcn.180013e90
int3