Function at 0x4b7800
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa34
mov eax, dword [0x6bae70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0xa34]
push esi
call fcn.004b7290
lea ecx, [ebp - 0xa34]
call fcn.004b3890
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 0x4b786c
xor ecx, ecx
jmp 0x4b7884
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b7875
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00422460
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004b7640
add esp, 8
cmp dword [ebp - 0x214], 0
jne 0x4b7977
push edi
push 1
push 0xffffffffffffffff
push 0x63cf3c
lea ecx, [ebp - 0x23c]
call fcn.004b7780
push 1
push 0xffffffffffffffff
push 0x68fcbc
lea ecx, [ebp - 0x23c]
mov edi, eax
call fcn.004b7780
push 1
push 0xffffffffffffffff
push 0x68fcbc
lea ecx, [ebp - 0x23c]
mov esi, eax
call fcn.004b7780
sub edi, esi
lea ecx, [ebp - 0x23c]
dec edi
inc eax
push edi
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.00423900
mov esi, eax
lea eax, [ebp - 0x224]
pop edi
cmp eax, esi
je 0x4b7960
cmp dword [ebp - 0x210], 8
jb 0x4b7937
push dword [ebp - 0x224]
call fcn.005e8fa6
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.00421ee0
cmp dword [ebp - 0x240], 8
jb 0x4b7977
push dword [ebp - 0x254]
call fcn.005e8fa6
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 0x4b7a55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4b7a55
push ebx
call fcn.004c3250
lea eax, [ebp - 0x2d8]
push eax
call fcn.004bcbc0
add esp, 8
mov ecx, eax
call fcn.004b8f40
push eax
call fcn.004c3720
add esp, 4
lea ecx, [ebp - 0x2d8]
call fcn.004b8d30
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa34]
call fcn.004b20d0
cmp dword [eax + 0x14], 8
jb 0x4b79f9
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.004b7da0
cmp dword [ebp - 0x240], 8
jb 0x4b7a3b
push dword [ebp - 0x254]
call fcn.005e8fa6
add esp, 4
lea ecx, [ebp - 0xa34]
call fcn.004b7b90
lea ecx, [ebp - 0xa34]
call fcn.004b85a0
xor esi, esi
jmp 0x4b7ac5
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0xa34]
call fcn.004b20d0
cmp dword [eax + 0x14], 8
jb 0x4b7a6f
mov eax, dword [eax]
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
cmp dword [ebp - 0x240], 8
mov esi, eax
jb 0x4b7a91
push dword [ebp - 0x254]
call fcn.005e8fa6
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 0x4b7ac2
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 0x4b7adc
push dword [ebp - 0x224]
call fcn.005e8fa6
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 0x4b7b10
push dword [ebp - 0x23c]
call fcn.005e8fa6
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.004b7420
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.005e9734
mov esp, ebp
pop ebp
ret 0x10