Function at 0x4014a0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
mov eax, 0x2074
call fcn.0046b1b0
push esi
push edi
mov ecx, 0x800
xor eax, eax
lea edi, [esp + 0x7c]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x34], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push esi
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
cmp eax, esi
jne 0x40151d
pop edi
xor eax, eax
pop esi
add esp, 0x2074
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x28]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x2080]
lea eax, [esp + 0x38]
push edx
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push ecx
push esi
mov dword [esp + 0x60], 0x44
mov dword [esp + 0x8c], 0x101
mov word [esp + 0x90], si
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, esi
jne 0x401573
pop edi
xor eax, eax
pop esi
add esp, 0x2074
ret
push ebx
lea edx, [esp + 0x1c]
push ebp
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x90]
push 1
push edx
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x4016f8
mov ebp, dword [esp + 0x208c]
mov eax, dword [esp + 0x10]
push esi
cmp eax, esi
je 0x4016a2
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x8c]
push 0x1fff
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4016eb
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0x84]
xor eax, eax
mov edx, dword [0x48e910]
mov byte [esp + ecx + 0x84], 0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
mov ecx, dword [ebp + 8]
sub edx, ecx
cmp edx, edi
ja 0x401619
call fcn.00479772
cmp edi, esi
jbe 0x4016b9
mov ebx, dword [ebp + 8]
add ebx, edi
cmp ebx, 0xfffffffd
jbe 0x401630
call fcn.00479772
mov ecx, dword [ebp + 4]
cmp ecx, esi
je 0x401656
mov al, byte [ecx - 1]
test al, al
je 0x401656
cmp al, 0xff
je 0x401656
cmp ebx, esi
jne 0x40166d
dec al
mov byte [ecx - 1], al
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
jmp 0x4016b9
cmp ebx, esi
jne 0x401668
cmp ecx, esi
je 0x4016b9
push esi
mov ecx, ebp
call fcn.00406030
jmp 0x4016b9
cmp dword [ebp + 0xc], ebx
jae 0x401675
push ebx
mov ecx, ebp
call fcn.00406430
mov eax, dword [ebp + 4]
mov ecx, edi
mov edi, dword [ebp + 8]
lea esi, [esp + 0x84]
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], ebx
xor esi, esi
mov byte [ecx + ebx], 0
jmp 0x4016b9
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4016f8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x90]
push 1
push eax
push ecx
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x4015b4
jmp 0x4016f8
push str.ReadFile_failed.
call fcn.00401490
add esp, 4
mov edx, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x30]
push eax
call esi
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x2074
ret