Function at 0x10006b90
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009e49
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor eax, eax
xorps xmm0, xmm0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
movdqu xmmword [ebp - 0x38], xmm0
cmp dword [edi + 0x10], eax
je 0x10006c1f
push str.Process_Handle_Not_NULL
push str.CMiProcess::Create
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MiTrace.dll_public:_void___thiscall_C_FUNCTION_Helper::constructor_char_const___char_const__]
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.MiTrace.dll_public:_wchar_t_const____thiscall_C_FUNCTION_Helper::ToLPCWSTR_void_]
push eax
push 2
call dword [sym.imp.MiTrace.dll_TraceVW]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MiTrace.dll_public:_void___thiscall_C_FUNCTION_Helper::destructor_void_]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp dword [edi + 0x10], ebx
sete bl
cmp ebx, 1
jne 0x10006de6
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x10006de4
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006c46
sub ecx, edx
sar ecx, 1
je 0x10006de4
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006c60
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov edx, eax
add esp, 4
mov eax, ebx
mov dword [ebp - 0x28], edx
lea ecx, [eax + 2]
mov dword [ebp + 8], ecx
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006c90
sub eax, dword [ebp + 8]
sar eax, 1
push ebx
inc eax
push eax
push edx
call dword [sym.imp.MSVCR120.dll_wcscpy_s]
push 0x40
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x90], 0x44
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0x18
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], 1
mov word [ebp - 0x60], ax
je 0x10006d78
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0xc
push eax
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x1c]
movq qword [ebp - 0x40], xmm0
push eax
mov dword [ebp - 0x3c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov ebx, eax
cmp ebx, 1
jne 0x10006de6
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov ebx, eax
cmp ebx, 1
jne 0x10006de6
push 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov ebx, eax
cmp ebx, 1
jne 0x10006de6
mov eax, dword [ebp - 0x1c]
or dword [ebp - 0x64], 0x100
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x90]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x28]
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
cmp ebx, 1
jne 0x10006de6
cmp dword [ebp + 0x14], 0
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x38], 0
je 0x10006ddd
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [edi + 0xc], eax
mov dword [ebp - 0x14], 0
mov ebx, 1
jmp 0x10006df7
xor ebx, ebx
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x10006df7
push eax
call esi
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10006e08
push eax
call esi
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10006e19
push eax
call esi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10006e2a
push eax
call esi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10006e3b
push eax
call esi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10006e4c
push eax
call esi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10006e5d
push eax
call esi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10006e6e
push eax
call esi
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x10006e7f
push eax
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10