currently I am trying to use IDA pro to generate assembly code from PE file and recompile it.
Firstly
basically I know this way:
File -> Produce File -> Create ASM File
and it seems the asm file it generated cannot be directly recompile.
Second
use some IDC or Python script in the IDA to extract useful asm instructions, put them together in order and recompile, this kind of solution can be seen from some academic paper, but non of them have given some detailed instructions about how to do this task...
Could anyone give me some instructions about this issue..? Thank you!