Skip to content

Commit

Permalink
Unpacker v2.1 (x86) - Updated the header information based on new sam…
Browse files Browse the repository at this point in the history
…ple info.
  • Loading branch information
atom0s committed Apr 16, 2022
1 parent 2023853 commit 0b67eab
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions Steamless.Unpacker.Variant21.x86/Classes/SteamStubHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ namespace Steamless.Unpacker.Variant21.x86.Classes
public struct SteamStub32Var21Header
{
public uint XorKey; // The base XOR key, if defined, to unpack the file with.
public uint GetModuleHandleA_idata; // The address of GetModuleHandleA inside of the .idata section.
public uint GetModuleHandleW_idata; // The address of GetModuleHandleW inside of the .idata section.
public uint GetProcAddress_idata; // The address of GetProcAddress inside of the .idata section.
public uint LoadLibraryA_idata; // The address of LoadLibraryA inside of the .idata section.
public uint Unknown0000; // Unknown (Was 0 when testing. Possibly LoadLibraryW.)
public uint GetModuleHandleA; // The address of GetModuleHandleA. (If set.)
public uint GetModuleHandleW; // The address of GetModuleHandleW. (If set.)
public uint GetProcAddress; // The address of GetProcAddress. (If set.)
public uint LoadLibraryA; // The address of LoadLibraryA. (If set.)
public uint LoadLibraryW; // The address of LoadLibraryW. (If set.)
public uint BindSectionVirtualAddress; // The virtual address to the .bind section.
public uint BindStartFunctionSize; // The size of the start function from the .bind section.
public uint PayloadKeyMatch; // The key inside of the SteamDRMP.dll file that is matched to this structures data. (This matches the first 4 bytes of the payload data.)
Expand All @@ -54,7 +54,7 @@ public struct SteamStub32Var21Header
public uint SteamDRMPDllSize; // The offset inside of the payload data holding the size of the SteamDRMP.dll file data.
public uint XTeaKeys; // The offset inside of the payload data holding the address to the Xtea keys to decrypt the SteamDRMP.dll file.

[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x31C)]
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x2B8)]
public byte[] StubData; // Misc stub data, such as strings, error messages, etc.
}

Expand All @@ -65,10 +65,10 @@ public struct SteamStub32Var21Header
public struct SteamStub32Var21Header_D0Variant
{
public uint XorKey; // The base XOR key, if defined, to unpack the file with.
public uint GetModuleHandleA_idata; // The address of GetModuleHandleA inside of the .idata section.
public uint GetModuleHandleW_idata; // The address of GetModuleHandleW inside of the .idata section.
public uint GetProcAddress_idata; // The address of GetProcAddress inside of the .idata section.
public uint LoadLibraryA_idata; // The address of LoadLibraryA inside of the .idata section.
public uint GetModuleHandleA; // The address of GetModuleHandleA. (If set.)
public uint GetModuleHandleW; // The address of GetModuleHandleW. (If set.)
public uint GetProcAddress; // The address of GetProcAddress. (If set.)
public uint LoadLibraryA; // The address of LoadLibraryA. (If set.)
public uint BindSectionVirtualAddress; // The virtual address to the .bind section.
public uint BindStartFunctionSize; // The size of the start function from the .bind section.
public uint PayloadKeyMatch; // The key inside of the SteamDRMP.dll file that is matched to this structures data. (This matches the first 4 bytes of the payload data.)
Expand Down

0 comments on commit 0b67eab

Please sign in to comment.