Currently I have a 2000+Line function to reverse engineer with many redundancies and appears to be obfuscated. It their a way to pass to pass this binary to gcc or clang to reassemble it and optimize it ?

  • Have you tried passing it to Hex-Rays to see the decompiled results? Commented May 21, 2016 at 14:57
  • assuming that I dont have access to hexray or any other paid software ( I really dont)
    – u185619
    Commented May 21, 2016 at 16:25
  • "reassembling" is just a tough concept, perhaps you might want to look for a decompiler or maybe you just want to upload your DLL for someone to show you the decompiled code of the function.
    – user9000
    Commented May 21, 2016 at 17:42
  • You can try to use retdec.com as a decompiler.
    – w s
    Commented May 22, 2016 at 14:14
  • I appreciate this but what I really want to know how to achieve it to disassemble then re assemble a bin file and pass it to gcc -o3
    – u185619
    Commented May 22, 2016 at 14:33


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.