Giter Site home page Giter Site logo

decryptiondumper's Introduction

This is my decryption dumper I made over the last week. It's not been tested for a long time (mainly because I can't test myself lol) but I will keep updating it a bit.

It works similar to the dumper moleskn has made (attach debugger then step though) so big thanks for that @moleskn. However, you probably have to admit yourself the code is a mess so i decided to fix it up. Adding to that I changed the logic for detecting the end of decryption, I added a new (imo better) way of tracing the needed instructions and also added stack tracing (which could be improved further).

Summary of how it works:

  1. It loads the decryption routine into a buffer while keeping track of the indices where every other register was last modified while saving the current register that's overwritten for the next instructions.
  2. It finds the last time the encrypted register (and then decrypted) is referenced and starts to trace every instruction that's needed in order to get a valid result. It does that by checking what register is read and then recursively continue for these registers.
  3. In the end it goes through all needed instruction and prints them. If the stack is referenced, it looks at where instruction that stack location is set and gets the instruction that sets it. Then a local variable gets created which then gets assigned to the value of the stack location. (you can just make it 1 line, but I had planned on making it possible to trace stack values that required multiple instructions)

It also supports dumping decryption for Vanguard, but I didn't bother adding offsets for that game.

Released on: https://www.unknowncheats.me/forum/call-of-duty-modern-warfare/478869-decryption-offset-dumper.html

decryptiondumper's People

Contributors

nuxar1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.