I have an old piece of software (for cutting and plotting vectors onto physical media) (released about 2000-2001) which I use to this day. The software employs a HASP HL with a parallel port hardware lock. I've managed to debug and dump the executable (without the protection). However, when I try it on another of my machines it does not start. The dumped executable will start on the machine that it was dumped on, but not another machine. This would be no problem, except if the hardware key were to break, I wouldn't be able to dump it on a future machine.

Something I should note is that, the software is no longer supported. Since the developer passed away in early 2008 the software has been totally abandoned. Having paid over $2000 for this, without any alternative that I am familiar with, I fear that if the hardware key does break I will be left without software that I use day-to-day.

1 Answer 1


You need to rebuilt the Import Table for your program to work correctly on other systems.

Basic steps to unpacking:

  1. Trace to the Original Entry Point
  2. Dump the memory
  3. Rebuild the Import Table with a tool such as Import REConstructor and change the PE's Entry Point value to the Original Entry Point's RVA
  • I did rebuild the import table, as far as I know. Used ImpRec to relocate it and changed the RVA to that of which was traced to a breakpoint I placed on the .text section of the PE. I was under the impression that doing so would change it to the OEP. Unless there is a different process to obtain the OEP. I'm a little confused here.
    – Terry
    Commented Nov 19, 2013 at 23:03
  • Feel free to post a link and I'll take a peek. Commented Nov 19, 2013 at 23:04
  • I've uploaded a file containing the protected exe, dumped and the one in which I rebuilt the imports here. Thanks a lot!
    – Terry
    Commented Nov 20, 2013 at 1:40
  • The _imprec.exe file looks fine from a quick glance, though obviously I'm missing many of the DLLs it statically imports so I can't test it. When you say, "it does not start", what error are you getting? Commented Nov 20, 2013 at 15:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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