Advertisement
dissectmalware

Decompiled NET serialized object

Mar 31st, 2018
519
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 4.00 KB | None | 0 0
  1. using System;
  2. using System.Diagnostics;
  3. using System.Drawing;
  4. using System.Runtime.InteropServices;
  5. using System.Windows.Forms;
  6.  
  7. [ComVisible(true)]
  8. public class AingeiRai5HahfeiThe2 : Form
  9. {
  10.     private Button Aof0roo2eej3ahSh1eis;
  11.  
  12.     private TextBox ta4vo2Ahk5yaep2oShuu;
  13.  
  14.     private Label Xahhu2ieSh5ieFohPiGh;
  15.  
  16.     private string Tai8Aip0ua3ULi6zo1je;
  17.  
  18.     private int[] az5nieghahj0Iekah0ph = new int[22]
  19.     {
  20.         21,
  21.         91,
  22.         20,
  23.         0,
  24.         126,
  25.         0,
  26.         61,
  27.         24,
  28.         2,
  29.         82,
  30.         7,
  31.         17,
  32.         88,
  33.         22,
  34.         18,
  35.         21,
  36.         114,
  37.         117,
  38.         15,
  39.         80,
  40.         59,
  41.         24
  42.     };
  43.  
  44.     public AingeiRai5HahfeiThe2()
  45.     {
  46.         Jojei5ahyah2yah5laeK();
  47.     }
  48.  
  49.     public void Aa6bi4uidan4shahSee9(string ain7aek2Thae3Boh7ohh)
  50.     {
  51.         Tai8Aip0ua3ULi6zo1je = ain7aek2Thae3Boh7ohh.Substring(ain7aek2Thae3Boh7ohh.Length - 22);
  52.     }
  53.  
  54.     public void Joh8achoo1aepahjeiy9()
  55.     {
  56.         Application.Run(this);
  57.     }
  58.  
  59.     private void Jojei5ahyah2yah5laeK()
  60.     {
  61.         Aof0roo2eej3ahSh1eis = new Button();
  62.         ta4vo2Ahk5yaep2oShuu = new TextBox();
  63.         Xahhu2ieSh5ieFohPiGh = new Label();
  64.         base.SuspendLayout();
  65.         Aof0roo2eej3ahSh1eis.Location = new Point(12, 102);
  66.         Aof0roo2eej3ahSh1eis.Name = "btnOk";
  67.         Aof0roo2eej3ahSh1eis.Size = new Size(259, 23);
  68.         Aof0roo2eej3ahSh1eis.TabIndex = 0;
  69.         Aof0roo2eej3ahSh1eis.Text = "Validate";
  70.         Aof0roo2eej3ahSh1eis.UseVisualStyleBackColor = true;
  71.         Aof0roo2eej3ahSh1eis.Click += Eey4jie0raer7Miiphuo;
  72.         ta4vo2Ahk5yaep2oShuu.Location = new Point(12, 39);
  73.         ta4vo2Ahk5yaep2oShuu.Name = "magicTxt";
  74.         ta4vo2Ahk5yaep2oShuu.Size = new Size(259, 20);
  75.         ta4vo2Ahk5yaep2oShuu.TabIndex = 1;
  76.         Xahhu2ieSh5ieFohPiGh.AutoSize = true;
  77.         Xahhu2ieSh5ieFohPiGh.Location = new Point(9, 9);
  78.         Xahhu2ieSh5ieFohPiGh.Name = "magicLbl";
  79.         Xahhu2ieSh5ieFohPiGh.Size = new Size(110, 13);
  80.         Xahhu2ieSh5ieFohPiGh.TabIndex = 2;
  81.         Xahhu2ieSh5ieFohPiGh.Text = "Enter the magic word:";
  82.         base.ClientSize = new Size(284, 138);
  83.         base.Controls.Add(Xahhu2ieSh5ieFohPiGh);
  84.         base.Controls.Add(ta4vo2Ahk5yaep2oShuu);
  85.         base.Controls.Add(Aof0roo2eej3ahSh1eis);
  86.         base.Name = "SoStealthy";
  87.         base.ResumeLayout(false);
  88.         base.PerformLayout();
  89.     }
  90.  
  91.     private bool MeeBish0iotho9biBuJi(string magicWord)
  92.     {
  93.         for (int i = 0; i < Tai8Aip0ua3ULi6zo1je.Length; i++)
  94.         {
  95.             uint num = (uint)(magicWord[i] ^ Tai8Aip0ua3ULi6zo1je[i]);
  96.             if (num != az5nieghahj0Iekah0ph[i])
  97.             {
  98.                 return false;
  99.             }
  100.         }
  101.         return true;
  102.     }
  103.  
  104.     private void Eey4jie0raer7Miiphuo(object ahrah0iwoChohs2dai4a, EventArgs ahH5eedeiYohquei8goo)
  105.     {
  106.         if (Debugger.IsAttached)
  107.         {
  108.             MessageBox.Show("Don't try your dirty tricks on me!");
  109.         }
  110.         else if (ta4vo2Ahk5yaep2oShuu.Text.Length == 0)
  111.         {
  112.             MessageBox.Show("You must fill this field!");
  113.         }
  114.         else if (MeeBish0iotho9biBuJi(ta4vo2Ahk5yaep2oShuu.Text))
  115.         {
  116.             MessageBox.Show("SUCCESS !\nSubmit NDH{" + ta4vo2Ahk5yaep2oShuu.Text + "} to validate.");
  117.         }
  118.         else
  119.         {
  120.             MessageBox.Show("YOU DIDN'T SAY THE MAGIC WORD !!!");
  121.         }
  122.     }
  123. }
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132. ############################### AssemblyInfo.cs ##############################################
  133. using System.Diagnostics;
  134. using System.Reflection;
  135. using System.Runtime.CompilerServices;
  136. using System.Runtime.InteropServices;
  137.  
  138. [assembly: CompilationRelaxations(8)]
  139. [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
  140. [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
  141. [assembly: AssemblyTitle("ExampleAssembly")]
  142. [assembly: AssemblyDescription("Example Assembly for DotNetToJScript")]
  143. [assembly: AssemblyConfiguration("")]
  144. [assembly: AssemblyCompany("")]
  145. [assembly: AssemblyProduct("ExampleAssembly")]
  146. [assembly: AssemblyCopyright("Copyright © James Forshaw 2017")]
  147. [assembly: AssemblyTrademark("")]
  148. [assembly: ComVisible(false)]
  149. [assembly: Guid("56598f1c-6d88-4994-a392-af337abe5777")]
  150. [assembly: AssemblyFileVersion("1.0.0.0")]
  151. [assembly: AssemblyVersion("1.0.0.0")]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement