Function at 0x405d10
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 0x479724
mov eax, dword fs:[0]
push eax
mov eax, 0x28e0
call fcn.00479610
mov eax, dword [0x4c000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284c], 0
mov dword [ebp - 0x2894], 0x2800
mov dword [ebp - 0x2890], 0xc
mov dword [ebp - 0x288c], 0
mov dword [ebp - 0x2888], 1
push 0x48d14c
lea ecx, [ebp - 0x2838]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov dword [ebp - 4], 1
mov ecx, 7
mov esi, str.ipconfig__all
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 0x48d170
lea ecx, [ebp - 0x2840]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 2
push 0
lea eax, [ebp - 0x2890]
push eax
lea ecx, [ebp - 0x2844]
push ecx
lea edx, [ebp - 0x2850]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x40612e
mov dword [ebp - 0x28ec], 0x44
lea eax, [ebp - 0x28ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ecx, dword [ebp - 0x2844]
mov dword [ebp - 0x28ac], ecx
mov edx, dword [ebp - 0x2844]
mov dword [ebp - 0x28b0], edx
xor eax, eax
mov word [ebp - 0x28bc], ax
mov dword [ebp - 0x28c0], 0x101
lea ecx, [ebp - 0x28a8]
push ecx
lea edx, [ebp - 0x28ec]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x2848], eax
push 0x48d16c
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_286]
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2848], 0
je 0x4060d9
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2801
push 0
lea ecx, [ebp - 0x2830]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
push 0
lea edx, [ebp - 0x2898]
push edx
push 0x2800
lea eax, [ebp - 0x2830]
push eax
mov ecx, dword [ebp - 0x2850]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x2848], eax
cmp dword [ebp - 0x2848], 0
je 0x4060c6
lea edx, [ebp - 0x2830]
push edx
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_1521]
push 0
lea ecx, [ebp - 0x2840]
call dword [sym.imp.mfc120u.dll_Ordinal_6863]
push eax
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_4621]
mov dword [ebp - 0x283c], eax
cmp dword [ebp - 0x283c], 0xffffffff
jne 0x405f29
push 0x48d1b8
lea ecx, [ebp - 0x2840]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
push 0
lea ecx, [ebp - 0x2840]
call dword [sym.imp.mfc120u.dll_Ordinal_6863]
push eax
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_4621]
mov dword [ebp - 0x283c], eax
lea ecx, [ebp - 0x2840]
call dword [sym.imp.mfc120u.dll_Ordinal_5787]
add eax, dword [ebp - 0x283c]
push eax
lea eax, [ebp - 0x286c]
push eax
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_8638]
mov dword [ebp - 0x2864], eax
mov ecx, dword [ebp - 0x2864]
mov dword [ebp - 0x2880], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2880]
push edx
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x286c]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
push 0
push 0x48d1b4
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_4621]
mov dword [ebp - 0x283c], eax
mov eax, dword [ebp - 0x283c]
push eax
push 0
lea ecx, [ebp - 0x2870]
push ecx
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_8639]
mov dword [ebp - 0x2868], eax
mov edx, dword [ebp - 0x2868]
mov dword [ebp - 0x2858], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2858]
push eax
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2870]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
push 0
push 0x48d204
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_4621]
mov dword [ebp - 0x2854], eax
cmp dword [ebp - 0x2854], 0xffffffff
jne 0x40606f
mov ecx, dword [ebp - 0x283c]
push ecx
push 0
lea edx, [ebp - 0x2874]
push edx
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_8639]
mov dword [ebp - 0x2878], eax
mov eax, dword [ebp - 0x2878]
mov dword [ebp - 0x287c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x287c]
push ecx
lea ecx, [ebp - 0x2838]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2874]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x4060c4
mov edx, dword [ebp - 0x2854]
push edx
push 0
lea eax, [ebp - 0x2860]
push eax
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_8639]
mov dword [ebp - 0x2884], eax
mov ecx, dword [ebp - 0x2884]
mov dword [ebp - 0x285c], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x285c]
push edx
lea ecx, [ebp - 0x2838]
call dword [sym.imp.mfc120u.dll_Ordinal_1518]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2860]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
jmp 0x4060d7
push 0x48d208
lea ecx, [ebp - 0x2838]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
jmp 0x4060ea
push 0x48d20c
lea ecx, [ebp - 0x2838]
call dword [sym.imp.mfc120u.dll_Ordinal_1520]
mov eax, dword [ebp - 0x2844]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x28a8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28a4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2850]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2834]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
lea ecx, [ebp - 0x2838]
push ecx
mov ecx, dword [ebp + 8]
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov edx, dword [ebp - 0x284c]
or edx, 1
mov dword [ebp - 0x284c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2840]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2838]
call dword [sym.imp.mfc120u.dll_Ordinal_1042]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043fe23
mov esp, ebp
pop ebp
ret