Function at 0x140004790
Capabilities:
Create pipe
Create process on windows
Create reverse shell
Create two anonymous pipes

Disassembly:
push rbp
push rsi
push r12
push r13
lea rbp, [rsp - 0xe8]
sub rsp, 0x1e8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r13d, r13d
movsxd rsi, ecx
xorps xmm0, xmm0
mov qword [rbp - 0x68], r13
mov r12, rdx
mov qword [rbp - 0x78], r13
lea rdx, [rsp + 0x60]
mov qword [rbp - 0x48], r13
lea rcx, [rsp + 0x58]
movdqa xmmword [rbp - 0x40], xmm0
xor r9d, r9d
mov qword [rbp - 0x30], r13
lea r8, [rbp - 0x70]
mov qword [rbp - 0x28], r13
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov dword [rbp - 0x10], r13d
mov qword [rbp - 8], r13
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov dword [rbp - 0x70], 0x18
mov dword [rbp - 0x60], 1
mov dword [rbp - 0x50], 0x68
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14000483c
lea rcx, str.internal_error_n
call fcn.1400026e0
jmp 0x140004dae
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14000487e
lea rcx, str.internal_error_n
call fcn.1400026e0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004dae
lea rax, [rbp + 0x60]
mov qword [rsp + 0x210], rbx
mov ebx, 0x20
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x5c], ebx
mov dword [rbp + 0x58], r13d
mov byte [rbp + 0x60], r13b
call fcn.140003f40
test eax, eax
jne 0x1400048e8
lea rcx, str.internal_error_n
call fcn.1400026e0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
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 + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140004da6
mov eax, dword [0x14005dfb8]
lea r8, [rbp + 0x30]
mov qword [rsp + 0x220], rdi
mov dword [rbp + 0x30], eax
mov eax, 3
mov edx, ebx
mov qword [rsp + 0x228], r14
mov dword [rbp + 0x28], eax
mov qword [rsp + 0x1e0], r15
mov qword [rbp + 0x20], r8
mov dword [rbp + 0x2c], ebx
cmp rdx, rbx
ja 0x14000493b
add rdx, rdx
cmp rdx, rbx
jbe 0x140004923
lea rcx, [rbp + 0x20]
call fcn.140025620
mov eax, dword [rbp + 0x28]
mov r8, qword [rbp + 0x20]
movups xmm0, xmmword [str.__b2db_internal_debug_handle]
mov ecx, eax
lea rdx, [0x14005df6c]
add rcx, r8
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x14005f360]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x14005f368]
mov dword [rcx + 0x18], eax
movzx eax, word [0x14005f36c]
mov word [rcx + 0x1c], ax
lea rcx, [rbp + 0x80]
mov r8, qword [rsp + 0x58]
mov dword [rbp + 0x28], ebx
call fcn.140002790
lea rax, [rbp + 0x80]
or rbx, 0xffffffffffffffff
cmp byte [rax + rbx + 1], r13b
lea rbx, [rbx + 1]
jne 0x140004991
mov eax, dword [rbp + 0x28]
mov edx, dword [rbp + 0x2c]
lea rdi, [rbx + rax]
cmp rdx, rdi
ja 0x1400049c4
nop dword [rax + rax]
add rdx, rdx
cmp rdx, rdi
jbe 0x1400049b0
lea rcx, [rbp + 0x20]
call fcn.140025620
mov eax, dword [rbp + 0x28]
mov ecx, eax
lea r8, [rbx + 1]
add rcx, qword [rbp + 0x20]
lea rdx, [rbp + 0x80]
call fcn.140034af0
mov edx, dword [rbp + 0x2c]
mov cl, 0x20
mov ebx, edi
inc rbx
mov dword [rbp + 0x28], edi
mov byte [rsp + 0x50], cl
cmp rdx, rbx
ja 0x140004a09
add rdx, rdx
cmp rdx, rbx
jbe 0x1400049f0
lea rcx, [rbp + 0x20]
call fcn.140025620
movzx ecx, byte [rsp + 0x50]
mov edi, dword [rbp + 0x28]
mov eax, edi
add rax, qword [rbp + 0x20]
mov byte [rax], cl
mov rax, qword [rbp + 0x20]
mov dword [rbp + 0x28], ebx
mov byte [rbx + rax], r13b
mov eax, dword [rbp + 0x28]
mov edx, dword [rbp + 0x2c]
lea rbx, [rax + 0x1d]
cmp rdx, rbx
ja 0x140004a44
nop dword [rax + rax]
add rdx, rdx
cmp rdx, rbx
jbe 0x140004a30
lea rcx, [rbp + 0x20]
call fcn.140025620
mov eax, dword [rbp + 0x28]
movups xmm0, xmmword [str.__b2db_internal_debug_handle]
mov ecx, eax
lea rdx, [0x14005df6c]
add rcx, qword [rbp + 0x20]
movups xmmword [rcx], xmm0
movsd xmm1, qword [0x14005f360]
movsd qword [rcx + 0x10], xmm1
mov eax, dword [0x14005f368]
mov dword [rcx + 0x18], eax
movzx eax, word [0x14005f36c]
mov word [rcx + 0x1c], ax
lea rcx, [rbp + 0x80]
mov r8, qword [rsp + 0x70]
mov dword [rbp + 0x28], ebx
call fcn.140002790
lea rax, [rbp + 0x80]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
cmp byte [rax + rbx + 1], r13b
lea rbx, [rbx + 1]
jne 0x140004aa0
mov eax, dword [rbp + 0x28]
mov edx, dword [rbp + 0x2c]
lea rdi, [rbx + rax]
cmp rdx, rdi
ja 0x140004ad4
nop word [rax + rax]
add rdx, rdx
cmp rdx, rdi
jbe 0x140004ac0
lea rcx, [rbp + 0x20]
call fcn.140025620
mov eax, dword [rbp + 0x28]
mov ecx, eax
lea r8, [rbx + 1]
add rcx, qword [rbp + 0x20]
lea rdx, [rbp + 0x80]
call fcn.140034af0
mov r14d, 1
mov dword [rbp + 0x28], edi
mov r15, rsi
cmp r14, rsi
jge 0x140004ba5
nop
mov edx, dword [rbp + 0x2c]
mov cl, 0x20
mov ebx, edi
inc rbx
mov byte [rsp + 0x50], cl
cmp rdx, rbx
ja 0x140004b2c
add rdx, rdx
cmp rdx, rbx
jbe 0x140004b13
lea rcx, [rbp + 0x20]
call fcn.140025620
movzx ecx, byte [rsp + 0x50]
mov edi, dword [rbp + 0x28]
mov eax, edi
add rax, qword [rbp + 0x20]
mov byte [rax], cl
mov rax, qword [rbp + 0x20]
mov dword [rbp + 0x28], ebx
mov byte [rbx + rax], r13b
or rbx, 0xffffffffffffffff
mov rsi, qword [r12 + r14*8]
nop word [rax + rax]
cmp byte [rsi + rbx + 1], r13b
lea rbx, [rbx + 1]
jne 0x140004b50
mov eax, dword [rbp + 0x28]
mov edx, dword [rbp + 0x2c]
lea rdi, [rbx + rax]
cmp rdx, rdi
ja 0x140004b84
nop word [rax + rax]
add rdx, rdx
cmp rdx, rdi
jbe 0x140004b70
lea rcx, [rbp + 0x20]
call fcn.140025620
mov eax, dword [rbp + 0x28]
mov ecx, eax
lea r8, [rbx + 1]
add rcx, qword [rbp + 0x20]
mov rdx, rsi
call fcn.140034af0
inc r14
mov dword [rbp + 0x28], edi
cmp r14, r15
jl 0x140004b00
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov rdx, qword [rbp + 0x20]
lea rax, [rsp + 0x78]
mov rcx, qword [rbp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov r15, qword [rsp + 0x1e0]
mov r14, qword [rsp + 0x228]
mov rdi, qword [rsp + 0x220]
test eax, eax
jne 0x140004c9f
lea rcx, str.internal_error_n
call fcn.1400026e0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
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 + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x60]
cmp rcx, rax
je 0x140004c6d
call fcn.140035d1c
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x30]
mov dword [rbp + 0x58], r13d
mov dword [rbp + 0x5c], 0x20
mov byte [rbp + 0x60], r13b
cmp rcx, rax
je 0x140004da6
call fcn.140035d1c
jmp 0x140004da6
mov eax, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x80]
mov dword [0x14006cc54], eax
mov rax, qword [rsp + 0x78]
mov qword [0x14006cc40], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x60]
cmp rcx, rax
je 0x140004ce6
call fcn.140035d1c
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0x60]
mov qword [rbp + 0x50], rax
lea rax, [rbp + 0x30]
mov dword [rbp + 0x58], r13d
mov dword [rbp + 0x5c], 0x20
mov byte [rbp + 0x60], r13b
cmp rcx, rax
je 0x140004d0f
call fcn.140035d1c
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x30]
mov rbx, qword [rsp + 0x60]
xor edx, edx
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], r13d
mov dword [rbp + 0x2c], 0x20
mov byte [rbp + 0x30], r13b
mov dword [0x14006cc30], 1
call fcn.1400415b0
mov ecx, eax
lea rdx, [0x14005dca8]
call fcn.140036eb4
mov edx, 1
mov qword [0x14006cc88], rax
mov rcx, rbx
call fcn.1400415b0
mov ecx, eax
lea rdx, [0x14005df70]
call fcn.140036eb4
mov ecx, 1
mov qword [0x14006cc78], rax
call fcn.1400044a0
call fcn.1400046b0
mov rcx, qword [0x14006cc78]
lea rdx, str.continue_n
call fcn.140002690
mov rcx, qword [0x14006cc78]
call fcn.1400369cc
mov rbx, qword [rsp + 0x210]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140033bb0
add rsp, 0x1e8
pop r13
pop r12
pop rsi
pop rbp
ret