Function at 0x442750
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 0x4427b8
call edi
cmp eax, 0xe7
jne 0x442805
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
test eax, eax
je 0x4427f4
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 0x442782
call fcn.00444720
mov dword [ebp - 8], eax
test eax, eax
jne 0x442838
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Unable_to_get_user_SID
call fcn.004059f0
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.00403bc0
push edi
mov esi, eax
call fcn.00406080
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call edi
push eax
call fcn.0043fb90
push eax
push esi
push str.Error_waiting_for_named_pipe__s:__s
jmp 0x442814
call edi
push eax
call fcn.0043fb90
push eax
push esi
push str.Unable_to_open_named_pipe__s:__s
call fcn.004059f0
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.00403bc0
push edi
mov esi, eax
call fcn.00406080
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 [0x4bd40c]
test eax, eax
je 0x44288e
call edi
push eax
call fcn.0043fb90
push eax
push str.Unable_to_get_named_pipe_security_information:__s
call fcn.004059f0
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.00403bc0
push edi
mov esi, eax
call fcn.00406080
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 0x4428d8
push esi
push str.Owner_of_named_pipe__s_is_not_us
call fcn.004059f0
push dword [ebp + 0xc]
mov esi, eax
push esi
call fcn.00403bc0
push esi
mov edi, eax
call fcn.00406080
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.0043f4f0
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4429b0
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