r/programmingchallenges • • Nov 19 '19

Know of MS-DOS decompiler?

So I'm building a CRM solution for a client of mine and they originally used this old ass program made with a combo of MS DOS, batch and EXE files in 1993.

Now while I can read the source code of the .bat files pretty good, I cant find a way to read the source code for either the DOS or EXE files. Anyone know of a good solution to read these? Or will I have to go to the museum for this one?

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Nov 20 '19

Is the program itself publicly available in some way? It would help to have a copy.

It might store stuff in the registry, but I doubt it. It doesn't seem like something that would be efficient. Maybe worth looking into. I don't know enough about MSDOS development to help. Unfortunately, in this case, it was before my time.

One thing you can do is open the binary in a hex editor and try to discern any strings. Remember to try multiple encodings. If there's a string table or something in the binary then you should be able to find it. There might be hints there.