Disassembling an exe

This is a discussion on Disassembling an exe within the C++ Programming forums, part of the General Programming Boards category; Greetings! I've got a question again. Thanx to XP's coolness, my whole work has gone fishing... All but one exe ...

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    105

    Disassembling an exe

    Greetings!

    I've got a question again. Thanx to XP's coolness, my whole work has gone fishing... All but one exe file.

    Is there a way to disassemble the exe file made by Borland C++ Builder 5.0? Or do I have to start it all over??

    Thx
    Han

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >Is there a way to disassemble the exe file made by Borland C++ Builder 5.0?
    Yes. Whether such a disassembly is useful to you is another matter. It's almost always easier to simply re-engineer the application than to try and figure out a disassembly, too much information is lost in compilation that it's just not worth it.
    My best code is written with the delete key.

  3. #3
    Registered User
    Join Date
    Mar 2003
    Posts
    105
    Yes, I was afraid of this. Following the posts and my numerous questions, I'll be able to write this again in some days, but I had hopes. Hugh... I'll have a looong looong week before me.

    But anyway, thanks. Just one last question. How can I dissassemble the exe?

    Thx
    Han

  4. #4
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187
    Is this what you want?
    At least it works with DJGPP, I haven't tried with BC++.
    Attached Files Attached Files
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    105
    Yeah, I was thinking about if it was XP's fault. There's an another option: a hacker, a virus, or a bad hard disk. In the recent past I HAVE uninstalled several programs, but I haven't deleted anything from the Program Files directory. However in the recent past some of my programs have dissapeared without any reason.

    So these are the options left. A hacker can be it but I see no reason for anybody to do that. A virus isn't it either. I have McAfee 7.0, which works online. A bad hard disk isn't the solution either, my HD is 5 months old only...
    So whatever happened, I can't do anything about it now. Just write the program again. I don't think it will take more than a week. But anyway, it's embarrassing.

    Thanks for the dissassembler!

    ByZ
    Han

  6. #6
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187
    Again, I misread your question.
    I always backup my files to CD. Anything could happen to my harddisk, I never trusted it. I often logon as `root', this could destroy what I spent my time for.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  7. #7
    Cat
    Guest
    Well, if you know assembly, and you only want to make small changes, you can probably reverse-engineer your EXE pretty quickly (I've done reverse-engineering on other people's programs to create mods to games) but if you want the full source back, you're in for some retyping.

  8. #8
    Wen Resu
    Join Date
    May 2003
    Posts
    219
    i have an Xcopy batchfile set up to backup my source directory every 30minutes. Backs it up onto three network drives in my house. I Figure if all 3 puters are fried.. i have bigger problems then my nooby source <i have lost a couple delphi projects that where rather large, due to stupidity>

  9. #9
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    hey, that sounds kinda cool...would you mind posting the code for that batch file? Hmm...it probably isn't hard, but it's late and I'm doing German homework, so I'm not exactly thinking well...
    Away.

  10. #10
    Ipsec Espah
    Guest
    Have you tried using a program to see if you can retrieve it? If its deleted, its still on your hard drive. All that was deleted were the pointers to it so it will remain on your hard drive until it is over written by other files. Try searching google and you might come up with something usefull. However the more files you have downloaded/moved, and the longer you have waited the less of a chance you will get it back...

  11. #11
    Registered User
    Join Date
    Mar 2003
    Posts
    105
    Yes Ipsac, it was my first thought to retrieve it, but due to the recent file transfers on my pc it was not possible.

  12. #12
    Wen Resu
    Join Date
    May 2003
    Posts
    219
    XCOPY "Location of file to copy" "Destination" /S /E /C

    It will copy all files from the location, then copy all subdirectories and such. After that it will copy even the empty folders. and then will also copy even if an error occurs. place that in a batch file and have it to the windows task shedular to execute when ever you want.

    IE

    XCOPY "C:\Borland\Source\Projects\" "E:\Backup\" /S /E /C
    XCOPY "C:\Borland\Source\Projects\" "F\Backup\" /S /E /C

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how to monitor exe and dll interactions?
    By George2 in forum C Programming
    Replies: 1
    Last Post: 10-26-2007, 05:22 AM
  2. how to run an exe command in c++ and get back the results?
    By mitilkhatoon in forum C++ Programming
    Replies: 5
    Last Post: 09-21-2006, 07:00 PM
  3. Close another exe from another exe??
    By Tony in forum Windows Programming
    Replies: 1
    Last Post: 06-12-2002, 08:19 AM
  4. insert another exe into exe
    By lliero in forum C Programming
    Replies: 8
    Last Post: 04-12-2002, 01:22 PM
  5. adding bytes to EXE to call another EXE
    By lliero in forum C Programming
    Replies: 2
    Last Post: 03-30-2002, 07:23 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21