Function at 0x58412d
Capabilities:
Check mutex on windows

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x6ae498
call fcn.00640244
sub esp, 0x254
lea eax, [ebp - 0x260]
push 0x791824
push str.Local_s
push 0x104
push eax
call fcn.00464914
add esp, 0x10
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0047dece
cmp dword [eax + 0x14], 0x10
jb 0x584177
mov eax, dword [eax]
push ebx
push esi
push edi
push eax
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push ebx
push 1
lea ecx, [ebp + 0x18]
mov dword [0x7bdcac], eax
call fcn.0040f52f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0x44], eax
cmp byte [ebp + 0x6c], bl
jne 0x5845d1
cmp dword [0x7bdf60], 1
je 0x5845d1
push ebx
push dword [0x7e097c]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x6c111c
push 0x70f604
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp + 0x5c], esi
call fcn.005a0797
mov byte [ebp + 0x63], bl
mov dword [ebp + 0x48], ebx
cmp byte [ebp + 0x78], bl
je 0x584223
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call fcn.00462c7b
mov esi, eax
push esi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test esi, esi
je 0x584220
test edi, edi
je 0x584220
push 0x7530
push edi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [ebp + 0x5c]
mov byte [ebp + 0x6f], bl
mov dword [ebp + 0x30], 0x34
test ebx, ebx
jne 0x58424a
push ebx
push 0x791824
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
mov dword [ebp + 0x48], ebx
test ebx, ebx
je 0x58450e
and dword [ebp + 0x4c], 0
cmp byte [ebp + 0x7c], 0
jne 0x5842c0
lea eax, [ebp + 0x4c]
push eax
push 0xfa0
push 1
push 0
push 0x6abb1a3
push 0x8096
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x584280
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x5842c0
cmp dword [ebp + 0x4c], 0x6abb1a3
jae 0x5842c0
xor edi, edi
mov dword [ebp + 0x10], 1
mov dword [ebp + 0x14], edi
call fcn.00494723
push eax
call fcn.00494723
push eax
lea eax, [ebp + 0x10]
push str.An_older_version_of__s_is_running._n_nPlease_shut_down__s_and_try_again.
push eax
call fcn.0058da56
add esp, 0x10
push edi
push edi
push 0x8096
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x74]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x28
jne 0x584300
cmp dword [eax + 0x14], 8
mov dword [ebp + 4], 0xa71ca770
jb 0x5842da
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
lea eax, [ecx*2 + 2]
mov dword [ebp + 8], eax
lea eax, [ebp]
push eax
push 0x1388
push 1
lea eax, [ebp + 4]
push eax
push esi
push 0x4a
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
and dword [ebp + 0x3c], 0
and dword [ebp + 0x38], 0
and dword [ebp + 0x40], 0
cmp byte [ebp + 0x63], 0
mov dword [ebp + 0x34], 0xdeadf00e
mov byte [ebp + 0x6f], 1
jne 0x5843f7
mov ecx, dword [ebp + 0x70]
xor edi, edi
push 0x18
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
pop ecx
idiv ecx
test eax, eax
je 0x584396
mov ebx, dword [ebp + 0x70]
xor esi, esi
push 0x6d342c
lea ecx, [ebp + 0x18]
call fcn.00429973
mov eax, dword [ebx]
xor ecx, ecx
push ecx
push ecx
mov dword [ebp - 4], ecx
add eax, esi
lea ecx, [ebp + 0x18]
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.005a00b6
push eax
mov byte [ebp - 4], 1
call fcn.005a02b6
lea ecx, [ebp - 0x58]
call fcn.0042a3a1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
push 0
push 1
call fcn.004281f2
mov eax, dword [ebx + 4]
inc edi
sub eax, dword [ebx]
push 0x18
pop ecx
cdq
add esi, ecx
idiv ecx
cmp edi, eax
jb 0x58433a
mov ebx, dword [ebp + 0x48]
xor esi, esi
cmp dword [0x7bde40], esi
jbe 0x5843f3
push esi
mov ecx, 0x7bde30
call fcn.00424036
lea ecx, [ebp + 0x18]
push dword [eax]
call fcn.00429973
lea eax, [ebp + 0x18]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x58]
call fcn.005a0101
push eax
mov byte [ebp - 4], 3
call fcn.005a02b6
lea ecx, [ebp - 0x58]
call fcn.0042a3a1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
push 0
push 1
call fcn.004281f2
inc esi
cmp esi, dword [0x7bde40]
jb 0x5843a0
mov byte [ebp + 0x63], 1
and dword [ebp + 0x50], 0
and dword [ebp + 0x54], 0
and dword [ebp + 0x58], 0
lea eax, [ebp + 0x50]
mov dword [ebp - 4], 4
push eax
call fcn.005a07f7
mov esi, dword [ebp + 0x54]
xor edx, edx
mov ecx, dword [ebp + 0x50]
mov eax, esi
sub eax, ecx
mov dword [ebp + 0x78], edx
push 0x34
cdq
pop edi
idiv edi
test eax, eax
je 0x5845e7
xor edi, edi
lea eax, [ecx + edi]
cmp byte [eax + 0x31], 0
jne 0x5844d4
mov esi, dword [0x7bdc20]
test esi, esi
jne 0x584472
cmp dword [eax + 0x10], esi
jne 0x584472
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x584459
mov eax, dword [eax]
push eax
call fcn.0047c721
mov esi, dword [ebp + 0x50]
mov dword [ebp + 0x3c], eax
mov eax, dword [esi + edi + 0x28]
lea eax, [eax*2 + 2]
jmp 0x58449d
cmp dword [eax + 0x14], 8
jb 0x58447c
mov edx, dword [eax]
jmp 0x58447e
mov edx, eax
lea ecx, [eax + 0x18]
cmp dword [ecx + 0x14], 8
jb 0x584489
mov ecx, dword [ecx]
movzx eax, byte [eax + 0x30]
push eax
push edx
push esi
push ecx
lea eax, [ebp + 0x3c]
push eax
call fcn.00585f77
mov esi, dword [ebp + 0x50]
mov dword [ebp + 0x38], eax
lea eax, [ebp + 0x40]
push eax
push 0x1388
push 1
lea eax, [ebp + 0x34]
push eax
push dword [ebp + 0x5c]
push 0x4a
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
setne al
mov byte [esi + edi + 0x31], al
mov ecx, dword [ebp + 0x50]
mov al, byte [ebp + 0x6f]
mov esi, dword [ebp + 0x54]
and al, byte [ecx + edi + 0x31]
mov byte [ebp + 0x6f], al
push 0x34
pop eax
add edi, eax
inc dword [ebp + 0x78]
mov eax, esi
sub eax, ecx
cdq
idiv dword [ebp + 0x30]
cmp dword [ebp + 0x78], eax
jb 0x584432
mov al, byte [ebp + 0x6f]
test al, al
jne 0x5845e7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x50]
mov byte [ebp + 0x6f], 1
call fcn.00438bb3
cmp dword [0x7bdcac], 0
je 0x5845c8
mov eax, dword [ebp + 0x44]
cmp eax, 0xb7
je 0x58452e
cmp eax, 5
jne 0x5845c8
cmp byte [ebp + 0x6f], 0
jne 0x58458c
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
push dword [0x7bdcac]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0047dece
cmp dword [eax + 0x14], 0x10
jb 0x584560
mov eax, dword [eax]
push eax
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push esi
push 1
lea ecx, [ebp - 0x24]
mov dword [0x7bdcac], eax
call fcn.0040f52f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp + 0x5c]
mov dword [ebp + 0x44], eax
jmp 0x58422d
cmp byte [ebp + 0x7c], 0
jne 0x58460c
cmp dword [0x7bdf60], 0
jne 0x58460c
mov dword [ebp + 0x10], 1
mov dword [ebp + 0x14], 0x30
call fcn.004947d1
push eax
call fcn.004947d1
push eax
lea eax, [ebp + 0x10]
push str.It_seems_like__s_is_already_running__but_not_responding._r_n_r_nPlease_close_all__s_processes_and_try_again.
push eax
call fcn.0058da56
add esp, 0x10
jmp 0x58460c
push dword [ebp + 0x5c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x64]
pop ebp
ret 0x14
test byte [ebp + 0x40], 2
je 0x5845f4
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0
push 0x800c
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp + 0x50]
call fcn.00438bb3
xor al, al
jmp 0x5845d3