Function at 0x1000fda0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Create two anonymous pipes
Read file on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c337c
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x100ef07c]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x100ef07c]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x40
mov esi, edx
lea edx, [esp + 0x5c]
push ebx
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x60], ebx
call sub.MSVCR90.dll_memset
xor eax, eax
add esp, 0xc
push 0x400
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], ebx
call sub.mfc90u.dll_new__
add esp, 4
push ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x4c], 0xc
mov dword [esp + 0x54], 1
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push ebx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov word [esp + 0x84], ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x90], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x80], 0x101
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], eax
call dword [0x100ca800]
push edi
push esi
lea edx, [esp + 0x28]
push str._s__s
push edx
mov dword [esp + 0x188], ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [esp + 0x30]
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
push ecx
push ebx
push ebx
push 4
push 1
push ebx
push ebx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000ff23
mov eax, dword [esp + 0x34]
push 1
push ebx
push eax
call sub.MHFilterDll.dll__SetFilterExcludePID_12
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
xor edi, edi
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push ebx
lea edx, [esp + 0x50]
push edx
push 1
lea esi, [edi + ecx]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x1000ff95
mov al, byte [esi]
cmp al, 0xd
je 0x1000ff71
cmp al, 0xa
je 0x1000ff71
cmp al, bl
je 0x1000ff71
inc edi
cmp edi, 0x400
jge 0x1000ff37
jmp 0x1000ff39
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
push ecx
push eax
mov byte [edi + eax], bl
call dword [esp + 0x50]
test eax, eax
jne 0x1000ff37
mov edx, dword [esp + 0x2c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1000ff37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0xa0]
push str.Error__d_reading_pipe.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call sub.mfc90u.dll_delete__
mov edx, dword [esp + 0x30]
add esp, 4
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
mov edx, dword [esp + 0x34]
push 1
push ebx
push edx
call sub.MHFilterDll.dll__SetFilterExcludePID_12
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.100c09bd
mov esp, ebp
pop ebp
ret