// Decompiled with JetBrains decompiler // Type: Binder_Stub.My.MySettings // Assembly: Binder Stub, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 43E2AE62-0C7A-43F6-8745-1964EA1123A8 // Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\Trojan.Win32.Fsysna.dgwf-9601ce4cab3d4141f8b4586bba6597f0fd1c84e9207275b62fcdb8a3e898786f.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 Binder_Stub.My { [GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] [CompilerGenerated] [EditorBrowsable(EditorBrowsableState.Advanced)] 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()); [DebuggerNonUserCode] public MySettings() { } [DebuggerNonUserCode] [EditorBrowsable(EditorBrowsableState.Advanced)] 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; } } } }