mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-10-08 14:38:49 +00:00
Attempt to use new executable framework
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using BurnOutSharp.ExecutableType.Microsoft.PE;
|
||||
using System.Linq;
|
||||
using BurnOutSharp.Interfaces;
|
||||
using BurnOutSharp.Wrappers;
|
||||
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
@@ -13,8 +14,10 @@ namespace BurnOutSharp.ProtectionType
|
||||
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)
|
||||
// Check the dialog box resources
|
||||
if (pex.FindDialogByTitle("321Studios Activation").Any())
|
||||
return $"321Studios Online Activation";
|
||||
else if (pex.FindDialogByTitle("321Studios Phone Activation").Any())
|
||||
return $"321Studios Online Activation";
|
||||
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user