Function at 0x4067b8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
sub esp, 0x5c
lea ebp, [esp - 4]
mov eax, dword [0x486be4]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push 0x70
mov eax, 0x46a47e
call fcn.0043f937
push 5
mov edi, ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
xor ebx, ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.DLL_OpenMutexW]
push 0xffffffffffffffff
push ebx
push 1
push 0x1f0001
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
lea eax, [edi + 0x5c]
add edi, 0x40
mov dword [ebp], edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0xc], ebx
mov dword [ebp + 4], eax
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 7
call fcn.004051aa
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x14]
call fcn.0041873d
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.004058c8
push ebx
lea ecx, [ebp + 0x40]
mov dword [ebp + 0x58], 0xf
call fcn.0040188f
mov byte [ebp - 4], 3
push 0x10
lea ecx, [ebp + 0x40]
call fcn.00403e0b
push 0x5d
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0xffffffffffffffff
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0x1c
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0x37
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0x73
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0xffffffffffffffa6
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0x60
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0x53
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 5
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0xffffffffffffffc0
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0x11
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 5
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0xffffffffffffffda
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0x4b
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0xfffffffffffffff0
lea ecx, [ebp + 0x40]
call fcn.004046f7
push 0xffffffffffffff93
lea ecx, [ebp + 0x40]
call fcn.004046f7
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp + 0x40]
call fcn.00402bec
mov dword [ebp - 0x2c], 7
push ebx
lea ecx, [ebp - 0x44]
call fcn.004051aa
mov byte [ebp - 4], 4
push dword [ebp + 4]
lea eax, [ebp - 0x60]
push eax
call fcn.00432030
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
push dword [ebp]
lea eax, [ebp - 0x7c]
push eax
call fcn.00432030
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 0x14]
push eax
call fcn.00418e65
neg eax
sbb al, al
inc al
mov byte [ebp + 0x13], al
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.004058c8
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.004058c8
mov byte [ebp - 4], 2
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.004058c8
cmp byte [ebp + 0x13], bl
jne 0x406a3b
push ebx
push ebx
call edi
push eax
call esi
push 0x64
push ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push 0x4ae1
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push 0x6bd6eb
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push ebx
call edi
neg eax
sbb eax, eax
neg eax
push eax
push 1
call esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push ebx
push ebx
push 0x1f0001
call esi
push 9
call dword [sym.imp.KERNEL32.DLL_IsProcessorFeaturePresent]
push ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.DLL_OpenMutexA]
push 5
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004183bf
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0x64
jl 0x40682d
jmp 0x406a47
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004183bf
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5c]
xor ecx, ebp
call fcn.0043f928
add ebp, 0x60
leave
ret 0x10