Function at 0x4c28f4
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040448c
xor eax, eax
push ebp
push 0x4c2c60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
call fcn.00403fdc
lea ecx, [ebp - 0x20]
mov edx, dword [0x4c6328]
mov edx, dword [edx]
mov eax, dword [0x4c60d8]
mov eax, dword [eax]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
mov eax, 0x4c2c78
call fcn.004045e0
mov ecx, eax
lea eax, [ebp - 0x20]
mov edx, 1
call fcn.0040453c
mov edx, dword [ebp - 0x20]
mov eax, 0x4c2c84
call fcn.004045e0
test eax, eax
jle 0x4c29cc
lea eax, [ebp - 0x8c]
push eax
mov edx, dword [ebp - 0x20]
mov eax, 0x4c2c84
call fcn.004045e0
mov ecx, eax
mov edx, 1
mov eax, dword [ebp - 0x20]
call fcn.004044fc
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.00408458
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x20]
call fcn.00404074
mov eax, dword [ebp - 0x20]
call fcn.0040429c
cmp eax, 7
jl 0x4c2c2d
mov eax, 0x400
call fcn.00408184
mov dword [ebp - 0x18], eax
mov eax, 0x400
call fcn.00408184
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x74], 0xc
xor eax, eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 0xffffffff
push 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x4c2c2d
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x44
call fcn.00402bbc
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 0x101
mov word [ebp - 0x38], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.00408e20
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4c2aa6
mov eax, dword [ebp - 0x14]
call fcn.00402774
mov eax, dword [ebp - 0x18]
call fcn.00402774
jmp 0x4c2c2d
mov eax, dword [ebp - 0x7c]
mov dword [0x4c905c], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
push ebp
push 0x4c2bda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 1
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
jne 0x4c2aed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2bf5
cmp dword [ebp - 0x10], 0
je 0x4c2b51
push 0
lea eax, [ebp - 0x10]
push eax
push 8
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4c2b1f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2bf5
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 0x14]
call fcn.004041d4
mov edx, dword [ebp - 0x90]
lea ecx, [ebp - 0x1c]
mov eax, ebx
call fcn.004c2780
jmp 0x4c2b70
push 0
mov eax, dword [ebp - 0x84]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
jne 0x4c2b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2bf5
mov eax, dword [0x4c6288]
mov eax, dword [eax]
call fcn.0046f8e4
push 2
call sub.kernel32.dll_Sleep_1
cmp dword [0x4c904c], 0x74a
jne 0x4c2bcd
lea eax, [ebp - 0x94]
mov ecx, 0x4c2c90
mov edx, dword [ebp - 0x24]
call fcn.004042e8
mov edx, dword [ebp - 0x94]
mov eax, dword [0x4c9040]
mov eax, dword [eax + 0x35c]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.004c2634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2bf5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2ab7
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov byte [eax + edx], 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x80]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x84]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x14]
call fcn.00402774
mov eax, dword [ebp - 0x18]
call fcn.00402774
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2c67
lea eax, [ebp - 0x94]
mov edx, 4
call fcn.00404000
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404000
lea eax, [ebp - 4]
call fcn.00403fdc
ret