Function at 0x464d60
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x464dc8
call edi
cmp eax, 0xe7
jne 0x464e15
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x464e04
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x464d92
call fcn.004659d0
mov dword [ebp - 8], eax
test eax, eax
jne 0x464e48
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Unable_to_get_user_SID
call fcn.0040dda0
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.00409cd0
push edi
mov esi, eax
call fcn.0040e430
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edi
push eax
call fcn.004621e0
push eax
push esi
push str.Error_waiting_for_named_pipe__s:__s
jmp 0x464e24
call edi
push eax
call fcn.004621e0
push eax
push esi
push str.Unable_to_open_named_pipe__s:__s
call fcn.0040dda0
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.00409cd0
push edi
mov esi, eax
call fcn.0040e430
add esp, 0x1c
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push 1
push 6
push ebx
call dword [0x4ea3cc]
test eax, eax
je 0x464e9e
call edi
push eax
call fcn.004621e0
push eax
push str.Unable_to_get_named_pipe_security_information:__s
call fcn.0040dda0
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.00409cd0
push edi
mov esi, eax
call fcn.0040e430
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x464ee8
push esi
push str.Owner_of_named_pipe__s_is_not_us
call fcn.0040dda0
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.00409cd0
push esi
mov edi, eax
call fcn.0040e430
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 1
push dword [ebp + 0xc]
push 0
push ebx
push ebx
call fcn.00461320
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x464fc0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
mov ecx, 0x40080003
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x1000
push 0x1000
push 0xff
push 8
mov eax, 0x40000003
cmovne eax, ecx
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
xor ecx, ecx
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
pop esi
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret