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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ea35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ac
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
push str.____Run_async_command:__s_n
call fcn.00401d10
add esp, 8
mov dword [ebp - 0x48], 0xc
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x40], 1
push 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x44], 0
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
je 0x41e8f1
push 0x40
lea eax, [ebp - 0xb4]
mov dword [ebp - 0xb8], 0x44
push 0
push eax
call fcn.004228c0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x8c], 0x101
cmp dword [ebp + 0x1c], 8
push ecx
lea ecx, [ebp - 0xb8]
mov word [ebp - 0x88], ax
push ecx
push 0
push 0
push 0x10
push 1
push 0
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 0
push eax
push 0
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x41e98e
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
push eax
cmovae ecx, dword [ebp + 8]
push ecx
push str.____Failed_to_run_async_command:__s__error_0x_X_n
call fcn.00401d10
mov ecx, dword [ebp + 0x1c]
xorps xmm0, xmm0
mov byte [edi], 0
add esp, 0xc
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
movups xmmword [edi + 4], xmm0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
movups xmmword [ebp - 0x74], xmm0
mov byte [ebp - 0x74], 0
movups xmm0, xmmword [ebp - 0x74]
movups xmmword [edi + 4], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [edi + 0x14], xmm0
cmp ecx, 8
jb 0x41eb1b
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41eb11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb2d
jmp 0x41eb11
mov eax, dword [0x457478]
test eax, eax
je 0x41e9a1
push dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.DLL_AssignProcessToJobObject]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
mov edi, dword [sym.imp.KERNEL32.DLL_ReadFile]
nop word [eax + eax]
push 1
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call esi
test eax, eax
je 0x41ea6d
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41ea6d
push 0
lea ecx, [ebp - 0x18]
cmp eax, 0x3ff
push ecx
mov ecx, 0x3ff
cmova eax, ecx
push eax
lea eax, [ebp - 0x4b8]
push eax
push dword [ebp - 0x10]
call edi
test eax, eax
je 0x41ea6d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41ea6d
mov byte [ebp + eax - 0x4b8], 0
lea ecx, [ebp - 0x3c]
lea eax, [ebp - 0x4b8]
push eax
call fcn.00405d20
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
call esi
test eax, eax
jne 0x41ea01
cmp dword [ebp - 0x20], 0
jne 0x41e9d0
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x58]
call esi
push dword [ebp - 0x54]
call esi
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00405d90
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x41ead3
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41eac9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb2d
push ecx
push edx
call fcn.00420d85
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, 8
jb 0x41eb1b
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41eb11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb2d
push ecx
push edx
call fcn.00420d85
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0042d25f
int3