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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f66c
mov eax, dword fs:[0]
push eax
mov eax, 0x1054
call fcn.0055ed60
mov eax, dword [0x615720]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104c], ecx
mov eax, dword [ebp - 0x104c]
cmp dword [eax + 0x224], 0xffffffff
je 0x53a4b9
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x104c]
mov edx, dword [ecx + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1000
push 0
lea eax, [ebp - 0x1010]
push eax
call fcn.0055ea20
add esp, 0xc
mov dword [ebp - 0x1014], 0
push 0
push 0
push 0x1000
push 0x1000
push 0xff
push 6
push 0x40000001
push str..pipeADHelperDownPipe
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [ebp - 0x1044], eax
cmp dword [ebp - 0x1044], 0xffffffff
jne 0x53a512
jmp 0x53a6d8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x1048], eax
cmp dword [ebp - 0x1048], 0xffffffff
jne 0x53a534
jmp 0x53a6d8
push 0x14
push 0
lea ecx, [ebp - 0x1040]
push ecx
call fcn.0055ea20
add esp, 0xc
mov edx, dword [ebp - 0x1048]
mov dword [ebp - 0x1030], edx
lea eax, [ebp - 0x1040]
push eax
mov ecx, dword [ebp - 0x1044]
push ecx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [ebp - 0x1054], eax
cmp dword [ebp - 0x1054], 0
je 0x53a595
mov edx, dword [ebp - 0x1048]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1044]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x53a6d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x105c], eax
mov ecx, dword [ebp - 0x105c]
mov dword [ebp - 0x1050], ecx
cmp dword [ebp - 0x1050], 0x3e5
je 0x53a5bb
jmp 0x53a5bd
jmp 0x53a5d7
mov edx, dword [ebp - 0x1048]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1044]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x493e0
mov ecx, dword [ebp - 0x1048]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x1058], eax
mov edx, dword [ebp - 0x1058]
mov dword [ebp - 0x1060], edx
cmp dword [ebp - 0x1060], 0
je 0x53a609
jmp 0x53a68c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea ecx, [ebp - 0x1010]
push ecx
mov edx, dword [ebp - 0x1044]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x53a670
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x102c]
call fcn.004e8fb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x102c]
push ecx
mov ecx, dword [ebp - 0x104c]
call fcn.00536650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x102c]
call fcn.004e90c0
jmp 0x53a670
mov edx, dword [ebp - 0x1044]
push edx
call dword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
mov eax, dword [ebp - 0x1048]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x53a6a6
mov ecx, dword [ebp - 0x1044]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1048]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x104c]
cmp dword [eax + 0x224], 0xffffffff
je 0x53a6d8
mov ecx, dword [ebp - 0x104c]
mov edx, dword [ecx + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x104c]
mov dword [eax + 0x224], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e34d
mov esp, ebp
pop ebp
ret