public Deobfuscator(DeobfuscatorContext context) { Globals.DeobContext = context; Globals.Bugster = new BugReporter("150fa190dbb7a61815b4103fee172550", new NETDeobExceptionFormatter()); AppDomain.CurrentDomain.UnhandledException += Globals.Bugster.UnhandledExceptionHandler; Globals.Bugster.ReportCompleted += (o, e) => { if (e.WasSuccesful) { Console.WriteLine( "\nAn unhandled exception have occured and caused NETDeob to terminate!\n\nAn automatic report have been sent to the author."); Console.ReadLine(); Environment.Exit(-1); } else { Console.WriteLine("Contact author!"); Console.ReadLine(); Environment.Exit(-1); } }; _options = Globals.DeobContext.Options = Globals.DeobContext.Options ?? new DeobfuscatorOptions(); }