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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x610ba3
mov eax, dword fs:[0]
push eax
mov eax, 0x10a4
call fcn.005c7560
mov eax, dword [0x697bc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1060], ecx
mov eax, dword [ebp - 0x1060]
cmp dword [eax + 0x21c], 0xffffffff
je 0x5a3a19
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1060]
mov edx, dword [ecx + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.005c63d0
add esp, 0xc
mov dword [ebp - 0x1018], 0
push 0
push 0
push 0x1000
push 0x1000
push 0xff
push 6
push 0x40000001
push str..pipeCdmEmbedHelperPipe
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 0x106c], eax
cmp dword [ebp - 0x106c], 0xffffffff
jne 0x5a3a72
jmp 0x5a3d9a
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x1064], eax
cmp dword [ebp - 0x1064], 0xffffffff
jne 0x5a3a94
jmp 0x5a3d9a
push 0x14
push 0
lea ecx, [ebp - 0x105c]
push ecx
call fcn.005c63d0
add esp, 0xc
mov edx, dword [ebp - 0x1064]
mov dword [ebp - 0x104c], edx
lea eax, [ebp - 0x105c]
push eax
mov ecx, dword [ebp - 0x106c]
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [ebp - 0x1078], eax
cmp dword [ebp - 0x1078], 0
je 0x5a3af5
mov edx, dword [ebp - 0x1064]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x106c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5a3d9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1088], eax
mov ecx, dword [ebp - 0x1088]
mov dword [ebp - 0x1074], ecx
cmp dword [ebp - 0x1074], 0x3e5
je 0x5a3b1b
jmp 0x5a3b1d
jmp 0x5a3b37
mov edx, dword [ebp - 0x1064]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x106c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x493e0
mov ecx, dword [ebp - 0x1064]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1070], eax
mov edx, dword [ebp - 0x1070]
mov dword [ebp - 0x1080], edx
cmp dword [ebp - 0x1080], 0
je 0x5a3b69
jmp 0x5a3d5e
mov eax, dword [ebp - 0x1064]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea ecx, [ebp - 0x1018]
push ecx
push 0x1000
lea edx, [ebp - 0x1010]
push edx
mov eax, dword [ebp - 0x106c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5a3d4f
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1030]
call fcn.004eea50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1030]
call fcn.004eed50
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x108c], esp
push eax
push edx
call fcn.004e3070
add esp, 8
mov dword [ebp - 0x1098], eax
mov ecx, dword [ebp - 0x1060]
call fcn.0059b370
lea ecx, [ebp - 0x1011]
call fcn.004e2500
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10a0], esp
lea eax, [ebp - 0x1030]
push eax
call fcn.004ee9d0
mov dword [ebp - 0x10a8], eax
mov ecx, dword [ebp - 0x1060]
call fcn.0059b450
lea ecx, [ebp - 0x1048]
call fcn.004eea00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1048]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10b0], esp
push 0x6218cc
call fcn.004eea50
mov dword [ebp - 0x1084], eax
mov edx, dword [ebp - 0x1084]
mov dword [ebp - 0x1094], edx
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10a4], esp
lea eax, [ebp - 0x1030]
push eax
call fcn.004ee9d0
mov dword [ebp - 0x109c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1011]
call fcn.005006a0
mov byte [ebp - 0x1065], al
movzx ecx, byte [ebp - 0x1065]
test ecx, ecx
je 0x5a3d1a
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x10ac], esp
lea edx, [ebp - 0x1048]
push edx
call fcn.004ee9d0
mov dword [ebp - 0x1090], eax
mov ecx, dword [ebp - 0x1060]
call fcn.0059c3c0
mov dword [ebp - 0x107c], eax
cmp dword [ebp - 0x107c], 0xc
jne 0x5a3d1a
lea eax, [ebp - 0x1030]
push eax
mov ecx, dword [ebp - 0x1060]
call fcn.0059fad0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1048]
call fcn.004eeb60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1011]
call fcn.004e1450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1030]
call fcn.004eeb60
jmp 0x5a3d4f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1048]
call fcn.004eeb60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1011]
call fcn.004e1450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1030]
call fcn.004eeb60
jmp 0x5a3b76
mov ecx, dword [ebp - 0x106c]
push ecx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
jmp 0x5a3d78
mov edx, dword [ebp - 0x106c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1064]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1060]
cmp dword [ecx + 0x21c], 0xffffffff
je 0x5a3d9a
mov edx, dword [ebp - 0x1060]
mov eax, dword [edx + 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c6c09
mov esp, ebp
pop ebp
ret