Function at 0x458760
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x60fe70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xa34]
push esi
call fcn.004581f0
lea ecx, [ebp - 0xa34]
call fcn.004547f0
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x228], 7
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
cmp word [ebp - 0x20c], ax
jne 0x4587cc
xor ecx, ecx
jmp 0x4587e4
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4587d5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00421fd0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004585a0
add esp, 8
cmp dword [ebp - 0x214], 0
jne 0x4588d7
push edi
push 1
push 0xffffffffffffffff
push 0x59eebc
lea ecx, [ebp - 0x23c]
call fcn.004586e0
push 1
push 0xffffffffffffffff
push 0x5f0abc
lea ecx, [ebp - 0x23c]
mov edi, eax
call fcn.004586e0
push 1
push 0xffffffffffffffff
push 0x5f0abc
lea ecx, [ebp - 0x23c]
mov esi, eax
call fcn.004586e0
sub edi, esi
lea ecx, [ebp - 0x23c]
dec edi
inc eax
push edi
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00423440
mov esi, eax
lea eax, [ebp - 0x224]
pop edi
cmp eax, esi
je 0x4588c0
cmp dword [ebp - 0x210], 8
jb 0x458897
push dword [ebp - 0x224]
call fcn.00481ffe
add esp, 4
xor eax, eax
mov dword [ebp - 0x210], 7
push esi
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], ax
call fcn.00421aa0
cmp dword [ebp - 0x240], 8
jb 0x4588d7
push dword [ebp - 0x254]
call fcn.00481ffe
add esp, 4
cmp dword [ebp - 0x210], 8
lea eax, [ebp - 0x224]
cmovae eax, dword [ebp - 0x224]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x4589b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4589b5
push ebx
call fcn.0045f3c1
lea eax, [ebp - 0x2d8]
push eax
call fcn.0045b88d
add esp, 8
mov ecx, eax
call fcn.00459bd0
push eax
call fcn.0045f6c5
add esp, 4
lea ecx, [ebp - 0x2d8]
call fcn.004595b0
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa34]
call fcn.00453030
cmp dword [eax + 0x14], 8
jb 0x458959
mov eax, dword [eax]
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0
push 0x96c80000
push eax
push 0
lea ecx, [ebp - 0xa34]
call fcn.00458c26
cmp dword [ebp - 0x240], 8
jb 0x45899b
push dword [ebp - 0x254]
call fcn.00481ffe
add esp, 4
lea ecx, [ebp - 0xa34]
call fcn.00458ac5
lea ecx, [ebp - 0xa34]
call fcn.00459162
xor esi, esi
jmp 0x458a25
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa34]
call fcn.00453030
cmp dword [eax + 0x14], 8
jb 0x4589cf
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [ebp - 0x240], 8
mov esi, eax
jb 0x4589f1
push dword [ebp - 0x254]
call fcn.00481ffe
add esp, 4
xor eax, eax
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], ax
test esi, esi
je 0x458a22
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
or esi, 0xffffffff
cmp dword [ebp - 0x210], 8
jb 0x458a3c
push dword [ebp - 0x224]
call fcn.00481ffe
add esp, 4
xor eax, eax
mov dword [ebp - 0x210], 7
cmp dword [ebp - 0x228], 8
mov dword [ebp - 0x214], 0
mov word [ebp - 0x224], ax
jb 0x458a70
push dword [ebp - 0x23c]
call fcn.00481ffe
add esp, 4
xor eax, eax
mov dword [ebp - 0x228], 7
lea ecx, [ebp - 0xa34]
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], ax
call fcn.00458380
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00555894
mov esp, ebp
pop ebp
ret 0x10