Function at 0x46aa70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0a80
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x527064]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x24], ebx
push str...includeMcSubMgrWrapper.cpp
push str.CMcSubMgrWrapper::GetPropertyValueFromMcSubDB
push 0xa6
push 3
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00431610
mov byte [ebp - 4], 1
mov edx, str.Entering_GetPropertyValueFromMcSubDB
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
call fcn.004327d0
mov eax, dword [ebp - 0x14]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
mov byte [ebp - 4], 0
mov ecx, ebx
push 0x4f7ee0
mov dword [ebx + 0x10], 0
call fcn.00408f30
push str.Global925307EC846D458b9B0CFDA691F052A4
push 0
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0x4ea13c
push 8
mov dword [ebp - 0x48], eax
call fcn.004910fb
mov ecx, eax
mov dword [ebp - 0x44], eax
add esp, 8
test ecx, ecx
je 0x46ab55
mov dword [ecx], vtable.CMcRegStorage.0
mov dword [ecx + 4], 0
jmp 0x46ab5a
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], ecx
test ecx, ecx
je 0x46ab6b
mov eax, dword [ecx]
push 0x5078c4
call dword [eax + 4]
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00469a10
mov edi, dword [ebp - 0x14]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
jne 0x46abd7
test edi, edi
je 0x46abd7
push str...includeMcSubMgrWrapper.cpp
push str.CMcSubMgrWrapper::GetPropertyValueFromMcSubDB
push 0xb9
push 3
lea ecx, [ebp - 0x28]
call fcn.00431610
mov byte [ebp - 4], 6
mov edx, str.QueryApplist_is_successfull__AppIds_count_is:
mov ecx, dword [eax]
call fcn.004333c0
push edi
mov ecx, eax
call fcn.0043a5d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x28]
call fcn.004327d0
mov eax, dword [ebp - 0x28]
jmp 0x46ac17
push str...includeMcSubMgrWrapper.cpp
push str.CMcSubMgrWrapper::GetPropertyValueFromMcSubDB
push 0xb5
push 4
lea ecx, [ebp - 0x2c]
call fcn.00431610
mov byte [ebp - 4], 4
mov edx, str.Failed_QueryAppList_:
mov ecx, dword [eax]
push ebx
call fcn.004333c0
mov ecx, eax
call fcn.0043a5d0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
call fcn.004327d0
mov eax, dword [ebp - 0x2c]
add eax, 0x14
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
xor ebx, ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], ebx
test edi, edi
je 0x46af07
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x46ae56
mov esi, dword [edi + ebx*4]
test esi, esi
je 0x46ae50
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x54], edx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 7
cmp dword [edx + 0x14], 8
mov dword [edx + 0x10], 0
jb 0x46ac7a
mov eax, dword [edx]
jmp 0x46ac7c
mov eax, edx
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 0xa
test esi, esi
je 0x46acae
cmp word [esi], cx
je 0x46aca5
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46ac93
sub ecx, edi
mov edi, dword [ebp - 0x18]
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00408f30
mov esi, dword [ebp - 0x24]
push esi
sub esp, 0x18
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x20], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x46acd6
mov eax, dword [ecx]
jmp 0x46acd8
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp + 8]
push edx
push eax
call fcn.00409030
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
mov byte [ebp - 4], 3
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x46ad8b
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
call dword [eax + 0x10]
push str...includeMcSubMgrWrapper.cpp
push str.CMcSubMgrWrapper::GetPropertyValueFromMcSubDB
push 0xc8
push 4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], eax
call fcn.00431610
mov byte [ebp - 4], 0xc
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov edx, str.McSubMgr_GetProperty_failed_for_property:
mov ecx, dword [eax]
cmovae esi, dword [ebp + 8]
call fcn.004333c0
push dword [ebp - 0x1c]
mov edx, esi
mov ecx, eax
call fcn.00433720
mov edx, str._error_code_is_:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a5d0
mov edx, str._for_AppId_:
mov ecx, eax
call fcn.004333c0
mov edx, dword [edi + ebx*4]
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x34]
call fcn.004327d0
mov eax, dword [ebp - 0x34]
add eax, 0x14
push eax
jmp 0x46aeea
cmp dword [esi + 0x10], 0
je 0x46aef4
push str...includeMcSubMgrWrapper.cpp
push str.CMcSubMgrWrapper::GetPropertyValueFromMcSubDB
push 0xce
push 3
lea ecx, [ebp - 0x3c]
call fcn.00431610
mov byte [ebp - 4], 0xe
lea ebx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
mov edx, str._AppId_is_:
mov ecx, dword [eax]
cmovae ebx, dword [ebp + 8]
call fcn.004333c0
mov ecx, dword [ebp - 0x24]
mov esi, eax
call fcn.00408d00
mov edx, dword [ebp - 0x38]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov edx, dword [eax + edx*4]
call fcn.00433720
mov edx, str.__breaking_the_loop_as_successfully_fetched_the_value_
mov ecx, eax
call fcn.004333c0
mov edx, str.value_of
mov ecx, eax
call fcn.004333c0
mov edx, ebx
mov ecx, eax
call fcn.00433720
mov edx, str._is_:
mov ecx, eax
call fcn.004333c0
mov edx, edi
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x3c]
call fcn.004327d0
mov eax, dword [ebp - 0x3c]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call ebx
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0xd], 0
jmp 0x46af0d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x52d4ac
nop dword [eax + eax]
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edi], ecx
sub eax, 0
je 0x46ae7a
sub eax, 1
jne 0x46ae97
push eax
call esi
jmp 0x46ae60
call fcn.00431820
mov ecx, eax
mov eax, 1
mov dword [0x52d4a0], ecx
neg ecx
sbb ecx, ecx
and ecx, 2
lock cmpxchg dword [edi], ecx
mov esi, dword [0x52d4a0]
mov dword [ebp - 0x20], esi
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 4], 4
mov dword [esi + 8], 0xc0
mov dword [esi + 0xc], str.CMcSubMgrWrapper::GetPropertyValueFromMcSubDB
mov dword [esi + 0x10], str...includeMcSubMgrWrapper.cpp
push ebx
mov edx, str.ppAppIDList_is_NULL_or_ppAppIDList_i__is_empty_:
mov byte [ebp - 4], 8
mov ecx, esi
call fcn.00433720
mov ecx, eax
call fcn.0043a5d0
mov ecx, esi
mov byte [ebp - 4], 9
call fcn.004327d0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
mov dword [ebp - 0x38], ebx
cmp ebx, dword [ebp - 0x14]
jb 0x46ac33
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x10], 0
jne 0x46af34
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, dword [ebp + 0x24]
ja 0x46af43
push 0xea60
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [ebp - 0xd], 0
jne 0x46ab75
jmp 0x46afd0
mov edi, 0x52d4ac
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edi], ecx
sub eax, 0
je 0x46af62
sub eax, 1
jne 0x46af7f
push eax
call esi
jmp 0x46af48
call fcn.00431820
mov ecx, eax
mov eax, 1
mov dword [0x52d4a0], ecx
neg ecx
sbb ecx, ecx
and ecx, 2
lock cmpxchg dword [edi], ecx
mov esi, dword [0x52d4a0]
mov dword [ebp - 0x20], esi
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 4], 3
mov dword [esi + 8], 0xd9
mov dword [esi + 0xc], str.CMcSubMgrWrapper::GetPropertyValueFromMcSubDB
mov dword [esi + 0x10], str...includeMcSubMgrWrapper.cpp
mov edx, str.Retry_count_reached..exiting
mov byte [ebp - 4], 0x10
mov ecx, esi
call fcn.00433720
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.004327d0
push edi
call ebx
mov byte [ebp - 4], 3
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x46b005
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x46b005
mov edi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
je 0x46b002
xor esi, esi
nop word [eax + eax]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x46affd
push eax
call edi
mov ecx, dword [ebp - 0x18]
inc esi
cmp esi, ebx
jb 0x46aff0
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, 0x52d4ac
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebx], ecx
sub eax, 0
je 0x46b02a
sub eax, 1
jne 0x46b047
push eax
call esi
jmp 0x46b010
call fcn.00431820
mov ecx, eax
mov eax, 1
mov dword [0x52d4a0], ecx
neg ecx
sbb ecx, ecx
and ecx, 2
lock cmpxchg dword [ebx], ecx
mov esi, dword [0x52d4a0]
mov dword [ebp - 0x20], esi
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 4], 3
mov dword [esi + 8], 0xe8
mov dword [esi + 0xc], str.CMcSubMgrWrapper::GetPropertyValueFromMcSubDB
mov dword [esi + 0x10], str...includeMcSubMgrWrapper.cpp
mov edx, str.Leaving_GetPropertyValueFromMcSubDB
mov byte [ebp - 4], 0x12
mov ecx, esi
call fcn.004333c0
mov ecx, esi
mov byte [ebp - 4], 0x13
call fcn.004327d0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x46b0a5
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x46b0b3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x46b0ca
push 2
inc eax
push eax
push dword [ebp + 8]
call fcn.00402ff0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20