From d3423cde0e56398fcc2f6dbb2982b5896b2e5a39 Mon Sep 17 00:00:00 2001 From: atom0s Date: Tue, 22 Mar 2022 03:46:48 -0700 Subject: [PATCH] API: PE64 - Add check for `TlsDirectory.AddressOfCallBacks == 0` to prevent attempting to reference invalid data. Unpacker: v31.x64 - Adjust size of data searched when determining the variant version. Fixes #56 Misc: Update project copyrights. Misc: Remove some unused/dead code from the UI. --- ExamplePlugin/Main.cs | 2 +- ExamplePlugin/Properties/AssemblyInfo.cs | 2 +- Steamless.API/Crypto/AesHelper.cs | 2 +- Steamless.API/Events/LogMessageEventArgs.cs | 2 +- Steamless.API/Events/LogMessageType.cs | 2 +- Steamless.API/Extensions/FileStreamExtensions.cs | 2 +- Steamless.API/Model/NavigatedEventArgs.cs | 2 +- Steamless.API/Model/NotifiableModel.cs | 2 +- Steamless.API/Model/SteamlessOptions.cs | 2 +- Steamless.API/Model/SteamlessPlugin.cs | 2 +- Steamless.API/Model/ViewModelBase.cs | 2 +- Steamless.API/PE32/NativeApi32.cs | 2 +- Steamless.API/PE32/Pe32File.cs | 2 +- Steamless.API/PE32/Pe32Helpers.cs | 2 +- Steamless.API/PE64/NativeApi64.cs | 2 +- Steamless.API/PE64/Pe64File.cs | 5 ++++- Steamless.API/PE64/Pe64Helpers.cs | 2 +- Steamless.API/Properties/AssemblyInfo.cs | 2 +- Steamless.API/Services/LoggingService.cs | 2 +- Steamless.API/SteamlessApiVersionAttribute.cs | 2 +- Steamless.API/SteamlessEvents.cs | 2 +- .../Classes/SteamStubDrmFlags.cs | 2 +- .../Classes/SteamStubHeader.cs | 2 +- .../Classes/SteamStubHelpers.cs | 2 +- Steamless.Unpacker.Variant20.x86/Main.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Classes/SteamStubDrmFlags.cs | 2 +- .../Classes/SteamStubHeader.cs | 2 +- .../Classes/SteamStubHelpers.cs | 2 +- Steamless.Unpacker.Variant21.x86/Main.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Classes/SteamStubDrmFlags.cs | 2 +- .../Classes/SteamStubHeader.cs | 2 +- .../Classes/SteamStubHelpers.cs | 2 +- Steamless.Unpacker.Variant30.x64/Main.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Classes/SteamStubDrmFlags.cs | 2 +- .../Classes/SteamStubHeader.cs | 2 +- .../Classes/SteamStubHelpers.cs | 2 +- Steamless.Unpacker.Variant30.x86/Main.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- .../Classes/SteamStubDrmFlags.cs | 2 +- .../Classes/SteamStubHeader.cs | 2 +- .../Classes/SteamStubHelpers.cs | 2 +- Steamless.Unpacker.Variant31.x64/Main.cs | 5 +++-- .../Properties/AssemblyInfo.cs | 2 +- .../Classes/SteamStubDrmFlags.cs | 2 +- .../Classes/SteamStubHeader.cs | 2 +- .../Classes/SteamStubHelpers.cs | 2 +- Steamless.Unpacker.Variant31.x86/Main.cs | 2 +- .../Properties/AssemblyInfo.cs | 2 +- Steamless/App.xaml | 2 +- Steamless/App.xaml.cs | 2 +- Steamless/Assets/Animations.xaml | 2 +- Steamless/Assets/Controls.CheckBox.xaml | 2 +- Steamless/Assets/Controls.Scrollbars.xaml | 2 +- Steamless/Assets/Controls.xaml | 2 +- Steamless/Assets/Theme.xaml | 2 +- Steamless/Assets/Window.xaml | 2 +- Steamless/Classes/ControlsHelper.cs | 2 +- .../GridViewColumnWidthFromItemsBehavior.cs | 2 +- Steamless/Model/ApplicationState.cs | 2 +- Steamless/Model/AutomaticPlugin.cs | 2 +- Steamless/Model/DataService.cs | 2 +- Steamless/Model/IDataService.cs | 2 +- Steamless/Model/Tasks/BaseTask.cs | 2 +- Steamless/Model/Tasks/LoadPluginsTask.cs | 2 +- Steamless/Model/Tasks/StartSteamlessTask.cs | 2 +- Steamless/Model/Tasks/StatusTask.cs | 2 +- Steamless/Properties/AssemblyInfo.cs | 2 +- Steamless/View/AboutView.xaml | 2 +- Steamless/View/AboutView.xaml.cs | 2 +- Steamless/View/MainView.xaml | 2 +- Steamless/View/MainView.xaml.cs | 2 +- Steamless/View/MainWindow.xaml | 2 +- Steamless/View/MainWindow.xaml.cs | 2 +- Steamless/View/SplashView.xaml | 14 +------------- Steamless/View/SplashView.xaml.cs | 2 +- Steamless/ViewModel/MainWindowViewModel.cs | 4 ++-- Steamless/ViewModel/ViewModelLocator.cs | 2 +- 80 files changed, 86 insertions(+), 94 deletions(-) diff --git a/ExamplePlugin/Main.cs b/ExamplePlugin/Main.cs index a3978c4..bec9ee4 100644 --- a/ExamplePlugin/Main.cs +++ b/ExamplePlugin/Main.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/ExamplePlugin/Properties/AssemblyInfo.cs b/ExamplePlugin/Properties/AssemblyInfo.cs index b81e730..00a7178 100644 --- a/ExamplePlugin/Properties/AssemblyInfo.cs +++ b/ExamplePlugin/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Crypto/AesHelper.cs b/Steamless.API/Crypto/AesHelper.cs index b2bcd6a..e322f1c 100644 --- a/Steamless.API/Crypto/AesHelper.cs +++ b/Steamless.API/Crypto/AesHelper.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Events/LogMessageEventArgs.cs b/Steamless.API/Events/LogMessageEventArgs.cs index da4be3f..3db41a2 100644 --- a/Steamless.API/Events/LogMessageEventArgs.cs +++ b/Steamless.API/Events/LogMessageEventArgs.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Events/LogMessageType.cs b/Steamless.API/Events/LogMessageType.cs index 9d893fd..9c3cd51 100644 --- a/Steamless.API/Events/LogMessageType.cs +++ b/Steamless.API/Events/LogMessageType.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Extensions/FileStreamExtensions.cs b/Steamless.API/Extensions/FileStreamExtensions.cs index 76765e0..0cbc76b 100644 --- a/Steamless.API/Extensions/FileStreamExtensions.cs +++ b/Steamless.API/Extensions/FileStreamExtensions.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Model/NavigatedEventArgs.cs b/Steamless.API/Model/NavigatedEventArgs.cs index 839f9d2..75a387c 100644 --- a/Steamless.API/Model/NavigatedEventArgs.cs +++ b/Steamless.API/Model/NavigatedEventArgs.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Model/NotifiableModel.cs b/Steamless.API/Model/NotifiableModel.cs index d5b933a..b00cc33 100644 --- a/Steamless.API/Model/NotifiableModel.cs +++ b/Steamless.API/Model/NotifiableModel.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Model/SteamlessOptions.cs b/Steamless.API/Model/SteamlessOptions.cs index 8c734fd..56bda8e 100644 --- a/Steamless.API/Model/SteamlessOptions.cs +++ b/Steamless.API/Model/SteamlessOptions.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Model/SteamlessPlugin.cs b/Steamless.API/Model/SteamlessPlugin.cs index d1fbf56..9844a5b 100644 --- a/Steamless.API/Model/SteamlessPlugin.cs +++ b/Steamless.API/Model/SteamlessPlugin.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Model/ViewModelBase.cs b/Steamless.API/Model/ViewModelBase.cs index 5fc167e..92f33d8 100644 --- a/Steamless.API/Model/ViewModelBase.cs +++ b/Steamless.API/Model/ViewModelBase.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/PE32/NativeApi32.cs b/Steamless.API/PE32/NativeApi32.cs index eeb6280..1d02ba7 100644 --- a/Steamless.API/PE32/NativeApi32.cs +++ b/Steamless.API/PE32/NativeApi32.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/PE32/Pe32File.cs b/Steamless.API/PE32/Pe32File.cs index 40692fa..b16d00f 100644 --- a/Steamless.API/PE32/Pe32File.cs +++ b/Steamless.API/PE32/Pe32File.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/PE32/Pe32Helpers.cs b/Steamless.API/PE32/Pe32Helpers.cs index 4f0813a..f6c9f34 100644 --- a/Steamless.API/PE32/Pe32Helpers.cs +++ b/Steamless.API/PE32/Pe32Helpers.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/PE64/NativeApi64.cs b/Steamless.API/PE64/NativeApi64.cs index b6ee9c7..4d69a9e 100644 --- a/Steamless.API/PE64/NativeApi64.cs +++ b/Steamless.API/PE64/NativeApi64.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/PE64/Pe64File.cs b/Steamless.API/PE64/Pe64File.cs index 0938685..aba0206 100644 --- a/Steamless.API/PE64/Pe64File.cs +++ b/Steamless.API/PE64/Pe64File.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to @@ -140,6 +140,9 @@ namespace Steamless.API.PE64 // Read the Tls directory.. this.TlsDirectory = Pe64Helpers.GetStructure(this.FileData, (int)addr); + if (this.TlsDirectory.AddressOfCallBacks == 0) + return true; + // Read the Tls callbacks.. addr = this.GetRvaFromVa(this.TlsDirectory.AddressOfCallBacks); addr = this.GetFileOffsetFromRva(addr); diff --git a/Steamless.API/PE64/Pe64Helpers.cs b/Steamless.API/PE64/Pe64Helpers.cs index 980aee3..516ef65 100644 --- a/Steamless.API/PE64/Pe64Helpers.cs +++ b/Steamless.API/PE64/Pe64Helpers.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Properties/AssemblyInfo.cs b/Steamless.API/Properties/AssemblyInfo.cs index 4939b91..287c365 100644 --- a/Steamless.API/Properties/AssemblyInfo.cs +++ b/Steamless.API/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/Services/LoggingService.cs b/Steamless.API/Services/LoggingService.cs index 143f74c..67cab74 100644 --- a/Steamless.API/Services/LoggingService.cs +++ b/Steamless.API/Services/LoggingService.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/SteamlessApiVersionAttribute.cs b/Steamless.API/SteamlessApiVersionAttribute.cs index ff798aa..e4a8cfe 100644 --- a/Steamless.API/SteamlessApiVersionAttribute.cs +++ b/Steamless.API/SteamlessApiVersionAttribute.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.API/SteamlessEvents.cs b/Steamless.API/SteamlessEvents.cs index ec4fb7e..6d57c86 100644 --- a/Steamless.API/SteamlessEvents.cs +++ b/Steamless.API/SteamlessEvents.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant20.x86/Classes/SteamStubDrmFlags.cs b/Steamless.Unpacker.Variant20.x86/Classes/SteamStubDrmFlags.cs index 750f9a5..a110855 100644 --- a/Steamless.Unpacker.Variant20.x86/Classes/SteamStubDrmFlags.cs +++ b/Steamless.Unpacker.Variant20.x86/Classes/SteamStubDrmFlags.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant20.x86/Classes/SteamStubHeader.cs b/Steamless.Unpacker.Variant20.x86/Classes/SteamStubHeader.cs index b02e6ea..78772b0 100644 --- a/Steamless.Unpacker.Variant20.x86/Classes/SteamStubHeader.cs +++ b/Steamless.Unpacker.Variant20.x86/Classes/SteamStubHeader.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant20.x86/Classes/SteamStubHelpers.cs b/Steamless.Unpacker.Variant20.x86/Classes/SteamStubHelpers.cs index 41ff2d1..13a702d 100644 --- a/Steamless.Unpacker.Variant20.x86/Classes/SteamStubHelpers.cs +++ b/Steamless.Unpacker.Variant20.x86/Classes/SteamStubHelpers.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant20.x86/Main.cs b/Steamless.Unpacker.Variant20.x86/Main.cs index 01b69f8..f7d19c8 100644 --- a/Steamless.Unpacker.Variant20.x86/Main.cs +++ b/Steamless.Unpacker.Variant20.x86/Main.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant20.x86/Properties/AssemblyInfo.cs b/Steamless.Unpacker.Variant20.x86/Properties/AssemblyInfo.cs index a298ffe..60e159c 100644 --- a/Steamless.Unpacker.Variant20.x86/Properties/AssemblyInfo.cs +++ b/Steamless.Unpacker.Variant20.x86/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant21.x86/Classes/SteamStubDrmFlags.cs b/Steamless.Unpacker.Variant21.x86/Classes/SteamStubDrmFlags.cs index f0bd631..c447fcb 100644 --- a/Steamless.Unpacker.Variant21.x86/Classes/SteamStubDrmFlags.cs +++ b/Steamless.Unpacker.Variant21.x86/Classes/SteamStubDrmFlags.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant21.x86/Classes/SteamStubHeader.cs b/Steamless.Unpacker.Variant21.x86/Classes/SteamStubHeader.cs index 5461898..70c7dee 100644 --- a/Steamless.Unpacker.Variant21.x86/Classes/SteamStubHeader.cs +++ b/Steamless.Unpacker.Variant21.x86/Classes/SteamStubHeader.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant21.x86/Classes/SteamStubHelpers.cs b/Steamless.Unpacker.Variant21.x86/Classes/SteamStubHelpers.cs index a40ba6c..92488ee 100644 --- a/Steamless.Unpacker.Variant21.x86/Classes/SteamStubHelpers.cs +++ b/Steamless.Unpacker.Variant21.x86/Classes/SteamStubHelpers.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant21.x86/Main.cs b/Steamless.Unpacker.Variant21.x86/Main.cs index 87a249d..be6c3b0 100644 --- a/Steamless.Unpacker.Variant21.x86/Main.cs +++ b/Steamless.Unpacker.Variant21.x86/Main.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant21.x86/Properties/AssemblyInfo.cs b/Steamless.Unpacker.Variant21.x86/Properties/AssemblyInfo.cs index f1fc313..6f35053 100644 --- a/Steamless.Unpacker.Variant21.x86/Properties/AssemblyInfo.cs +++ b/Steamless.Unpacker.Variant21.x86/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x64/Classes/SteamStubDrmFlags.cs b/Steamless.Unpacker.Variant30.x64/Classes/SteamStubDrmFlags.cs index be4039e..d99d83b 100644 --- a/Steamless.Unpacker.Variant30.x64/Classes/SteamStubDrmFlags.cs +++ b/Steamless.Unpacker.Variant30.x64/Classes/SteamStubDrmFlags.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x64/Classes/SteamStubHeader.cs b/Steamless.Unpacker.Variant30.x64/Classes/SteamStubHeader.cs index 7dc5709..0a3751d 100644 --- a/Steamless.Unpacker.Variant30.x64/Classes/SteamStubHeader.cs +++ b/Steamless.Unpacker.Variant30.x64/Classes/SteamStubHeader.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x64/Classes/SteamStubHelpers.cs b/Steamless.Unpacker.Variant30.x64/Classes/SteamStubHelpers.cs index 718fe41..94300d5 100644 --- a/Steamless.Unpacker.Variant30.x64/Classes/SteamStubHelpers.cs +++ b/Steamless.Unpacker.Variant30.x64/Classes/SteamStubHelpers.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x64/Main.cs b/Steamless.Unpacker.Variant30.x64/Main.cs index ad5b754..7a4e086 100644 --- a/Steamless.Unpacker.Variant30.x64/Main.cs +++ b/Steamless.Unpacker.Variant30.x64/Main.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x64/Properties/AssemblyInfo.cs b/Steamless.Unpacker.Variant30.x64/Properties/AssemblyInfo.cs index 5a8f01e..6276199 100644 --- a/Steamless.Unpacker.Variant30.x64/Properties/AssemblyInfo.cs +++ b/Steamless.Unpacker.Variant30.x64/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x86/Classes/SteamStubDrmFlags.cs b/Steamless.Unpacker.Variant30.x86/Classes/SteamStubDrmFlags.cs index 51dca5a..3070f19 100644 --- a/Steamless.Unpacker.Variant30.x86/Classes/SteamStubDrmFlags.cs +++ b/Steamless.Unpacker.Variant30.x86/Classes/SteamStubDrmFlags.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x86/Classes/SteamStubHeader.cs b/Steamless.Unpacker.Variant30.x86/Classes/SteamStubHeader.cs index 5cb47e1..6764916 100644 --- a/Steamless.Unpacker.Variant30.x86/Classes/SteamStubHeader.cs +++ b/Steamless.Unpacker.Variant30.x86/Classes/SteamStubHeader.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x86/Classes/SteamStubHelpers.cs b/Steamless.Unpacker.Variant30.x86/Classes/SteamStubHelpers.cs index 91ff5a9..9f9492c 100644 --- a/Steamless.Unpacker.Variant30.x86/Classes/SteamStubHelpers.cs +++ b/Steamless.Unpacker.Variant30.x86/Classes/SteamStubHelpers.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x86/Main.cs b/Steamless.Unpacker.Variant30.x86/Main.cs index 6434222..ef66fd4 100644 --- a/Steamless.Unpacker.Variant30.x86/Main.cs +++ b/Steamless.Unpacker.Variant30.x86/Main.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant30.x86/Properties/AssemblyInfo.cs b/Steamless.Unpacker.Variant30.x86/Properties/AssemblyInfo.cs index d5d6a95..ceee9c3 100644 --- a/Steamless.Unpacker.Variant30.x86/Properties/AssemblyInfo.cs +++ b/Steamless.Unpacker.Variant30.x86/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x64/Classes/SteamStubDrmFlags.cs b/Steamless.Unpacker.Variant31.x64/Classes/SteamStubDrmFlags.cs index aaf249a..85116ab 100644 --- a/Steamless.Unpacker.Variant31.x64/Classes/SteamStubDrmFlags.cs +++ b/Steamless.Unpacker.Variant31.x64/Classes/SteamStubDrmFlags.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x64/Classes/SteamStubHeader.cs b/Steamless.Unpacker.Variant31.x64/Classes/SteamStubHeader.cs index b135a22..6feef3e 100644 --- a/Steamless.Unpacker.Variant31.x64/Classes/SteamStubHeader.cs +++ b/Steamless.Unpacker.Variant31.x64/Classes/SteamStubHeader.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x64/Classes/SteamStubHelpers.cs b/Steamless.Unpacker.Variant31.x64/Classes/SteamStubHelpers.cs index d977231..777cf66 100644 --- a/Steamless.Unpacker.Variant31.x64/Classes/SteamStubHelpers.cs +++ b/Steamless.Unpacker.Variant31.x64/Classes/SteamStubHelpers.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x64/Main.cs b/Steamless.Unpacker.Variant31.x64/Main.cs index 51c53eb..230565f 100644 --- a/Steamless.Unpacker.Variant31.x64/Main.cs +++ b/Steamless.Unpacker.Variant31.x64/Main.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to @@ -35,6 +35,7 @@ namespace Steamless.Unpacker.Variant31.x64 using Classes; using System; using System.IO; + using System.Linq; using System.Reflection; using System.Security.Cryptography; @@ -103,7 +104,7 @@ namespace Steamless.Unpacker.Variant31.x64 return false; // Obtain the bind section data.. - var bind = f.GetSectionData(".bind"); + var bind = f.GetSectionData(".bind").Take(0x3000).ToArray(); // Attempt to locate the known v3.x signature.. var variant = Pe64Helpers.FindPattern(bind, "E8 00 00 00 00 50 53 51 52 56 57 55 41 50"); diff --git a/Steamless.Unpacker.Variant31.x64/Properties/AssemblyInfo.cs b/Steamless.Unpacker.Variant31.x64/Properties/AssemblyInfo.cs index e56071a..de32ccd 100644 --- a/Steamless.Unpacker.Variant31.x64/Properties/AssemblyInfo.cs +++ b/Steamless.Unpacker.Variant31.x64/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x86/Classes/SteamStubDrmFlags.cs b/Steamless.Unpacker.Variant31.x86/Classes/SteamStubDrmFlags.cs index 1559da4..bf9a46a 100644 --- a/Steamless.Unpacker.Variant31.x86/Classes/SteamStubDrmFlags.cs +++ b/Steamless.Unpacker.Variant31.x86/Classes/SteamStubDrmFlags.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x86/Classes/SteamStubHeader.cs b/Steamless.Unpacker.Variant31.x86/Classes/SteamStubHeader.cs index 0498663..b2e3720 100644 --- a/Steamless.Unpacker.Variant31.x86/Classes/SteamStubHeader.cs +++ b/Steamless.Unpacker.Variant31.x86/Classes/SteamStubHeader.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x86/Classes/SteamStubHelpers.cs b/Steamless.Unpacker.Variant31.x86/Classes/SteamStubHelpers.cs index 9b954ae..670b7d9 100644 --- a/Steamless.Unpacker.Variant31.x86/Classes/SteamStubHelpers.cs +++ b/Steamless.Unpacker.Variant31.x86/Classes/SteamStubHelpers.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x86/Main.cs b/Steamless.Unpacker.Variant31.x86/Main.cs index 071b978..8ad1a74 100644 --- a/Steamless.Unpacker.Variant31.x86/Main.cs +++ b/Steamless.Unpacker.Variant31.x86/Main.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless.Unpacker.Variant31.x86/Properties/AssemblyInfo.cs b/Steamless.Unpacker.Variant31.x86/Properties/AssemblyInfo.cs index 1fd954d..ba9f0d0 100644 --- a/Steamless.Unpacker.Variant31.x86/Properties/AssemblyInfo.cs +++ b/Steamless.Unpacker.Variant31.x86/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ /** - * Steamless - Copyright (c) 2015 - 2020 atom0s [atom0s@live.com] + * Steamless - Copyright (c) 2015 - 2022 atom0s [atom0s@live.com] * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/ or send a letter to diff --git a/Steamless/App.xaml b/Steamless/App.xaml index 7085eaf..8306d8e 100644 --- a/Steamless/App.xaml +++ b/Steamless/App.xaml @@ -1,5 +1,5 @@