Function at 0x411c10
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x4203d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
movsx eax, byte [0x4274d9]
push ebx
push ebp
push 0x98d7ffff
push eax
call fcn.0040c6e0
add esp, 8
lea ecx, [esp + 8]
mov word [0x4274fc], ax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 8]
push ecx
push 0xe
mov dword [esp + 0x34], 0
call fcn.0040cc90
mov eax, dword [0x427528]
xor edx, edx
or ebx, 0xffffffff
cmp word [0x4274ec], dx
push eax
setne dl
push 0xa35ffff
mov word [0x4274f8], bx
mov word [0x427504], dx
call fcn.0040c8e0
push 0x5d91ffff
push 0xce21ffff
mov byte [0x4274dd], al
call fcn.0040c830
add esp, 0x18
push 0
mov word [0x4274e4], ax
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov ecx, dword [0x427520]
push 0x3a59ffff
push ecx
call fcn.0040c8a0
xor edx, edx
add esp, 8
cmp word [0x427500], dx
mov byte [0x4274d8], al
mov eax, dword [esp + 0x20]
setne dl
cmp eax, 0x10
mov eax, dword [esp + 0xc]
mov byte [0x4274df], bl
mov byte [0x4274e0], bl
mov word [0x4274ec], dx
jae 0x411cfe
lea eax, [esp + 0xc]
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push eax
push 0
push 0
call ebp
mov dword [0x427ae0], eax
movsx eax, byte [0x4274dd]
push eax
push 0x63dffff
call fcn.0040c720
movsx edx, byte [0x4274da]
movsx ecx, ax
push ecx
push edx
mov word [0x427500], ax
call fcn.0040c6e0
movsx ecx, byte [0x4274de]
mov edx, dword [0x42750c]
mov byte [0x4274db], al
mov ax, word [0x427500]
sub ax, word [0x427514]
push ecx
push edx
mov word [0x4274e8], ax
call fcn.0040c870
add esp, 0x18
mov word [0x4274f4], ax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x411e0d
movsx eax, byte [0x4274db]
movsx ecx, byte [0x4274e0]
and eax, ecx
mov dword [0x42751c], eax
mov al, byte [0x427518]
mov dl, bl
sub dl, al
mov eax, dword [0x427ae0]
push eax
mov byte [0x4274db], dl
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0xd1abffff
push 0x13d1ffff
call fcn.0040c8a0
movsx edx, word [0x427500]
mov dword [0x427524], eax
mov al, byte [0x427514]
mov cl, bl
sub cl, al
push 0x34bdffff
push edx
mov byte [0x4274dc], cl
call fcn.0040c720
add esp, 0x10
lea ecx, [esp + 8]
mov dword [0x42750c], eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
push esi
push edi
push 0x8197ffff
push 0x4811ffff
call fcn.0040c7f0
push 0x6049ffff
push 0x340dffff
mov byte [0x4274d8], al
call fcn.0040c7f0
mov byte [0x4274e0], al
lea eax, [esp + 0x20]
push eax
push 0xa
mov dword [0x427510], 0xc2900000
call fcn.0040cc90
movsx ecx, byte [0x4274dc]
push 0xa6f9ffff
push ecx
call fcn.0040c8a0
movsx dx, byte [0x4274dc]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.DLL_Sleep]
add esp, 0x20
mov word [0x4274f0], ax
mov byte [0x4274da], 1
mov dword [0x427528], 0x22b40001
dec edx
mov word [0x4274e8], dx
jmp 0x411ea0
push 0
mov word [0x4274fc], bx
call dword [sym.imp.KERNEL32.DLL_SetLastError]
movsx eax, word [0x4274fc]
mov ecx, dword [0x42750c]
push eax
push ecx
call fcn.0040c830
mov dword [0x427518], eax
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, 0x10
mov eax, dword [esp + 0x14]
mov word [0x4274e8], bx
jae 0x411ee3
lea eax, [esp + 0x14]
push eax
push 0
push 0
call ebp
mov dword [0x427ae4], eax
mov al, byte [0x4274d9]
test al, al
je 0x411f08
mov eax, dword [0x427520]
test eax, eax
mov byte [0x4274dc], 1
jne 0x411f0f
mov byte [0x4274dc], 0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x411ff7
movsx edx, byte [0x4274d8]
sub edx, 0x44fc0001
mov dword [0x427524], edx
mov byte [0x4274da], bl
call fcn.0041bd40
movsx eax, word [0x4274e8]
movsx ecx, byte [0x4274da]
push eax
push ecx
call fcn.0040c870
movsx dx, byte [0x4274de]
imul dx, word [0x427500]
mov ecx, dword [0x427520]
mov word [0x427500], dx
mov edx, dword [0x42752c]
mov dword [0x427528], eax
mov ax, word [0x4274fc]
push ecx
push edx
mov word [0x427504], ax
call fcn.0040c720
add esp, 0x10
push 0x493e0
mov dword [0x427520], eax
call edi
movsx ecx, byte [0x4274dd]
movsx eax, word [0x4274e8]
push ecx
add eax, 0x6849ffff
push 0x4d77ffff
mov dword [0x427528], eax
call fcn.0040c7b0
mov dl, byte [0x4274d8]
add esp, 8
mov byte [0x4274db], al
mov eax, dword [0x427ae4]
inc dl
push eax
mov byte [0x4274dd], dl
call esi
mov cl, byte [0x4274de]
inc cl
mov byte [0x4274dc], cl
mov byte [0x4274de], bl
jmp 0x411ea0
movsx edx, word [0x4274f4]
push edx
push ebx
mov word [0x4274f0], bx
mov dword [0x427510], 0xf31fffff
call fcn.0040c830
push 0xcdb7ffff
push 0x60d7ffff
mov dword [0x427528], eax
call fcn.0040c8e0
add esp, 0x10
lea ecx, [esp + 0x10]
mov word [0x4274f0], ax
mov dword [esp + 0x34], ebx
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 ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret