Function at 0xee30c
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
push ecx
mov ecx, 0x51a
push 0
push 0
dec ecx
jne 0xee315
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xee75e
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0xee69d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0xee689
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x48], 0xc
mov dword [ebp - 0x40], 0xffffffff
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
push 0x2800
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_CreatePipe
lea eax, [ebp - 0x8c]
xor ecx, ecx
mov edx, 0x44
call fcn.00012b38
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x10
call fcn.00012b38
mov dword [ebp - 0x8c], 0x44
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], 0x101
mov word [ebp - 0x5c], 0
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0xc]
call fcn.000140bc
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.000140bc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0xee474
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x2898]
mov eax, 0xee76c
call fcn.0007a2b0
push dword [ebp - 0x2898]
push dword [ebp - 4]
lea edx, [ebp - 0x289c]
mov eax, 0xee774
call fcn.0007a2b0
push dword [ebp - 0x289c]
lea edx, [ebp - 0x28a0]
mov eax, dword [ebp - 0x24]
call fcn.000766dc
push dword [ebp - 0x28a0]
lea eax, [ebp - 0x2894]
mov edx, 4
call fcn.00013fb8
mov eax, dword [ebp - 0x2894]
call fcn.000eb674
jmp 0xee64b
cmp dword [ebp - 0x38], 0
je 0xee5f9
cmp dword [ebp - 0x3c], 0
je 0xee5f9
lea edx, [ebp - 0x28a4]
mov eax, 0xee778
call fcn.0007a2b0
push dword [ebp - 0x28a4]
push dword [ebp - 4]
lea edx, [ebp - 0x28a8]
mov eax, 0xee774
call fcn.0007a2b0
push dword [ebp - 0x28a8]
push 0xee78c
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00013fb8
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], 0
je 0xee58d
cmp dword [ebp - 0x1c], 0xffffffff
je 0xee58d
push 0x64
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x288d]
mov edx, 0x2800
call fcn.00017ea4
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x27ff
lea eax, [ebp - 0x288d]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_PeekNamedPipe
cmp dword [ebp - 0x10], 0
jbe 0xee56a
lea edx, [ebp - 0x28ac]
lea eax, [ebp - 0x288d]
call fcn.0007a2b0
mov edx, dword [ebp - 0x28ac]
lea eax, [ebp - 0x20]
call fcn.00013f00
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x288d]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_ReadFile_1
cmp dword [ebp - 0x28], 0x103
jne 0xee5ab
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x18]
call fcn.00077970
cmp eax, 0x7530
jbe 0xee4e5
jmp 0xee5ab
lea edx, [ebp - 0x28b0]
mov eax, 0xee790
call fcn.0007a2b0
mov edx, dword [ebp - 0x28b0]
lea eax, [ebp - 0x20]
call fcn.00013f00
push dword [ebp - 0x20]
push 0xee78c
lea edx, [ebp - 0x28b4]
mov eax, 0xee7a4
call fcn.0007a2b0
push dword [ebp - 0x28b4]
push dword [ebp - 4]
lea edx, [ebp - 0x28b8]
mov eax, 0xee7b0
call fcn.0007a2b0
push dword [ebp - 0x28b8]
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00013fb8
mov eax, dword [ebp - 0x20]
call fcn.000eb6d8
jmp 0xee64b
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x24], eax
lea edx, [ebp - 0x28c0]
mov eax, 0xee7b4
call fcn.0007a2b0
push dword [ebp - 0x28c0]
push dword [ebp - 4]
lea edx, [ebp - 0x28c4]
mov eax, 0xee7c0
call fcn.0007a2b0
push dword [ebp - 0x28c4]
lea eax, [ebp - 0x28bc]
mov edx, 3
call fcn.00013fb8
mov eax, dword [ebp - 0x28bc]
call fcn.000eb674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xee690
lea eax, [ebp - 0x3c]
call fcn.0007a26c
cmp dword [ebp - 0x1c], 0
je 0xee66f
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x14], 0
je 0xee67e
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x14], eax
ret