Function at 0x100551a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10175637
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10207514]
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 dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
push 0xa
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push str.CommonData
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100094b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push esi
push 0x10055550
push eax
lea ecx, [esi + 0x14]
call dword [sym.imp.BasicBusinessConfigCenter.dll_public:_bool___thiscall_RC::DM::RCConfigUser::Initialize_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___void____cdecl___struct_RC::DM::RCNotifytHeadData_const___wchar_t_const___void____void__]
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10009450
test bl, bl
jne 0x100552dc
cmp dword [0x10212884], 0
je 0x100552dc
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], bl
je 0x100552dc
cmp dword [eax + 0x58], 2
jb 0x100552dc
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x11
push 0x101b7450
call fcn.100094b0
push 0x32
push str.RC::RCSafeInstallProtectMgr::Init
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdinstallprotect_safeinstallprotect_rcsafeinstallprotectmgr.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
push 2
call fcn.1012e9e0
test bl, bl
je 0x100552cd
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
call fcn.1012ed00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10009450
push 0x22
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x54]
push str.notify_at_unknow_software_inst_new
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.100094b0
mov dword [ebp - 4], 2
xor eax, eax
push 0x11
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.rtprotect_setting
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100094b0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x14]
call dword [sym.imp.BasicBusinessConfigCenter.dll_public:_bool___thiscall_RC::DM::RCConfigUser::RegisterNotify_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10009450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.10009450
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jne 0x100554f3
mov dword [ebp - 4], 4
push 0xc0
call fcn.10161f74
mov edi, eax
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 5
lea esi, [edi + 0x10]
lea eax, [esi + 4]
mov dword [edi + 4], 1
push 2
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_class_RC::RCCloudCtrlMgr_.0
push eax
mov dword [ebp - 0x5c], esi
mov dword [esi], vtable.RC::RCCloudCtrlMgr.0
mov dword [ebp - 0x3c], eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
add esp, 0xc
mov byte [ebp - 4], 7
mov dword [esi + 0x38], 0x3e8
mov dword [esi + 0x3c], 0
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 3
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 8
xor eax, eax
lea ecx, [esi + 0x54]
mov dword [ecx + 0x10], 0
push eax
mov dword [ecx + 0x14], 7
push 0x101b870c
mov word [ecx], ax
call fcn.100094b0
mov byte [ebp - 4], 9
lea ecx, [esi + 0x6c]
call fcn.1004cbc0
mov byte [ebp - 4], 4
xorps xmm0, xmm0
movlpd qword [ebp - 0x34], xmm0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
mov ecx, ebx
mov dword [ebp - 0x30], 0
push eax
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], edi
call fcn.10051a80
mov eax, 1
mov dword [ebp - 0x2c], eax
and eax, 0xfffffffe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100554a0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x100554a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x100554a0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebx]
mov ecx, esi
call fcn.1004e310
mov ecx, esi
call fcn.1004e3b0
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x100554d0
lock inc dword [eax + 8]
mov eax, dword [ebx]
mov dword [ecx], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 0xb
mov dword [ebp - 4], 0xffffffff
call fcn.1004ef50
mov esi, dword [ebp - 0x38]
add esp, 8
push str.A496FA08_DBB5_4914_A013_E3B8E2894EEE
push 0
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
test edi, edi
je 0x10055527
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x48]
xchg byte [eax], bl
mov cl, 1
lea eax, [esi + 0x49]
xchg byte [eax], cl
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.10161f63
mov esp, ebp
pop ebp
ret