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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470ab3
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x48d000]
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 + 0x24]
mov dword [ebp - 0x24c], eax
xor ebx, ebx
xor eax, eax
push ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x248]
push ecx
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
lea edx, [ebp - 0x238]
push edx
lea eax, [ebp - 0x23c]
push eax
mov dword [ebp - 0x248], 0xc
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x244], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x418d33
cmp dword [ebp + 0x1c], 8
jb 0x418d2c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00454d68
add esp, 4
xor eax, eax
jmp 0x418f10
push 0x44
lea edx, [ebp - 0x2a8]
push ebx
push edx
call fcn.00457050
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x26c], eax
xor eax, eax
xor ecx, ecx
mov edi, 8
add esp, 0xc
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2a8], 0x44
mov dword [ebp - 0x27c], 0x101
mov word [ebp - 0x278], cx
cmp dword [ebp + 0x1c], edi
jae 0x418d98
lea eax, [ebp + 8]
lea edx, [ebp - 0x218]
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x418da0
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x2a8]
push eax
push ebx
push ebx
push 0x10
push 1
push ebx
push ebx
lea ecx, [ebp - 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x418e0b
mov edx, dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x238]
push eax
call esi
cmp dword [ebp + 0x1c], edi
jb 0x418d2c
mov ecx, dword [ebp + 8]
push ecx
call fcn.00454d68
add esp, 4
xor eax, eax
jmp 0x418f10
mov edx, dword [ebp - 0x260]
push 0x7530
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x260]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [ebp - 0x25c]
push ecx
call edi
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
push 0x1000
mov byte [ebp - 4], 1
call fcn.0041d281
add esp, 4
push ebx
lea edx, [ebp - 0x250]
push edx
mov esi, eax
mov eax, dword [ebp - 0x23c]
push 0xfff
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x250]
mov eax, esi
mov byte [ecx + esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418e87
sub eax, edx
push eax
mov eax, esi
lea ecx, [ebp - 0x234]
call fcn.00409590
push esi
call fcn.00454f3d
mov eax, dword [ebp - 0x24c]
lea edx, [ebp - 0x234]
push edx
call fcn.00418c30
mov eax, dword [ebp - 0x23c]
add esp, 8
push eax
call edi
mov ecx, dword [ebp - 0x238]
push ecx
call edi
cmp dword [ebp - 0x220], 0x10
jb 0x418ee3
mov edx, dword [ebp - 0x234]
push edx
call fcn.00454d68
add esp, 4
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
jb 0x418f0b
mov eax, dword [ebp + 8]
push eax
call fcn.00454d68
add esp, 4
mov eax, 1
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.00454d73
mov esp, ebp
pop ebp
ret