Function at 0x1800cdb50
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18020d020]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
xor esi, esi
mov qword [rbp - 9], rsi
lea r8, [rbp - 9]
lea rdx, [0x1800cdf90]
lea ecx, [rsi + 6]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x1800cde4c
cmp qword [rbp - 9], rsi
je 0x1800cde4c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x37], xmm0
movdqa xmm1, xmmword [0x1801b2840]
movdqu xmmword [rbp + 0x37], xmm1
mov word [rbp + 0x27], si
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
mov r9, qword [rbp - 9]
lea rdx, str.9CDB4DA2_ACEA_446E_AA3A_D25628140939__d__p
lea rcx, [rbp + 0x27]
call fcn.18007ef80
lea r8, [rbp + 0x27]
cmp qword [rbp + 0x3f], 8
cmovae r8, qword [rbp + 0x27]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx], rax
test rax, rax
jne 0x1800cdcea
lea edx, [rsi + 4]
lea rcx, [0x180213e70]
call fcn.1800b69f0
mov ebx, eax
test eax, eax
je 0x1800cddf6
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x1801b2840]
movdqu xmmword [rbp + 0x17], xmm1
mov word [rbp + 7], si
lea r8d, [rsi + 0x1a]
lea rdx, [0x1801b0e18]
lea rcx, [rbp + 7]
call fcn.180003950
mov dword [rsp + 0x28], 0x2d
lea rax, str.RC::RCModuleThreadSync::AcquireLock
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea r8, [rbp + 7]
lea edx, [rsi + 4]
lea rcx, [0x180213e70]
call fcn.1800b6a40
cmp ebx, 1
jbe 0x1800cdc94
lea rdx, [rbp + 7]
lea rcx, [0x180213e70]
call fcn.1800b6de0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1800cdcd4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cdccf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cdf76
call fcn.18011e7a4
movdqa xmm0, xmmword [0x1801b2840]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], si
jmp 0x1800cddf6
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1800cdd05
mov byte [rbx + 8], 1
jmp 0x1800cddf6
mov edx, 4
lea rcx, [0x180213e70]
call fcn.1800b69f0
mov edi, eax
test eax, eax
je 0x1800cdde6
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x1801b2840]
movdqu xmmword [rbp + 0x17], xmm1
mov word [rbp + 7], si
mov r8d, 0x1c
lea rdx, [0x1801b0f08]
lea rcx, [rbp + 7]
call fcn.180003950
mov dword [rsp + 0x28], 0x37
lea rax, str.RC::RCModuleThreadSync::AcquireLock
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea r8, [rbp + 7]
mov edx, 4
lea rcx, [0x180213e70]
call fcn.1800b6a40
cmp edi, 1
jbe 0x1800cdd95
lea rdx, [rbp + 7]
lea rcx, [0x180213e70]
call fcn.1800b6de0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1800cddd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cddd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cdf7c
call fcn.18011e7a4
movdqa xmm0, xmmword [0x1801b2840]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], si
mov byte [rbx + 8], 0
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x1800cde36
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cde31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cdf82
call fcn.18011e7a4
movdqa xmm0, xmmword [0x1801b2840]
movdqu xmmword [rbp + 0x37], xmm0
mov word [rbp + 0x27], si
jmp 0x1800cdf4b
cmp qword [0x180213e70], rsi
je 0x1800cdf4b
lea rcx, [0x180213e70]
call fcn.1800b5db0
mov rax, qword [0x180213e70]
cmp byte [rax + 0x78], sil
je 0x1800cdf4b
cmp dword [rax + 0x80], 4
jb 0x1800cdf4b
movzx ebx, byte [rax + 0x84]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x1801b2840]
movdqu xmmword [rbp + 0x17], xmm1
mov word [rbp + 7], si
mov r8d, 0x1a
lea rdx, [0x1801b0eb0]
lea rcx, [rbp + 7]
call fcn.180003950
mov dword [rsp + 0x28], 0x22
lea rax, str.RC::RCModuleThreadSync::AcquireLock
mov qword [rsp + 0x20], rax
lea r9, str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea r8, [rbp + 7]
mov edx, 4
lea rcx, [0x180213e70]
call fcn.1800b6a40
test bl, bl
je 0x1800cdefe
lea rdx, [rbp + 7]
lea rcx, [0x180213e70]
call fcn.1800b6de0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x1800cdf3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cdf35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cdf70
call fcn.18011e7a4
movdqa xmm0, xmmword [0x1801b2840]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], si
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.18011e360
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180146974
nop
call fcn.180146974
nop
call fcn.180146974
nop
call fcn.180146974
int3