Function at 0x467938
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff8dc
xor ecx, ecx
mov dword [ebp - 0x724], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404434
xor eax, eax
push ebp
push 0x467bcd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x720], 0x94
lea eax, [ebp - 0x720]
push eax
call sub.kernel32.dll_GetVersionExA_1
cmp dword [ebp - 0x710], 2
jne 0x4679b8
mov dword [ebp - 0x88], 0xc
xor eax, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0xffffffff
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_CreatePipe
jmp 0x4679cc
push 0x400
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_CreatePipe
xor eax, eax
push ebp
push 0x467b9d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402bac
mov dword [ebp - 0x6c], 0x44
mov word [ebp - 0x3c], 0
mov dword [ebp - 0x40], 1
or dword [ebp - 0x40], 0x100
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x689]
mov edx, dword [ebp - 4]
call fcn.0045c1ec
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x689]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x467b7d
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x467b5e
cmp byte [0x46f81c], 0
jne 0x467b5e
push 0x1f4
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov dword [ebp - 0x24], eax
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x400
lea eax, [ebp - 0x488]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
je 0x467b44
cmp dword [ebp - 0x1c], 0
jbe 0x467b44
call fcn.004605c4
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x467b3d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x488]
xor ecx, ecx
mov edx, 0x400
call fcn.00402bac
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x488]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ReadFile
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x724]
lea edx, [ebp - 0x488]
mov ecx, 0x400
call fcn.004041f4
mov eax, dword [ebp - 0x724]
mov ecx, dword [ebp - 0x14]
dec ecx
xor edx, edx
call fcn.004044a4
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
call fcn.00460ac0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x28]
call fcn.00403fd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467b44
mov eax, dword [ebp - 0x18]
call fcn.0045af58
ret
cmp dword [ebp - 0x24], 0x102
je 0x467b54
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 0
je 0x467a57
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x78]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467ba4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret