Jump to content
Tuts 4 You
fearless

CopyToAsm - x64dbg plugin

Recommended Posts

fearless

A plugin to copy a selected disassembly range in the x64dbg cpu view tab and convert to a masm compatible style assembler code and output to clipboard or the reference view tab.

 

Features

  • Copy selected range to assembler style code.
  • Outputs assembler code to clipboard or reference view.
  • Adds labels for jump destinations.
  • Adjusts jump instructions to point to added labels.
  • Indicates if jump destinations are outside selection range.
  • Code comments to indicate start/end and outside range.
  • Options to adjust comments and label outputs.
  • Format hex values as C style (0x) or Masm style.
  • Registered commands: CopyToAsmClip (ctac) and CopyToAsmRef (ctar)

 

How To Install

  • Copy the CopyToAsm.dp32 file to your x64dbg\x32\plugins folder
  • Copy the CopyToAsm.dp64 file to your x64dbg\x64\plugins folder

 

How To Use

  • Open x64dbg
  • Open target
  • Select lines of disassembly in the cpu tab window
  • Select CopyToAsm plugin
  • Select copy to clipboard (or copy to reference view tab)
  • Paste into text document (if previously copied to clipboard)
     

Project Pages
https://github.com/mrfearless/CopyToAsm-Plugin-x86
https://github.com/mrfearless/CopyToAsm-Plugin-x64

 

Downloads
CopyToAsm-Plugin-x86
CopyToAsm-Plugin-x64

 

Some screenshots

cta_label_options.png

cta_comment_options.png

cta_format_options.png

 

See wiki example for more details: szLen example

Raw x64dbg disassembly of szLen function of masm32 library:

szlenraw.png

Copied and processed asm code pasted to clipboard:

szlenctacliptext.png

Edited by fearless
added szLen images (see edit history)
  • Like 4
  • Thanks 4

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...