For a self-learning project, I want to patch an exe file.

I have a firmware updater (exe file) that updates a 20-year old DVD drive (Matsushita model SW-9586-T). I own a commercial version of the drive (SW-9586-C) and the software updater does not update it.

I want to patch the exe file to force the flashing of any drive, but I don't know where to start.

Is decompiling > Modifying > Recompiling the firmware updater a good or bad idea ?

  • Hi and welcome to RE.SE. Your question is pretty much asking for opinions and that's not generally thought to be a good fit for Q&A. However, I think there is actually a consensus that these days decompilers hardly ever will enable you to get code that will recompile and yield something remotely similar to the original binary. Sure, decompilers are getting better year by year, but I think you are better off learning how to modify an executable without outright trying to recompile the results of some decompiler (some of which call their output pseudo-code for a good reason).
    – 0xC0000022L
    Sep 1, 2019 at 19:35

1 Answer 1


You don't need to decompile/recompile it, if you know how to read the assembler code. You just need to find the place in the code, which does the model check, and patch it to let the code execute further. Yet to find, where the check is, you need to know how the model is read from the device. Most probably it's some IDE Disk I/O commands. Thus you need to know how those commands are usually sent, and then search for them in the disassembled code. And so on... This rabbit hole is really deep.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.