Function at 0x10079c70
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 ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10112f90
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10a0
call fcn.100b9aa0
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1048], edx
mov esi, ecx
mov edi, dword [ebx + 8]
mov eax, edi
cmp dword [edi + 0x14], 0x10
jb 0x10079cca
mov eax, dword [edi]
mov dword [edi + 0x10], 0
lea edx, [ecx + 2]
mov byte [eax], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1030], xmm0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10079cf5
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1030]
call fcn.10038830
mov dword [ebp - 4], 0
mov dword [ebp - 0x1058], 0xc
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1050], 1
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1040], 0
test esi, esi
je 0x10079e31
push 0
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x10079e31
push 0
push 1
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0x40
lea eax, [ebp - 0x10ac]
mov dword [ebp - 0x10b0], 0x44
push 0
push eax
call fcn.100c2fd0
add esp, 0xc
lea eax, [ebp - 0x10b0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1068], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x1040]
lea ecx, [ebp - 0x1068]
push ecx
lea ecx, [ebp - 0x10b0]
mov dword [ebp - 0x1070], eax
push ecx
push 0
push 0
push 0
mov dword [ebp - 0x1074], eax
xor eax, eax
cmp dword [ebp - 0x101c], 8
push 1
mov word [ebp - 0x1080], ax
lea eax, [ebp - 0x1030]
cmovae eax, dword [ebp - 0x1030]
push 0
push 0
push eax
push 0
mov dword [ebp - 0x1084], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10079e7b
push dword [ebp - 0x1040]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1038]
call esi
mov byte [ebp - 0x1031], 0
mov ecx, dword [ebp - 0x101c]
cmp ecx, 8
jb 0x1007a00e
mov edx, dword [ebp - 0x1030]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1007a004
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007a032
jmp 0x1007a004
push dword [ebp - 0x1048]
push dword [ebp - 0x1068]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x103c], 0
push eax
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x1044], 0
push eax
push 0
push 0
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x10079fd2
nop dword [eax]
cmp dword [ebp - 0x1044], 0
jbe 0x10079fd2
push 0
lea eax, [ebp - 0x103c]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10079faa
mov eax, dword [ebp - 0x103c]
test eax, eax
je 0x10079fd2
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x104c], esi
lea edx, [esi + eax]
cmp edx, esi
ja 0x10079f37
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10079f2e
mov eax, dword [edi]
mov dword [edi + 0x10], edx
mov byte [eax + edx], 0
jmp 0x10079f88
mov eax, dword [edi + 0x14]
mov ecx, edx
sub ecx, esi
sub eax, esi
mov dword [ebp - 0x1048], ecx
cmp ecx, eax
ja 0x10079f77
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov dword [edi + 0x10], edx
jb 0x10079f57
mov eax, dword [edi]
push ecx
add esi, eax
push 0
push esi
call fcn.100c2fd0
mov eax, dword [ebp - 0x1048]
add esp, 0xc
mov byte [esi + eax], 0
mov esi, dword [ebp - 0x104c]
jmp 0x10079f88
push 0
push ecx
push dword [ebp - 0x104c]
push ecx
mov ecx, edi
call fcn.10008400
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x10079f92
mov eax, dword [edi]
push dword [ebp - 0x103c]
lea ecx, [ebp - 0x1018]
add eax, esi
push ecx
push eax
call fcn.100c29f0
add esp, 0xc
push 0
lea eax, [ebp - 0x1044]
push eax
lea eax, [ebp - 0x103c]
push eax
push 0
push 0
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x10079ed0
push dword [ebp - 0x1038]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1040]
call esi
push dword [ebp - 0x1068]
call esi
push dword [ebp - 0x1064]
call esi
mov byte [ebp - 0x1031], 1
jmp 0x10079e38
push ecx
push edx
call fcn.100b88b0
add esp, 8
mov al, byte [ebp - 0x1031]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100c9aa4
int3