Function at 0x4100e780
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41147e8b
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x411bade8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x98], eax
push ebx
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x7c]
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xa0], 0xc
mov dword [ebp - 0x98], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0x44
lea eax, [ebp - 0xe8]
push ebx
push eax
call fcn.4112eb40
add esp, 0xc
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0xe8]
push edx
push ebx
push ebx
xor eax, eax
push 0x8000020
push 1
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x80]
push ebx
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
push ebx
push eax
push ebx
mov dword [ebp - 0xe8], 0x44
mov dword [ebp - 0xbc], 0x100
mov dword [ebp - 0xb0], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4100e8c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
push ecx
push str.start_of_Command___s__fails_with__d
push 0x2000001
push 0x43
push str.TPACImpl.cpp
call fcn.41002c10
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4100e8be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4100ea08
mov ecx, dword [ebp - 0x90]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x90]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.41040000
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4100e906
push 0x80004005
call fcn.410011f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x78], eax
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x7c]
push 0
lea ecx, [ebp - 0xa4]
push ecx
push 0x64
lea edx, [ebp - 0x74]
push edx
push eax
call ebx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x78]
mov esi, eax
call fcn.41002f70
mov edx, dword [ebp - 0xa4]
push edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x78]
call fcn.41007850
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.41001a50
mov eax, dword [ebp - 0x94]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100e990
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x4100e91f
mov eax, dword [ebp - 0x8c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4100e9a7
push eax
call esi
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x4100e9b4
push eax
call esi
mov ecx, dword [ebp - 0x7c]
push ecx
call esi
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4100e9dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4100ea03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.4112e1a6
mov esp, ebp
pop ebp
ret