Function at 0x100d01f0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017eace
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x101f0014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x5c], 0
push 0x70
movlpd qword [ebp - 0x18], xmm0
call fcn.101606dd
mov esi, eax
add esp, 4
mov dword [ebp - 0x58], esi
mov dword [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 7
mov word [esi + 0x40], ax
mov byte [ebp - 4], 3
xorps xmm0, xmm0
movups xmmword [esi + 4], xmm0
mov dword [esi + 0x14], eax
movups xmmword [esi + 0x2c], xmm0
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
push dword [ebp - 0x64]
mov dword [ebp - 0x18], 0
push esi
mov dword [ebp - 0x14], 0
call fcn.100d16f0
mov dword [ebp - 4], 4
lea eax, [ebp - 0x44]
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
push eax
movups xmmword [ebp - 0x44], xmm0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
add eax, 4
mov dword [ebp - 0x48], 0
cmp dword [eax + 0x14], 8
jb 0x100d0319
mov eax, dword [eax]
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0x1000
push 0x1000
push 0xff
push 6
push 0x40000003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov esi, dword [ebp - 0x18]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
mov dword [ebp - 0x58], eax
cmp ecx, 0xffffffff
jne 0x100d0452
cmp dword [0x101f4a2c], 0
je 0x100d0402
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x100d0402
cmp dword [eax + 0x58], 2
jb 0x100d0402
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x51], al
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 byte [ebp - 4], 5
lea eax, [ebp - 0x30]
push dword [ebp - 0x58]
push str.create_name_pipe_failed__d
push eax
call fcn.100b1860
add esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, 0x101f4a2c
push 0x1f3
push str.RC::RCNamePipeServer::CreateClient
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
call fcn.1014ce30
cmp byte [ebp - 0x51], 0
je 0x100d03f6
lea eax, [ebp - 0x30]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10007c90
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d0645
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x100d0645
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x100d0645
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x100d0645
mov eax, dword [ebp - 0x60]
push dword [eax + 0x1c]
push esi
push dword [eax + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x58], eax
test esi, esi
jne 0x100d0561
cmp dword [0x101f4a2c], esi
je 0x100d0511
push esi
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x100d0511
cmp dword [eax + 0x58], 2
jb 0x100d0511
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x51], al
xor eax, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push dword [ebp - 0x58]
push str.create_io_completion_failed__d
push eax
call fcn.100b1860
add esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, 0x101f4a2c
push 0x1fe
push str.RC::RCNamePipeServer::CreateClient
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
call fcn.1014ce30
cmp byte [ebp - 0x51], 0
je 0x100d0505
lea eax, [ebp - 0x30]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10007c90
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d0645
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x100d0645
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x14]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x100d0645
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100d0645
cmp dword [0x101f4a2c], 0
je 0x100d0621
push 0
mov ecx, 0x101f4a2c
call fcn.1014c4b0
mov eax, dword [0x101f4a2c]
cmp byte [eax + 0x54], 0
je 0x100d0621
cmp dword [eax + 0x58], 5
jb 0x100d0621
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x51], al
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 byte [ebp - 4], 7
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x54], 8
lea ecx, [eax + 0x40]
jb 0x100d05cd
mov ecx, dword [ecx]
push ecx
push dword [eax]
push eax
lea eax, [ebp - 0x30]
push str.create_new_client__p__p__s
push eax
call fcn.100b1860
add esp, 0x14
lea eax, [ebp - 0x30]
mov ecx, 0x101f4a2c
push 0x206
push str.RC::RCNamePipeServer::CreateClient
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 5
call fcn.1014ce30
cmp byte [ebp - 0x51], 0
je 0x100d0615
lea eax, [ebp - 0x30]
mov ecx, 0x101f4a2c
push eax
call fcn.1014d150
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.10007c90
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 4], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 0
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.101606b4
mov esp, ebp
pop ebp
ret 4