Function at 0x427c65
Capabilities:
Check mutex on windows

Disassembly:
mov eax, 0x44f4c6
call fcn.0044b2e0
sub esp, 0x40
mov eax, dword [0x464b24]
push ebx
push esi
xor eax, ebp
xor ebx, ebx
cmp byte [ebp + 0x10], bl
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov esi, ecx
jne 0x427cb8
cmp dword [ebp + 0x14], ebx
je 0x427cb8
push 0x132b3a1
call fcn.0042796d
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044b2c4
leave
ret 0x10
cmp dword [esi + 4], ebx
jne 0x427c9b
cmp dword [esi + 8], ebx
jne 0x427c9b
cmp edi, ebx
je 0x427c9b
cmp byte [edi], bl
je 0x427c9b
cmp byte [ebp + 0x10], bl
jne 0x427cd4
cmp dword [ebp + 0xc], ebx
je 0x427c9b
push edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.0552B021_385F_42ff_9575_B13473D97923
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
push edi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push str.00D765BD_E15C_49fc_85F3_8D9175531AEF
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
cmp byte [ebp + 0x10], bl
mov eax, dword [ebp - 0x28]
jne 0x427e2e
cmp dword [ebp - 0x14], 0x10
jae 0x427d20
lea eax, [ebp - 0x28]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x427d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [ebp - 0x49]
cmp byte [ebp - 0x49], bl
jne 0x427d5b
push 0x2710
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x427eb2
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x427d67
lea eax, [ebp - 0x44]
mov edi, dword [ebp + 0xc]
push eax
lea eax, [edi + 4]
push eax
xor eax, eax
cmp dword [ebp + 0x14], ebx
push ebx
sete al
lea eax, [eax + eax + 2]
push eax
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x427dbb
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, esi
call fcn.00427bd0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x427c9b
xor ecx, ecx
cmp dword [ebp + 0x14], ebx
push ebx
sete cl
push ebx
push ebx
lea ecx, [ecx + ecx + 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x427e0d
push dword [esi + 8]
mov byte [ebp - 0x49], bl
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, esi
call fcn.00427bd0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, byte [ebp - 0x49]
jmp 0x427c9d
cmp byte [ebp - 0x49], bl
mov dword [eax], edi
je 0x427ea0
mov edx, dword [esi]
mov ecx, esi
call fcn.00427c0b
push eax
mov eax, dword [esi + 0xc]
add eax, 4
push eax
call dword [edx + 4]
jmp 0x427ea0
cmp dword [ebp - 0x14], 0x10
jae 0x427e37
lea eax, [ebp - 0x28]
push eax
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
cmp eax, ebx
mov dword [esi + 8], eax
je 0x427eb2
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x427eb2
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x427e68
lea eax, [ebp - 0x44]
xor ecx, ecx
cmp dword [ebp + 0x14], ebx
push eax
sete cl
push ebx
lea ecx, [ecx + ecx + 4]
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x427dd9
push ebx
push ebx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 0xc], eax
je 0x427dd9
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [ebp - 0x49], 1
jmp 0x427dec
mov byte [ebp - 0x49], bl
jmp 0x427de5