Add MGI Registration detection (#231)

* Add MGI Registration detection.
* Update README.
This commit is contained in:
TheRogueArchivist
2023-02-08 12:43:15 -07:00
committed by GitHub
parent 7651b34855
commit 37e7604441
2 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using System.Linq;
using BurnOutSharp.Interfaces;
using BurnOutSharp.Wrappers;
namespace BurnOutSharp.ProtectionType
{
public class MGIRegistration : IPortableExecutableCheck
{
/// <inheritdoc/>
public string CheckPortableExecutable(string file, PortableExecutable pex, bool includeDebug)
{
// Get the sections from the executable, if possible
var sections = pex?.SectionTable;
if (sections == null)
return null;
// Found in "Register.dll" from "VideoWaveIII" in IA item "mgi-videowave-iii-version-3.00-mgi-software-2000".
var resources = pex.FindStringTableByEntry("MGI Registration");
if (resources.Any())
return "MGI Registration";
return null;
}
}
}

View File

@@ -76,6 +76,7 @@ Below is a list of protections detected by BurnOutSharp. The two columns explain
| LaserLok | True | True | |
| MediaCloQ | True | True | |
| MediaMax CD3 | True | True | |
| MGI Registration | True | False | |
| nProtect GameGuard | True | True | |
| nProtect KeyCrypt | True | True | |
| OpenMG | True | True | |