T
T
tupoi2015-09-24 21:03:53
C++ / C#
tupoi, 2015-09-24 21:03:53

Disassembling *.exe?

Good evening everyone, such a situation, there is an exe file of the program, written in C ++, you need to open it. Is it possible to get the source code in the same C++? I use IDA Pro, but it only shows me assembler, and I am practically unfamiliar with it. I read that IDA can show C code, and much more, but I can’t figure it out. Can anyone suggest how to do this? and is it even real?
PS I'm not doing anything bad, it's just that I was given such a task during testing.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2015-09-24
@tupoi

You are doing disassembly, it is clear that you are getting an assembler.
There are some tools that perform decompilation, but when decompiling it is impossible to get the names of variables, functions and code style. According to IDA Pro there
should be a built-in Hex-Rays decompiler, it translates code into C

V
Vladimir Martyanov, 2015-09-25
@vilgeforce

In general, it won't work. Although HexRays can produce C-like code, manual work with it is usually unavoidable. Further, all sorts of std:: string, etc. are often inlined, FLIRT does not recognize them, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question