Fix finding, update SecuROM

This commit is contained in:
Matt Nadareski
2022-06-22 09:29:29 -07:00
parent 778fe106f9
commit b521df2ad4
2 changed files with 11 additions and 20 deletions

View File

@@ -394,7 +394,7 @@ namespace BurnOutSharp.ExecutableType.Microsoft.PE
{
// TODO: Read certificate data separately
int overlayOffset = this.SectionTable
.Select(sh => (int)(ConvertVirtualAddress(sh.VirtualAddress, SectionTable) + sh.VirtualSize))
.Select(sh => (int)(sh.PointerToRawData + sh.VirtualSize))
.OrderByDescending(o => o)
.First();
@@ -528,7 +528,7 @@ namespace BurnOutSharp.ExecutableType.Microsoft.PE
{
// TODO: Read certificate data separately
int overlayOffset = this.SectionTable
.Select(sh => (int)(ConvertVirtualAddress(sh.VirtualAddress, SectionTable) + sh.VirtualSize))
.Select(sh => (int)(sh.PointerToRawData + sh.VirtualSize))
.OrderByDescending(o => o)
.First();