An x64dbg plugin that allows users to execute Cheat Engine auto assembler scripts within x64dbg.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
x32
x64/plugins
README.md

README.md

CeAutoAsm-x64dbg

An x64dbg plugin that allows users to execute Cheat Engine auto assembler scripts within x64dbg.

Donations: Donate via Paypal

Overview

The CeAutoAsm plugin is a wrapper around a mini-project of mine, ceautoasm.dll.

ceautoasm.dll is Cheat Engine's internal auto assembler ripped out into a standalone library that can be used pretty much anywhere in a Windows environment. ceautoasm.dll uses the latest Cheat Engine code base for its internal workings with as minimal changes to the original code as needed to make it work.

Some features of the auto assembler and internals have been removed to limit file size and ease of use.

Removed Features (General)

  • All ARM / JNI / Unix / Mono features removed.
  • All Lua features are removed.
  • All driver/kernel level features removed.
  • All DBVM features removed.
  • Structure / Extended debug information resolving removed. (May restore later.)

Removed Features (Auto Assembler Engine)

  • Prologues [Removed due to not using Lua/Plugin features.]
  • Commands [Removed due to not using Lua/Plugin features.]
  • Plugins [Removed due to not using Lua/Plugin features.]
  • INCLUDE() macro. [Removed due to overhead/bloat. May be restored later.]
  • KALLOC() macro. [Removed due to not using kernel features.]
  • LOADLIBRARY() macro. [Removed due to overhead/bloat. Lot of code changes required to work with this library.]
  • LUACALL() macro. [Removed due to not using Lua features.]
  • REASSEMBLE() macro. [Removed due to requiring unwanted UI related things / disassembler engine.]

Features

CeAutoAsm implements the following commands for x64dbg:

ceautoasm.getaddress [parsable_string]

  • Parses a Cheat Engine based string that can be interpreted as an address.

ceautoasm.goto [parsable_string]

  • Parses a Cheat Engine based string that can be interpreted as an address and goes to it in the CPU window.

ceautoasm.script.enable [script_name]

  • Executes the enable section of the given script.

ceautoasm.script.disable [script_name]

  • Executes the disable section of the given script.

Scripts should be stored within a folder named cescripts within the main directory of the x64dbg path.

For example, if using x32dbg.exe:

x32dbg Path : C:\Tools\x64dbg\release\x32\x32dbg.exe
Scripts Path: C:\Tools\x64dbg\release\x32\cescripts\

Within the cescripts folder, you will need to create sub-folders named the same name as the file you are debugging. For example, if I am debugging calc.exe, then my scripts for calc.exe will be placed in:

C:\Tools\x64dbg\release\x32\cescripts\calc.exe\<scripts here>

Installation

Here is a quick rundown of installing this plugin:

  • Download this repository via the 'Download Zip' feature of Github.
  • Extract the contents of the zip to your desktop.
  • Open your x64dbg install folder.

Copy the x32 and x64 folders from the extracted zip over the x64dbg folder.

If done properly, Windows should ask you to overwrite at least the plugins folder.

Credits, Thanks, Links