MalwareSourceCode/MSIL/Trojan-Dropper/Win32/I/Trojan-Dropper.Win32.Injector.dihu-4bafcb0947a4bf1bc33e1247a84ba48c6f8a9b1b46bcea01030c4001a6b32c8e/Do/My/MySettings.cs
2022-08-18 06:28:56 -05:00

79 lines
2.3 KiB
C#

// Decompiled with JetBrains decompiler
// Type: Do.My.MySettings
// Assembly: Do, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: EE565A8A-23A7-4686-8A31-21133B42B36B
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan-Dropper.Win32.Injector.dihu-4bafcb0947a4bf1bc33e1247a84ba48c6f8a9b1b46bcea01030c4001a6b32c8e.exe
using \u0003;
using \u0004;
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 Do.My
{
[CompilerGenerated]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
internal sealed class MySettings : ApplicationSettingsBase
{
private static MySettings \u0001 = (MySettings) SettingsBase.Synchronized((SettingsBase) new MySettings());
private static bool \u0001;
private static object \u0001 = RuntimeHelpers.GetObjectValue(new object());
[EditorBrowsable(EditorBrowsableState.Advanced)]
[DebuggerNonUserCode]
private static void \u0001(object sender, EventArgs e)
{
if (!\u0002.\u0001().SaveMySettingsOnExit)
return;
// ISSUE: reference to a compiler-generated method
\u0001.\u0001().Save();
}
public static MySettings Default
{
get
{
if (MySettings.\u0001)
goto label_7;
label_1:
object Expression = MySettings.\u0001;
ObjectFlowControl.CheckForSyncLockOnValueType(Expression);
Monitor.Enter(Expression);
try
{
if (true)
{
if (!MySettings.\u0001)
\u0002.\u0001().Shutdown += (ShutdownEventHandler) ((sender, e) =>
{
if (!\u0002.\u0001().SaveMySettingsOnExit)
return;
\u0001.\u0001().Save();
});
else
goto label_7;
}
MySettings.\u0001 = true;
}
finally
{
Monitor.Exit(Expression);
}
label_7:
MySettings mySettings = MySettings.\u0001;
if (true)
return mySettings;
goto label_1;
}
}
}
}