Code:
using Namespace_2;
using Namespace_3;
using Namespace_4;
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
namespace Namespace_5
{
internal class Type_1
{
private static int int32_0;
private static string string_1;
private static string string_2;
private static string string_3;
private static string string_4;
private static string string_5;
// string[]_6
private static string[] stringu005bu005d_6;
private static string string_7;
static Type_1()
{
Type_12.Method_74();
Type_11.Method_72();
Type_1.int32_0 = 0;
Type_1.string_1 = "";
Type_1.string_2 = "";
Type_1.string_3 = Type_3.Method_15(2908);
Type_1.string_4 = "";
Type_1.string_5 = "";
string[] strArrays = new string[] { Type_3.Method_15(3072), Type_3.Method_15(3082), Type_3.Method_15(3094), Type_3.Method_15(3110), Type_3.Method_15(3126) };
Type_1.stringu005bu005d_6 = strArrays;
Type_1.string_7 = Type_3.Method_15(3142);
}
public Type_1()
{
Type_11.Method_72();
base();
}
private static void Method_0(string[] stringu005bu005d_0)
{
Type_12.Method_74();
Type_1.Method_1();
}
public static void Method_1()
{
Console.Title = Type_3.Method_15(0);
Console.SetWindowSize(80, 25);
Console.WriteLine("");
Console.WriteLine(Type_1.string_7);
Console.WriteLine(Type_1.string_3);
Console.WriteLine(Type_3.Method_15(60));
Type_1.Method_2();
Console.WriteLine("");
Console.WriteLine(Type_3.Method_15(104));
Console.ReadLine();
}
public static string Method_10(string string_0)
{
string upper = Type_1.Method_13(string_0, new SHA256CryptoServiceProvider()).Replace(Type_3.Method_15(2890), "").ToUpper();
return upper;
}
public static string Method_11(string string_0)
{
string upper = Type_1.Method_13(string_0, new SHA384CryptoServiceProvider()).Replace(Type_3.Method_15(2896), "").ToUpper();
return upper;
}
public static string Method_12(string string_0)
{
string upper = Type_1.Method_13(string_0, new SHA512CryptoServiceProvider()).Replace(Type_3.Method_15(2902), "").ToUpper();
return upper;
}
public static string Method_13(string string_0, HashAlgorithm hashalgorithm_1)
{
byte[] bytes = Encoding.UTF8.GetBytes(string_0);
byte[] numArray = hashalgorithm_1.ComputeHash(bytes);
string str = BitConverter.ToString(numArray);
return str;
}
public static void Method_2()
{
Console.Write(Type_3.Method_15(152));
Type_1.string_1 = Console.ReadLine();
if (Type_1.string_1 == "")
{
Console.WriteLine(Type_1.string_3);
Type_1.Method_2();
}
else
{
Console.Write(Type_3.Method_15(180));
Type_1.string_2 = Console.ReadLine().ToUpper();
if (Type_1.string_2 == "")
{
Console.WriteLine(Type_1.string_3);
Type_1.Method_2();
}
else
{
Console.WriteLine("");
Type_1.Method_3();
}
}
}
public static void Method_3()
{
bool flag;
bool flag1;
Console.WriteLine(Type_3.Method_15(196));
Console.Write(Type_3.Method_15(282));
Type_1.string_4 = Console.ReadLine();
flag = (Type_1.string_4 == Type_3.Method_15(288) || Type_1.string_4 == Type_3.Method_15(294) || Type_1.string_4 == Type_3.Method_15(300) ? false : !(Type_1.string_4 == Type_3.Method_15(306)));
if (flag)
{
Console.WriteLine(Type_3.Method_15(324));
Console.WriteLine(Type_1.string_3);
Type_1.Method_3();
}
else
{
flag1 = (Type_1.string_4 == Type_3.Method_15(312) ? false : !(Type_1.string_4 == Type_3.Method_15(318)));
if (flag1)
{
Type_1.Method_4();
}
else
{
Console.WriteLine(Type_1.string_3);
Type_1.Method_2();
}
}
}
public static void Method_4()
{
string[] strArrays = new string[] { Type_3.Method_15(414), Type_3.Method_15(420), Type_3.Method_15(426), Type_3.Method_15(432), Type_3.Method_15(438) };
string[] strArrays1 = strArrays;
int num = 0;
Console.WriteLine(Type_1.string_3);
Console.WriteLine(Type_3.Method_15(444));
Console.WriteLine(Type_3.Method_15(526));
Console.Write(Type_3.Method_15(656));
Type_1.string_5 = Console.ReadLine();
string[] strArrays2 = strArrays1;
for (int i = 0; i < (int)strArrays2.Length; i++)
{
string str = strArrays2[i];
if (Type_1.string_5 == str)
{
num = 1;
}
}
if (num != 1)
{
Console.WriteLine(Type_3.Method_15(662));
Console.WriteLine("");
Type_1.Method_4();
}
else
{
Console.WriteLine(Type_1.string_3);
Type_1.Method_5();
}
}
public static void Method_5()
{
bool flag;
bool flag1;
Console.WriteLine(string.Concat(Type_3.Method_15(752), Type_1.string_1));
Console.WriteLine(string.Concat(Type_3.Method_15(780), Type_1.string_2));
try
{
int num = Convert.ToInt32(Type_1.string_5);
Type_1.string_5 = Type_1.stringu005bu005d_6[num];
}
catch (Exception exception)
{
}
Console.WriteLine(string.Concat(Type_3.Method_15(796), Type_1.string_5));
Console.WriteLine("");
Console.WriteLine(Type_3.Method_15(822));
Console.Write(Type_3.Method_15(908));
string str = Console.ReadLine();
flag = (str == Type_3.Method_15(914) || str == Type_3.Method_15(920) || str == Type_3.Method_15(926) ? false : !(str == Type_3.Method_15(932)));
if (flag)
{
Console.WriteLine(Type_3.Method_15(950));
Console.WriteLine(Type_1.string_3);
Type_1.Method_5();
}
else
{
flag1 = (str == Type_3.Method_15(938) ? false : !(str == Type_3.Method_15(944)));
if (flag1)
{
Console.WriteLine(Type_1.string_3);
Type_1.Method_6();
}
else
{
Console.Clear();
Type_1.Method_1();
}
}
}
public static void Method_6()
{
string str;
string str1;
object[] objArray;
try
{
StreamReader streamReader = new StreamReader(Type_1.string_1);
int num = 0;
string string5 = Type_1.string_5;
if (string5 != null)
{
if (string5 == Type_3.Method_15(1040))
{
while (true)
{
string str2 = streamReader.ReadLine();
str = str2;
if (str2 == null)
{
break;
}
str1 = Type_1.Method_8(str);
if (str1 != Type_1.string_2)
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(1252), str, Type_3.Method_15(1264), str1, Type_3.Method_15(1274), Type_1.int32_0, Type_3.Method_15(1282) };
Console.WriteLine(string.Concat(objArray));
}
else
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(1110), str, Type_3.Method_15(1122), str1, Type_3.Method_15(1132), Type_1.int32_0, Type_3.Method_15(1140) };
Console.WriteLine(string.Concat(objArray));
Console.WriteLine(Type_1.string_3);
Console.WriteLine(string.Concat(Type_3.Method_15(1146), str, Type_3.Method_15(1246)));
Type_1.Method_7(str1, str);
num = 1;
break;
}
}
if (num == 0)
{
Console.WriteLine(Type_1.string_3);
Console.WriteLine(Type_3.Method_15(1288));
}
}
else
{
if (string5 == Type_3.Method_15(1050))
{
while (true)
{
string str3 = streamReader.ReadLine();
str = str3;
if (str3 == null)
{
break;
}
str1 = Type_1.Method_9(str);
if (str1 != Type_1.string_2)
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(1592), str, Type_3.Method_15(1604), str1, Type_3.Method_15(1614), Type_1.int32_0, Type_3.Method_15(1622) };
Console.WriteLine(string.Concat(objArray));
}
else
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(1450), str, Type_3.Method_15(1462), str1, Type_3.Method_15(1472), Type_1.int32_0, Type_3.Method_15(1480) };
Console.WriteLine(string.Concat(objArray));
Console.WriteLine(Type_1.string_3);
Console.WriteLine(string.Concat(Type_3.Method_15(1486), str, Type_3.Method_15(1586)));
Type_1.Method_7(str1, str);
num = 1;
break;
}
}
if (num == 0)
{
Console.WriteLine(Type_1.string_3);
Console.WriteLine(Type_3.Method_15(1628));
}
}
else
{
if (string5 == Type_3.Method_15(1062))
{
while (true)
{
string str4 = streamReader.ReadLine();
str = str4;
if (str4 == null)
{
break;
}
str1 = Type_1.Method_10(str);
if (str1 != Type_1.string_2)
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(1932), str, Type_3.Method_15(1944), str1, Type_3.Method_15(1954), Type_1.int32_0, Type_3.Method_15(1962) };
Console.WriteLine(string.Concat(objArray));
}
else
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(1790), str, Type_3.Method_15(1802), str1, Type_3.Method_15(1812), Type_1.int32_0, Type_3.Method_15(1820) };
Console.WriteLine(string.Concat(objArray));
Console.WriteLine(Type_1.string_3);
Console.WriteLine(string.Concat(Type_3.Method_15(1826), str, Type_3.Method_15(1926)));
Type_1.Method_7(str1, str);
num = 1;
break;
}
}
if (num == 0)
{
Console.WriteLine(Type_1.string_3);
Console.WriteLine(Type_3.Method_15(1968));
}
}
else
{
if (string5 == Type_3.Method_15(1078))
{
while (true)
{
string str5 = streamReader.ReadLine();
str = str5;
if (str5 == null)
{
break;
}
str1 = Type_1.Method_11(str);
if (str1 != Type_1.string_2)
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(2272), str, Type_3.Method_15(2284), str1, Type_3.Method_15(2294), Type_1.int32_0, Type_3.Method_15(2302) };
Console.WriteLine(string.Concat(objArray));
}
else
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(2130), str, Type_3.Method_15(2142), str1, Type_3.Method_15(2152), Type_1.int32_0, Type_3.Method_15(2160) };
Console.WriteLine(string.Concat(objArray));
Console.WriteLine(Type_1.string_3);
Console.WriteLine(string.Concat(Type_3.Method_15(2166), str, Type_3.Method_15(2266)));
Type_1.Method_7(str1, str);
num = 1;
break;
}
}
if (num == 0)
{
Console.WriteLine(Type_1.string_3);
Console.WriteLine(Type_3.Method_15(2308));
}
}
else
{
if (string5 != Type_3.Method_15(1094))
{
Console.WriteLine(Type_3.Method_15(2810));
return;
}
while (true)
{
string str6 = streamReader.ReadLine();
str = str6;
if (str6 == null)
{
break;
}
str1 = Type_1.Method_12(str);
if (str1 != Type_1.string_2)
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(2612), str, Type_3.Method_15(2624), str1, Type_3.Method_15(2634), Type_1.int32_0, Type_3.Method_15(2642) };
Console.WriteLine(string.Concat(objArray));
}
else
{
Type_1.int32_0 = Type_1.int32_0 + 1;
objArray = new object[] { Type_3.Method_15(2470), str, Type_3.Method_15(2482), str1, Type_3.Method_15(2492), Type_1.int32_0, Type_3.Method_15(2500) };
Console.WriteLine(string.Concat(objArray));
Console.WriteLine(Type_1.string_3);
Console.WriteLine(string.Concat(Type_3.Method_15(2506), str, Type_3.Method_15(2606)));
Type_1.Method_7(str1, str);
num = 1;
break;
}
}
if (num == 0)
{
Console.WriteLine(Type_1.string_3);
Console.WriteLine(Type_3.Method_15(2648));
}
}
}
}
}
}
else
{
Console.WriteLine(Type_3.Method_15(2810));
return;
}
}
catch (Exception exception1)
{
Exception exception = exception1;
Console.WriteLine(string.Concat(Type_3.Method_15(2864), exception.Message));
}
}
public static void Method_7(string string_0, string string_1)
{
}
public static string Method_8(string string_0)
{
string upper = Type_1.Method_13(string_0, new MD5CryptoServiceProvider()).Replace(Type_3.Method_15(2878), "").ToUpper();
return upper;
}
public static string Method_9(string string_0)
{
string upper = Type_1.Method_13(string_0, new SHA1CryptoServiceProvider()).Replace(Type_3.Method_15(2884), "").ToUpper();
return upper;
}
}
}
I referenced the wrong namespace from the solution initially. Which contain the data for what things like "Type_3.Method_15(2884)" are.