Function at 0x100122d0
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e18a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x1002a008]
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, ecx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test edi, edi
jne 0x10012319
xor eax, eax
jmp 0x10012808
cmp dword [edi + 0x2c], 0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x18], eax
jne 0x10012803
nop dword [eax]
push 0x2c
call fcn.1001b77c
mov esi, eax
mov dword [ebp - 0x94], esi
mov dword [ebp - 4], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0xffffffff
push 0x2c
push 0
push esi
mov dword [ebp - 0x90], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x10012387
push esi
call fcn.10012900
jmp 0x100127f9
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
push 1
lea eax, [ebp - 0x78]
mov dword [ebp - 0x68], 0
push eax
movups xmmword [ebp - 0x78], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
cmp dword [edi + 0x18], 8
lea ecx, [edi + 4]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], eax
jb 0x100123d6
mov ecx, dword [ecx]
mov eax, dword [edi + 0x20]
lea edx, [ebp - 0x84]
push edx
push 0
push eax
push eax
push 0x80
push 6
push 0x40000003
push ecx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x10012411
push esi
call fcn.10012900
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100127f9
lea ecx, [esi + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
cmp eax, 1
jne 0x1001242c
push esi
call fcn.10012900
jmp 0x100127f9
cmp dword [edi + 0x2c], 0
jne 0x10012803
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x1001244c
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0x34]
test eax, eax
je 0x1001245c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x90]
push edx
mov dword [ebp - 0x8c], eax
mov ecx, dword [eax + 4]
push ecx
push eax
mov dword [ebp - 0x88], ecx
call fcn.10010d10
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 0x3c]
sub ecx, eax
cmp ecx, 1
jb 0x10012829
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x8c]
mov dword [edi + 0x3c], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x88]
mov dword [eax], edx
mov eax, dword [edi + 0x34]
test eax, eax
je 0x100124b6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
je 0x10012803
cmp eax, 1
jne 0x100127f9
cmp dword [edi + 0x2c], 0
jne 0x10012803
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [esi + 4]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x100125ec
push 2
mov ecx, 0x1002a9d4
call fcn.10014700
mov dword [ebp - 0x88], eax
test eax, eax
je 0x100125df
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x30]
push 0x2b
push 0x10023528
call fcn.100049e0
push 0x1c9
push str.RC::DmAvCore::RCImplPortServer::RealListenRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
lea eax, [ebp - 0x30]
mov ecx, 0x1002a9d4
push eax
push 2
call fcn.10014740
cmp dword [ebp - 0x88], 1
jbe 0x1001258a
lea eax, [ebp - 0x30]
mov ecx, 0x1002a9d4
push eax
call fcn.10014ad0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x100125cb
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100125c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012823
push edx
push ecx
call fcn.1001b7ac
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
push esi
mov ecx, edi
call fcn.10011da0
jmp 0x100127f9
mov dword [esi + 0x24], edi
mov ecx, dword [edi + 0x1c]
push 0
push esi
push 0x100114e0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x88], eax
test eax, eax
je 0x100127f9
push 2
push 0
lea eax, [esi + 0x20]
push 0
push eax
mov dword [ebp - 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [ebp - 0x88]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, 0x1002a9d4
push 4
test eax, eax
je 0x1001272f
call fcn.10014700
mov dword [ebp - 0x88], eax
test eax, eax
je 0x100127f9
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x8c]
push dword [eax]
lea eax, [ebp - 0x48]
push esi
push 0x100235e8
push eax
call fcn.10015050
add esp, 0x10
lea eax, [ebp - 0x48]
mov ecx, 0x1002a9d4
push 0x1e0
push str.RC::DmAvCore::RCImplPortServer::RealListenRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
push eax
push 4
call fcn.10014740
cmp dword [ebp - 0x88], 1
jbe 0x100126d5
lea eax, [ebp - 0x48]
mov ecx, 0x1002a9d4
push eax
call fcn.10014ad0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10012716
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001270c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012823
push edx
push ecx
call fcn.1001b7ac
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
jmp 0x100127f9
call fcn.10014700
mov esi, eax
test esi, esi
je 0x100127f9
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x60]
push 0xd
push str._rY6R
call fcn.100049e0
push 0x1e4
push str.RC::DmAvCore::RCImplPortServer::RealListenRoutine
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_vbaselib_src_namedpipe_rcimplportserver.cpp
lea eax, [ebp - 0x60]
mov ecx, 0x1002a9d4
push eax
push 4
call fcn.10014740
cmp esi, 1
jbe 0x100127a8
lea eax, [ebp - 0x60]
mov ecx, 0x1002a9d4
push eax
call fcn.10014ad0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x100127e5
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100127db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10012823
push edx
push ecx
call fcn.1001b7ac
add esp, 8
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
cmp dword [edi + 0x2c], 0
je 0x10012330
mov eax, 1
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.1001b76b
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3