Function at 0x45bf6a
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522842
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
and dword [ebp - 0xa8], 0
mov byte [ebp - 0xa1], 0
lea ecx, [ebp - 0x40]
call fcn.0040b2fe
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0040b2fe
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.004822ed
pop ecx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004823a4
pop ecx
pop ecx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 2
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x28]
call fcn.0041dc17
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0040a62b
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0xac]
call fcn.00451700
mov byte [ebp - 4], 7
push str.TCLSHOST_MUTEX_
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.004640ab
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0xc0]
call fcn.0046adfa
mov dword [ebp - 0xc4], eax
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x88]
call fcn.0040b1fe
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa8]
or eax, 2
mov dword [ebp - 0xa8], eax
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x28]
call fcn.0041dc17
and dword [ebp - 0xa8], 0xfffffffd
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x88]
call fcn.0040a62b
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 8
lea eax, [ebp - 0x88]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 8
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa0]
call fcn.0040a62b
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 7
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0x10
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 7
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x28]
call fcn.0040a5f1
mov dword [ebp - 0xcc], eax
push dword [ebp - 0xcc]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x40], eax
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x40], 0
je 0x45c194
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45c16a
mov dword [ebp - 0xb0], 1
jmp 0x45c171
and dword [ebp - 0xb0], 0
mov al, byte [ebp - 0xb0]
mov byte [ebp - 0xa1], al
lea ecx, [ebp - 0x28]
call fcn.0040a5f1
push eax
push str.Succeed_to_create_mutex_which_named__s
call fcn.0046c4d6
pop ecx
pop ecx
jmp 0x45c1b0
mov byte [ebp - 0xa1], 1
lea ecx, [ebp - 0x28]
call fcn.0040a5f1
push eax
push str.Failed_to_create_mutex_which_named:__s
call fcn.0046c4d6
pop ecx
pop ecx
mov al, byte [ebp - 0xa1]
mov byte [ebp - 0xa2], al
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
call fcn.0040a62b
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
mov dword [ebp - 0xdc], eax
mov byte [ebp - 4], 0x14
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x28]
call fcn.0040a62b
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0xe0], eax
mov byte [ebp - 4], 0x18
mov byte [ebp - 4], 0x19
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x1a
lea ecx, [ebp - 0x40]
call fcn.0040a62b
mov dword [ebp - 4], 0x1b
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x40]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 0x1c
mov dword [ebp - 4], 0x1d
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0xa2]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret