Function at 0x1000c1a0
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058a38
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x100793d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebx]
test ecx, ecx
je 0x1000c1ea
call fcn.1000ccf0
mov ecx, dword [ebx]
test ecx, ecx
je 0x1000c1e4
push ecx
call fcn.1000c580
mov dword [ebx], 0
push 0x28404
call fcn.10015000
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
push 0x1000cce0
push 0x1000d580
push 0xa
push 0x4058
push ebx
mov dword [ebp - 4], 0
call fcn.100158d0
mov byte [ebp - 4], 1
lea eax, [ebx + 0x283cc]
mov dword [ebp - 0x18], eax
lea esi, [eax + 8]
mov dword [ebx + 0x283c8], 0xffffffff
lea edi, [ebx + 0x283e8]
mov dword [eax], vtable.st_queue.0
mov dword [eax + 4], edi
mov dword [ebp - 0x18], esi
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.10015000
add esp, 4
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
push 0
push 0
push 0
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
mov dword [ebx + 0x283ec], 0
mov dword [ebx + 0x283f0], 0
mov dword [ebx + 0x283f4], 0
mov dword [ebx + 0x283f8], 0
mov dword [ebx + 0x283fc], 0
mov byte [ebx + 0x28400], 0
mov dword [ebx + 0x28], 0xffffffff
mov esi, dword [ebp - 0x14]
mov dword [ebx + 0x28370], 0xffffffff
mov dword [ebx + 0x28374], 0xffffffff
mov dword [ebx + 0x4080], 0xffffffff
mov dword [ebx + 0x28378], 0xffffffff
mov dword [ebx + 0x2837c], 0xffffffff
mov dword [ebx + 0x80d8], 0xffffffff
mov dword [ebx + 0x28380], 0xffffffff
mov dword [ebx + 0x28384], 0xffffffff
mov dword [ebx + 0xc130], 0xffffffff
mov dword [ebx + 0x28388], 0xffffffff
mov dword [ebx + 0x2838c], 0xffffffff
mov dword [ebx + 0x10188], 0xffffffff
mov dword [ebx + 0x28390], 0xffffffff
mov dword [ebx + 0x28394], 0xffffffff
mov dword [ebx + 0x141e0], 0xffffffff
mov dword [ebx + 0x28398], 0xffffffff
mov dword [ebx + 0x2839c], 0xffffffff
mov dword [ebx + 0x18238], 0xffffffff
mov dword [ebx + 0x283a0], 0xffffffff
mov dword [ebx + 0x283a4], 0xffffffff
mov dword [ebx + 0x1c290], 0xffffffff
mov dword [ebx + 0x283a8], 0xffffffff
mov dword [ebx + 0x283ac], 0xffffffff
mov dword [ebx + 0x202e8], 0xffffffff
mov dword [ebx + 0x283b0], 0xffffffff
mov dword [ebx + 0x283b4], 0xffffffff
mov dword [ebx + 0x24340], 0xffffffff
mov dword [ebx + 0x283b8], 0xffffffff
mov dword [ebx + 0x283bc], 0xffffffff
mov dword [ebx + 0x283c0], 0xffffffff
mov dword [ebx + 0x283c4], 0xffffffff
mov dword [ebx + 0x283c8], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [esi], ebx
mov dword [ebx + 0x283ec], eax
mov ebx, dword [esi]
cmp dword [ebx + 0x283c8], 0xffffffff
jne 0x1000c552
push 1
lea eax, [ebp - 0x38]
xor ecx, ecx
push eax
mov dword [ebp + 0xc], ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], 0xc
mov dword [ebp - 0x1c], 1
lea esi, [ebx + 0x28374]
mov dword [ebp - 0x20], eax
lea edi, [ebx + 0x10]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x24]
push eax
push 0x3e8
push 0x6000
push 0x6000
push 0xa
push 6
push 0x40000003
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi + 0x18], eax
cmp eax, 0xffffffff
je 0x1000c540
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
mov dword [esi - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
add dword [ebp + 0xc], 2
mov dword [esi], eax
mov eax, dword [esi - 4]
mov dword [edi], eax
mov eax, dword [esi]
add esi, 8
mov dword [edi + 0x14], eax
add edi, 0x4058
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0xa
jb 0x1000c475
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp + 0xc]
mov dword [ebx + ecx*4 + 0x28370], eax
mov dword [ebx + 0x283c4], eax
lea eax, [ebp - 0x18]
push eax
push 0
push ebx
push 0x1000ce50
push 0
push 0
call fcn.1002e900
add esp, 0x18
mov dword [ebx + 0x283c8], eax
test eax, eax
je 0x1000c540
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
call fcn.1000ccf0
mov esi, dword [ebp - 0x14]
mov ebx, dword [esi]
test ebx, ebx
je 0x1000c55e
push ecx
mov ecx, ebx
call fcn.1000c580
mov dword [esi], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8