Function at 0x6445d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b97c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x748068]
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 0x644860
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x6447aa
cmp dword [ebp - 0x44], 0
je 0x6447aa
lea ecx, [ebp - 0x40]
call fcn.00405d80
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.004304b0
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00405ca0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x6446f5
push 4
mov ecx, 0x748e54
call fcn.0041e490
mov esi, eax
test esi, esi
je 0x64479b
lea ecx, [ebp - 0x28]
call fcn.00405d80
mov byte [ebp - 4], 2
push 0x6f26e0
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x6f26e0
call fcn.00405ec0
push 0x2d
push str.RC::RCModuleThreadSync::AcquireLock
push str.e:git_rhino_safe_src_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x748e54
push eax
push 4
call fcn.0041e4d0
cmp esi, 1
jbe 0x6446da
lea eax, [ebp - 0x28]
mov ecx, 0x748e54
push eax
call fcn.0041e750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x644838
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x644715
mov byte [esi + 4], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x644838
push 4
mov ecx, 0x748e54
call fcn.0041e490
mov edi, eax
test edi, edi
je 0x644789
lea ecx, [ebp - 0x28]
call fcn.00405d80
mov byte [ebp - 4], 3
push 0x6f26a4
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x6f26a4
call fcn.00405ec0
push 0x37
push str.RC::RCModuleThreadSync::AcquireLock
push str.e:git_rhino_safe_src_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x748e54
push eax
push 4
call fcn.0041e4d0
cmp edi, 1
jbe 0x64477d
lea eax, [ebp - 0x28]
mov ecx, 0x748e54
push eax
call fcn.0041e750
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405ce0
push dword [esi]
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
jmp 0x644838
cmp dword [0x748e58], 0
je 0x64483d
push ecx
mov ecx, 0x748e54
call fcn.0041db40
mov eax, dword [0x748e58]
cmp byte [eax + 0x54], 0
je 0x64483d
cmp dword [eax + 0x58], 4
jb 0x64483d
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.00405d80
mov dword [ebp - 4], 0
push 0x6f27c8
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x28]
push eax
push 0x6f27c8
call fcn.00405ec0
push 0x22
push str.RC::RCModuleThreadSync::AcquireLock
push str.e:git_rhino_safe_src_framework_src_framework_srcutils_rcmodulethreadsync.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x748e54
push eax
push 4
call fcn.0041e4d0
test bl, bl
je 0x64482e
lea eax, [ebp - 0x28]
mov ecx, 0x748e54
push eax
call fcn.0041e750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405ce0
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.0064fb08
mov esp, ebp
pop ebp
ret