Function at 0x10006eb0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create thread
Create two anonymous pipes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10023d10
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x10032048]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0xb4], esi
push ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
lea eax, [esi + 0x80]
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x9c], 1
push ecx
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0xbc], eax
call edi
test eax, eax
je 0x10007252
push ebx
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x38]
lea eax, [esi + 0x84]
push ecx
push eax
mov dword [ebp - 0xb8], eax
call edi
test eax, eax
je 0x10007268
mov ecx, dword [esi]
lea edi, [esi + 0x34]
xor eax, eax
mov dword [ebp - 0x56], ebx
test ecx, ecx
mov word [ebp - 0x52], ax
mov edx, 5
mov dword [ebp - 0x88], 0x44
cmove eax, edx
mov dword [ebp - 0x5c], 0x101
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], eax
jb 0x10006fea
mov edi, dword [edi]
neg ecx
lea edx, [esi + 0x1c]
sbb ecx, ecx
and ecx, 4
cmp dword [edx + 0x14], 8
jb 0x10006ffc
mov edx, dword [edx]
cmp dword [esi + 0x18], 8
lea eax, [esi + 4]
jb 0x10007007
mov eax, dword [eax]
lea ebx, [ebp - 0x98]
push ebx
lea ebx, [ebp - 0x88]
push ebx
push edi
push 0
push ecx
push 1
push 0
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [ebp - 0xa0]
mov ecx, eax
mov eax, dword [ebp - 0x98]
mov dword [esi + 0x88], eax
mov eax, dword [ebp - 0x94]
mov dword [esi + 0x8c], eax
test ecx, ecx
je 0x1000727e
cmp dword [esi], 1
jne 0x100071bd
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.listenerEvent
push 0
push 0
push 0
call edi
mov ebx, eax
mov dword [ebp - 0xa0], ebx
test ebx, ebx
je 0x10007294
push str.listenerStdErrEvent
push 0
push 0
push 0
call edi
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x100072aa
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push esi
push 0x10006dd0
push 0
push 0
mov dword [esi + 0x90], 0
call edi
mov dword [ebp - 0xac], eax
test eax, eax
je 0x100072c0
push 0
push 0
push esi
push 0x10006d90
push 0
push 0
call edi
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x100072d6
push 0
push 0
push esi
push 0x10006db0
push 0
push 0
call edi
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x100072ec
jmp 0x10007147
cmp dword [esi + 0x90], 0
jne 0x100071b7
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call edi
test eax, eax
je 0x100071ae
cmp dword [ebp - 0x2c], 0x12
je 0x1000719c
lea eax, [ebp - 0x30]
push eax
call ebx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call edi
test eax, eax
jne 0x10007172
jmp 0x100071ae
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov dword [esi + 0x90], 1
cmp dword [esi + 0x90], 0
je 0x10007160
mov ebx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100071d3
push eax
call esi
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100071dd
push eax
call esi
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
test eax, eax
je 0x100071ec
push eax
call esi
mov eax, dword [edi]
test eax, eax
je 0x100071f5
push eax
call esi
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x10007202
push eax
call esi
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x1000720f
push eax
call esi
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x1000721c
push eax
call esi
test ebx, ebx
je 0x10007223
push ebx
call esi
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x10007230
push eax
call esi
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10008d1c
mov esp, ebp
pop ebp
ret
push 0x3e8
lea eax, [ebp - 0x9c]
push eax
push 0x1002edc4
call fcn.10007cc0
push 0x3e9
lea eax, [ebp - 0x9c]
push eax
push 0x1002edc4
call fcn.10007cc0
push 0x3ea
lea eax, [ebp - 0x9c]
push eax
push str.CreateProcess
call fcn.10007cc0
push 0x3eb
lea eax, [ebp - 0x9c]
push eax
push str.CreateEvent
call fcn.10007cc0
push 0x3ec
lea eax, [ebp - 0x9c]
push eax
push str.CreateEvent
call fcn.10007cc0
push 0x3ed
lea eax, [ebp - 0x9c]
push eax
push 0x1002ee54
call fcn.10007cc0
push 0x3ee
lea eax, [ebp - 0x9c]
push eax
push 0x1002ee54
call fcn.10007cc0
push 0x3ef
lea eax, [ebp - 0x9c]
push eax
push 0x1002ee54
call fcn.10007cc0
int3