// Decompiled with JetBrains decompiler // Type: WindowsApplication1.My.MyProject // Assembly: Services, Version=1.0.0.0, Culture=neutral // MVID: 9B55F703-4EB8-46BB-927B-A4635A31F4B1 // Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00002-msil\Trojan-Dropper.Win32.Injector.ecsd-79d34bc92c1ccd50c2ace1b8d0affe89f1e3708f29417e71d554c784036e470d.exe using Microsoft.VisualBasic; using Microsoft.VisualBasic.ApplicationServices; using Microsoft.VisualBasic.CompilerServices; using System; using System.CodeDom.Compiler; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows.Forms; namespace WindowsApplication1.My { [HideModuleName] [GeneratedCode("MyTemplate", "8.0.0.0")] [StandardModule] internal sealed class MyProject { private static readonly MyProject.ThreadSafeObjectProvider m_ComputerObjectProvider = new MyProject.ThreadSafeObjectProvider(); private static readonly MyProject.ThreadSafeObjectProvider m_AppObjectProvider = new MyProject.ThreadSafeObjectProvider(); private static readonly MyProject.ThreadSafeObjectProvider m_UserObjectProvider = new MyProject.ThreadSafeObjectProvider(); private static MyProject.ThreadSafeObjectProvider m_MyFormsObjectProvider = new MyProject.ThreadSafeObjectProvider(); private static readonly MyProject.ThreadSafeObjectProvider m_MyWebServicesObjectProvider = new MyProject.ThreadSafeObjectProvider(); [HelpKeyword("My.Computer")] internal static MyComputer Computer { [DebuggerHidden] get => MyProject.m_ComputerObjectProvider.GetInstance; } [HelpKeyword("My.Application")] internal static MyApplication Application { [DebuggerHidden] get => MyProject.m_AppObjectProvider.GetInstance; } [HelpKeyword("My.User")] internal static User User { [DebuggerHidden] get => MyProject.m_UserObjectProvider.GetInstance; } [HelpKeyword("My.Forms")] internal static MyProject.MyForms Forms { [DebuggerHidden] get => MyProject.m_MyFormsObjectProvider.GetInstance; } [HelpKeyword("My.WebServices")] internal static MyProject.MyWebServices WebServices { [DebuggerHidden] get => MyProject.m_MyWebServicesObjectProvider.GetInstance; } [EditorBrowsable(EditorBrowsableState.Never)] [MyGroupCollection("System.Windows.Forms.Form", "Create__Instance__", "Dispose__Instance__", "My.MyProject.Forms")] internal sealed class MyForms { public Form1 m_Form1; [ThreadStatic] private static Hashtable m_FormBeingCreated; public Form1 Form1 { get { this.m_Form1 = MyProject.MyForms.Create__Instance__(this.m_Form1); return this.m_Form1; } set { label_2: int num = 3; label_1: while (true) { switch (num) { case 0: goto label_10; case 1: goto label_8; case 2: if (value != null) { num = 1; continue; } goto label_9; case 3: while (value == this.m_Form1) { if (true) { num = 0; goto label_1; } } goto case 2; default: goto label_2; } } label_10: return; label_8: throw new ArgumentException(\u003CCliSecureRT\u003E.cs("Cíø\u0014´.ÌÎ\u0098å\u0010·gi\n\u0013\u0006^¢\u0015\u00ADËÉn?\u008Ef\u000F\u000Fçb¡5Ê\u001B")); label_9: this.Dispose__Instance__(ref this.m_Form1); } } [DebuggerHidden] private static T Create__Instance__(T Instance) where T : Form, new() { if ((object) Instance != null && !Instance.IsDisposed) return Instance; if (MyProject.MyForms.m_FormBeingCreated != null) { if (MyProject.MyForms.m_FormBeingCreated.ContainsKey((object) typeof (T))) throw new InvalidOperationException(Utils.GetResourceString(\u003CCliSecureRT\u003E.cs("Döù\"\u00BE.ÕÄçÔ\u0014º2t\u0017\u0016\t\u001B\u0086\u001FÿÕïhz\u009B}J"))); } else MyProject.MyForms.m_FormBeingCreated = new Hashtable(); MyProject.MyForms.m_FormBeingCreated.Add((object) typeof (T), (object) null); try { return new T(); } catch (TargetInvocationException ex) when ( { // ISSUE: unable to correctly present filter ProjectData.SetProjectError((Exception) ex); if (ex.InnerException != null) { SuccessfulFiltering; } else throw; } ) { throw new InvalidOperationException(Utils.GetResourceString(\u003CCliSecureRT\u003E.cs("Döù\"\u00BE.ÕÄçÕ\u0014\u00BC\u000Eh\n\u001A\r;¸\u0013èÈØsp\u0094"), ex.InnerException.Message), ex.InnerException); } finally { MyProject.MyForms.m_FormBeingCreated.Remove((object) typeof (T)); } } [DebuggerHidden] private void Dispose__Instance__(ref T instance) where T : Form { instance.Dispose(); instance = default (T); } [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public MyForms() { } [EditorBrowsable(EditorBrowsableState.Never)] public override bool Equals(object o) => base.Equals(RuntimeHelpers.GetObjectValue(o)); [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => base.GetHashCode(); [EditorBrowsable(EditorBrowsableState.Never)] internal new System.Type GetType() => typeof (MyProject.MyForms); [EditorBrowsable(EditorBrowsableState.Never)] public override string ToString() => base.ToString(); } [EditorBrowsable(EditorBrowsableState.Never)] [MyGroupCollection("System.Web.Services.Protocols.SoapHttpClientProtocol", "Create__Instance__", "Dispose__Instance__", "")] internal sealed class MyWebServices { [EditorBrowsable(EditorBrowsableState.Never)] [DebuggerHidden] public override bool Equals(object o) => base.Equals(RuntimeHelpers.GetObjectValue(o)); [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public override int GetHashCode() => base.GetHashCode(); [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] internal new System.Type GetType() => typeof (MyProject.MyWebServices); [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public override string ToString() => base.ToString(); [DebuggerHidden] private static T Create__Instance__(T instance) where T : new() { label_2: int num = 3; label_1: T instance1; while (true) { switch (num) { case 0: instance1 = new T(); num = 2; continue; case 1: case 2: goto label_8; case 3: goto label_3; default: goto label_2; } } label_3: while ((object) instance == null) { if (true) { num = 0; goto label_1; } } instance1 = instance; label_8: return instance1; } [DebuggerHidden] private void Dispose__Instance__(ref T instance) => instance = default (T); [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public MyWebServices() { } } [ComVisible(false)] [EditorBrowsable(EditorBrowsableState.Never)] internal sealed class ThreadSafeObjectProvider where T : new() { internal T GetInstance { [DebuggerHidden] get { label_2: int num = 3; label_1: T threadStaticValue; while (true) { switch (num) { case 0: MyProject.ThreadSafeObjectProvider.m_ThreadStaticValue = new T(); num = 2; continue; case 1: goto label_8; case 2: threadStaticValue = MyProject.ThreadSafeObjectProvider.m_ThreadStaticValue; num = 1; continue; case 3: while ((object) MyProject.ThreadSafeObjectProvider.m_ThreadStaticValue == null) { if (true) { num = 0; goto label_1; } } goto case 2; default: goto label_2; } } label_8: return threadStaticValue; } } [DebuggerHidden] [EditorBrowsable(EditorBrowsableState.Never)] public ThreadSafeObjectProvider() { } } } }