Function at 0x4c4670
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x699690
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x73d6e0]
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
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x4c49a0
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x4c48b2
cmp dword [ebp - 0x44], 0
je 0x4c48b2
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 1
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x40]
push str.9CDB4DA2_ACEA_446E_AA3A_D25628140939__d__p
push eax
call fcn.0041d190
add esp, 0x10
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x4c47d8
cmp dword [0x73fd40], eax
je 0x4c4881
push ecx
mov ecx, 0x73fd3c
call fcn.004113a0
mov eax, dword [0x73fd40]
cmp byte [eax + 0x54], 0
je 0x4c4881
cmp dword [eax + 0x58], 4
jb 0x4c4881
xor ebx, ebx
mov dword [ebp - 0x18], 0
cmp byte [eax + 0x5c], bl
mov dword [ebp - 0x14], 0
setne bl
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
inc ebx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push 0x6f86ec
push eax
call fcn.00412170
push 0x2d
push str.RC::RCModuleThreadSync::AcquireLock
push str.SrcUtilsRCModuleThreadSync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x73fd3c
push eax
push 4
call fcn.004121b0
cmp ebx, 1
jbe 0x4c47c7
lea eax, [ebp - 0x28]
mov ecx, 0x73fd3c
push eax
call fcn.004125c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408cc0
jmp 0x4c4881
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4c47ee
mov byte [esi + 4], 1
jmp 0x4c4881
push 4
mov ecx, 0x73fd3c
call fcn.00412130
mov edi, eax
test edi, edi
je 0x4c486f
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push 0x6f8724
push eax
call fcn.00412170
push 0x37
push str.RC::RCModuleThreadSync::AcquireLock
push str.SrcUtilsRCModuleThreadSync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x73fd3c
push eax
push 4
call fcn.004121b0
cmp edi, 1
jbe 0x4c4863
lea eax, [ebp - 0x28]
mov ecx, 0x73fd3c
push eax
call fcn.004125c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00408cc0
push dword [esi]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], 8
jb 0x4c4899
push dword [ebp - 0x40]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jmp 0x4c497b
cmp dword [0x73fd40], 0
je 0x4c497b
push ecx
mov ecx, 0x73fd3c
call fcn.004113a0
mov eax, dword [0x73fd40]
cmp byte [eax + 0x54], 0
je 0x4c497b
cmp dword [eax + 0x58], 4
jb 0x4c497b
xor ebx, ebx
mov dword [ebp - 0x18], 0
cmp byte [eax + 0x5c], bl
mov dword [ebp - 0x14], 0
setne bl
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
inc ebx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
push 0x1a
push 0x6f8604
call fcn.00409260
push 0x22
push str.RC::RCModuleThreadSync::AcquireLock
push str.SrcUtilsRCModuleThreadSync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x73fd3c
push eax
push 4
call fcn.004121b0
cmp ebx, 1
jbe 0x4c494f
lea eax, [ebp - 0x28]
mov ecx, 0x73fd3c
push eax
call fcn.004125c0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x4c4967
push dword [ebp - 0x28]
call fcn.005472b4
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
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.005472b9
mov esp, ebp
pop ebp
ret