Function at 0xdf99c
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0xdf9a5
mov eax, dword [ebp - 4]
add esp, 0xfffff760
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x28a4], ebx
mov dword [ebp - 0x28a0], ebx
mov dword [ebp - 0x289c], ebx
mov dword [ebp - 0x2894], ebx
mov dword [ebp - 0x2898], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0xdfd66
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0xdfce9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0xdfcd8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x2880], 0xc
mov dword [ebp - 0x2878], 0xffffffff
xor eax, eax
mov dword [ebp - 0x287c], eax
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
push 0x2800
lea eax, [ebp - 0x2880]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_CreatePipe
lea eax, [ebp - 0x2874]
xor ecx, ecx
mov edx, 0x44
call fcn.00012b24
lea eax, [ebp - 0x2890]
xor ecx, ecx
mov edx, 0x10
call fcn.00012b24
mov dword [ebp - 0x2874], 0x44
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2838], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2834], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x283c], eax
mov dword [ebp - 0x2848], 0x101
mov word [ebp - 0x2844], 0
lea eax, [ebp - 0x2890]
push eax
lea eax, [ebp - 0x2874]
push eax
mov eax, dword [ebp - 0xc]
call fcn.000140a8
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.000140a8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0xdfb2e
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x1c], eax
push 0xdfd7c
push dword [ebp - 4]
push 0xdfd8c
lea edx, [ebp - 0x2898]
mov eax, dword [ebp - 0x1c]
call fcn.000747a0
push dword [ebp - 0x2898]
lea eax, [ebp - 0x2894]
mov edx, 4
call fcn.00013fa4
mov eax, dword [ebp - 0x2894]
call fcn.000dd130
jmp 0xdfc97
cmp dword [ebp - 0x288c], 0
je 0xdfc67
cmp dword [ebp - 0x2890], 0
je 0xdfc67
push 0xdfd98
push dword [ebp - 4]
push 0xdfd8c
push 0xdfdac
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00013fa4
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x10], 0
je 0xdfc2e
cmp dword [ebp - 0x10], 0xffffffff
je 0xdfc2e
push 0x64
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x2890]
push eax
call sub.kernel32.dll_GetExitCodeProcess
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x282d]
mov edx, 0x2800
call fcn.00017e10
push 0
push 0
lea eax, [ebp - 0x28]
push eax
push 0x27ff
lea eax, [ebp - 0x282d]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_PeekNamedPipe
cmp dword [ebp - 0x28], 0
jbe 0xdfc0b
lea edx, [ebp - 0x289c]
lea eax, [ebp - 0x282d]
call fcn.00078120
mov edx, dword [ebp - 0x289c]
lea eax, [ebp - 0x14]
call fcn.00013eec
push 0
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x282d]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_ReadFile_1
cmp dword [ebp - 0x18], 0x103
jne 0xdfc3b
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x20]
call fcn.00075960
cmp eax, 0x7530
jbe 0xdfb83
jmp 0xdfc3b
lea eax, [ebp - 0x14]
mov edx, 0xdfdb8
call fcn.00013eec
push dword [ebp - 0x14]
push 0xdfdac
push 0xdfdd4
push dword [ebp - 4]
push 0xdfde8
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00013fa4
mov eax, dword [ebp - 0x14]
call fcn.000dd194
jmp 0xdfc97
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x1c], eax
push 0xdfdf4
push dword [ebp - 4]
push 0xdfe08
lea eax, [ebp - 0x28a0]
mov edx, 3
call fcn.00013fa4
mov eax, dword [ebp - 0x28a0]
call fcn.000dd130
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xdfcdf
lea eax, [ebp - 0x2890]
call fcn.000780dc
cmp dword [ebp - 0x10], 0
je 0xdfcbe
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x24], 0
je 0xdfccd
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x24], eax
ret