mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-21 02:46:10 +00:00
f2ac1ece55
add
213 lines
7.2 KiB
C#
213 lines
7.2 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: simple_binder_1._0_stub.My.MyProject
|
|
// Assembly: stub, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: A37B88BF-02F8-4FB7-BC03-91631BFAC33B
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan-Spy.Win32.ICQ.vir-87fef7c1570566305d147476c2dff8b4fde24ef2d82fe8fa52df618ba76d7e99.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 simple_binder_1._0_stub.My
|
|
{
|
|
[GeneratedCode("MyTemplate", "8.0.0.0")]
|
|
[HideModuleName]
|
|
[StandardModule]
|
|
internal sealed class MyProject
|
|
{
|
|
private static readonly MyProject.ThreadSafeObjectProvider<MyComputer> m_ComputerObjectProvider = new MyProject.ThreadSafeObjectProvider<MyComputer>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<MyApplication> m_AppObjectProvider = new MyProject.ThreadSafeObjectProvider<MyApplication>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<User> m_UserObjectProvider = new MyProject.ThreadSafeObjectProvider<User>();
|
|
private static MyProject.ThreadSafeObjectProvider<MyProject.MyForms> m_MyFormsObjectProvider = new MyProject.ThreadSafeObjectProvider<MyProject.MyForms>();
|
|
private static readonly MyProject.ThreadSafeObjectProvider<MyProject.MyWebServices> m_MyWebServicesObjectProvider = new MyProject.ThreadSafeObjectProvider<MyProject.MyWebServices>();
|
|
|
|
[DebuggerNonUserCode]
|
|
static MyProject()
|
|
{
|
|
}
|
|
|
|
[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;
|
|
}
|
|
|
|
[MyGroupCollection("System.Windows.Forms.Form", "Create__Instance__", "Dispose__Instance__", "My.MyProject.Forms")]
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
internal sealed class MyForms
|
|
{
|
|
public hodown m_hodown;
|
|
[ThreadStatic]
|
|
private static Hashtable m_FormBeingCreated;
|
|
|
|
public hodown hodown
|
|
{
|
|
[DebuggerNonUserCode] get
|
|
{
|
|
this.m_hodown = MyProject.MyForms.Create__Instance__<hodown>(this.m_hodown);
|
|
return this.m_hodown;
|
|
}
|
|
[DebuggerNonUserCode] set
|
|
{
|
|
if (value == this.m_hodown)
|
|
return;
|
|
if (value != null)
|
|
throw new ArgumentException("Property can only be set to Nothing");
|
|
this.Dispose__Instance__<hodown>(ref this.m_hodown);
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
private static T Create__Instance__<T>(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("WinForms_RecursiveFormCreate"));
|
|
}
|
|
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("WinForms_SeeInnerException", ex.InnerException.Message), ex.InnerException);
|
|
}
|
|
finally
|
|
{
|
|
MyProject.MyForms.m_FormBeingCreated.Remove((object) typeof (T));
|
|
}
|
|
}
|
|
|
|
[DebuggerHidden]
|
|
private void Dispose__Instance__<T>(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>(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;
|
|
}
|
|
}
|
|
|
|
[EditorBrowsable(EditorBrowsableState.Never)]
|
|
[DebuggerHidden]
|
|
public ThreadSafeObjectProvider()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|