🛡️ Secure your IP with 100% Air-Gapped Labs & Signed NDAs
WhatsApp: +86 18928482768 | sales@pcbdesignlab.com
Firmware Reverse Engineering
DISASSEMBLY SERVICE

Lost Source Code? We Patch the Machine Code.

Deep-silicon binary patching, IDA Pro decompilation, and instruction-level logic modification for legacy microcontrollers.

; Original Machine Code
0x0800: E59F0010 ; LDR R0, [PC, #16]
0x0804: E3500020 ; CMP R0, #0x20
; Assembly-Level Analysis
0x0800: LDR R0, [PC, #16] ; Load parameter
0x0804: CMP R0, #0x20 ; Check logic condition
0x0808: BLE 0x081A ; Branch if less/equal
BIN / HEX Disassembly
Assembly-Level Logic Analysis
Updated Programming File Generation
When a HEX File Is Not Enough
THE CHALLENGE

When a HEX File Is Not Enough

A BIN / HEX file can be used for chip programming, but it does not clearly show how the MCU program works. If the logic, timing, parameters, or function flow needs to be changed, the file must first be analyzed at the assembly level.

  • BIN / HEX Files Are Not Enough

    BIN / HEX files are machine-code programming files used for chip burning. They cannot be read or edited directly. Through disassembly, they can be converted into assembly-level code for analysis and controlled modification.

  • Assembly-Level Program Analysis

    After disassembly, we analyze the MCU program flow, timing logic, parameters, jumps, and key control functions to understand how the original program works.

  • Updated Programming File Generation

    After the required logic or parameter changes are completed, we rebuild updated BIN / HEX files for chip programming, testing, and verification.

CASE STUDIES

We Patch What You Can’t Rebuild

Sensor Replacement Program Update
PROJECT 01

Sensor Replacement Program Update

An industrial device manufacturer needed to replace an EOL I²C sensor, but the new sensor used a different address and initialization sequence. The original BIN / HEX file could still program the MCU, but it could not be edited directly.

OUR WORK

We disassembled the BIN / HEX file into assembly-level code, located the sensor communication logic, updated the required I²C address and initialization parameters, then generated a new programming file for chip burning and testing.

Search More →
Legacy Protocol Compatibility
PROJECT 02

Legacy Protocol Compatibility

An industrial automation service company needed an old controller to work with a newer communication module. The original MCU program could still be burned from the HEX file, but the communication response format did not match the updated system.

OUR WORK

We disassembled the HEX file into assembly-level code, traced the serial communication routine, analyzed the command-response structure, adjusted the protocol handling logic, and generated an updated programming file for testing.

Search More →
Industrial Controller Program Update
PROJECT 03

Industrial Controller Program Update

A factory automation company needed to update an existing MCU program for a revised machine cycle. They only had the original BIN / HEX file, but the control timing and output sequence had to be adjusted for the new equipment setup.

OUR WORK

We rebuilt the BIN / HEX file into compilable ASM, analyzed the control flow, updated the required timing and output logic, and generated new programming files for chip burning and testing.

Search More →
BIN FILE DISASSEMBLY WORKFLOW

From BIN File to Assembly-Level Code

We follow a structured disassembly process to convert authorized BIN / HEX machine-code files into assembly-level code, analyze the MCU program logic, make controlled changes, and generate updated files for chip programming and testing.

01

File Review & MCU Architecture Confirmation

We first review the BIN / HEX file, target MCU model, memory map, instruction set, checksum requirements, and programming format. This helps confirm how the program should be disassembled and analyzed.

File Review & MCU Architecture Confirmation
02

Disassembly to Assembly-Level Code

The BIN / HEX machine-code file is converted into assembly-level code using the correct MCU architecture and instruction set. The output may include .asm, .lst, address maps, and instruction listings for engineering analysis.

Disassembly to Assembly-Level Code
03

Program Flow & Logic Analysis

We analyze the assembly-level code to understand program flow, jumps, interrupt routines, timing logic, communication routines, parameter areas, and key control functions.

Program Flow & Logic Analysis
04

Required Logic or Parameter Modification

Based on the confirmed customer requirement, we update the required program logic, parameter values, timing settings, communication handling, or control behavior at the assembly level.

Required Logic or Parameter Modification
05

Rebuild, Patch & Checksum Handling

After modification, we rebuild or patch the program data and generate an updated BIN / HEX file. If the program includes checksum, vector table, address alignment, or configuration requirements, these are handled during file generation.

Rebuild, Patch & Checksum Handling
06

Programming & Test Support

The updated BIN / HEX file can be burned into the target chip for testing. When required, we can support programming verification, functional testing, and further adjustment based on real hardware test results.

Programming & Test Support
TECHNICAL COVERAGE

Firmware Reverse Engineering Capabilities

BIN / HEX to Compilable ASM

  • BIN / HEX file disassembly
  • ASM project reconstruction
  • Address and memory mapping
  • Label and instruction organization
  • Compilable ASM output for supported MCUs

Program Modification & Function Update

  • Parameter and timing adjustment
  • Communication logic modification
  • Control sequence updates
  • New function addition when resources allow
  • Updated BIN / HEX generation for programming

Reverse C Reconstruction

  • Assembly-level logic analysis
  • C-level program reconstruction
  • Compilable C project output when feasible
  • Suitable for further maintenance or redevelopment
  • Higher-cost service for complex MCU projects
Knowledge Base

Frequently Asked Questions

1. Can you convert BIN / HEX files into compilable ASM files?
Yes. We can disassemble authorized BIN / HEX files and rebuild them into compilable ASM files for supported MCU architectures.

This is more than basic disassembly. It includes address correction, label organization, memory mapping, instruction review, and project structure preparation so the ASM files can be assembled again for further analysis, modification, or rebuilding.
2. How do you verify the disassembly output?
We check the MCU architecture, memory map, interrupt vectors, instruction flow, jump references, and address mapping, then compare the assembly-level output with the original BIN / HEX file to ensure the disassembly result is consistent and usable for analysis.
3. What do you need to start a disassembly project?
Please provide the original BIN / HEX file, MCU part number, clear chip marking photo, and the target output format you need, such as .asm or .lst.
4. How long does it take?
For standard MCU disassembly projects, the turnaround is usually 2–7 working days after the file and chip information are confirmed.
5. Can you reverse BIN / HEX files into C code?
Yes. We can provide Reverse C Reconstruction for selected MCU projects, but it is a more complex and higher-cost service.

The reconstructed C code is not the original source code written by the original developer. It is a newly rebuilt C project based on BIN / HEX analysis, assembly-level understanding, and manual engineering reconstruction.
6. Can you modify or add functions after disassembly?
Yes. After the BIN / HEX file is rebuilt into assembly-level code, we can analyze the program logic and update required functions, parameters, timing, communication logic, control sequences, or device settings.

We can also add new functions when the MCU has enough memory, available resources, and clear testing conditions.
Get Started

PCBDesign Lab Has Helped 100+ Customers Build Their Products

Free Consulting