mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-19 09:56:10 +00:00
f2ac1ece55
add
213 lines
6.9 KiB
C#
213 lines
6.9 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: U_Stub.My.MyProject
|
|
// Assembly: U-Stub, Version=0.5.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 1A3D191F-9017-4B28-BB6C-EB744F26B6E8
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan.Win32.Llac.cqas-7b1e23881a8ecad479bf21b176cf0d45377cb7306820490a17e1470826acc586.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 U_Stub.My
|
|
{
|
|
[HideModuleName]
|
|
[GeneratedCode("MyTemplate", "8.0.0.0")]
|
|
[StandardModule]
|
|
internal sealed class MyProject
|
|
{
|
|
private static readonly MyProject.ThreadSafeObjectProvider<MyComputer> ᙄ = new MyProject.ThreadSafeObjectProvider<MyComputer>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<MyApplication> ᙅ = new MyProject.ThreadSafeObjectProvider<MyApplication>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<User> \u0034AAAA = new MyProject.ThreadSafeObjectProvider<User>();
|
|
private static MyProject.ThreadSafeObjectProvider<MyProject.MyForms> \u0035AAA0 = new MyProject.ThreadSafeObjectProvider<MyProject.MyForms>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<MyProject.MyWebServices> \u0036AAAA = new MyProject.ThreadSafeObjectProvider<MyProject.MyWebServices>();
|
|
|
|
[DebuggerNonUserCode]
|
|
static MyProject()
|
|
{
|
|
}
|
|
|
|
[HelpKeyword("My.Computer")]
|
|
internal static MyComputer Computer
|
|
{
|
|
[DebuggerHidden] get => MyProject.ᙄ.GetInstance;
|
|
}
|
|
|
|
[HelpKeyword("My.Application")]
|
|
internal static MyApplication Application
|
|
{
|
|
[DebuggerHidden] get => MyProject.ᙅ.GetInstance;
|
|
}
|
|
|
|
[HelpKeyword("My.User")]
|
|
internal static User User
|
|
{
|
|
[DebuggerHidden] get => MyProject.\u0034AAAA.GetInstance;
|
|
}
|
|
|
|
[HelpKeyword("My.Forms")]
|
|
internal static MyProject.MyForms Forms
|
|
{
|
|
[DebuggerHidden] get => MyProject.\u0035AAA0.GetInstance;
|
|
}
|
|
|
|
[HelpKeyword("My.WebServices")]
|
|
internal static MyProject.MyWebServices WebServices
|
|
{
|
|
[DebuggerHidden] get => MyProject.\u0036AAAA.GetInstance;
|
|
}
|
|
|
|
[MyGroupCollection("System.Windows.Forms.Form", "Create__Instance__", "Dispose__Instance__", "My.MyProject.Forms")]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
internal sealed class MyForms
|
|
{
|
|
public Form1 m_Form1;
|
|
[ThreadStatic]
|
|
private static Hashtable ᙃ;
|
|
|
|
public Form1 Form1
|
|
{
|
|
[DebuggerNonUserCode] get
|
|
{
|
|
this.m_Form1 = MyProject.MyForms.Create__Instance__<Form1>(this.m_Form1);
|
|
return this.m_Form1;
|
|
}
|
|
[DebuggerNonUserCode] set
|
|
{
|
|
if (value == this.m_Form1)
|
|
return;
|
|
if (value != null)
|
|
throw new ArgumentException("Property can only be set to Nothing");
|
|
this.Dispose__Instance__<Form1>(ref this.m_Form1);
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
private static T Create__Instance__<T>(T Instance) where T : Form, new()
|
|
{
|
|
if ((object) Instance != null && !Instance.IsDisposed)
|
|
return Instance;
|
|
if (MyProject.MyForms.ᙃ != null)
|
|
{
|
|
if (MyProject.MyForms.ᙃ.ContainsKey((object) typeof (T)))
|
|
throw new InvalidOperationException(Utils.GetResourceString("WinForms_RecursiveFormCreate"));
|
|
}
|
|
else
|
|
MyProject.MyForms.ᙃ = new Hashtable();
|
|
MyProject.MyForms.ᙃ.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("WinForms_SeeInnerException", ex.InnerException.Message), ex.InnerException);
|
|
}
|
|
finally
|
|
{
|
|
MyProject.MyForms.ᙃ.Remove((object) typeof (T));
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
private void Dispose__Instance__<T>(ref T instance) where T : Form
|
|
{
|
|
instance.Dispose();
|
|
instance = default (T);
|
|
}
|
|
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
[DebuggerHidden]
|
|
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
|
|
{
|
|
[DebuggerHidden]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
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>(T instance) where T : new() => (object) instance == null ? new T() : instance;
|
|
|
|
[DebuggerHidden]
|
|
private void Dispose__Instance__<T>(ref T instance) => instance = default (T);
|
|
|
|
[DebuggerHidden]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
public MyWebServices()
|
|
{
|
|
}
|
|
}
|
|
|
|
[ComVisible(false)]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
internal sealed class ThreadSafeObjectProvider<T> where T : new()
|
|
{
|
|
internal T GetInstance
|
|
{
|
|
[DebuggerHidden] get
|
|
{
|
|
if ((object) MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue == null)
|
|
MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue = new T();
|
|
return MyProject.ThreadSafeObjectProvider<T>.m_ThreadStaticValue;
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
public ThreadSafeObjectProvider()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|