Function at 0x5b0a86
Capabilities:
Check mutex on windows

Disassembly:
push ebp
sub esp, 0x60
mov eax, 0x6e3f2f
call fcn.006899cc
sub esp, 0x264
lea eax, [ebp - 0x270]
push 0x7c96ec
push str.Local_s
push 0x104
push eax
call fcn.00474b43
add esp, 0x10
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0048fcb1
cmp dword [eax + 0x14], 0x10
jb 0x5b0ad0
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]
lea ecx, [ebp + 0x20]
mov dword [0x7f84b0], eax
call fcn.0040fad0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0x3c], eax
cmp byte [ebp + 0x6c], bl
jne 0x5b1047
cmp dword [0x7f874c], 1
je 0x5b1047
push ebx
push dword [0x81bb0c]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x6f6210
push 0x745464
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
mov dword [ebp + 0x5c], esi
call fcn.005d2acb
mov byte [ebp + 0x63], bl
mov dword [ebp + 0x44], ebx
cmp byte [ebp + 0x78], bl
je 0x5b0b79
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call fcn.00472b9f
mov esi, eax
push esi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test esi, esi
je 0x5b0b76
test edi, edi
je 0x5b0b76
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 + 8], 0x34
test ebx, ebx
jne 0x5b0ba0
push ebx
push 0x7c96ec
call dword [sym.imp.USER32.dll_FindWindowW]
mov ebx, eax
mov dword [ebp + 0x44], ebx
test ebx, ebx
je 0x5b0f7a
and dword [ebp + 0x40], 0
cmp byte [ebp + 0x7c], 0
jne 0x5b0c16
lea eax, [ebp + 0x40]
push eax
push 0xfa0
push 1
push 0
push 0x6c1b788
push 0x8097
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x5b0bd6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x5b0c16
cmp dword [ebp + 0x40], 0x6c1b788
jae 0x5b0c16
xor edi, edi
mov dword [ebp + 0x18], 1
mov dword [ebp + 0x1c], edi
call fcn.004a64cf
push eax
call fcn.004a64cf
push eax
lea eax, [ebp + 0x18]
push str.An_older_version_of__s_is_running._n_nPlease_shut_down__s_and_try_again.
push eax
call fcn.005bb77f
add esp, 0x10
push edi
push edi
push 0x8097
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x74]
cmp dword [ecx + 0x10], 0x28
jne 0x5b0c53
cmp dword [ecx + 0x14], 8
mov eax, ecx
mov dword [ebp - 0x18], 0xa71ca770
jb 0x5b0c30
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push 0x1388
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x52
push eax
push esi
push 0x4a
push ebx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
and dword [ebp + 0x14], 0
and dword [ebp + 0x10], 0
and dword [ebp + 0x38], 0
cmp byte [ebp + 0x63], 0
mov dword [ebp + 0xc], 0xdeadf00e
mov byte [ebp + 0x6f], 1
jne 0x5b0e04
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 0x5b0d3d
mov ebx, dword [ebp + 0x70]
xor esi, esi
and dword [ebp + 0x20], 0
lea ecx, [ebp + 0x20]
and dword [ebp + 0x30], 0
xor eax, eax
push 0x703ae4
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
call fcn.004482e2
mov eax, dword [ebx]
xor ecx, ecx
push ecx
push ecx
mov dword [ebp - 4], ecx
add eax, esi
lea ecx, [ebp + 0x20]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.005d1f5e
push eax
mov byte [ebp - 4], 1
call fcn.005d204e
lea ecx, [ebp - 0x38]
call fcn.0044823e
lea ecx, [ebp - 0x50]
call fcn.0044823e
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x34]
cmp eax, 8
jb 0x5b0d24
mov ecx, dword [ebp + 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x4c], ecx
cmp eax, 0x1000
jb 0x5b0d1b
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x4c]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
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 0x5b0c91
mov ebx, dword [ebp + 0x44]
xor esi, esi
cmp dword [0x7f861c], esi
jbe 0x5b0e00
mov eax, dword [0x7f8618]
lea ecx, [ebp]
mov dword [ebp + 0x4c], eax
add eax, esi
mov dword [ebp], 0x7f860c
mov dword [ebp + 4], eax
call fcn.00445f03
xor ecx, ecx
mov eax, dword [eax]
and dword [ebp + 0x20], 0
and dword [ebp + 0x30], 0
mov word [ebp + 0x20], cx
lea ecx, [ebp + 0x20]
push eax
mov dword [ebp + 0x34], 7
call fcn.004482e2
lea eax, [ebp + 0x20]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.005d1fb9
push eax
mov byte [ebp - 4], 3
call fcn.005d204e
lea ecx, [ebp - 0x38]
call fcn.0044823e
lea ecx, [ebp - 0x50]
call fcn.0044823e
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x34]
cmp eax, 8
jb 0x5b0df3
mov ecx, dword [ebp + 0x20]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x4c], ecx
cmp eax, 0x1000
jb 0x5b0dea
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x78]
mov ecx, dword [ebp + 0x4c]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
inc esi
cmp esi, dword [0x7f861c]
jb 0x5b0d4b
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.005d2b6c
mov edi, dword [ebp + 0x54]
xor edx, edx
mov ecx, dword [ebp + 0x50]
mov eax, edi
sub eax, ecx
mov dword [ebp + 0x78], edx
push 0x34
cdq
pop esi
idiv esi
test eax, eax
je 0x5b105d
xor esi, esi
lea eax, [esi + ecx]
cmp byte [eax + 0x31], 0
jne 0x5b0edf
mov edi, dword [0x7f854c]
test edi, edi
jne 0x5b0e7f
cmp dword [eax + 0x10], edi
jne 0x5b0e7f
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x5b0e66
mov eax, dword [eax]
push eax
call fcn.0048e3fe
mov edi, dword [ebp + 0x50]
mov dword [ebp + 0x14], eax
mov eax, dword [esi + edi + 0x28]
lea eax, [eax*2 + 2]
jmp 0x5b0ea8
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x5b0e89
mov edx, dword [eax]
lea ecx, [eax + 0x18]
cmp dword [ecx + 0x14], 8
jb 0x5b0e94
mov ecx, dword [ecx]
movzx eax, byte [eax + 0x30]
push eax
push edx
push edi
push ecx
lea eax, [ebp + 0x14]
push eax
call fcn.005b2d41
mov edi, dword [ebp + 0x50]
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x38]
push eax
push 0x1388
push 1
lea eax, [ebp + 0xc]
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 edi, dword [ebp + 0x54]
and al, byte [esi + ecx + 0x31]
mov byte [ebp + 0x6f], al
push 0x34
pop eax
add esi, eax
inc dword [ebp + 0x78]
mov eax, edi
sub eax, ecx
cdq
idiv dword [ebp + 8]
cmp dword [ebp + 0x78], eax
jb 0x5b0e3f
mov al, byte [ebp + 0x6f]
test al, al
jne 0x5b105d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
or dword [ebp - 4], 0xffffffff
mov al, 1
mov esi, dword [ebp + 0x50]
mov byte [ebp + 0x6f], al
test esi, esi
je 0x5b0f7d
mov edi, dword [ebp + 0x54]
cmp esi, edi
je 0x5b0f38
push 0x34
pop ebx
push 0
mov ecx, esi
call fcn.0044acb3
add esi, ebx
cmp esi, edi
jne 0x5b0f23
mov ebx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x50]
mov eax, dword [ebp + 0x58]
sub eax, esi
mov dword [ebp + 0x4c], esi
push 0x34
cdq
pop ecx
idiv ecx
imul eax, eax, 0x34
mov dword [ebp + 0x78], eax
cmp eax, 0x1000
jb 0x5b0f66
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x4c]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x78]
mov esi, dword [ebp + 0x4c]
push eax
push esi
call fcn.0068976d
xor eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x58], eax
mov al, byte [ebp + 0x6f]
cmp dword [0x7f84b0], 0
je 0x5b103e
mov ecx, dword [ebp + 0x3c]
cmp ecx, 0xb7
je 0x5b0f9e
cmp ecx, 5
jne 0x5b103e
test al, al
jne 0x5b0ff7
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
push dword [0x7f84b0]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0048fcb1
cmp dword [eax + 0x14], 0x10
jb 0x5b0fce
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
lea ecx, [ebp - 0x68]
mov dword [0x7f84b0], eax
call fcn.0040fad0
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, dword [ebp + 0x5c]
mov dword [ebp + 0x3c], eax
jmp 0x5b0b83
cmp byte [ebp + 0x7c], 0
jne 0x5b10d4
cmp dword [0x7f874c], 0
jne 0x5b10d4
mov dword [ebp + 0x18], 1
mov dword [ebp + 0x1c], 0x30
call fcn.004a6583
push eax
call fcn.004a6583
push eax
lea eax, [ebp + 0x18]
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.005bb77f
add esp, 0x10
jmp 0x5b10d4
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
add ebp, 0x64
leave
ret 0x14
test byte [ebp + 0x38], 2
je 0x5b106a
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0
push 0x800c
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [ebp + 0x50]
test esi, esi
je 0x5b10d4
mov edi, dword [ebp + 0x54]
cmp esi, edi
je 0x5b109d
push 0
mov ecx, esi
call fcn.0044acb3
push 0x34
pop eax
add esi, eax
cmp esi, edi
jne 0x5b1088
mov esi, dword [ebp + 0x50]
mov eax, dword [ebp + 0x58]
sub eax, esi
mov dword [ebp + 0x6c], esi
push 0x34
cdq
pop ecx
idiv ecx
imul eax, eax, 0x34
mov dword [ebp + 0x7c], eax
cmp eax, 0x1000
jb 0x5b10cb
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x7c]
mov esi, dword [ebp + 0x6c]
push eax
push esi
call fcn.0068976d
pop ecx
pop ecx
xor al, al
jmp 0x5b1049