Function at 0x48cc72
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0xc0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
lea edx, [ebp - 0x7c]
mov eax, 0
mov ecx, 0x11
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x7c], 0x44
mov dword [ebp - 0x50], 0x100
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov eax, dword [ebp + 0x10]
and eax, 3
test eax, eax
je 0x48cf04
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x38]
add eax, 4
mov dword [esp + 4], eax
lea eax, [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreatePipe]
call eax
sub esp, 0x10
test eax, eax
jne 0x48cd67
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CreatePipe__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x20
mov dword [esp], str.shared_exec_op.c
call dbg._merror
mov eax, 0
jmp 0x48d514
mov eax, dword [ebp - 0x34]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
call eax
sub esp, 0xc
test eax, eax
jne 0x48cde4
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.SetHandleInformation__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x25
mov dword [esp], str.shared_exec_op.c
call dbg._merror
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x48d514
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__open_osfhandle]
call eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
shr eax, 0x1f
and eax, 1
test al, al
je 0x48ce62
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._open_osfhandle__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x2c
mov dword [esp], str.shared_exec_op.c
call dbg._merror
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x48d514
mov dword [esp + 4], 0x503396
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__fdopen]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x48ced6
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._fdopen__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x33
mov dword [esp], str.shared_exec_op.c
call dbg._merror
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__close]
call eax
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x48d514
mov eax, dword [ebp + 0x10]
and eax, 1
test eax, eax
je 0x48cee5
mov eax, dword [ebp - 0x34]
jmp 0x48ceea
mov eax, 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
and eax, 2
test eax, eax
je 0x48cefc
mov eax, dword [ebp - 0x34]
jmp 0x48cf01
mov eax, 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
and eax, 0x10
test eax, eax
je 0x48d182
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0x30]
add eax, 4
mov dword [esp + 4], eax
lea eax, [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreatePipe]
call eax
sub esp, 0x10
test eax, eax
jne 0x48cf9e
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CreatePipe__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x3f
mov dword [esp], str.shared_exec_op.c
call dbg._merror
mov eax, dword [ebp + 0x10]
and eax, 3
test eax, eax
je 0x48cf94
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x48d514
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
call eax
sub esp, 0xc
test eax, eax
jne 0x48d040
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.SetHandleInformation__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x4a
mov dword [esp], str.shared_exec_op.c
call dbg._merror
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp + 0x10]
and eax, 3
test eax, eax
je 0x48d036
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x48d514
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__open_osfhandle]
call eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
shr eax, 0x1f
and eax, 1
test al, al
je 0x48d0e3
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._open_osfhandle__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x57
mov dword [esp], str.shared_exec_op.c
call dbg._merror
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp + 0x10]
and eax, 3
test eax, eax
je 0x48d0d9
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x48d514
mov dword [esp + 4], 0x5033a7
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__fdopen]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48d17c
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._fdopen__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x64
mov dword [esp], str.shared_exec_op.c
call dbg._merror
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__close]
call eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp + 0x10]
and eax, 3
test eax, eax
je 0x48d172
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
jmp 0x48d514
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x48d343
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp], eax
call sym._strlen
add eax, 3
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48d1fe
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov ebx, eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x5033ac
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x79
mov dword [esp], str.shared_exec_op.c
call dbg._merror_exit
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.__s_
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._snprintf_58
mov dword [ebp - 0x18], 1
jmp 0x48d2f8
mov eax, dword [ebp - 0x18]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call sym._strlen
add eax, 1
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._realloc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x48d2b4
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov ebx, eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x5033ac
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x7e
mov dword [esp], str.shared_exec_op.c
call dbg._merror_exit
mov eax, dword [ebp - 0x18]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0x24]
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x1c]
lea ebx, [edx - 1]
mov edx, dword [ebp - 0x14]
add edx, ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x5033e6
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._snprintf_58
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x1c], eax
add dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
test eax, eax
jne 0x48d22d
mov eax, dword [ebp - 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.path___s__command___s
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x83
mov dword [esp], str.shared_exec_op.c
call dbg._mdebug2
lea eax, [ebp - 0x8c]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x7c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
jne 0x48d438
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.CreateProcess__:__ld
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x87
mov dword [esp], str.shared_exec_op.c
call dbg._mdebug1
mov eax, dword [ebp + 0x10]
and eax, 3
test eax, eax
je 0x48d3f8
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp + 0x10]
and eax, 0x10
test eax, eax
je 0x48d41d
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._fclose
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
cmp dword [ebp - 0x14], 0
je 0x48d42e
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._free
mov eax, 0
jmp 0x48d514
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._free
mov dword [esp + 4], 0x18
mov dword [esp], 1
call sym._calloc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x48d4a8
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sym._strerror
mov ebx, eax
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x5033ac
mov dword [esp + 8], str.wpopenv
mov dword [esp + 4], 0x9b
mov dword [esp], str.shared_exec_op.c
call dbg._merror_exit
mov eax, dword [ebp + 0x10]
and eax, 3
test eax, eax
je 0x48d4cb
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0x10]
and eax, 0x10
test eax, eax
je 0x48d4ed
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x8c]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x88]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x84]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x80]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x28]
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret