Example #1
0
 // Token: 0x06000031 RID: 49
 public static void KillSwitch()
 {
     if (Kill.AntiVM() || Kill.CheckDebugger() || Kill.CheckSandboxieDLL() || Kill.CheckSize() || Kill.CheckXP())
     {
         Process.GetCurrentProcess().Kill();
     }
     Environment.FailFast(null);
 }
Example #2
0
        // Token: 0x06000035 RID: 53
        private static bool CheckDebugger()
        {
            bool flag = false;
            bool result;

            try
            {
                Kill.CheckRemoteDebuggerPresent(Process.GetCurrentProcess().Handle, ref flag);
                result = flag;
            }
            catch
            {
                result = flag;
            }
            return(result);
        }
Example #3
0
        // Token: 0x06000036 RID: 54
        private static bool CheckSandboxieDLL()
        {
            bool result;

            try
            {
                if (Kill.GetModuleHandle("SbieDll.dll").ToInt32() != 0)
                {
                    result = true;
                }
                else
                {
                    result = false;
                }
            }
            catch
            {
                result = false;
            }
            return(result);
        }