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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x689afc
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xac]
push 0x100000
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0xac], 0xc
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0xa4], 1
push eax
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0
call edi
test eax, eax
je 0x4d039b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc8], vtable.utils::CHandleGuard.0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 4], 1
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], vtable.utils::CHandleGuard.0
push 0x100000
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x80], 0
push eax
call edi
test eax, eax
jne 0x4d0040
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Cannot_create_pipe
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044dac0
mov byte [ebp - 4], 3
jmp 0x4d03b7
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], vtable.utils::CHandleGuard.0
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xc0], vtable.utils::CHandleGuard.0
mov eax, dword [ebp - 0x68]
xorps xmm0, xmm0
movlpd qword [ebp - 0xf0], xmm0
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xf0]
or eax, 0x100
mov byte [ebp - 4], 5
cmp byte [ebp + 0x18], 0
movlpd qword [ebp - 0x118], xmm0
movlpd qword [ebp - 0x110], xmm0
movlpd qword [ebp - 0x108], xmm0
movlpd qword [ebp - 0x100], xmm0
movlpd qword [ebp - 0xf8], xmm0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x11c], 0x44
mov dword [ebp - 0xe4], ecx
mov dword [ebp - 0xf0], eax
je 0x4d00e9
xor ecx, ecx
or eax, 1
mov word [ebp - 0xec], cx
mov dword [ebp - 0xf0], eax
test esi, esi
je 0x4d00fb
cmp dword [esi + 0x14], 8
jb 0x4d00f5
mov esi, dword [esi]
mov dword [ebp - 0x114], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push edx
call esi
test eax, eax
jne 0x4d012a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Cannot_set_handle_information
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044dac0
mov byte [ebp - 4], 6
jmp 0x4d03b7
push 0
push 1
push dword [ebp - 0x5c]
call esi
test eax, eax
jne 0x4d0155
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Cannot_set_handle_information
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0044dac0
mov byte [ebp - 4], 7
jmp 0x4d03b7
mov edi, dword [ebp - 0x84]
lea eax, [ebp - 0x11c]
push 0
push 1
push eax
push edi
push ebx
lea ecx, [ebp - 0xb8]
call fcn.004cf810
cmp dword [ebp - 0x6c], 0
mov byte [ebp - 4], 8
je 0x4d0186
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x70]
call dword [eax + 4]
cmp dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0
je 0x4d019c
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x78]
call dword [eax + 4]
lea eax, [ebp - 0x61]
mov dword [ebp - 0x74], 0
push eax
push 0x100000
lea ecx, [ebp - 0x90]
call fcn.0046c2d0
mov ebx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x60]
mov esi, dword [ebp - 0x90]
mov eax, ebx
push 0
sub eax, esi
mov byte [ebp - 4], 9
push ecx
dec eax
mov dword [ebp - 0x60], 0
push eax
push esi
push dword [ebp - 0x5c]
mov dword [ebp - 0x9c], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d022d
mov edi, dword [ebp - 0x98]
push 0
mov byte [ebx - 1], 0
lea ecx, [edi + 0x10]
push dword [ebp - 0x60]
push esi
call fcn.004d1160
push 0
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0
push eax
push dword [ebp - 0x9c]
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d01f4
mov edi, dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x6d
jne 0x4d0338
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x4d0254
push dword [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4d0256
xor eax, eax
mov ecx, dword [ebp - 0xa0]
test ecx, ecx
je 0x4d0262
mov dword [ecx], eax
lea ecx, [ebp - 0xb8]
call fcn.004cfd30
test eax, eax
je 0x4d02e0
push edi
lea eax, [ebp - 0x40]
push str.Process__
push eax
call fcn.004cb280
push str.__failed
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xe
push eax
call fcn.0044f680
add esp, 0x18
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x10
call fcn.0044d800
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047d770
add esp, 8
mov esi, eax
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x11
call fcn.004cfd30
push eax
push esi
lea ecx, [ebp - 0xd8]
call fcn.00450300
push 0x73d438
lea eax, [ebp - 0xd8]
jmp 0x4d03cf
lea ecx, [ebp - 0x90]
call fcn.00452a20
lea ecx, [ebp - 0xb8]
call fcn.004cfc80
lea ecx, [ebp - 0xc0]
call fcn.00481160
lea ecx, [ebp - 0x70]
call fcn.00481160
lea ecx, [ebp - 0x78]
call fcn.00481160
lea ecx, [ebp - 0xc8]
call fcn.00481160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x28]
push str.Process__
push eax
call fcn.004cb280
push str.__failed
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
call fcn.0044f680
add esp, 0x18
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xc
call fcn.0044d800
call esi
mov esi, eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047d770
add esp, 8
push esi
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
call fcn.00450300
push 0x73d438
lea eax, [ebp - 0xd8]
jmp 0x4d03cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Cannot_create_pipe
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.0044dac0
mov dword [ebp - 4], 0
push esi
push eax
lea ecx, [ebp - 0x94]
call fcn.00450300
push 0x73d438
lea eax, [ebp - 0x94]
push eax
call fcn.004a18e8
int3