Function at 0x414a70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x69ee98]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x4f
mov edi, ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x4d
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x4c
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
lea eax, [ebp - 0x28]
push eax
push 0
call dword [sym.imp.USER32.dll_InvalidateRect]
inc dword [0x6c7c44]
mov dword [0x6c7b0c], 0
mov ecx, dword [edi + 0xb8]
mov dword [0x6a95e0], 1
mov dword [edi + 0xa20], 0xffffffff
test ecx, ecx
je 0x414b0a
mov dword [0x6c7af8], 1
mov dword [0x6c7afc], 1
mov eax, dword [edi + 0xb8]
mov dword [ebp - 0x18], eax
xor eax, eax
test ecx, ecx
mov ecx, dword [0x69f9a4]
setne al
test ecx, ecx
je 0x414b20
mov dword [ebp + eax*4 - 0x18], ecx
inc eax
mov ecx, dword [0x6c77e4]
test ecx, ecx
je 0x414b2f
mov dword [ebp + eax*4 - 0x18], ecx
inc eax
mov ecx, dword [0x6c7ae4]
test ecx, ecx
je 0x414b3e
mov dword [ebp + eax*4 - 0x18], ecx
inc eax
test eax, eax
je 0x414b51
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push ebx
mov dword [edi + 0xb8], 0
lea ebx, [edi + 0xc0]
mov dword [0x69f9a4], 0
mov dword [0x6c77e4], 0
mov dword [0x6c7ae4], 0
cmp dword [ebx + 0xc], 0
push esi
jne 0x414bc3
lea esi, [ebx + 0x1d0]
mov ecx, ebx
push esi
call fcn.0040e720
push esi
mov ecx, ebx
call fcn.0040e750
lea ecx, [ebx + 0x270]
mov dword [ebx + 0x1fc], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414bb0
sub ecx, edx
je 0x414bcf
mov byte [ebx + 0x270], al
jmp 0x414bcf
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x414bcf
call fcn.004055d0
push 1
mov ecx, 0x6c7af8
call fcn.00433be0
push dword [0x6a95b0]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
test esi, esi
je 0x414c7b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x414c74
push dword [0x6a95a8]
push eax
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [edi + 0xa4c], eax
test eax, eax
je 0x414c6d
push 0x100
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0xa50], eax
test eax, eax
je 0x414c61
mov ecx, dword [0x674e0c]
push 0x64
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.005e0de4
push dword [edi + 0xa50]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [edi + 0xa4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x6c774c]
mov eax, dword [esi]
test eax, eax
je 0x414c94
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
cmp dword [0x6a95ac], 3
pop esi
pop ebx
jne 0x414cbf
cmp dword [0x6c7c44], 1
jne 0x414ccf
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d4ba5
mov esp, ebp
pop ebp
ret
cmp dword [0x6c7c44], 1
jne 0x414ccf
mov ecx, edi
call fcn.0048d079
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.005d4ba5
mov esp, ebp
pop ebp
ret