Function at 0x1006d5f0
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10103ded
mov eax, dword fs:[0]
push eax
mov eax, 0x109c
call fcn.100b2000
mov eax, dword [0x10155700]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x10a8], edi
mov dword [ebp - 0x10a0], 1
push 0
movups xmmword [edi], xmm0
push 0x10127e7f
mov dword [ebp - 0x10a4], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.1000d4e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1058]
push 0
push eax
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x10a0], 1
push eax
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1040], 0
push eax
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1044], 0
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1058], 0xc
mov dword [ebp - 0x1050], 1
mov dword [ebp - 0x1054], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1006d97c
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebp - 0x1044]
call esi
test eax, eax
je 0x1006d97c
push 0
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1006d97c
push 0
push 1
push dword [ebp - 0x1040]
call esi
test eax, eax
je 0x1006d97c
mov eax, dword [ebp - 0x1048]
xorps xmm0, xmm0
mov dword [ebp - 0x105c], eax
mov eax, dword [ebp - 0x104c]
mov dword [ebp - 0x1060], eax
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x109c]
movlpd qword [ebp - 0x1070], xmm0
or dword [ebp - 0x1070], 0x100
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push dword [ebp - 0x10a4]
movups xmmword [ebp - 0x1038], xmm0
push 0
movlpd qword [ebp - 0x1098], xmm0
movlpd qword [ebp - 0x1090], xmm0
movlpd qword [ebp - 0x1088], xmm0
movlpd qword [ebp - 0x1080], xmm0
movlpd qword [ebp - 0x1078], xmm0
movlpd qword [ebp - 0x1068], xmm0
mov dword [ebp - 0x109c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x1048]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x104c]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x103c]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1040]
call esi
test eax, eax
je 0x1006d8ac
nop dword [eax + eax]
mov eax, dword [ebp - 0x103c]
test eax, eax
je 0x1006d8ac
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1018], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
push eax
lea ecx, [ebp - 0x1028]
movups xmmword [ebp - 0x1028], xmm0
call fcn.1000d4e0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 0xf
mov ecx, edi
push dword [ebp - 0x1018]
cmova eax, dword [ebp - 0x1028]
push eax
call fcn.1000b650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.1000b760
push 0
lea eax, [ebp - 0x103c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1040]
call esi
test eax, eax
jne 0x1006d810
push 0
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x103c], 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1044]
call esi
test eax, eax
je 0x1006d97c
nop dword [eax + eax]
mov eax, dword [ebp - 0x103c]
test eax, eax
je 0x1006d97c
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1018], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
push eax
lea ecx, [ebp - 0x1028]
movups xmmword [ebp - 0x1028], xmm0
call fcn.1000d4e0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 0xf
mov ecx, edi
push dword [ebp - 0x1018]
cmova eax, dword [ebp - 0x1028]
push eax
call fcn.1000b650
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1028]
call fcn.1000b760
push 0
lea eax, [ebp - 0x103c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1044]
call esi
test eax, eax
jne 0x1006d8e0
mov dword [ebp - 0x10a0], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.100b18d1
mov esp, ebp
pop ebp
ret