WinRABCDAsm – Flash ABC (ActionScript Bytecode) disassembly and reassembly made easy

 

You are reading the old blog! This post has been moved to http://www.ohadsoft.com/2012/09/winrabcdasm-flash-abc-actionscript-bytecode-disassembly-and-reassembly-made-easy/

 

RABCDAsm is an excellent collection of utilities for assembling and disassembling actionscript 3 flash (SWF) files. Since using it requires a bit of work in the command line, and I’m very lazy, I’ve created a GUI front-end for it: WinRABCDasm. Once you enter your RABCDasm path in the settings window, the workflow is very easy:

  1. Drag the SWF file to WinRABCDasm to disassemble it.
  2. Navigate the disassembly tree and find the file you wish to modify.
  3. Double click to open it in your favorite editor, and make your changes (for syntax highlighting use asasm.hrc in Eclipse)
  4. Repeat steps 2-3 for all the files you wish to modify.
  5. Hit Reassemble (alt+R) to rebuild the SWF file. Backup your original SWF file before this step as it will overwrite it!

WinRABCDAsm

Advertisements

21 Responses to “WinRABCDAsm – Flash ABC (ActionScript Bytecode) disassembly and reassembly made easy”

  1. HooCraX Says:

    Hello,
    I need to implement something like this in my application. what are the exact things I do in cmd.exe to get the final output ( I think after re-assemble ). I do abexport and rabdcasm, what next to get it like you ? Or can you skype me ? ( skype : hoocrax ) Thank you in advance

    Like

    • ohadsc Says:

      Well, WinRABCDAsm is open source so you can see exactly what I do there! The code is very simple and self explanatory, but let me know if there’s anything specific you don’t understand.

      Like

  2. hello Says:

    error assembling swf file(hover for details)
    help me ?
    thanks you

    Like

    • ohadsc Says:

      You need to hover the mouse over the status bar to get the details. My guess is that you didn’t specify the RABCDAsm folder in the settings window (the one containing abcexport.exe etc.)

      Like

  3. hello Says:


    help me
    thanks you
    you can tutorials by video? be not?

    Like

    • ohadsc Says:

      You need to enter the path of the *folder* containing abcexport.exe, not the path to the file itself. If the folder is in your PATH environment variable, you can leave it empty.

      Like

  4. hello Says:

    very good if you tutorials

    Like

  5. hello Says:



    i did as you said
    help me ?
    thanks you

    Like

  6. hello Says:

    i’m drag the SWF file to the program but software does not work ?
    you check software?
    thask

    Like

  7. hello Says:

    link software
    http://www.mediafire.com/download.php?yc81zmketns39bn
    you check software ?
    thank you

    Like

    • ohadsc Says:

      I don’t need a link to the software, I wrote it !
      Try running the program as administrator, maybe it’s a permission thing. Other than that, I can’t help you without you telling me exactly what doesn’t work and provide a screenshot and/or logfile.

      Like

  8. hello Says:

    ok this is file log :
    http://www.mediafire.com/download.php?5x7ndibnxslkxyg
    help me thank you

    Like

  9. hello Says:

    ok thanks you

    Like

  10. ankilla Says:

    After decompiling a swf file i found some part of the code is not decompiled properly.

    Msg displaying under the class is as follows
    ; Error while disassembling method: Don’t know how to decode OP_finddef
    ; body
    ; maxstack 6
    ; localcount 5
    ; initscopedepth 0
    ; maxscopedepth 1
    ; code
    ; 0xD0 0x30 0xD0 0x66 0xD5 0x22 0x66 0xDC 0x03 0x24 0x00 0x13 0x1A 0x00 0x00 0xD0
    ; 0x66 0xD5 0x22 0x24 0x00 0x66 0x8F 0x24 0x80 0xD4 0x22 0x63 0x04 0xD0 0x66 0xD5
    ; 0x22 0x4F 0xDD 0x03 0x00 0x10 0x10 0x00 0x00 0x5F 0xD4 0x22 0xD0 0x66 0xA3 0x23
    ; 0x4A 0xD4 0x22 0x01 0x80 0xD4 0x22 0x63 0x04 0x62 0x04 0x80 0xD4 0x22 0xD7 0xD3
    ; 0xD1 0xD2 0x24 0x00 0x24 0x00 0x2C 0xB6 0x30 0x4F 0x80 0x02 0x05 0xD3 0x4F 0x9F
    ; 0x04 0x00 0x60 0xC0 0x22 0xD3 0x4F 0xCD 0x03 0x01 0x47

    error screen shot: http://i44.tinypic.com/4hfu5w.jpg

    swf File location : http://farm.maxgames.com/LostOutpostMTk5Mw==.swf

    Like

  11. ankilla Says:

    Thanks

    Like

  12. Paul Says:

    Please update your Winrabcdasm. I think the latest version of rabcdasm was released a 3 months ago v1.1.5….THX

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: