Exemplo n.º 1
0
        public void Deobfuscate()
        {
            Logger.n("Cleaning {0}", options.Filename);
            InitAssemblyClient();

            for (int i = 0; ; i++)
            {
                byte[]        fileData      = null;
                DumpedMethods dumpedMethods = null;
                if (!deob.GetDecryptedModule(i, ref fileData, ref dumpedMethods))
                {
                    break;
                }
                ReloadModule(fileData, dumpedMethods);
            }

            deob.DeobfuscateBegin();
            DeobfuscateMethods();
            deob.DeobfuscateEnd();
        }