Function at 0x4026f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
call fcn.00429ef0
test eax, eax
jne 0x402723
push 0x1010
push str.Winning_Eleven_7_INTERNATIONAL
push str.This_program_cannot_be_run_from_the_CD_DVD_ROM.
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call fcn.0042a040
test eax, eax
jne 0x40274d
push 0x1010
push str.Winning_Eleven_7_INTERNATIONAL
push str.The_game_is_not_properly_installed.
push eax
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
call dword [sym.imp.user32.dll_GetDC]
mov esi, eax
push 0xc
push esi
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push esi
push 0
mov ebx, eax
call dword [sym.imp.user32.dll_ReleaseDC]
push str.A8984D37_1160_4eab_A90A_D180DA96A4F8
push 1
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x4027a6
mov eax, dword [0xac896c]
push 0x1010
push str.Fatal_error
push str.fatal
push eax
daa
call sub.user32.dll_MessageBoxA
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402821
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov esi, dword [sym.imp.user32.dll_FindWindowA]
push str.Setting
push 0
call esi
test eax, eax
je 0x4027f4
mov ecx, dword [0xac896c]
push 0x1010
push str.Winning_Eleven_7_INTERNATIONAL
push str.This_program_cannot_be_started_if__Setting__is_performing.
push ecx
call dword [sym.imp.user32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.Winning_Eleven_7_INTERNATIONAL
push 0x8705e0
call esi
mov esi, eax
test esi, esi
je 0x402816
push 9
push esi
call dword [sym.imp.user32.dll_ShowWindow]
push esi
call dword [sym.imp.user32.dll_SetForegroundWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [ebp + 8]
mov edx, esi
call fcn.00402680
test eax, eax
jne 0x402816
mov edi, dword [ebp + 0x14]
push 0x1e0
push 0x280
push esi
mov eax, edi
call fcn.00401d40
add esp, 0xc
test eax, eax
je 0x402816
cmp ebx, 8
mov dword [0xac896c], eax
mov dword [0xac8970], esi
mov dword [0xac8974], edi
mov byte [0xac8990], 0
jg 0x40287e
push 0x1030
push str.Winning_Eleven_7_INTERNATIONAL
push str.You_cannot_run_the_game_in_Windowed_Mode_with_the_current_display_settings.
push eax
clc
call sub.user32.dll_MessageBoxA
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0xac89a0
call fcn.0043bda8
add esp, 8
test eax, eax
je 0x4028e8
mov esi, dword [sym.imp.user32.dll_GetMessageA]
push 0
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
call esi
test eax, eax
je 0x4028dc
mov edi, dword [sym.imp.user32.dll_TranslateMessage]
mov ebx, dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x4028c0
lea eax, [ebp - 0x3c]
push eax
call edi
lea ecx, [ebp - 0x3c]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [ebp - 0x3c]
push edx
call esi
test eax, eax
jne 0x4028c0
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
call dword [sym.imp.winmm.dll_timeBeginPeriod]
call dword [sym.imp.winmm.dll_timeGetTime]
test eax, eax
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jge 0x402906
fadd qword [0x870640]
mov ebx, dword [sym.imp.user32.dll_TranslateMessage]
fstp qword [0xac8978]
mov edi, dword [sym.imp.user32.dll_DispatchMessageA]
mov esi, dword [sym.imp.user32.dll_PeekMessageA]
mov edi, edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x402956
lea ecx, [ebp - 0x20]
push ecx
call ebx
cmp dword [ebp - 0x1c], 0x12
je 0x40295d
lea edx, [ebp - 0x20]
push edx
call edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402932
call fcn.004020f0
jmp 0x402920
call fcn.004011c0
call fcn.0042b0f0
call fcn.00401760
call fcn.004130b0
call fcn.00413b50
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10