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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4733e6
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10b8
call fcn.004385d0
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10c4], edx
mov edi, ecx
mov dword [ebp - 0x10c8], edi
mov dword [ebp - 0x10c8], edi
lea ecx, [ebp - 0x1030]
push 0
push 0x487c83
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
call fcn.00401f60
push 0
lea eax, [ebp - 0x1078]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1068]
mov dword [ebp - 0x1060], 0
push eax
lea eax, [ebp - 0x1064]
mov dword [ebp - 0x106c], 0
push eax
mov dword [ebp - 0x1064], 0
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1078], 0xc
mov dword [ebp - 0x1070], 1
mov dword [ebp - 0x1074], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x41472e
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebp - 0x1064]
call esi
test eax, eax
je 0x41472e
push 0
lea eax, [ebp - 0x1078]
push eax
lea eax, [ebp - 0x106c]
push eax
lea eax, [ebp - 0x1060]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x41472e
push 0
push 1
push dword [ebp - 0x1060]
call esi
test eax, eax
je 0x41472e
mov eax, dword [ebp - 0x1068]
xorps xmm0, xmm0
mov dword [ebp - 0x1080], eax
mov eax, dword [ebp - 0x106c]
mov dword [ebp - 0x1084], eax
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x10c0]
movlpd qword [ebp - 0x1094], xmm0
or dword [ebp - 0x1094], 0x100
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push dword [ebp - 0x10c4]
movups xmmword [ebp - 0x1058], xmm0
push 0
movlpd qword [ebp - 0x10bc], xmm0
movlpd qword [ebp - 0x10b4], xmm0
movlpd qword [ebp - 0x10ac], xmm0
movlpd qword [ebp - 0x10a4], xmm0
movlpd qword [ebp - 0x109c], xmm0
movlpd qword [ebp - 0x108c], xmm0
mov dword [ebp - 0x10c0], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x1068]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x106c]
call esi
cmp byte [ebx + 8], 0
je 0x41472e
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x105c]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1060]
call esi
test eax, eax
je 0x4145c4
nop
mov eax, dword [ebp - 0x105c]
test eax, eax
je 0x4145c4
push eax
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1038], 0
push eax
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1034], 0xf
mov byte [ebp - 0x1048], 0
call fcn.00401f60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1048]
cmp dword [ebp - 0x1034], 0x10
mov eax, dword [ebp - 0x1048]
mov esi, dword [ebp - 0x1020]
cmovae edx, eax
mov ecx, dword [ebp - 0x1038]
mov dword [ebp - 0x10c4], eax
mov eax, dword [ebp - 0x101c]
sub eax, esi
push ecx
push edx
cmp ecx, eax
ja 0x414540
cmp dword [ebp - 0x101c], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1030]
cmovae eax, dword [ebp - 0x1030]
add esi, eax
push esi
call fcn.0044ef20
mov eax, dword [ebp - 0x1038]
add esp, 0xc
mov ecx, dword [ebp - 0x10c4]
mov byte [esi + eax], 0
jmp 0x41455f
mov byte [ebp - 0x10c8], 0
push dword [ebp - 0x10c8]
push ecx
lea ecx, [ebp - 0x1030]
call fcn.0041ccd0
mov ecx, dword [ebp - 0x1048]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1034]
cmp eax, 0x10
jb 0x414599
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x41458f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414773
push edx
push ecx
call fcn.004373a7
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x105c]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1060]
call esi
test eax, eax
jne 0x414490
push 0
lea eax, [ebp - 0x105c]
mov dword [ebp - 0x105c], 0
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1064]
call esi
test eax, eax
je 0x41472e
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ebp - 0x105c]
test eax, eax
je 0x41472e
push eax
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x1038], 0
push eax
lea ecx, [ebp - 0x1048]
mov dword [ebp - 0x1034], 0xf
mov byte [ebp - 0x1048], 0
call fcn.00401f60
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1048]
cmp dword [ebp - 0x1034], 0x10
mov eax, dword [ebp - 0x1048]
mov esi, dword [ebp - 0x1020]
cmovae edx, eax
mov ecx, dword [ebp - 0x1038]
mov dword [ebp - 0x10c8], eax
mov eax, dword [ebp - 0x101c]
sub eax, esi
push ecx
push edx
cmp ecx, eax
ja 0x4146b0
cmp dword [ebp - 0x101c], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1030]
cmovae eax, dword [ebp - 0x1030]
add esi, eax
push esi
call fcn.0044ef20
mov eax, dword [ebp - 0x1038]
add esp, 0xc
mov ecx, dword [ebp - 0x10c8]
mov byte [esi + eax], 0
jmp 0x4146cf
mov byte [ebp - 0x10c4], 0
push dword [ebp - 0x10c4]
push ecx
lea ecx, [ebp - 0x1030]
call fcn.0041ccd0
mov ecx, dword [ebp - 0x1048]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1034]
cmp eax, 0x10
jb 0x414705
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4146fb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414773
push edx
push ecx
call fcn.004373a7
add esp, 8
push 0
lea eax, [ebp - 0x105c]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1064]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x414600
movups xmm0, xmmword [ebp - 0x1030]
mov dword [edi + 0x10], 0
mov eax, edi
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1020]
movq qword [edi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00437366
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0045212a
int3