Function at 0x18014792
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x180fd00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x118], 0x180e4924
mov ebx, ecx
mov dword [ebp - 0xdc], esi
mov edi, edx
mov dword [ebp - 0x100], ebx
push ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0xfc], edi
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
call fcn.180141c1
test al, al
jne 0x180147fc
mov esi, 0x80004005
jmp 0x18014ca4
lea ecx, [ebp - 0xc8]
call fcn.18006c5e
push ecx
push ecx
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x118]
call fcn.1800a581
test al, al
jne 0x18014829
mov esi, 0x80004005
jmp 0x18014c99
lea ecx, [ebp - 0x144]
mov dword [ebp - 0xd0], 0x180e4414
mov dword [ebp - 0xcc], esi
call fcn.18003535
push 0x12
push 1
mov esi, 0x180e3a50
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.180031b7
add esp, 0x10
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x144]
push 0
push 0xc0100000
push eax
call fcn.180035a2
lea ecx, [ebp - 0x68]
call fcn.18003288
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.180031b7
add esp, 0x14
lea eax, [ebp - 0x68]
mov esi, 0xc0100000
lea ecx, [ebp - 0x144]
push 0
push esi
push eax
call fcn.180035a2
lea ecx, [ebp - 0x68]
call fcn.18003288
push 0
push esi
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x144]
call fcn.180035a2
push ecx
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0xd0]
call fcn.18007313
mov esi, dword [ebp - 0xcc]
test esi, esi
je 0x18014aff
and dword [ebp - 0x104], 0
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
test eax, eax
je 0x18014cf2
test dword [ebp - 0x104], 0x8000
je 0x18014af9
xor ebx, ebx
lea eax, [ebp - 0xe4]
push eax
push ebx
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xf8], ebx
push eax
push ebx
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xec], ebx
push eax
push ebx
lea eax, [ebp - 0xec]
mov dword [ebp - 0xe4], ebx
push eax
push ebx
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe8], ebx
push eax
push ebx
push dword [ebp - 0xcc]
mov dword [ebp - 0xd8], ebx
call dword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x18014cfc
push dword [ebp - 0xd8]
call fcn.180b19a4
mov esi, eax
pop ecx
cmp dword [ebp - 0xe8], ebx
je 0x180149a4
push dword [ebp - 0xe8]
call fcn.180b19a4
pop ecx
mov dword [ebp - 0xe0], eax
jmp 0x180149aa
mov dword [ebp - 0xe0], ebx
cmp dword [ebp - 0xe4], ebx
je 0x180149c6
push dword [ebp - 0xe4]
call fcn.180b19a4
pop ecx
mov dword [ebp - 0xd4], eax
jmp 0x180149cc
mov dword [ebp - 0xd4], ebx
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x180149ed
push eax
call fcn.180b19a4
mov edi, eax
mov eax, dword [ebp - 0xec]
pop ecx
mov dword [ebp - 0xf4], edi
jmp 0x180149f5
mov edi, ebx
mov dword [ebp - 0xf4], ebx
mov edx, dword [ebp - 0xf8]
test edx, edx
je 0x18014a14
push edx
call fcn.180b19a4
mov edx, dword [ebp - 0xf8]
mov ebx, eax
mov eax, dword [ebp - 0xec]
pop ecx
test esi, esi
je 0x18014abe
cmp dword [ebp - 0xe8], 0
je 0x18014a32
cmp dword [ebp - 0xe0], 0
je 0x18014abe
cmp dword [ebp - 0xe4], 0
mov ecx, dword [ebp - 0xd4]
je 0x18014a45
test ecx, ecx
je 0x18014abe
test eax, eax
je 0x18014a4d
test edi, edi
je 0x18014abe
test edx, edx
je 0x18014a55
test ebx, ebx
je 0x18014abe
lea eax, [ebp - 0xe4]
push eax
push ecx
lea eax, [ebp - 0xe8]
push eax
push dword [ebp - 0xe0]
lea eax, [ebp - 0xf8]
push eax
push ebx
lea eax, [ebp - 0xec]
push eax
push edi
lea eax, [ebp - 0xd8]
push eax
push esi
push dword [ebp - 0xcc]
call dword [sym.imp.ADVAPI32.dll_MakeAbsoluteSD]
test eax, eax
jne 0x18014a9b
call fcn.1800312d
mov edi, eax
jmp 0x18014ac3
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
call dword [eax + 4]
mov ebx, dword [ebp - 0x100]
mov edi, dword [ebp - 0xfc]
mov dword [ebp - 0xcc], esi
jmp 0x18014aff
mov edi, 0x8007000e
push esi
call fcn.180ac054
push dword [ebp - 0xe0]
call fcn.180ac054
push dword [ebp - 0xd4]
call fcn.180ac054
push dword [ebp - 0xf4]
call fcn.180ac054
push ebx
call fcn.180ac054
add esp, 0x14
push edi
jmp 0x18014cf7
mov esi, dword [ebp - 0xcc]
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x124]
xor esi, esi
mov dword [ebp - 0x124], 0xc
push esi
push eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x11c], 1
push eax
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x18014b6c
push esi
push 1
push dword [ebp - 0xdc]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x18014b6c
mov eax, dword [ebp - 0xdc]
mov dword [ebx], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xf0], esi
mov dword [edi], eax
jmp 0x18014b73
call fcn.18015f1f
mov esi, eax
lea ecx, [ebp - 0x144]
call fcn.1800357b
cmp dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0x180e4414
je 0x18014c99
and dword [ebp - 0x108], 0
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
test eax, eax
je 0x18014c86
test dword [ebp - 0x108], 0x8000
jne 0x18014c86
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xfc]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorOwner]
push dword [ebp - 0xfc]
call fcn.180ac054
pop ecx
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorGroup]
push dword [ebp - 0x100]
call fcn.180ac054
pop ecx
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
cmp dword [ebp - 0xd4], 0
je 0x18014c50
push dword [ebp - 0xf4]
call fcn.180ac054
pop ecx
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
cmp dword [ebp - 0xd4], 0
je 0x18014c86
push dword [ebp - 0xe0]
call fcn.180ac054
pop ecx
push dword [ebp - 0xcc]
call fcn.180ac054
and dword [ebp - 0xcc], 0
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.18003288
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], 0x180e4924
call fcn.18007639
cmp dword [ebp - 0xf0], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x18014cd0
push dword [ebp - 0xf0]
call edi
cmp dword [ebp - 0xdc], 0
je 0x18014ce1
push dword [ebp - 0xdc]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.180a61d8
leave
ret
push 0x80004005
call fcn.18002f74
call fcn.18002f95
int3