Function at 0x50abb0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, 4
push ebx
mov ebx, ecx
mov ecx, 0xff
cmp eax, ecx
push esi
mov esi, dword [ebp + 0xc]
cmova eax, ecx
mov dword [ebx], eax
xor ecx, ecx
inc eax
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0051e499
push esi
push 0x747f58
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
push 0xff
push eax
call fcn.0050b290
mov edx, dword [ebp + 0x10]
xor eax, eax
mov word [ebx + 0x206], ax
add esp, 0x14
mov ecx, dword [ebx]
mov dword [ebx + 0x21e8], edx
mov dword [ebp - 0x50], eax
test ecx, ecx
je 0x50adec
lea edi, [ebx + 0x208]
xor esi, esi
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebx + 4]
mov dword [ecx + esi*4], eax
mov eax, dword [ebx + 4]
cmp dword [eax + esi*4], 0
je 0x50ae6f
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 4]
push 0x44
push 0
mov eax, dword [eax + esi*4]
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x64], 0
call fcn.00520480
add esp, 0xc
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x1a
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x80], 0x10000000
push eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x7c], 2
push eax
mov dword [ebp - 0x78], 0
call dword [sym.imp.ADVAPI32.dll_BuildTrusteeWithSidW]
lea eax, [ebp - 0x4c]
push eax
push 0
lea eax, [ebp - 0x80]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x50ae65
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x50ae55
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x50ae45
push 0
push dword [ebp - 0x4c]
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x50ae35
lea eax, [ebp - 0x60]
mov dword [ebp - 0x5c], esi
push eax
push 0x3e8
push 0x400
push 0x400
push dword [ebx]
lea eax, [ebx + 8]
mov dword [ebp - 0x60], 0xc
push 0xe
push 0x40000003
push eax
mov dword [ebp - 0x58], 0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi + 0x14], eax
cmp eax, 0xffffffff
jne 0x50adb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x50ae15
mov eax, esi
inc esi
cmp eax, 5
jae 0x50ae07
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x60]
push eax
push 0x3e8
push 0x400
push 0x400
push dword [ebx]
lea eax, [ebx + 8]
push 0xe
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [edi + 0x14], eax
cmp eax, 0xffffffff
je 0x50ad63
lea ecx, [edi + 0x1c]
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0050a5d0
test al, al
je 0x50ae22
mov esi, dword [ebp - 0x50]
xor eax, eax
cmp dword [edi + 0x1c], eax
sete al
inc esi
mov dword [edi + 0x18], eax
add edi, 0x20
mov ecx, dword [ebx]
mov dword [ebp - 0x50], esi
cmp esi, ecx
jb 0x50ac32
mov edx, dword [ebx + 0x21e8]
mov eax, dword [ebx + 4]
pop edi
pop esi
pop ebx
mov dword [eax + ecx*4], edx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0xc
push 5
push str._CPipeServer::Initial__Retry__d_times._Still_Failed_
push 0x95
jmp 0x50ae7d
push eax
push str._CPipeServer::Initial__CreateNamedPipe_failed__err_d
push 0x8f
jmp 0x50ae7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CPipeServer::Initial__ConnectToNewClient_failed__err_d
push 0xa2
jmp 0x50ae7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CPipeServer::Initial__SetSecurityDescriptorDacl_failed__err_d
push 0x6b
jmp 0x50ae7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CPipeServer::Initial__InitializeSecurityDescriptor_failed__err_d
push 0x65
jmp 0x50ae7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CPipeServer::Initial__LocalAlloc_PSECURITY_DESCRIPTOR_failed__err_d
push 0x5f
jmp 0x50ae7d
push eax
push str._CPipeServer::Initial__SetEntriesInAcl_failed__err_d
push 0x57
jmp 0x50ae7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CPipeServer::Initial__CreateEvent_failed__err_d
push 0x43
push str.C:_actions_runner_work_app_xbc_win_agent_app_xbc_win_agent_srcServerlibPipepipe_Server.cpp
push 5
call fcn.0050ff70
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor al, al
pop edi
pop esi
pop ebx
call fcn.0051deb6
mov esp, ebp
pop ebp
ret 0xc