Function at 0x42bb7c
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, 0xffffff60
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 1], cl
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x42bf5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x29], 0
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x3c], 0xffffffff
xor eax, eax
mov dword [ebp - 0x40], eax
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x42bf24
xor edx, edx
push ebp
push 0x42bf1d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0x9c41
call fcn.00409c20
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x88]
xor ecx, ecx
mov edx, 0x44
call fcn.0040321c
mov dword [ebp - 0x88], 0x44
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], 0x101
mov word [ebp - 0x58], 0
mov eax, edi
call fcn.0040499c
push eax
mov eax, edi
call fcn.00404b94
mov edx, eax
lea eax, [ebp - 0x28]
pop ecx
call fcn.004047d4
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push 0x8000020
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00404b94
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x42beef
xor edx, edx
push ebp
push 0x42bee8
push dword fs:[edx]
mov dword fs:[edx], esp
test esi, esi
je 0x42bcb1
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x30]
call fcn.004046e4
push 0x64
mov eax, dword [ebp - 0x98]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4329c8]
call fcn.0042dd1c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x9c40
mov edi, dword [ebp - 0x10]
push edi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
je 0x42be80
cmp dword [ebp - 0x18], 0
jbe 0x42be73
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x18]
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile_1
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov byte [eax + edx], 0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.004048d4
test esi, esi
je 0x42be73
mov eax, dword [ebp - 0x14]
call fcn.0040499c
test eax, eax
jle 0x42be73
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 1
mov al, byte [ebp - 0x29]
mov byte [ebp - 0x29], bl
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov bl, byte [edx + ecx - 1]
cmp byte [ebp - 0x29], 0xd
jne 0x42bd70
cmp bl, 0xa
jne 0x42bd70
cmp byte [ebp - 1], 0
je 0x42bd7b
cmp bl, 0xd
sete dl
and dl, byte [ebp - 1]
je 0x42bdb1
cmp dword [ebp - 0x30], 0
je 0x42bd95
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov ecx, dword [ebp - 0x30]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x20]
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x30]
call fcn.004046e4
mov byte [ebp - 0x29], 0
xor ebx, ebx
jmp 0x42be67
cmp byte [ebp - 0x29], 0xd
jne 0x42bdf5
cmp al, 0xa
je 0x42bdf5
cmp byte [ebp - 1], 0
jne 0x42bdf5
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov ecx, dword [ebp - 0x30]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x20]
cmp bl, 0xa
je 0x42bdeb
cmp bl, 0xd
je 0x42bdeb
lea eax, [ebp - 0x30]
mov edx, ebx
call fcn.004048c4
jmp 0x42be67
lea eax, [ebp - 0x30]
call fcn.004046e4
jmp 0x42be67
cmp byte [ebp - 0x29], 0xa
jne 0x42be42
cmp al, 0xd
je 0x42be42
cmp byte [ebp - 1], 0
jne 0x42be42
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov ecx, dword [ebp - 0x30]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x20]
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp bl, 0xa
je 0x42be38
cmp bl, 0xd
je 0x42be38
lea eax, [ebp - 0x30]
mov edx, ebx
call fcn.004048c4
jmp 0x42be67
lea eax, [ebp - 0x30]
call fcn.004046e4
jmp 0x42be67
cmp bl, 0xa
je 0x42be67
cmp bl, 0xd
je 0x42be67
lea eax, [ebp - 0x9c]
mov edx, ebx
call fcn.004048c4
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x30]
call fcn.004049a4
inc dword [ebp - 0x34]
dec dword [ebp - 0x38]
jne 0x42bd4f
cmp dword [ebp - 0x1c], 0x102
je 0x42bcb9
test esi, esi
je 0x42bec2
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xa0]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 0x30]
call fcn.004049a4
mov eax, dword [ebp - 0xa0]
push eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov eax, esi
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42beef
mov eax, dword [ebp - 0x98]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x94]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bf24
cmp dword [ebp - 0x10], 0
je 0x42bf0a
mov eax, dword [ebp - 0x10]
call fcn.00402994
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42bf61
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.00404708
lea eax, [ebp - 0x30]
call fcn.004046e4
lea eax, [ebp - 0x28]
call fcn.004046e4
lea eax, [ebp - 0x14]
call fcn.004046e4
ret