Function at 0x403180
Capabilities:
Create pipe
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562255
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x62f018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, 0x6355a1
call fcn.00561ea5
cmp dword [esi + 4], 0
je 0x4031c7
mov al, 1
jmp 0x403581
cmp dword [0x6321a8], 0
je 0x40327f
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x40327f
cmp dword [eax + 0x58], 4
jb 0x40327f
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x234]
call fcn.00403f80
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
push 0x19
push 0x5c7ef4
call fcn.00404640
push 0x25
push str.RC::RCCrashService::Start
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_safecentersvc_rccrashservice.cpp
lea eax, [ebp - 0x234]
mov ecx, 0x6321a8
push eax
push 4
call fcn.004d2490
test bl, bl
je 0x403253
lea eax, [ebp - 0x234]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x234]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x234]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.00403f80
mov dword [ebp - 4], 5
lea eax, [ebp - 0x21c]
push 0x20c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x40339c
xor eax, eax
lea ecx, [ebp - 0x21c]
mov word [ebp - 0x12], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4032d4
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00404640
push str.Temp2345_Crashes
lea ecx, [ebp - 0x234]
call fcn.00403ed0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x234]
push eax
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x268]
call fcn.00490590
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24c]
push eax
call fcn.00403e50
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x268]
call fcn.00404570
mov byte [ebp - 4], 6
lea eax, [ebp - 0x268]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x234]
call fcn.00404570
mov byte [ebp - 4], 5
lea eax, [ebp - 0x234]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.0048e420
test al, al
je 0x403391
lea ecx, [ebp - 0x24c]
call fcn.004bc540
lea ecx, [ebp - 0x24c]
call fcn.0048ecf0
push 8
call fcn.0052f564
add esp, 4
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x24c]
push ecx
xorps xmm0, xmm0
mov ecx, eax
push esi
movq qword [eax], xmm0
call fcn.00419880
mov byte [ebp - 4], 5
mov edi, dword [esi + 4]
mov dword [esi + 4], eax
test edi, edi
je 0x4033e9
mov ecx, edi
call fcn.00419ac0
push 8
push edi
call fcn.0052f594
mov eax, dword [esi + 4]
add esp, 8
lea esi, [eax + 4]
mov ecx, esi
call fcn.00419e80
test al, al
je 0x4034a9
mov ecx, esi
call fcn.00419ed0
mov esi, eax
cmp dword [esi + 0x84], 0
jne 0x4034a9
push 0
push 1
push 0
mov dword [esi + 0x84], 2
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x4034a9
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x4034a9
push 4
push 0xffffffffffffffff
push esi
push 0x51890a
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x4034a9
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x40346a
mov eax, dword [eax]
push dword [esi + 0x38]
push 0
push 0x40
push 0x40
push 1
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x4034a9
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x40359d
mov dword [esi + 0x84], 1
cmp dword [0x6321a8], 0
je 0x403551
push ecx
mov ecx, 0x6321a8
call fcn.004d1b40
mov eax, dword [0x6321a8]
cmp byte [eax + 0x54], 0
je 0x403551
cmp dword [eax + 0x58], 2
jb 0x403551
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x234]
call fcn.00403f80
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x234]
push 8
push 0x5c8050
call fcn.00404640
push 0x35
push str.RC::RCCrashService::Start
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_safecentersvc_rccrashservice.cpp
lea eax, [ebp - 0x234]
mov ecx, 0x6321a8
push eax
push 2
call fcn.004d2490
test bl, bl
je 0x40352e
lea eax, [ebp - 0x234]
mov ecx, 0x6321a8
push eax
call fcn.004d27d0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x234]
call fcn.00404570
mov byte [ebp - 4], 5
lea eax, [ebp - 0x234]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 5
xor bl, bl
mov dword [ebp - 4], 0x1a
lea ecx, [ebp - 0x24c]
call fcn.00404570
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f553
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x403553