Is it possible to decompile a DLL?

Is it possible to decompile a DLL?

3 Answers. Short answer: you can’t. Long answer: The compilation process for C/C++ is very lossy. The compiler makes a whole lot of high and low level optimizations to your code, and the resulting assembly code more often than not resembles nothing of your original code.

Is decompile DLL illegal?

5 Answers. Decompiling is absolutely LEGAL, regardless of what the shills say. At most, you can be sued for unauthorized activity relating to software unless you’re redistributing it.

Why can you decompile an EXE?

With a decompiler, you can turn a program back into partial source code, assuming you know what it was written in (which you can find out with free tools such as PEiD – if the program is packed, you’ll have to unpack it first OR Detect-it-Easy if you can’t find PEiD anywhere.

How do I use Ilasm exe?

You can use Ilasm.exe in conjunction with its companion tool, Ildasm.exe. Ildasm.exe takes a PE file that contains IL code and creates a text file suitable as input to Ilasm.exe. This is useful, for example, when compiling code in a programming language that does not support all the runtime metadata attributes.

What’s the difference between a disassembler and a decompiler?

With a disassembler, you can view the program assembly in more detail. With a decompiler, you can turn a program back into partial source code, assuming you know what it was written in (which you can find out with free tools such as PEiD – if the program is packed, you’ll have to unpack it first OR Detect-it-Easy if you can’t find PEiD anywhere.

Is there a plug and play decompiler for Windows?

In most cases there isn’t a 100% Plug and Play solution. You will have to fix a few things yourself if you want to have a recompilable project. https://www.jetbrains.com/decompiler/ (free?)

Which is the best disassembler / debugger for Windows?

IDA Pro (commercial) – top of the line disassembler/debugger. Used by most professionals, like malware analysts etc. Costs quite a few bucks though (there exists free version, but it is quite quite limited) W32Dasm (free) – a bit dated but gets the job done.

Is there a tool to extract data from an EXE file?

SoftICE is kind of a hardcore tool that runs beneath the operating system (and halts the whole system when invoked). SoftICE is still used by many professionals, although might be hard to obtain and might not work on some hardware (or software – namely, it will not work on Vista or NVIDIA gfx cards).