Function at 0x100026b0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create two anonymous pipes
Execute shell command and capture output
Get common file path

Disassembly:
sub esp, 0x178
mov eax, dword [0x1001734c]
xor eax, esp
mov dword [esp + 0x174], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push edi
mov edi, dword [esp + 0x184]
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0
call esi
test eax, eax
je 0x1000272d
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
jne 0x10002746
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.1000bc08
add esp, 0x178
ret
push 0x44
lea edx, [esp + 0x38]
push 0
push edx
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xc]
push 0x104
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 0x101
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov word [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x78]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x100027a0
mov edx, dword [str.cmd.exe]
mov ecx, dword [0x10011b40]
mov dword [eax], edx
mov dl, byte [0x10011b44]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push 0
lea edx, [esp + 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10002829
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.1000bc08
add esp, 0x178
ret
push 0x20
call fcn.1000bc24
mov dword [0x10017594], eax
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [0x10017594]
mov dword [edx + 4], ecx
mov eax, dword [0x10017594]
mov dword [eax + 8], ecx
mov edx, dword [0x10017594]
mov dword [edx + 0xc], ecx
mov eax, dword [0x10017594]
mov dword [eax + 0x10], ecx
mov edx, dword [0x10017594]
mov dword [edx + 0x14], ecx
mov eax, dword [0x10017594]
mov dword [eax + 0x18], ecx
mov edx, dword [0x10017594]
mov dword [edx + 0x1c], ecx
mov eax, dword [0x10017594]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0x14], edx
mov ecx, dword [esp + 0x30]
add eax, 0x10
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov eax, dword [0x10017594]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [0x10017594]
mov eax, dword [esp + 0xc]
mov dword [edx], eax
mov ecx, dword [0x10017594]
mov edx, dword [esp + 0x14]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [0x10017594]
push edi
push 0
push 0x10002600
mov dword [ecx + 4], eax
call fcn.10002080
mov ecx, dword [esp + 0x18c]
mov eax, dword [esp + 0x18]
add esp, 0x10
pop edi
pop esi
xor ecx, esp
call fcn.1000bc08
add esp, 0x178
ret
jmp 0x100026b0