Files
BinaryObjectScanner/BurnOutSharp/ProtectionType/ThreeTwoOneStudios.cs
2022-05-01 17:41:50 -07:00

24 lines
765 B
C#

using BurnOutSharp.ExecutableType.Microsoft.PE;
using BurnOutSharp.Interfaces;
namespace BurnOutSharp.ProtectionType
{
public class ThreeTwoOneStudios : 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;
var resource = pex.FindResource(dataContains: "3\02\01\0S\0t\0u\0d\0i\0o\0s\0 \0A\0c\0t\0i\0v\0a\0t\0i\0o\0n\0");
if (resource != null)
return $"321Studios Online Activation";
return null;
}
}
}