Function at 0x44d29c
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, 0xfffff95c
push ebx
xor ebx, ebx
mov dword [ebp - 0x6a4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004042c0
xor eax, eax
push ebp
push 0x44d526
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0044d274
test al, al
je 0x44d32e
push 1
lea eax, [ebp - 0x9c]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x9c]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
mov dword [ebp - 0x88], 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0xffffffff
push 0x400
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_CreatePipe
jmp 0x44d342
push 0x400
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_CreatePipe
xor eax, eax
push ebp
push 0x44d4fe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402af4
mov dword [ebp - 0x6c], 0x44
cmp byte [ebp + 8], 0
je 0x44d374
mov word [ebp - 0x3c], 1
jmp 0x44d37a
mov word [ebp - 0x3c], 0
mov dword [ebp - 0x40], 1
or dword [ebp - 0x40], 0x100
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x69d]
mov edx, dword [ebp - 4]
call fcn.0040839c
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 - 0x69d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x44d4de
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x44d4bf
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_PeekNamedPipe
test eax, eax
je 0x44d49c
cmp dword [ebp - 0x20], 0
jbe 0x44d49c
mov dl, 1
mov eax, dword [0x411838]
call fcn.004030a8
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x44d495
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x49c]
xor ecx, ecx
mov edx, 0x400
call fcn.00402af4
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x49c]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_ReadFile
lea eax, [ebp - 0x6a4]
lea edx, [ebp - 0x49c]
mov ecx, 0x400
call fcn.00404080
mov edx, dword [ebp - 0x6a4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d49c
mov eax, dword [ebp - 0x1c]
call fcn.004030d8
ret
cmp dword [ebp - 0x28], 0x102
je 0x44d4ae
mov dword [ebp - 0x24], 1
jmp 0x44d4b5
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
je 0x44d3db
lea eax, [ebp - 0x24]
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 0x44d505
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
ret