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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x20], ecx
mov ebx, edx
mov edi, eax
lea esi, [ebp - 0xc]
xor eax, eax
push ebp
push 0x484215
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], 0xc
mov dword [ebp - 0x68], 0xffffffff
xor eax, eax
mov dword [ebp - 0x6c], eax
push 0x484230
lea eax, [ebp - 0x84]
call fcn.00409f3c
push dword [ebp - 0x84]
push 0x48423c
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404b00
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x483f90
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x8c]
call fcn.0040c948
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, 0x484248
call fcn.00404a8c
mov ecx, dword [ebp - 0x88]
mov dl, 1
mov eax, dword [0x407f80]
call fcn.0040d174
call fcn.004040fc
xor eax, eax
push ebp
push 0x4841e8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x483ff2
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x94]
call fcn.0040c948
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x484294
call fcn.00404a8c
mov ecx, dword [ebp - 0x90]
mov dl, 1
mov eax, dword [0x407f80]
call fcn.0040d174
call fcn.004040fc
xor eax, eax
push ebp
push 0x4841c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x800
call fcn.004027e8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48419a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403238
mov dword [ebp - 0x64], 0x44
mov word [ebp - 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x101
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x70]
push eax
mov eax, edi
call fcn.00404c40
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x4840b2
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x9c]
call fcn.0040c948
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x4842e0
call fcn.00404a8c
mov ecx, dword [ebp - 0x98]
mov dl, 1
mov eax, dword [0x407f80]
call fcn.0040d174
call fcn.004040fc
xor eax, eax
push ebp
push 0x48417d
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4840c9
push 0
call sub.kernel32.dll_Sleep
push 0x32
mov eax, dword [ebp - 0x80]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4840c2
mov eax, ebx
call fcn.00404780
push 0
push 0
push esi
push 0x800
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
je 0x48415d
cmp dword [esi], 0
je 0x48415d
push 0
push esi
push 0x800
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_ReadFile_1
cmp dword [esi], 0
jbe 0x484155
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 8]
call fcn.0040a134
mov eax, dword [ebp - 0xa4]
mov ecx, dword [esi]
mov edx, 1
call fcn.00404ca0
mov edx, dword [ebp - 0xa0]
mov eax, ebx
call fcn.00404a48
mov eax, dword [esi]
add dword [ebp - 4], eax
cmp dword [esi], 0x800
jae 0x4840e2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484184
mov eax, dword [ebp - 0x80]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret