// Decompiled with JetBrains decompiler // Type: ePsmpVfEBbD7JvU35.My.MySettings // Assembly: ePsmpVfEBbD7JvU35, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 8F8E5366-972E-48EB-AD65-C434E8632D31 // Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\Trojan.Win32.Fsysna.cit-694aade1774954e9ecf7243912b531bfe93e6cd003b759725668d2a1e8986cae.exe using Microsoft.VisualBasic.ApplicationServices; using Microsoft.VisualBasic.CompilerServices; using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Configuration; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; namespace ePsmpVfEBbD7JvU35.My { [EditorBrowsable(EditorBrowsableState.Advanced)] [CompilerGenerated] [GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] internal sealed class MySettings : ApplicationSettingsBase { private static MySettings defaultInstance = (MySettings) SettingsBase.Synchronized((SettingsBase) new MySettings()); private static bool addedHandler; private static object addedHandlerLockObject = RuntimeHelpers.GetObjectValue(new object()); [EditorBrowsable(EditorBrowsableState.Advanced)] [DebuggerNonUserCode] private static void AutoSaveSettings(object sender, EventArgs e) { if (!MyProject.Application.SaveMySettingsOnExit) return; MySettingsProperty.Settings.Save(); } public static MySettings Default { get { if (!MySettings.addedHandler) { object handlerLockObject = MySettings.addedHandlerLockObject; ObjectFlowControl.CheckForSyncLockOnValueType(handlerLockObject); Monitor.Enter(handlerLockObject); try { if (!MySettings.addedHandler) { MyProject.Application.Shutdown += (ShutdownEventHandler) ((sender, e) => { if (!MyProject.Application.SaveMySettingsOnExit) return; MySettingsProperty.Settings.Save(); }); MySettings.addedHandler = true; } } finally { Monitor.Exit(handlerLockObject); } } return MySettings.defaultInstance; } } } }