mirror of
https://github.com/atom0s/Steamless.git
synced 2024-12-28 23:37:41 +01:00
x64 signature for 3.1.?
This commit is contained in:
parent
34afbba437
commit
48f0c8a265
1 changed files with 5 additions and 3 deletions
|
@ -105,13 +105,15 @@ namespace Steamless.Unpacker.Variant31.x64
|
||||||
var bind = f.GetSectionData(".bind");
|
var bind = f.GetSectionData(".bind");
|
||||||
|
|
||||||
// Attempt to locate the known v3.x signature..
|
// Attempt to locate the known v3.x signature..
|
||||||
var varient = Pe64Helpers.FindPattern(bind, "E8 00 00 00 00 50 53 51 52 56 57 55 41 50");
|
var variant = Pe64Helpers.FindPattern(bind, "E8 00 00 00 00 50 53 51 52 56 57 55 41 50");
|
||||||
if (varient == 0) return false;
|
if (variant == 0) return false;
|
||||||
|
|
||||||
// Attempt to determine the varient version..
|
// Attempt to determine the variant version..
|
||||||
var offset = Pe64Helpers.FindPattern(bind, "48 8D 91 ?? ?? ?? ?? 48"); // 3.0
|
var offset = Pe64Helpers.FindPattern(bind, "48 8D 91 ?? ?? ?? ?? 48"); // 3.0
|
||||||
if (offset == 0)
|
if (offset == 0)
|
||||||
offset = Pe64Helpers.FindPattern(bind, "48 8D 91 ?? ?? ?? ?? 41"); // 3.1
|
offset = Pe64Helpers.FindPattern(bind, "48 8D 91 ?? ?? ?? ?? 41"); // 3.1
|
||||||
|
if (offset == 0)
|
||||||
|
offset = Pe64Helpers.FindPattern(bind, "00 48 2D ?? ?? ?? ?? 48");
|
||||||
|
|
||||||
// Ensure a pattern was found..
|
// Ensure a pattern was found..
|
||||||
if (offset == 0)
|
if (offset == 0)
|
||||||
|
|
Loading…
Reference in a new issue