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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f65b
mov eax, dword fs:[0]
push eax
sub esp, 0x4a0
mov eax, dword [0x476750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x448], eax
call fcn.0040c2b0
mov edx, esi
mov ecx, eax
call fcn.0040c580
push eax
call fcn.0040c7f0
add esp, 4
mov dword [ebp - 0x454], 0xc
lea eax, [ebp - 0x454]
xorps xmm0, xmm0
movq qword [ebp - 0x450], xmm0
mov dword [ebp - 0x44c], 1
push 0
push eax
lea eax, [ebp - 0x440]
mov dword [ebp - 0x450], 0
push eax
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x40b184
push 0x40
lea eax, [ebp - 0x4a8]
mov dword [ebp - 0x4ac], 0x44
push 0
push eax
call fcn.004313c0
mov eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x42c]
add esp, 0xc
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x480], 0x101
mov word [ebp - 0x47c], ax
push 0xffffffffffffffff
push eax
push esi
movdqu xmmword [ebp - 0x464], xmm0
mov dword [ebp - 0x418], 7
mov dword [ebp - 0x41c], eax
mov word [ebp - 0x42c], ax
call fcn.00408680
lea ecx, [ebp - 0x464]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
push ecx
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x4ac]
push ecx
push 0
push 0
push 0x10
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40b18b
push dword [ebp - 0x440]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x434]
call esi
cmp dword [ebp - 0x418], 8
jb 0x40b184
push dword [ebp - 0x42c]
call fcn.00406ef0
add esp, 4
xor al, al
jmp 0x40b322
mov esi, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x40b1a0
push 0x32
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
test eax, eax
mov dword [ebp - 0x43c], 0
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x434]
sete byte [ebp - 0x42d]
call esi
test eax, eax
je 0x40b2ab
lea ebx, [ebx]
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x40b2ab
cmp eax, 0x3ff
mov ecx, 0x3ff
push 0
cmova eax, ecx
lea ecx, [ebp - 0x43c]
push ecx
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x434]
call ebx
test eax, eax
je 0x40b2ab
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x40b2ab
cmp eax, 0x400
jae 0x40b340
mov byte [ebp + eax - 0x414], 0
cmp byte [ebp - 0x414], 0
jne 0x40b256
xor eax, eax
jmp 0x40b269
lea eax, [ebp - 0x414]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b260
sub eax, edx
push eax
lea eax, [ebp - 0x414]
mov ecx, edi
push eax
call fcn.00402e30
push 0
lea eax, [ebp - 0x438]
mov dword [ebp - 0x43c], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x434]
mov dword [ebp - 0x438], 0
call esi
test eax, eax
jne 0x40b1f0
cmp byte [ebp - 0x42d], 0
je 0x40b1a0
lea eax, [ebp - 0x444]
mov dword [ebp - 0x444], 0
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x448]
mov eax, dword [ebp - 0x444]
push dword [ebp - 0x440]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ecx], eax
call esi
push dword [ebp - 0x434]
call esi
push dword [ebp - 0x464]
call esi
push dword [ebp - 0x460]
call esi
cmp dword [ebp - 0x418], 8
jb 0x40b320
push dword [ebp - 0x42c]
call fcn.00406ef0
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0042dda9
mov esp, ebp
pop ebp
ret 0xc
call fcn.0042ef40
int3