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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x431034]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x12c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x12c], 0xc
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x124], 1
push eax
mov dword [ebp - 0x128], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x404f01
push 0
push 1
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x404f01
push 0
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x404f01
push 0
push 1
push dword [ebp - 0x120]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x404f01
lea eax, [edi + 0x10]
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x18c], eax
xor ecx, ecx
mov eax, dword [eax]
mov edx, 2
inc eax
xorps xmm0, xmm0
mul edx
movlpd qword [ebp - 0x180], xmm0
movlpd qword [ebp - 0x178], xmm0
movlpd qword [ebp - 0x170], xmm0
movlpd qword [ebp - 0x168], xmm0
movlpd qword [ebp - 0x160], xmm0
movlpd qword [ebp - 0x158], xmm0
seto cl
neg ecx
or ecx, eax
push ecx
movups xmmword [ebp - 0x13c], xmm0
call fcn.0040adfe
add esp, 4
mov dword [ebp - 0x188], eax
cmp dword [edi + 0x14], 8
jb 0x404d2e
mov edi, dword [edi]
mov ecx, dword [ebp - 0x18c]
mov ecx, dword [ecx]
inc ecx
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 0x118]
or dword [ebp - 0x158], 0x100
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x184], 0x44
mov dword [ebp - 0x14c], eax
jb 0x404d7a
mov esi, dword [esi]
mov edi, dword [ebp - 0x188]
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x184]
push eax
push esi
push 0
push 0x8000000
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push edi
mov esi, eax
call fcn.0040abbe
add esp, 4
test esi, esi
je 0x404f01
push dword [ebp - 0x13c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x138]
call esi
push dword [ebp - 0x118]
call esi
push dword [ebp - 0x11c]
call esi
push 0
push 0x42d7c8
mov ecx, ebx
call fcn.00406380
push 0
lea eax, [ebp - 0x110]
push eax
push 0xff
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x404edc
nop word [eax + eax]
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x404ed6
cmp eax, 0x100
jae 0x404f16
lea esi, [ebp - 0x10c]
mov byte [ebp + eax - 0x10c], 0
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x404e50
mov edx, dword [ebx + 0x14]
sub esi, ecx
mov ecx, dword [ebx + 0x10]
mov eax, edx
sub eax, ecx
cmp esi, eax
ja 0x404e90
lea eax, [ecx + esi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x404e76
mov eax, dword [ebx]
lea edi, [eax + ecx]
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
call fcn.0040c3c0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x404ead
push esi
lea eax, [ebp - 0x10c]
mov byte [ebp - 0x188], 0
push eax
push dword [ebp - 0x188]
mov ecx, ebx
push esi
call fcn.00406c70
push 0
lea eax, [ebp - 0x110]
push eax
push 0xff
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x404e20
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x114]
call esi
push dword [ebp - 0x120]
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040abb0
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040abb0
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040ace5
int3