Function at 0x456320
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xa34]
push esi
call fcn.00455db0
lea ecx, [ebp - 0xa34]
call fcn.00452390
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 0x45638c
xor ecx, ecx
jmp 0x4563a4
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456395
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00422430
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00456160
add esp, 8
cmp dword [ebp - 0x214], 0
jne 0x456497
push edi
push 1
push 0xffffffffffffffff
push 0x5a0ecc
lea ecx, [ebp - 0x23c]
call fcn.004562a0
push 1
push 0xffffffffffffffff
push 0x5f2b7c
lea ecx, [ebp - 0x23c]
mov edi, eax
call fcn.004562a0
push 1
push 0xffffffffffffffff
push 0x5f2b7c
lea ecx, [ebp - 0x23c]
mov esi, eax
call fcn.004562a0
sub edi, esi
lea ecx, [ebp - 0x23c]
dec edi
inc eax
push edi
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.004238a0
mov esi, eax
lea eax, [ebp - 0x224]
pop edi
cmp eax, esi
je 0x456480
cmp dword [ebp - 0x210], 8
jb 0x456457
push dword [ebp - 0x224]
call fcn.00556a60
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.00421f00
cmp dword [ebp - 0x240], 8
jb 0x456497
push dword [ebp - 0x254]
call fcn.00556a60
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 0x456575
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x456575
push ebx
call fcn.0045cf81
lea eax, [ebp - 0x2d8]
push eax
call fcn.0045944d
add esp, 8
mov ecx, eax
call fcn.00457790
push eax
call fcn.0045d285
add esp, 4
lea ecx, [ebp - 0x2d8]
call fcn.00457170
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa34]
call fcn.00450bd0
cmp dword [eax + 0x14], 8
jb 0x456519
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.004567e6
cmp dword [ebp - 0x240], 8
jb 0x45655b
push dword [ebp - 0x254]
call fcn.00556a60
add esp, 4
lea ecx, [ebp - 0xa34]
call fcn.00456685
lea ecx, [ebp - 0xa34]
call fcn.00456d22
xor esi, esi
jmp 0x4565e5
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa34]
call fcn.00450bd0
cmp dword [eax + 0x14], 8
jb 0x45658f
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [ebp - 0x240], 8
mov esi, eax
jb 0x4565b1
push dword [ebp - 0x254]
call fcn.00556a60
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 0x4565e2
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 0x4565fc
push dword [ebp - 0x224]
call fcn.00556a60
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 0x456630
push dword [ebp - 0x23c]
call fcn.00556a60
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.00455f40
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005571f4
mov esp, ebp
pop ebp
ret 0x10