Function at 0x5e9520
Capabilities:
Connect pipe
Create pipe
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68748e
mov eax, dword fs:[0]
push eax
mov eax, 0x10090
call fcn.00612d80
mov eax, dword [0x75e7a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1002c], edi
mov dword [ebp - 0x10060], eax
push 0
push 0x6b3070
lea ecx, [ebp - 0x10028]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10018], 0
mov dword [ebp - 0x10014], 0xf
mov byte [ebp - 0x10028], 0
call fcn.00455da0
lea eax, [ebp - 0x10064]
mov byte [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x10034]
mov dword [ebp - 0x10064], 0
push eax
mov dword [ebp - 0x10034], 0
mov word [ebp - 0x10030], 0x100
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x5e9686
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_initialize_group_sid__Error___d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
movups xmm0, xmmword [ebp - 0x10028]
mov edx, dword [ebp + 0x20]
add esp, 0x18
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 0x10028], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x10018]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x10018], 0
mov dword [ebp - 0x10014], 0xf
cmp edx, 0x10
jb 0x5e9b82
mov ecx, dword [ebp + 0xc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5e9677
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e9b9f
push edx
push ecx
call fcn.006129d7
add esp, 8
jmp 0x5e9b82
mov eax, dword [ebp - 0x10064]
xorps xmm0, xmm0
mov dword [ebp - 0x10078], eax
lea eax, [ebp - 0x10068]
push eax
push 0
lea eax, [ebp - 0x10094]
mov dword [ebp - 0x10074], 0xc
push eax
push 1
mov dword [ebp - 0x1006c], 0
movlpd qword [ebp - 0x10088], xmm0
mov dword [ebp - 0x10090], 2
mov dword [ebp - 0x10094], 0xc0100000
mov dword [ebp - 0x1008c], 0
mov dword [ebp - 0x10080], 0
mov dword [ebp - 0x1007c], 5
mov dword [ebp - 0x10068], 0
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
je 0x5e9771
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_set_acl_entries__Error___d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
movups xmm0, xmmword [ebp - 0x10028]
mov dword [edi + 0x10], 0
add esp, 0x18
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x10028], 0
movq xmm0, qword [ebp - 0x10018]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x10018], 0
mov dword [ebp - 0x10014], 0xf
jmp 0x5e9b6f
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x5e97f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_initialize_security_descriptor__Error___d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
movups xmm0, xmmword [ebp - 0x10028]
mov dword [edi + 0x10], 0
add esp, 0x18
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
mov byte [ebp - 0x10028], 0
movq xmm0, qword [ebp - 0x10018]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x10018], 0
mov dword [ebp - 0x10014], 0xf
jmp 0x5e9b6f
push 0
push dword [ebp - 0x10068]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x5e982f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_set_DACL__Error___d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
add esp, 0x18
jmp 0x5e9b61
lea eax, [ebp - 0x10074]
mov dword [ebp - 0x10070], esi
push eax
push 0
push 0x400
push 0x400
push 0xff
push 1
push 0xc0003
push dword [ebp - 0x10060]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, eax
mov dword [ebp - 0x1009c], esi
test esi, esi
je 0x5e9b37
cmp esi, 0xffffffff
je 0x5e9b37
push 0
lea eax, [ebp - 0x1005c]
mov dword [ebp - 0x1005c], 0
push eax
push 1
push str.S:_ML__NW___LW_
mov dword [ebp - 0x10060], 0
mov dword [ebp - 0x1002c], 0
mov dword [ebp - 0x10040], 0
mov byte [ebp - 0x10095], 0
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x5e9b19
lea eax, [ebp - 0x10040]
push eax
lea eax, [ebp - 0x10060]
push eax
lea eax, [ebp - 0x1002c]
push eax
push dword [ebp - 0x1005c]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x5e992b
push dword [ebp - 0x10060]
push 0
push 0
push 0
push 0x10
push 6
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
test eax, eax
jne 0x5e990e
mov byte [ebp - 0x10095], 1
jmp 0x5e992b
push eax
push str.Failed_to_SetSecurityInfo__Error___d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
add esp, 0x18
push dword [ebp - 0x1005c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x10095], 0
je 0x5e9b19
mov dword [ebp - 0x10060], 0
nop
push 0
push esi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1002c], eax
test esi, esi
jne 0x5e9972
cmp eax, 0x217
je 0x5e99af
mov esi, dword [ebp - 0x10060]
inc esi
push 0x64
mov dword [ebp - 0x10060], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x14
mov esi, dword [ebp - 0x1009c]
jl 0x5e9950
cmp dword [ebp - 0x1002c], 0x217
je 0x5e99af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IPC_Server_:_Failed_to_make_connection_on_named_pipe__Error___d
jmp 0x5e9b43
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.004449b0
mov esi, dword [ebp - 0x1009c]
push esi
call fcn.005eb010
add esp, 0x1c
test al, al
je 0x5e9b5a
xor eax, eax
mov dword [ebp - 0x1005c], eax
nop dword [eax]
push 0
lea eax, [ebp - 0x10038]
mov dword [ebp - 0x10038], 0
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x5e9b0b
cmp dword [ebp - 0x10038], 0
jne 0x5e9a55
inc dword [ebp - 0x1005c]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1005c], 0x96
jl 0x5e99e0
cmp dword [ebp - 0x10038], 0
jne 0x5e9a55
push str.IPC_Server_:_Client_didnt_connect_to_the_server
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
add esp, 0x14
jmp 0x5e9b5a
push 0
lea eax, [ebp - 0x1003c]
mov dword [ebp - 0x1003c], 0
push eax
push 0x10000
lea eax, [ebp - 0x10010]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5e9afd
mov eax, dword [ebp - 0x1003c]
and eax, 0xfffffffe
cmp eax, 0x10000
jae 0x5e9ba4
xor ecx, ecx
mov word [ebp + eax - 0x10010], cx
lea eax, [ebp - 0x10010]
push eax
lea ecx, [ebp - 0x10058]
call fcn.00466870
cmp dword [ebp - 0x10044], 8
lea ecx, [ebp - 0x10058]
mov eax, dword [ebp - 0x10048]
cmovae ecx, dword [ebp - 0x10058]
mov byte [ebp - 4], 2
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x10058]
cmovae ecx, dword [ebp - 0x10058]
push eax
push ecx
lea ecx, [ebp - 0x10028]
call fcn.0045d830
lea ecx, [ebp - 0x10058]
call fcn.00440180
mov esi, dword [ebp - 0x1009c]
jmp 0x5e9b5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IPC_Server_:_Failed_to_read_data_from_the_pipe._d
jmp 0x5e9b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IPC_Server_:_Failed_to_read_data_from_the_pipe__Error___d
jmp 0x5e9b43
push str.IPC_Server_:_Failed_to_create_low_integrity_outbound_pipe_instance
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
add esp, 0x14
jmp 0x5e9b5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IPC_Server_:_Failed_to_create_outbound_pipe_instance__Error___d
push 0
push 2
push str.IPCXMLUtilityLog
push dword [0x768924]
call fcn.00471620
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x10028]
mov ecx, edi
push eax
call fcn.00444940
lea ecx, [ebp - 0x10028]
call fcn.00440270
lea ecx, [ebp + 0xc]
call fcn.00440270
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00612996
mov esp, ebp
pop ebp
ret
call fcn.006321a4
call fcn.0061338b
int3