<!-- Canonical page: https://reversedwithai.com/p/macromedia-flash-mx-2004-b7c196c4 -->
Canonical page: https://reversedwithai.com/p/macromedia-flash-mx-2004-b7c196c4

# Recompiled Macromedia Flash MX 2004 into native C with pcrecomp

> Static recompilation of the Flash MX 2004 authoring tool from its Win32 executable to native C.

This project performs static recompilation of Macromedia Flash MX 2004 (Flash.exe 7.2) into native C using the pcrecomp toolchain. The recompiled binary passes original licensing and anti-debug checks, successfully exporting byte-identical SWF files.

## Key facts

- Target: Macromedia Flash MX 2004
- Category: Apps
- Platform: Windows
- Models: Claude Opus 5.5
- Tools: pcrecomp, Visual Studio 2022 Build Tools, Python, pefile, capstone
- Outcome: Partial
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: sp00nznet
- Added: 2026-11-30
- Updated: 2026-11-30
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

The project performs static recompilation of the Macromedia Flash MX 2004 authoring tool (Flash.exe 7.2) into native C. The process uses the pcrecomp toolchain to lift the Win32 executable, which was originally built with VC++ 7.1 and MFC 7.1. The recompiled code runs against a legitimate installation of Flash MX 2004, utilizing the original licensing service and anti-debug checks rather than bypassing them. The author reports that the recompiled application successfully opens the authoring window and executes JSFL scripts. A conformance harness, documented in docs/testing.md, confirms that a test document exported to .swf by the recompiled binary is byte-identical to one produced by the original executable. The project addresses anti-debug challenges by modifying how the lift process handles __except/catch continuations, ensuring jumps into anti-debug blocks land in the correct landing pads. As of version 0.2.0, the project remains in alpha status; while the core authoring window and export functionality are operational, the interface has been observed rather than driven extensively.

Sources: [Source 1](https://raw.githubusercontent.com/sp00nznet/flashmx-recomp/HEAD/README.md), [Source 2](https://github.com/sp00nznet/flashmx-recomp/commits.atom)

## Human work and limitations

The project relies on the user providing their own licensed copy of Flash MX 2004. The recompilation process requires a Windows environment to interface with the original licensing service.

## Reproduce it

Install Flash MX 2004 in a Windows VM, download the repository, and execute Setup.cmd to build the project using the provided toolchain.

## Sources

- [Repository](https://github.com/sp00nznet/flashmx-recomp)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: sp00nznet (2026). Recompiled Macromedia Flash MX 2004 into native C with pcrecomp. Reversed with AI. https://reversedwithai.com/p/macromedia-flash-mx-2004-b7c196c4
