Function at 0x10017b80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016a74c
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10207514]
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 - 0x6c], ecx
mov eax, dword [0x10212214]
inc eax
mov dword [0x10212214], eax
cmp eax, 1
jne 0x10017c1b
mov ecx, 0x10212200
call fcn.1000e6b0
push str.SdConfigCenter.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10017c1b
push str.CreateAppProtectAdapter
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10017c14
call eax
mov edi, eax
test edi, edi
je 0x10017c14
mov edx, dword [edi]
mov ecx, edi
push 2
push 0x10212200
push fcn.1000e790
mov edx, dword [edx + 8]
call edx
test al, al
jne 0x10017f33
push edi
push esi
call fcn.1000e750
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, 0x10212244
call fcn.1000f080
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.BasicSQLite.dll_public:_void___thiscall_RC::RCSQLiteConnection::constructor_void_]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.1006a4b0
mov byte [ebp - 4], 1
xor eax, eax
push 9
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.DD01.data
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100094b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100fdee0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x64]
cmp eax, esi
je 0x10017cd0
mov ecx, eax
call fcn.10009450
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.10009450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10009450
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.BasicSQLite.dll_public:_bool___thiscall_RC::RCSQLiteConnection::LoadDB_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
test al, al
je 0x10017d10
lea ecx, [ebp - 0x48]
call dword [sym.imp.BasicSQLite.dll_public:_long_long___int64____thiscall_RC::RCSQLiteConnection::GetDBVersion_void_]
mov dword [0x10212258], eax
mov dword [0x1021225c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.10009450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [sym.imp.BasicSQLite.dll_public:_void___thiscall_RC::RCSQLiteConnection::destructor_void_]
mov edi, dword [ebp - 0x6c]
lea ecx, [ebp - 0x4c]
mov esi, dword [edi + 4]
call fcn.10144160
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x4c], vtable.Poco::NObserver_class_RC::RCAppProtectionControl__class_RC::RCAppProtectionNotification_.0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x10004f00
call fcn.10143ab0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x4c]
mov ecx, dword [edi]
push eax
add ecx, 0x48
call fcn.10144640
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], vtable.Poco::NObserver_class_RC::RCAppProtectionControl__class_RC::RCAppProtectionNotification_.0
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.10143af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10144170
lea ecx, [ebp - 0x4c]
call fcn.10144160
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x4c], vtable.Poco::NObserver_class_RC::RCAppProtectionMgr__class_RC::RCAppProtectionSwitchNotification_.0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x10017f50
call fcn.10143ab0
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x4c]
push eax
mov ecx, 0x102075e8
call fcn.10144640
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], vtable.Poco::NObserver_class_RC::RCAppProtectionMgr__class_RC::RCAppProtectionSwitchNotification_.0
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.10143af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10144170
mov ecx, 0x102075c8
call fcn.1001a300
push str.A496FA08_DBB5_4914_A013_E3B8E2894EEE
push 0
push 0
mov byte [ebp - 0x65], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [ebp - 0x65]
cmp eax, 0xb7
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x70], ecx
mov byte [ebp - 0x6c], cl
test esi, esi
je 0x10017e4b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x6c]
mov ecx, 0x102075e0
call fcn.1001bdb0
cmp dword [0x10212884], 0
je 0x10017f10
push 0
mov ecx, 0x10212884
call fcn.1012e070
mov eax, dword [0x10212884]
cmp byte [eax + 0x54], 0
je 0x10017f10
cmp dword [eax + 0x58], 4
jb 0x10017f10
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x65], al
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], 0xe
mov eax, dword [ebp - 0x70]
movzx eax, al
push eax
lea eax, [ebp - 0x28]
push 0x101b6710
push eax
call fcn.1012ee80
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push 0x39
push str.RC::RCAppProtectionMgr::Init
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdinstallprotect_appprotection_rcappprotectionmgr.cpp
push eax
push 4
call fcn.1012e9e0
cmp byte [ebp - 0x65], 0
je 0x10017f01
lea eax, [ebp - 0x28]
mov ecx, 0x10212884
push eax
call fcn.1012ed00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10009450
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx + 4], eax
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.10161f63
mov esp, ebp
pop ebp
ret
mov dword [0x1021221c], edi
mov dword [0x10212218], esi
jmp 0x10017c1b