Упрости код:

```c#

using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq.Expressions;
using System.Net;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Timers;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Threading;
using FontAwesome.WPF;
using Microsoft.CSharp.RuntimeBinder;
using Newtonsoft.Json.Linq;
using UmbrellaDesign.Properties;

namespace UmbrellaDesign
{
	// Token: 0x0200000A RID: 10
	public class Window1 : global::System.Windows.Window, global::System.Windows.Markup.IComponentConnector, global::System.Windows.Markup.IStyleConnector
	{
		// Token: 0x06000021 RID: 33
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall, CharSet = global::System.Runtime.InteropServices.CharSet.Ansi)]
		private static extern global::System.IntPtr logs_handler();

		// Token: 0x06000022 RID: 34 RVA: 0x00002150 File Offset: 0x00000350
		public static string logs_handler_get()
		{
			return global::System.Runtime.InteropServices.Marshal.PtrToStringAnsi(global::UmbrellaDesign.Window1.logs_handler());
		}

		// Token: 0x17000015 RID: 21
		// (get) Token: 0x06000023 RID: 35
		private static extern global::System.IntPtr cheatList
		{
			[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall, CharSet = global::System.Runtime.InteropServices.CharSet.Ansi)]
			get;
		}

		// Token: 0x06000024 RID: 36 RVA: 0x0000215C File Offset: 0x0000035C
		public static string cheatList_get()
		{
			return global::System.Runtime.InteropServices.Marshal.PtrToStringAnsi(global::UmbrellaDesign.Window1.cheatList);
		}

		// Token: 0x06000025 RID: 37
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern bool launch_game(string custom_params, string cheat_id, string game);

		// Token: 0x06000026 RID: 38
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern bool launch_game_v2(string custom_params, string cheat_id, string game);

		// Token: 0x06000027 RID: 39
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern bool launch_task(string target_process, string cheat_id, int flags, string custom_param);

		// Token: 0x06000028 RID: 40
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern bool wait_process(string target_process, int need_count, int timeout);

		// Token: 0x06000029 RID: 41
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern int check_driver(string _target, bool check);

		// Token: 0x0600002A RID: 42
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern int kill_process(string _target, bool check);

		// Token: 0x0600002B RID: 43
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern int check_connect();

		// Token: 0x0600002C RID: 44
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern int connect_client();

		// Token: 0x0600002D RID: 45
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall, EntryPoint = "refresh_session")]
		private static extern int refresh_session_1();

		// Token: 0x0600002E RID: 46
		[global::System.Runtime.InteropServices.DllImport("LoaderKernel.dll", CallingConvention = global::System.Runtime.InteropServices.CallingConvention.StdCall)]
		private static extern int auth(string login, string password);

		// Token: 0x0600002F RID: 47 RVA: 0x00002168 File Offset: 0x00000368
		private void loadCustomSettings()
		{
			base.Dispatcher.InvokeAsync(delegate
			{
				if (global::UmbrellaDesign.MainWindow.json_config_data == null)
				{
					return;
				}
				global::Newtonsoft.Json.Linq.JObject json_config_data = global::UmbrellaDesign.MainWindow.json_config_data;
				global::UmbrellaDesign.Customization.loadIcon(this, "ico", json_config_data);
				global::UmbrellaDesign.Customization.loadImage(this.logo_image, "logo_cp", json_config_data);
				global::UmbrellaDesign.Customization.loadEllipseImage(this.controlPanel_logo, "default_avatar", json_config_data);
				global::UmbrellaDesign.Customization.loadTextBlock(this.first_caption, "first_caption", json_config_data);
				global::UmbrellaDesign.Customization.loadTextBlock(this.second_caption, "second_caption", json_config_data);
			});
		}

		// Token: 0x06000030 RID: 48 RVA: 0x00004568 File Offset: 0x00002768
		private void log_handler(object sender, global::System.EventArgs e)
		{
			string log_item = global::UmbrellaDesign.Window1.logs_handler_get();
			if (log_item != null)
			{
				byte[] array = global::System.Convert.FromBase64String(log_item);
				log_item = global::System.Text.Encoding.ASCII.GetString(array);
				base.Dispatcher.InvokeAsync(delegate
				{
					if (log_item.ToLower().IndexOf("hwid") == -1)
					{
						if (log_item.ToLower().IndexOf("error") == -1)
						{
							this.log_window.AppendText(log_item + "\n");
							return;
						}
					}
					if (log_item.ToLower().IndexOf("hwid") != -1)
					{
						this.m_expire.Text = "Invalid HWID";
						this.m_expire.Foreground = new global::System.Windows.Media.SolidColorBrush(global::System.Windows.Media.Color.FromArgb(0xBE, 0xF0, 0, 0));
						this.m_expire.FontWeight = global::System.Windows.FontWeights.Normal;
					}
					global::System.Windows.Documents.TextRange textRange = new global::System.Windows.Documents.TextRange(this.log_window.Document.ContentEnd, this.log_window.Document.ContentEnd);
					textRange.Text = log_item + "\n";
					textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.ForegroundProperty, global::System.Windows.Media.Brushes.Red);
					textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.FontWeightProperty, global::System.Windows.FontWeights.Normal);
				});
			}
		}

		// Token: 0x06000031 RID: 49 RVA: 0x000045CC File Offset: 0x000027CC
		public static global::System.DateTime UnixTimeStampToDateTime(double unixTimeStamp)
		{
			global::System.DateTime dateTime = new global::System.DateTime(0x7B2, 1, 1, 0, 0, 0, 0, global::System.DateTimeKind.Utc);
			dateTime = dateTime.AddSeconds(unixTimeStamp).ToLocalTime();
			return dateTime;
		}

		// Token: 0x06000032 RID: 50 RVA: 0x00004600 File Offset: 0x00002800
		private void updateSubData()
		{
			global::UmbrellaDesign.Window1.<>c__DisplayClass23_0 CS$<>8__locals1 = new global::UmbrellaDesign.Window1.<>c__DisplayClass23_0();
			CS$<>8__locals1.<>4__this = this;
			CS$<>8__locals1.CheatName1 = "Umbrella [DotA2]";
			CS$<>8__locals1.CheatName2 = "AquaHook [DotA2]";
			if (global::UmbrellaDesign.MainWindow.json_config_data != null)
			{
				object obj = global::UmbrellaDesign.MainWindow.json_config_data.SelectToken("NamesHack.CheatName1");
				global::UmbrellaDesign.Window1.<>c__DisplayClass23_0 CS$<>8__locals2 = CS$<>8__locals1;
				if (global::UmbrellaDesign.Window1.<>o__23.<>p__1 == null)
				{
					global::UmbrellaDesign.Window1.<>o__23.<>p__1 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
				}
				global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target = global::UmbrellaDesign.Window1.<>o__23.<>p__1.Target;
				global::System.Runtime.CompilerServices.CallSite <>p__ = global::UmbrellaDesign.Window1.<>o__23.<>p__1;
				if (global::UmbrellaDesign.Window1.<>o__23.<>p__0 == null)
				{
					global::UmbrellaDesign.Window1.<>o__23.<>p__0 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
					{
						global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
						global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
					}));
				}
				string text;
				if (!target(<>p__, global::UmbrellaDesign.Window1.<>o__23.<>p__0.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__0, obj, null)))
				{
					text = CS$<>8__locals1.CheatName1;
				}
				else
				{
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__2 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__2 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
					}
					text = global::UmbrellaDesign.Window1.<>o__23.<>p__2.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__2, obj);
				}
				CS$<>8__locals2.CheatName1 = text;
				object obj2 = global::UmbrellaDesign.MainWindow.json_config_data.SelectToken("NamesHack.CheatName2");
				global::UmbrellaDesign.Window1.<>c__DisplayClass23_0 CS$<>8__locals3 = CS$<>8__locals1;
				if (global::UmbrellaDesign.Window1.<>o__23.<>p__4 == null)
				{
					global::UmbrellaDesign.Window1.<>o__23.<>p__4 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
				}
				global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target2 = global::UmbrellaDesign.Window1.<>o__23.<>p__4.Target;
				global::System.Runtime.CompilerServices.CallSite <>p__2 = global::UmbrellaDesign.Window1.<>o__23.<>p__4;
				if (global::UmbrellaDesign.Window1.<>o__23.<>p__3 == null)
				{
					global::UmbrellaDesign.Window1.<>o__23.<>p__3 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
					{
						global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
						global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
					}));
				}
				string text2;
				if (!target2(<>p__2, global::UmbrellaDesign.Window1.<>o__23.<>p__3.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__3, obj2, null)))
				{
					text2 = CS$<>8__locals1.CheatName2;
				}
				else
				{
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__5 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__5 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
					}
					text2 = global::UmbrellaDesign.Window1.<>o__23.<>p__5.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__5, obj2);
				}
				CS$<>8__locals3.CheatName2 = text2;
			}
			string text3 = global::UmbrellaDesign.Window1.cheatList_get();
			string text4 = "";
			try
			{
				global::Newtonsoft.Json.Linq.JObject.Parse(text3);
				text4 = text3;
			}
			catch (global::System.Exception)
			{
				byte[] array = global::System.Convert.FromBase64String(text3);
				text4 = global::System.Text.Encoding.ASCII.GetString(array);
			}
			CS$<>8__locals1.json_cheat_list = global::Newtonsoft.Json.Linq.JObject.Parse(text4);
			base.Dispatcher.InvokeAsync(delegate
			{
				if ((long)CS$<>8__locals1.json_cheat_list["exp"] == 0L)
				{
					CS$<>8__locals1.<>4__this.subscriber = true;
					CS$<>8__locals1.<>4__this.m_expire.Text = "Expire date: Never";
				}
				else if ((long)CS$<>8__locals1.json_cheat_list["exp"] == -1L)
				{
					CS$<>8__locals1.<>4__this.m_expire.Text = "No subscription";
				}
				else
				{
					CS$<>8__locals1.<>4__this.subscriber = true;
					CS$<>8__locals1.<>4__this.m_expire.Text = "Expire date: " + global::UmbrellaDesign.Window1.UnixTimeStampToDateTime((double)(long)CS$<>8__locals1.json_cheat_list["exp"]).ToString("d");
				}
				if ((string)CS$<>8__locals1.json_cheat_list["avatar"] != "null")
				{
					global::System.Windows.Media.Imaging.BitmapImage bitmapImage = new global::System.Windows.Media.Imaging.BitmapImage();
					bitmapImage.BeginInit();
					bitmapImage.UriSource = new global::System.Uri((string)CS$<>8__locals1.json_cheat_list["avatar"]);
					bitmapImage.EndInit();
					CS$<>8__locals1.<>4__this.controlPanel_logo.ImageSource = bitmapImage;
				}
				CS$<>8__locals1.<>4__this.m_name.Text = global::UmbrellaDesign.MainWindow.login;
				global::System.IO.Path.GetDirectoryName(global::System.Reflection.Assembly.GetExecutingAssembly().Location).ToLower();
				foreach (global::Newtonsoft.Json.Linq.JToken jtoken in ((global::Newtonsoft.Json.Linq.JArray)CS$<>8__locals1.json_cheat_list["list"]))
				{
					object obj3 = jtoken.SelectToken("name");
					object obj4 = jtoken.SelectToken("key");
					object obj5 = jtoken.SelectToken("game");
					object obj6 = jtoken.SelectToken("last_update");
					object obj7 = jtoken.SelectToken("status");
					object obj8 = jtoken.SelectToken("is_free");
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__12 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__12 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
					}
					global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target3 = global::UmbrellaDesign.Window1.<>o__23.<>p__12.Target;
					global::System.Runtime.CompilerServices.CallSite <>p__3 = global::UmbrellaDesign.Window1.<>o__23.<>p__12;
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__6 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__6 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
						{
							global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
							global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
						}));
					}
					object obj9 = global::UmbrellaDesign.Window1.<>o__23.<>p__6.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__6, obj8, null);
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__9 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__9 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsFalse, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
					}
					object obj11;
					if (!global::UmbrellaDesign.Window1.<>o__23.<>p__9.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__9, obj9))
					{
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__8 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__8 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.BinaryOperationLogical, global::System.Linq.Expressions.ExpressionType.And, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.UseCompileTimeType, null)
							}));
						}
						global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object> target4 = global::UmbrellaDesign.Window1.<>o__23.<>p__8.Target;
						global::System.Runtime.CompilerServices.CallSite <>p__4 = global::UmbrellaDesign.Window1.<>o__23.<>p__8;
						object obj10 = obj9;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__7 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__7 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(bool), typeof(global::UmbrellaDesign.Window1)));
						}
						obj11 = target4(<>p__4, obj10, global::UmbrellaDesign.Window1.<>o__23.<>p__7.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__7, obj8));
					}
					else
					{
						obj11 = obj9;
					}
					object obj12 = obj11;
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__11 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__11 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsFalse, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
					}
					object obj13;
					if (!global::UmbrellaDesign.Window1.<>o__23.<>p__11.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__11, obj12))
					{
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__10 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__10 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.BinaryOperationLogical, global::System.Linq.Expressions.ExpressionType.And, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.UseCompileTimeType, null)
							}));
						}
						obj13 = global::UmbrellaDesign.Window1.<>o__23.<>p__10.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__10, obj12, !global::UmbrellaDesign.MainWindow.display_free_products);
					}
					else
					{
						obj13 = obj12;
					}
					if (!target3(<>p__3, obj13))
					{
						if (global::UmbrellaDesign.MainWindow.json_config_data != null)
						{
							global::UmbrellaDesign.MainWindow.json_config_data.SelectToken("first_caption.Text.value");
						}
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__13 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__13 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						string text5 = global::UmbrellaDesign.Window1.<>o__23.<>p__13.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__13, obj3);
						text5 = text5.Replace("CheatName1", CS$<>8__locals1.CheatName1);
						text5 = text5.Replace("CheatName2", CS$<>8__locals1.CheatName2);
						CS$<>8__locals1.<>4__this.cheat_list_box.Items.Add(text5);
						global::UmbrellaDesign.Window1.cheat_info cheat_info = default(global::UmbrellaDesign.Window1.cheat_info);
						cheat_info.useAntivac = false;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__14 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__14 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						cheat_info.key = global::UmbrellaDesign.Window1.<>o__23.<>p__14.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__14, obj4);
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__15 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__15 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						cheat_info.game = global::UmbrellaDesign.Window1.<>o__23.<>p__15.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__15, obj5);
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__20 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__20 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
						}
						global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target5 = global::UmbrellaDesign.Window1.<>o__23.<>p__20.Target;
						global::System.Runtime.CompilerServices.CallSite <>p__5 = global::UmbrellaDesign.Window1.<>o__23.<>p__20;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__16 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__16 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
							}));
						}
						obj12 = global::UmbrellaDesign.Window1.<>o__23.<>p__16.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__16, obj6, null);
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__19 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__19 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsFalse, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
						}
						object obj15;
						if (!global::UmbrellaDesign.Window1.<>o__23.<>p__19.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__19, obj12))
						{
							if (global::UmbrellaDesign.Window1.<>o__23.<>p__18 == null)
							{
								global::UmbrellaDesign.Window1.<>o__23.<>p__18 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.BinaryOperationLogical, global::System.Linq.Expressions.ExpressionType.And, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
								{
									global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
									global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.UseCompileTimeType, null)
								}));
							}
							global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object> target6 = global::UmbrellaDesign.Window1.<>o__23.<>p__18.Target;
							global::System.Runtime.CompilerServices.CallSite <>p__6 = global::UmbrellaDesign.Window1.<>o__23.<>p__18;
							object obj14 = obj12;
							if (global::UmbrellaDesign.Window1.<>o__23.<>p__17 == null)
							{
								global::UmbrellaDesign.Window1.<>o__23.<>p__17 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
							}
							obj15 = target6(<>p__6, obj14, global::UmbrellaDesign.Window1.<>o__23.<>p__17.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__17, obj6) != "");
						}
						else
						{
							obj15 = obj12;
						}
						int num;
						if (!target5(<>p__5, obj15))
						{
							num = 0;
						}
						else
						{
							if (global::UmbrellaDesign.Window1.<>o__23.<>p__21 == null)
							{
								global::UmbrellaDesign.Window1.<>o__23.<>p__21 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
							}
							num = int.Parse(global::UmbrellaDesign.Window1.<>o__23.<>p__21.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__21, obj6));
						}
						int num2 = num;
						global::System.DateTime dateTime = new global::System.DateTime(0x7B2, 1, 1, 0, 0, 0, 0).AddSeconds((double)num2);
						cheat_info.update_date = dateTime;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__22 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__22 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						cheat_info.status = global::UmbrellaDesign.Window1.<>o__23.<>p__22.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__22, obj7);
						object obj16 = jtoken.SelectToken("os_bit");
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__23 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__23 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.Equal, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
							}));
						}
						obj12 = global::UmbrellaDesign.Window1.<>o__23.<>p__23.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__23, obj16, null);
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__27 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__27 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
						}
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__27.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__27, obj12))
						{
							goto IL_0963;
						}
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__26 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__26 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
						}
						global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target7 = global::UmbrellaDesign.Window1.<>o__23.<>p__26.Target;
						global::System.Runtime.CompilerServices.CallSite <>p__7 = global::UmbrellaDesign.Window1.<>o__23.<>p__26;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__25 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__25 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.BinaryOperationLogical, global::System.Linq.Expressions.ExpressionType.Or, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.UseCompileTimeType, null)
							}));
						}
						global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object> target8 = global::UmbrellaDesign.Window1.<>o__23.<>p__25.Target;
						global::System.Runtime.CompilerServices.CallSite <>p__8 = global::UmbrellaDesign.Window1.<>o__23.<>p__25;
						object obj17 = obj12;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__24 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__24 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						if (target7(<>p__7, target8(<>p__8, obj17, global::UmbrellaDesign.Window1.<>o__23.<>p__24.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__24, obj16) == "null")))
						{
							goto IL_0963;
						}
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__28 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__28 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						cheat_info.os_bit = global::UmbrellaDesign.Window1.<>o__23.<>p__28.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__28, obj16);
						IL_096F:
						if (cheat_info.game == "custom_rules")
						{
							cheat_info.custom_Rules = new global::System.Collections.Generic.List<global::UmbrellaDesign.Window1.custom_rule>();
							global::Newtonsoft.Json.Linq.JToken jtoken2 = (global::Newtonsoft.Json.Linq.JArray)jtoken.SelectToken("custom_rules");
							int num3 = 0;
							foreach (global::Newtonsoft.Json.Linq.JToken jtoken3 in jtoken2.Children())
							{
								global::UmbrellaDesign.Window1.custom_rule custom_rule = default(global::UmbrellaDesign.Window1.custom_rule);
								custom_rule.name = (string)jtoken3.SelectToken("name");
								custom_rule.type = (string)jtoken3.SelectToken("type");
								custom_rule.step = num3++;
								object obj18 = jtoken3.SelectToken("inject_flags");
								if (global::UmbrellaDesign.Window1.<>o__23.<>p__30 == null)
								{
									global::UmbrellaDesign.Window1.<>o__23.<>p__30 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
								}
								global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target9 = global::UmbrellaDesign.Window1.<>o__23.<>p__30.Target;
								global::System.Runtime.CompilerServices.CallSite <>p__9 = global::UmbrellaDesign.Window1.<>o__23.<>p__30;
								if (global::UmbrellaDesign.Window1.<>o__23.<>p__29 == null)
								{
									global::UmbrellaDesign.Window1.<>o__23.<>p__29 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
									{
										global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
										global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
									}));
								}
								if (target9(<>p__9, global::UmbrellaDesign.Window1.<>o__23.<>p__29.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__29, obj18, null)))
								{
									if (global::UmbrellaDesign.Window1.<>o__23.<>p__31 == null)
									{
										global::UmbrellaDesign.Window1.<>o__23.<>p__31 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
									}
									custom_rule.inject_flags = int.Parse(global::UmbrellaDesign.Window1.<>o__23.<>p__31.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__31, obj18));
								}
								else
								{
									custom_rule.inject_flags = 0x8004;
								}
								custom_rule.target_process = (string)jtoken3.SelectToken("target_process");
								if (custom_rule.target_process == "_antivac_")
								{
									cheat_info.useAntivac = true;
								}
								custom_rule.hash = (string)jtoken3.SelectToken("key");
								object obj19 = jtoken3.SelectToken("custom_param");
								if (global::UmbrellaDesign.Window1.<>o__23.<>p__33 == null)
								{
									global::UmbrellaDesign.Window1.<>o__23.<>p__33 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
								}
								global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target10 = global::UmbrellaDesign.Window1.<>o__23.<>p__33.Target;
								global::System.Runtime.CompilerServices.CallSite <>p__10 = global::UmbrellaDesign.Window1.<>o__23.<>p__33;
								if (global::UmbrellaDesign.Window1.<>o__23.<>p__32 == null)
								{
									global::UmbrellaDesign.Window1.<>o__23.<>p__32 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
									{
										global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
										global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
									}));
								}
								if (target10(<>p__10, global::UmbrellaDesign.Window1.<>o__23.<>p__32.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__32, obj19, null)))
								{
									if (global::UmbrellaDesign.Window1.<>o__23.<>p__34 == null)
									{
										global::UmbrellaDesign.Window1.<>o__23.<>p__34 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
									}
									custom_rule.custom_param = global::UmbrellaDesign.Window1.<>o__23.<>p__34.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__34, obj19);
								}
								else
								{
									custom_rule.custom_param = "";
								}
								cheat_info.custom_Rules.Add(custom_rule);
							}
						}
						CS$<>8__locals1.<>4__this.kv_launch[CS$<>8__locals1.<>4__this.cheat_list_box.Items.Count - 1] = cheat_info;
						string cheat_id = global::UmbrellaDesign.Properties.Settings.Default.cheat_id;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__35 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__35 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						if (cheat_id == global::UmbrellaDesign.Window1.<>o__23.<>p__35.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__35, obj4))
						{
							CS$<>8__locals1.<>4__this.sp_update_data.Visibility = global::System.Windows.Visibility.Visible;
							CS$<>8__locals1.<>4__this.sp_status.Visibility = global::System.Windows.Visibility.Visible;
							CS$<>8__locals1.<>4__this.m_update_data.Text = cheat_info.update_date.ToLocalTime().ToString();
							CS$<>8__locals1.<>4__this.m_status.Text = ((cheat_info.status != null) ? cheat_info.status : "UnKnOwN");
							CS$<>8__locals1.<>4__this.m_status_label.Visibility = global::System.Windows.Visibility.Visible;
							CS$<>8__locals1.<>4__this.cheat_list_box.SelectedIndex = CS$<>8__locals1.<>4__this.cheat_list_box.Items.Count - 1;
							continue;
						}
						continue;
						IL_0963:
						cheat_info.os_bit = global::UmbrellaDesign.MainWindow.GetOSBit();
						goto IL_096F;
					}
				}
				if (CS$<>8__locals1.<>4__this.cheat_list_box.SelectedIndex == -1 && CS$<>8__locals1.<>4__this.cheat_list_box.Items.Count > 0)
				{
					CS$<>8__locals1.<>4__this.cheat_list_box.SelectedIndex = 0;
				}
			});
		}

		// Token: 0x06000033 RID: 51 RVA: 0x00004898 File Offset: 0x00002A98
		public static void save_blacklist(object sender, global::System.Timers.ElapsedEventArgs e)
		{
			string text = "";
			foreach (global::UmbrellaDesign.Window1.toxicData toxicData in global::UmbrellaDesign.Window1.<toxicGridItems>k__BackingField)
			{
				if (toxicData.Type == -1)
				{
					toxicData.Type = 0;
				}
				if (toxicData.SteamID != null)
				{
					text = string.Concat(new string[]
					{
						text,
						toxicData.SteamID.Trim(),
						"|",
						global::UmbrellaDesign.Window1.names_Type[toxicData.Type],
						"@",
						(toxicData.Comment == null) ? "" : toxicData.Comment.Trim(),
						"\n"
					});
				}
			}
			global::System.IO.File.WriteAllText("./toxics.data", text);
			global::UmbrellaDesign.Window1.save_timer = null;
		}

		// Token: 0x06000034 RID: 52 RVA: 0x00004978 File Offset: 0x00002B78
		public static void saveCollection()
		{
			if (global::UmbrellaDesign.Window1.save_timer != null)
			{
				global::UmbrellaDesign.Window1.save_timer.Stop();
				global::UmbrellaDesign.Window1.save_timer = null;
			}
			global::UmbrellaDesign.Window1.save_timer = new global::System.Timers.Timer(800.0);
			global::UmbrellaDesign.Window1.save_timer.Elapsed += global::UmbrellaDesign.Window1.save_blacklist;
			global::UmbrellaDesign.Window1.save_timer.AutoReset = false;
			global::UmbrellaDesign.Window1.save_timer.Start();
		}

		// Token: 0x06000035 RID: 53 RVA: 0x000049DC File Offset: 0x00002BDC
		private void loadBlackList()
		{
			try
			{
				global::System.IO.StreamReader streamReader = new global::System.IO.StreamReader("./toxics.data");
				string text = "";
				while (text != null)
				{
					text = streamReader.ReadLine();
					if (text == null)
					{
						break;
					}
					int num = text.IndexOf("|");
					int num2 = text.IndexOf("@");
					string text2 = text.Substring(0, num);
					string text3 = text.Substring(num + 1, num2 - num - 1);
					string text4 = text.Substring(num2 + 1);
					int num3;
					if (!(text3 == "both"))
					{
						if (!(text3 == "enemy"))
						{
							if (!(text3 == "ally"))
							{
								if (!(text3 == "snipe_both"))
								{
									if (!(text3 == "snipe_enemy"))
									{
										if (!(text3 == "snipe_ally"))
										{
											num3 = 0;
										}
										else
										{
											num3 = 5;
										}
									}
									else
									{
										num3 = 4;
									}
								}
								else
								{
									num3 = 3;
								}
							}
							else
							{
								num3 = 2;
							}
						}
						else
						{
							num3 = 1;
						}
					}
					else
					{
						num3 = 0;
					}
					if (text2 != null)
					{
						global::UmbrellaDesign.Window1.<toxicGridItems>k__BackingField.Add(new global::UmbrellaDesign.Window1.toxicData
						{
							SteamID = text2,
							Type = num3,
							Comment = text4
						});
					}
				}
				streamReader.Close();
			}
			catch
			{
			}
		}

		// Token: 0x06000036 RID: 54 RVA: 0x00004B1C File Offset: 0x00002D1C
		private void on_load_component()
		{
			this.loadBlackList();
			this.dataGrid.ItemsSource = global::UmbrellaDesign.Window1.<toxicGridItems>k__BackingField;
			this.startup_dota_parameters.Text = global::UmbrellaDesign.Properties.Settings.Default.custom_params;
			this.HwidSpooferCheckbox.IsChecked = new bool?(global::UmbrellaDesign.Properties.Settings.Default.hwid_spoofer_enabled);
			foreach (string text in global::UmbrellaDesign.MainWindow.logs_data.Split(new char[] { '\n' }))
			{
				if (text.Length != 0)
				{
					if (text.ToLower().IndexOf("hwid") == -1)
					{
						if (text.ToLower().IndexOf("error") == -1)
						{
							this.log_window.AppendText(text + "\n");
							goto IL_010B;
						}
					}
					global::System.Windows.Documents.TextRange textRange = new global::System.Windows.Documents.TextRange(this.log_window.Document.ContentEnd, this.log_window.Document.ContentEnd);
					textRange.Text = text + "\n";
					textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.ForegroundProperty, global::System.Windows.Media.Brushes.Red);
					textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.FontWeightProperty, global::System.Windows.FontWeights.Normal);
				}
				IL_010B:;
			}
			this.log_timer = new global::System.Windows.Threading.DispatcherTimer();
			this.log_timer.Tick += this.log_handler;
			this.log_timer;
			0;
			-1;
			this.loading_ico.Visibility = global::System.Windows.Visibility.Collapsed;
		}

		// Token: 0x06000037 RID: 55 RVA: 0x00002182 File Offset: 0x00000382
		public Window1()
		{
			this.InitializeComponent();
			this.loadCustomSettings();
			global::UmbrellaDesign.Window1.toxicGridItems = new global::System.Collections.ObjectModel.ObservableCollection<global::UmbrellaDesign.Window1.toxicData>();
			base.Dispatcher.Invoke(delegate
			{
				this.on_load_component();
			});
		}

		// Token: 0x17000001 RID: 1
		// (get) Token: 0x06000038 RID: 56 RVA: 0x000021C2 File Offset: 0x000003C2
		// (set) Token: 0x06000039 RID: 57 RVA: 0x000021C9 File Offset: 0x000003C9
		public static global::System.Collections.ObjectModel.ObservableCollection<global::UmbrellaDesign.Window1.toxicData> toxicGridItems
		{
			[global::System.Runtime.CompilerServices.CompilerGenerated]
			get
			{
				return global::UmbrellaDesign.Window1.<toxicGridItems>k__BackingField;
			}
			[global::System.Runtime.CompilerServices.CompilerGenerated]
			private set
			{
				global::UmbrellaDesign.Window1.<toxicGridItems>k__BackingField = value;
			}
		}

		// Token: 0x0600003A RID: 58 RVA: 0x000020D4 File Offset: 0x000002D4
		private void Grid_MouseLeftButtonDown(object sender, global::System.Windows.Input.MouseButtonEventArgs e)
		{
			base.DragMove();
		}

		// Token: 0x0600003B RID: 59 RVA: 0x000021D1 File Offset: 0x000003D1
		private void auth_client()
		{
			string s_login = global::UmbrellaDesign.MainWindow.login;
			string s_password = global::UmbrellaDesign.MainWindow.password;
			new global::System.Threading.Thread(delegate
			{
				if (global::UmbrellaDesign.Window1.connect_client() == 1 && global::UmbrellaDesign.Window1.auth(global::System.Net.WebUtility.UrlEncode(s_login), global::System.Net.WebUtility.UrlEncode(s_password)) == 0)
				{
					this.updateSubData();
				}
			}).Start();
		}

		// Token: 0x0600003C RID: 60 RVA: 0x0000220A File Offset: 0x0000040A
		private void refresh_session()
		{
			if (global::UmbrellaDesign.Window1.refresh_session_1() == 0)
			{
				base.Dispatcher.InvokeAsync(delegate
				{
					this.sp_update_data.Visibility = global::System.Windows.Visibility.Collapsed;
					this.sp_status.Visibility = global::System.Windows.Visibility.Collapsed;
				});
				this.updateSubData();
			}
		}

		// Token: 0x0600003D RID: 61 RVA: 0x00004C7C File Offset: 0x00002E7C
		private async void Button_Click(object sender, global::System.Windows.RoutedEventArgs e)
		{
			new global::UmbrellaDesign.PromoModal().ShowDialog();
			if (global::UmbrellaDesign.Window1.check_connect() == 1)
			{
				base.Dispatcher.InvokeAsync(delegate
				{
					this.cheat_list_box.Items.Clear();
					this.cheat_list_box.Visibility = global::System.Windows.Visibility.Hidden;
					this.sp_status.Visibility = global::System.Windows.Visibility.Visible;
					this.sp_update_data.Visibility = global::System.Windows.Visibility.Collapsed;
					this.m_status_label.Visibility = global::System.Windows.Visibility.Collapsed;
					this.m_status.Text = "UPDATING BUILD LIST";
					this.main_form.IsEnabled = false;
				});
				await global::System.Threading.Tasks.Task.Delay(0x320);
				this.refresh_session();
				base.Dispatcher.InvokeAsync(delegate
				{
					this.cheat_list_box.Visibility = global::System.Windows.Visibility.Visible;
					this.main_form.IsEnabled = true;
				});
			}
		}

		// Token: 0x0600003E RID: 62 RVA: 0x00002231 File Offset: 0x00000431
		private void Minimaze_btn_Click(object sender, global::System.Windows.RoutedEventArgs e)
		{
			base.WindowState = global::System.Windows.WindowState.Minimized;
		}

		// Token: 0x0600003F RID: 63 RVA: 0x0000223A File Offset: 0x0000043A
		public void exit()
		{
			base.Dispatcher.InvokeAsync(delegate
			{
				global::UmbrellaDesign.Properties.Settings.Default.Save();
				base.Close();
				global::System.Environment.Exit(0);
			});
		}

		// Token: 0x06000040 RID: 64 RVA: 0x00002254 File Offset: 0x00000454
		private void Close_btn_Click(object sender, global::System.Windows.RoutedEventArgs e)
		{
			this.exit();
		}

		// Token: 0x06000041 RID: 65 RVA: 0x0000225C File Offset: 0x0000045C
		private void Log_window_TextChanged(object sender, global::System.Windows.Controls.TextChangedEventArgs e)
		{
			this.log_window.Focus();
			this.log_window.CaretPosition = this.log_window.Document.ContentEnd;
			this.log_window.ScrollToEnd();
		}

		// Token: 0x06000042 RID: 66 RVA: 0x00004CB4 File Offset: 0x00002EB4
		private void startCustomRules(string param, global::UmbrellaDesign.Window1.cheat_info info)
		{
			global::UmbrellaDesign.Window1.<>c__DisplayClass45_0 CS$<>8__locals1 = new global::UmbrellaDesign.Window1.<>c__DisplayClass45_0();
			CS$<>8__locals1.info = info;
			CS$<>8__locals1.<>4__this = this;
			CS$<>8__locals1.param = param;
			base.Dispatcher.InvokeAsync<global::System.Threading.Tasks.Task>(delegate
			{
				global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d <<startCustomRules>b__0>d;
				<<startCustomRules>b__0>d.<>t__builder = global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Create();
				<<startCustomRules>b__0>d.<>4__this = CS$<>8__locals1;
				<<startCustomRules>b__0>d.<>1__state = -1;
				<<startCustomRules>b__0>d.<>t__builder.Start<global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref <<startCustomRules>b__0>d);
				return <<startCustomRules>b__0>d.<>t__builder.Task;
			});
		}

		// Token: 0x06000043 RID: 67 RVA: 0x00004CF4 File Offset: 0x00002EF4
		private void startGame(string param, global::UmbrellaDesign.Window1.cheat_info info)
		{
			global::System.Action <>9__2;
			global::System.Threading.ThreadStart <>9__1;
			base.Dispatcher.InvokeAsync(delegate
			{
				if (global::UmbrellaDesign.Window1.check_connect() == 1)
				{
					global::System.Threading.ThreadStart threadStart;
					if ((threadStart = <>9__1) == null)
					{
						threadStart = (<>9__1 = delegate
						{
							if (!global::UmbrellaDesign.Window1.launch_game((param != null) ? param : "", info.key, info.game))
							{
								this.exit();
								return;
							}
							global::System.Windows.Threading.Dispatcher dispatcher = this.Dispatcher;
							global::System.Action action;
							if ((action = <>9__2) == null)
							{
								action = (<>9__2 = delegate
								{
									this.start_game_btn.IsEnabled = true;
									this.loading_ico.Visibility = global::System.Windows.Visibility.Collapsed;
								});
							}
							dispatcher.InvokeAsync(action);
						});
					}
					new global::System.Threading.Thread(threadStart).Start();
					return;
				}
				new global::UmbrellaDesign.MainWindow().Show();
				this.Close();
			});
		}

		// Token: 0x06000044 RID: 68 RVA: 0x00004D34 File Offset: 0x00002F34
		private void Button_Click_1(object sender, global::System.Windows.RoutedEventArgs e)
		{
			if (this.cheat_list_box.SelectedIndex == -1)
			{
				this.log_window.AppendText(this.subscriber ? "[Loader] Software not selected!\n" : "[Loader] No subscription or cheat not selected!\n");
				return;
			}
			if (this.kv_launch[this.cheat_list_box.SelectedIndex].os_bit != global::UmbrellaDesign.MainWindow.GetCurrentProcessBit())
			{
				this.log_window.AppendText("[Loader] Software requires " + this.kv_launch[this.cheat_list_box.SelectedIndex].os_bit + " OS!\n");
				return;
			}
			string text = this.startup_dota_parameters.Text;
			try
			{
				global::UmbrellaDesign.Properties.Settings @default = global::UmbrellaDesign.Properties.Settings.Default;
				bool? isChecked = this.HwidSpooferCheckbox.IsChecked;
				@default.hwid_spoofer_enabled = isChecked.GetValueOrDefault() & (isChecked != null);
				global::UmbrellaDesign.Properties.Settings.Default.custom_params = text;
				string text2 = this.kv_launch[this.cheat_list_box.SelectedIndex].key.ToString();
				global::UmbrellaDesign.Properties.Settings.Default.cheat_id = text2;
				global::UmbrellaDesign.Properties.Settings.Default.Save();
			}
			catch
			{
			}
			base.Dispatcher.InvokeAsync(delegate
			{
				this.start_game_btn.IsEnabled = false;
				this.loading_ico.Visibility = global::System.Windows.Visibility.Visible;
			});
			if (this.kv_launch[this.cheat_list_box.SelectedIndex].game == "custom_rules")
			{
				this.startCustomRules(text, this.kv_launch[this.cheat_list_box.SelectedIndex]);
				return;
			}
			this.startGame(text, this.kv_launch[this.cheat_list_box.SelectedIndex]);
		}

		// Token: 0x06000045 RID: 69 RVA: 0x00002290 File Offset: 0x00000490
		private void Button_Click_2(object sender, global::System.Windows.RoutedEventArgs e)
		{
			base.Dispatcher.InvokeAsync(delegate
			{
				new global::UmbrellaDesign.MainWindow().Show();
				this.log_timer.Stop();
				base.Close();
			});
		}

		// Token: 0x06000046 RID: 70 RVA: 0x000022AA File Offset: 0x000004AA
		private bool IsNull<T>(T value)
		{
			return value == null;
		}

		// Token: 0x06000047 RID: 71 RVA: 0x00004ED0 File Offset: 0x000030D0
		private void Cheat_list_box_SelectionChanged(object sender, global::System.Windows.Controls.SelectionChangedEventArgs e)
		{
			try
			{
				this.sp_update_data.Visibility = global::System.Windows.Visibility.Visible;
				this.sp_status.Visibility = global::System.Windows.Visibility.Visible;
				global::System.Windows.Controls.TextBlock update_data = this.m_update_data;
				global::UmbrellaDesign.Window1.cheat_info cheat_info = this.kv_launch[this.cheat_list_box.SelectedIndex];
				update_data.Text = this.kv_launch[this.cheat_list_box.SelectedIndex].update_date.ToLocalTime().ToString();
				this.m_status.Text = ((this.kv_launch[this.cheat_list_box.SelectedIndex].status != null) ? this.kv_launch[this.cheat_list_box.SelectedIndex].status : "UnKnOwN");
				this.m_status_label.Visibility = global::System.Windows.Visibility.Visible;
				if (this.kv_launch[this.cheat_list_box.SelectedIndex].useAntivac)
				{
					this.HwidSpooferCheckbox.Visibility = global::System.Windows.Visibility.Visible;
				}
				else
				{
					this.HwidSpooferCheckbox.Visibility = global::System.Windows.Visibility.Hidden;
				}
			}
			catch
			{
			}
		}

		// Token: 0x06000048 RID: 72 RVA: 0x00004FE4 File Offset: 0x000031E4
		private void BtnView_Click(object sender, global::System.Windows.RoutedEventArgs e)
		{
			global::UmbrellaDesign.Window1.toxicData toxicData = this.dataGrid.SelectedItem as global::UmbrellaDesign.Window1.toxicData;
			global::UmbrellaDesign.Window1.<toxicGridItems>k__BackingField.Remove(toxicData);
			this.dataGrid.CanUserAddRows = false;
			this.dataGrid.CanUserAddRows = true;
		}

		// Token: 0x06000049 RID: 73 RVA: 0x000022B5 File Offset: 0x000004B5
		private void Button_Click_3(object sender, global::System.Windows.RoutedEventArgs e)
		{
			this.main_grid.Visibility = ((this.main_grid.Visibility == global::System.Windows.Visibility.Visible) ? global::System.Windows.Visibility.Collapsed : global::System.Windows.Visibility.Visible);
			this.black_list_grid.Visibility = ((this.black_list_grid.Visibility == global::System.Windows.Visibility.Visible) ? global::System.Windows.Visibility.Collapsed : global::System.Windows.Visibility.Visible);
		}

		// Token: 0x0600004A RID: 74 RVA: 0x00005028 File Offset: 0x00003228
		private void DataGrid_CurrentCellChanged(object sender, global::System.EventArgs e)
		{
			string text = "";
			foreach (global::UmbrellaDesign.Window1.toxicData toxicData in global::UmbrellaDesign.Window1.<toxicGridItems>k__BackingField)
			{
				text = string.Concat(new string[]
				{
					text,
					toxicData.SteamID,
					"|",
					toxicData.Type.ToString(),
					"@",
					toxicData.Comment,
					"\n"
				});
			}
		}

		// Token: 0x0600004B RID: 75 RVA: 0x000022EF File Offset: 0x000004EF
		private void DataGrid_SelectionChanged(object sender, global::System.Windows.Controls.SelectionChangedEventArgs e)
		{
			global::UmbrellaDesign.Window1.saveCollection();
		}

		// Token: 0x0600004C RID: 76 RVA: 0x000022F6 File Offset: 0x000004F6
		private void DataGrid_CellEditEnding(object sender, global::System.Windows.Controls.DataGridCellEditEndingEventArgs e)
		{
		}

		// Token: 0x0600004D RID: 77 RVA: 0x000022EF File Offset: 0x000004EF
		private void DataGrid_KeyUp(object sender, global::System.Windows.Input.KeyEventArgs e)
		{
			global::UmbrellaDesign.Window1.saveCollection();
		}

		// Token: 0x0600004E RID: 78 RVA: 0x000050C0 File Offset: 0x000032C0
		[global::System.CodeDom.Compiler.GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
		public void InitializeComponent()
		{
			if (this._contentLoaded)
			{
				return;
			}
			this._contentLoaded = true;
			global::System.Uri uri = new global::System.Uri("/UmbrellaLoader;component/usercontrol.xaml", global::System.UriKind.Relative);
			global::System.Windows.Application.LoadComponent(this, uri);
		}

		// Token: 0x0600004F RID: 79 RVA: 0x000050F0 File Offset: 0x000032F0
		[global::System.CodeDom.Compiler.GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
		[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
		void global::System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
		{
			switch (connectionId)
			{
			case 1:
				this.main_form = (global::System.Windows.Controls.Grid)target;
				return;
			case 2:
				((global::System.Windows.Controls.Grid)target).MouseLeftButtonDown += this.Grid_MouseLeftButtonDown;
				return;
			case 3:
				this.close_btn = (global::System.Windows.Controls.Button)target;
				this.close_btn.Click += this.Close_btn_Click;
				return;
			case 4:
				this.minimaze_btn = (global::System.Windows.Controls.Button)target;
				this.minimaze_btn.Click += this.Minimaze_btn_Click;
				return;
			case 5:
				((global::System.Windows.Controls.Button)target).Click += this.Button_Click_3;
				return;
			case 6:
				this.logo_image = (global::System.Windows.Controls.Image)target;
				return;
			case 7:
				this.first_caption = (global::System.Windows.Controls.TextBlock)target;
				return;
			case 8:
				this.second_caption = (global::System.Windows.Controls.TextBlock)target;
				return;
			case 9:
				this.black_list_grid = (global::System.Windows.Controls.Grid)target;
				return;
			case 0xA:
				this.dataGrid = (global::System.Windows.Controls.DataGrid)target;
				this.dataGrid.SelectionChanged += this.DataGrid_SelectionChanged;
				return;
			case 0xC:
				this.main_grid = (global::System.Windows.Controls.Grid)target;
				return;
			case 0xD:
				this.cheat_list_box = (global::System.Windows.Controls.ListBox)target;
				this.cheat_list_box.SelectionChanged += this.Cheat_list_box_SelectionChanged;
				return;
			case 0xE:
				this.startup_dota_parameters = (global::System.Windows.Controls.TextBox)target;
				return;
			case 0xF:
				this.HwidSpooferCheckbox = (global::System.Windows.Controls.CheckBox)target;
				return;
			case 0x10:
				this.cheat_log = (global::System.Windows.Controls.Grid)target;
				return;
			case 0x11:
				this.log_window = (global::System.Windows.Controls.RichTextBox)target;
				this.log_window.TextChanged += this.Log_window_TextChanged;
				return;
			case 0x12:
				this.controlPanel_logo = (global::System.Windows.Media.ImageBrush)target;
				return;
			case 0x13:
				this.m_activate_promo = (global::System.Windows.Controls.Grid)target;
				return;
			case 0x14:
				((global::System.Windows.Controls.Button)target).Click += this.Button_Click;
				return;
			case 0x15:
				this.key_logo = (global::System.Windows.Media.ImageBrush)target;
				return;
			case 0x16:
				this.m_exit = (global::System.Windows.Controls.Grid)target;
				return;
			case 0x17:
				((global::System.Windows.Controls.Button)target).Click += this.Button_Click_2;
				return;
			case 0x18:
				this.exit_logo = (global::System.Windows.Media.ImageBrush)target;
				return;
			case 0x19:
				this.m_name = (global::System.Windows.Controls.TextBlock)target;
				return;
			case 0x1A:
				this.m_expire = (global::System.Windows.Controls.TextBlock)target;
				return;
			case 0x1B:
				this.sp_status = (global::System.Windows.Controls.StackPanel)target;
				return;
			case 0x1C:
				this.m_status_label = (global::System.Windows.Controls.TextBlock)target;
				return;
			case 0x1D:
				this.m_status = (global::System.Windows.Controls.TextBlock)target;
				return;
			case 0x1E:
				this.sp_update_data = (global::System.Windows.Controls.StackPanel)target;
				return;
			case 0x1F:
				this.m_update_data = (global::System.Windows.Controls.TextBlock)target;
				return;
			case 0x20:
				this.start_game_btn = (global::System.Windows.Controls.Button)target;
				this.start_game_btn.Click += this.Button_Click_1;
				return;
			case 0x21:
				this.loading_ico = (global::FontAwesome.WPF.ImageAwesome)target;
				return;
			case 0x22:
				this.launch_button = (global::System.Windows.Controls.TextBlock)target;
				return;
			}
			this._contentLoaded = true;
		}

		// Token: 0x06000050 RID: 80 RVA: 0x000022F8 File Offset: 0x000004F8
		[global::System.CodeDom.Compiler.GeneratedCode("PresentationBuildTasks", "4.0.0.0")]
		[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)]
		void global::System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target)
		{
			if (connectionId == 0xB)
			{
				((global::System.Windows.Controls.Button)target).Click += this.BtnView_Click;
			}
		}

		// Token: 0x06000051 RID: 81 RVA: 0x000053FC File Offset: 0x000035FC
		// Note: this type is marked as 'beforefieldinit'.
		static Window1()
		{
		}

		// Token: 0x06000052 RID: 82 RVA: 0x0000544C File Offset: 0x0000364C
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private void <loadCustomSettings>b__17_0()
		{
			if (global::UmbrellaDesign.MainWindow.json_config_data == null)
			{
				return;
			}
			global::Newtonsoft.Json.Linq.JObject json_config_data = global::UmbrellaDesign.MainWindow.json_config_data;
			global::UmbrellaDesign.Customization.loadIcon(this, "ico", json_config_data);
			global::UmbrellaDesign.Customization.loadImage(this.logo_image, "logo_cp", json_config_data);
			global::UmbrellaDesign.Customization.loadEllipseImage(this.controlPanel_logo, "default_avatar", json_config_data);
			global::UmbrellaDesign.Customization.loadTextBlock(this.first_caption, "first_caption", json_config_data);
			global::UmbrellaDesign.Customization.loadTextBlock(this.second_caption, "second_caption", json_config_data);
		}

		// Token: 0x06000053 RID: 83 RVA: 0x00002316 File Offset: 0x00000516
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private void <.ctor>b__32_0()
		{
			this.on_load_component();
		}

		// Token: 0x06000054 RID: 84 RVA: 0x0000231E File Offset: 0x0000051E
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private void <refresh_session>b__39_0()
		{
			this.sp_update_data.Visibility = global::System.Windows.Visibility.Collapsed;
			this.sp_status.Visibility = global::System.Windows.Visibility.Collapsed;
		}

		// Token: 0x06000055 RID: 85 RVA: 0x000054B8 File Offset: 0x000036B8
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private void <Button_Click>b__40_0()
		{
			this.cheat_list_box.Items.Clear();
			this.cheat_list_box.Visibility = global::System.Windows.Visibility.Hidden;
			this.sp_status.Visibility = global::System.Windows.Visibility.Visible;
			this.sp_update_data.Visibility = global::System.Windows.Visibility.Collapsed;
			this.m_status_label.Visibility = global::System.Windows.Visibility.Collapsed;
			this.m_status.Text = "UPDATING BUILD LIST";
			this.main_form.IsEnabled = false;
		}

		// Token: 0x06000056 RID: 86 RVA: 0x00002338 File Offset: 0x00000538
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private void <Button_Click>b__40_1()
		{
			this.cheat_list_box.Visibility = global::System.Windows.Visibility.Visible;
			this.main_form.IsEnabled = true;
		}

		// Token: 0x06000057 RID: 87 RVA: 0x00002352 File Offset: 0x00000552
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private void <exit>b__42_0()
		{
			global::UmbrellaDesign.Properties.Settings.Default.Save();
			base.Close();
			global::System.Environment.Exit(0);
		}

		// Token: 0x06000058 RID: 88 RVA: 0x0000236A File Offset: 0x0000056A
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private void <Button_Click_1>b__47_0()
		{
			this.start_game_btn.IsEnabled = false;
			this.loading_ico.Visibility = global::System.Windows.Visibility.Visible;
		}

		// Token: 0x06000059 RID: 89 RVA: 0x00002384 File Offset: 0x00000584
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private void <Button_Click_2>b__48_0()
		{
			new global::UmbrellaDesign.MainWindow().Show();
			this.log_timer.Stop();
			base.Close();
		}

		// Token: 0x04000040 RID: 64
		private const string loaderDllName = "LoaderKernel.dll";

		// Token: 0x04000041 RID: 65
		private bool subscriber;

		// Token: 0x04000042 RID: 66
		private global::System.Windows.Threading.DispatcherTimer log_timer;

		// Token: 0x04000043 RID: 67
		private global::System.Collections.Generic.Dictionary<int, global::UmbrellaDesign.Window1.cheat_info> kv_launch = new global::System.Collections.Generic.Dictionary<int, global::UmbrellaDesign.Window1.cheat_info>();

		// Token: 0x04000044 RID: 68
		public static global::System.Timers.Timer save_timer = null;

		// Token: 0x04000045 RID: 69
		public static string[] names_Type = new string[] { "both", "enemy", "ally", "snipe_both", "snipe_enemy", "snipe_ally" };

		// Token: 0x04000046 RID: 70
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private static global::System.Collections.ObjectModel.ObservableCollection<global::UmbrellaDesign.Window1.toxicData> <toxicGridItems>k__BackingField;

		// Token: 0x04000047 RID: 71
		internal global::System.Windows.Controls.Grid main_form;

		// Token: 0x04000048 RID: 72
		internal global::System.Windows.Controls.Button close_btn;

		// Token: 0x04000049 RID: 73
		internal global::System.Windows.Controls.Button minimaze_btn;

		// Token: 0x0400004A RID: 74
		internal global::System.Windows.Controls.Image logo_image;

		// Token: 0x0400004B RID: 75
		internal global::System.Windows.Controls.TextBlock first_caption;

		// Token: 0x0400004C RID: 76
		internal global::System.Windows.Controls.TextBlock second_caption;

		// Token: 0x0400004D RID: 77
		internal global::System.Windows.Controls.Grid black_list_grid;

		// Token: 0x0400004E RID: 78
		internal global::System.Windows.Controls.DataGrid dataGrid;

		// Token: 0x0400004F RID: 79
		internal global::System.Windows.Controls.Grid main_grid;

		// Token: 0x04000050 RID: 80
		internal global::System.Windows.Controls.ListBox cheat_list_box;

		// Token: 0x04000051 RID: 81
		internal global::System.Windows.Controls.TextBox startup_dota_parameters;

		// Token: 0x04000052 RID: 82
		internal global::System.Windows.Controls.CheckBox HwidSpooferCheckbox;

		// Token: 0x04000053 RID: 83
		internal global::System.Windows.Controls.Grid cheat_log;

		// Token: 0x04000054 RID: 84
		internal global::System.Windows.Controls.RichTextBox log_window;

		// Token: 0x04000055 RID: 85
		internal global::System.Windows.Media.ImageBrush controlPanel_logo;

		// Token: 0x04000056 RID: 86
		internal global::System.Windows.Controls.Grid m_activate_promo;

		// Token: 0x04000057 RID: 87
		internal global::System.Windows.Media.ImageBrush key_logo;

		// Token: 0x04000058 RID: 88
		internal global::System.Windows.Controls.Grid m_exit;

		// Token: 0x04000059 RID: 89
		internal global::System.Windows.Media.ImageBrush exit_logo;

		// Token: 0x0400005A RID: 90
		internal global::System.Windows.Controls.TextBlock m_name;

		// Token: 0x0400005B RID: 91
		internal global::System.Windows.Controls.TextBlock m_expire;

		// Token: 0x0400005C RID: 92
		internal global::System.Windows.Controls.StackPanel sp_status;

		// Token: 0x0400005D RID: 93
		internal global::System.Windows.Controls.TextBlock m_status_label;

		// Token: 0x0400005E RID: 94
		internal global::System.Windows.Controls.TextBlock m_status;

		// Token: 0x0400005F RID: 95
		internal global::System.Windows.Controls.StackPanel sp_update_data;

		// Token: 0x04000060 RID: 96
		internal global::System.Windows.Controls.TextBlock m_update_data;

		// Token: 0x04000061 RID: 97
		internal global::System.Windows.Controls.Button start_game_btn;

		// Token: 0x04000062 RID: 98
		internal global::FontAwesome.WPF.ImageAwesome loading_ico;

		// Token: 0x04000063 RID: 99
		internal global::System.Windows.Controls.TextBlock launch_button;

		// Token: 0x04000064 RID: 100
		private bool _contentLoaded;

		// Token: 0x0200000B RID: 11
		public struct custom_rule
		{
			// Token: 0x04000065 RID: 101
			public string name;

			// Token: 0x04000066 RID: 102
			public string hash;

			// Token: 0x04000067 RID: 103
			public string target_process;

			// Token: 0x04000068 RID: 104
			public string custom_param;

			// Token: 0x04000069 RID: 105
			public string type;

			// Token: 0x0400006A RID: 106
			public int inject_flags;

			// Token: 0x0400006B RID: 107
			public int step;
		}

		// Token: 0x0200000C RID: 12
		public struct cheat_info
		{
			// Token: 0x0400006C RID: 108
			public string key;

			// Token: 0x0400006D RID: 109
			public string game;

			// Token: 0x0400006E RID: 110
			public string os_bit;

			// Token: 0x0400006F RID: 111
			public global::System.DateTime update_date;

			// Token: 0x04000070 RID: 112
			public string status;

			// Token: 0x04000071 RID: 113
			public bool useAntivac;

			// Token: 0x04000072 RID: 114
			public global::System.Collections.Generic.List<global::UmbrellaDesign.Window1.custom_rule> custom_Rules;
		}

		// Token: 0x0200000D RID: 13
		private enum TypeToInt
		{
			// Token: 0x04000074 RID: 116
			both,
			// Token: 0x04000075 RID: 117
			enemy,
			// Token: 0x04000076 RID: 118
			ally
		}

		// Token: 0x0200000E RID: 14
		public class toxicData : global::System.ComponentModel.INotifyPropertyChanged
		{
			// Token: 0x14000001 RID: 1
			// (add) Token: 0x0600005A RID: 90 RVA: 0x00005524 File Offset: 0x00003724
			// (remove) Token: 0x0600005B RID: 91 RVA: 0x0000555C File Offset: 0x0000375C
			public event global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged
			{
				[global::System.Runtime.CompilerServices.CompilerGenerated]
				add
				{
					global::System.ComponentModel.PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged;
					global::System.ComponentModel.PropertyChangedEventHandler propertyChangedEventHandler2;
					do
					{
						propertyChangedEventHandler2 = propertyChangedEventHandler;
						global::System.ComponentModel.PropertyChangedEventHandler propertyChangedEventHandler3 = (global::System.ComponentModel.PropertyChangedEventHandler)global::System.Delegate.Combine(propertyChangedEventHandler2, value);
						propertyChangedEventHandler = global::System.Threading.Interlocked.CompareExchange<global::System.ComponentModel.PropertyChangedEventHandler>(ref this.PropertyChanged, propertyChangedEventHandler3, propertyChangedEventHandler2);
					}
					while (propertyChangedEventHandler != propertyChangedEventHandler2);
				}
				[global::System.Runtime.CompilerServices.CompilerGenerated]
				remove
				{
					global::System.ComponentModel.PropertyChangedEventHandler propertyChangedEventHandler = this.PropertyChanged;
					global::System.ComponentModel.PropertyChangedEventHandler propertyChangedEventHandler2;
					do
					{
						propertyChangedEventHandler2 = propertyChangedEventHandler;
						global::System.ComponentModel.PropertyChangedEventHandler propertyChangedEventHandler3 = (global::System.ComponentModel.PropertyChangedEventHandler)global::System.Delegate.Remove(propertyChangedEventHandler2, value);
						propertyChangedEventHandler = global::System.Threading.Interlocked.CompareExchange<global::System.ComponentModel.PropertyChangedEventHandler>(ref this.PropertyChanged, propertyChangedEventHandler3, propertyChangedEventHandler2);
					}
					while (propertyChangedEventHandler != propertyChangedEventHandler2);
				}
			}

			// Token: 0x0600005C RID: 92 RVA: 0x00005594 File Offset: 0x00003794
			public void OnPropertyChanged(string prop)
			{
				global::UmbrellaDesign.Window1.saveCollection();
				global::System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
				if (propertyChanged != null)
				{
					propertyChanged(this, new global::System.ComponentModel.PropertyChangedEventArgs(prop));
				}
			}

			// Token: 0x17000002 RID: 2
			// (get) Token: 0x0600005D RID: 93 RVA: 0x000023A1 File Offset: 0x000005A1
			// (set) Token: 0x0600005E RID: 94 RVA: 0x000023A9 File Offset: 0x000005A9
			public string SteamID
			{
				get
				{
					return this._SteamID;
				}
				set
				{
					if (!(this._SteamID == value))
					{
						if (this._SteamID != null)
						{
							this._SteamID = value;
							this.OnPropertyChanged("SteamID");
						}
						else
						{
							this._SteamID = value;
						}
					}
				}
			}

			// Token: 0x17000003 RID: 3
			// (get) Token: 0x0600005F RID: 95 RVA: 0x000023DC File Offset: 0x000005DC
			// (set) Token: 0x06000060 RID: 96 RVA: 0x000023E4 File Offset: 0x000005E4
			public int Type
			{
				get
				{
					return this._Type;
				}
				set
				{
					if (this._Type != value)
					{
						if (this._Type != -1)
						{
							this._Type = value;
							this.OnPropertyChanged("Type");
						}
						else
						{
							this._Type = value;
						}
					}
				}
			}

			// Token: 0x17000004 RID: 4
			// (get) Token: 0x06000061 RID: 97 RVA: 0x00002415 File Offset: 0x00000615
			// (set) Token: 0x06000062 RID: 98 RVA: 0x0000241D File Offset: 0x0000061D
			public string Comment
			{
				get
				{
					return this._Comment;
				}
				set
				{
					if (!(this._Comment == value))
					{
						if (this._Comment != null)
						{
							this._Comment = value;
							this.OnPropertyChanged("Comment");
						}
						else
						{
							this._Comment = value;
						}
					}
				}
			}

			// Token: 0x06000063 RID: 99 RVA: 0x00002450 File Offset: 0x00000650
			public toxicData()
			{
			}

			// Token: 0x04000077 RID: 119
			[global::System.Runtime.CompilerServices.CompilerGenerated]
			private global::System.ComponentModel.PropertyChangedEventHandler PropertyChanged;

			// Token: 0x04000078 RID: 120
			private string _SteamID;

			// Token: 0x04000079 RID: 121
			private int _Type = -1;

			// Token: 0x0400007A RID: 122
			private string _Comment;
		}

		// Token: 0x0200000F RID: 15
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		[global::System.Serializable]
		private sealed class <>c
		{
			// Token: 0x06000064 RID: 100 RVA: 0x0000245F File Offset: 0x0000065F
			// Note: this type is marked as 'beforefieldinit'.
			static <>c()
			{
			}

			// Token: 0x06000065 RID: 101 RVA: 0x00002073 File Offset: 0x00000273
			public <>c()
			{
			}

			// Token: 0x06000066 RID: 102 RVA: 0x0000246B File Offset: 0x0000066B
			internal int <startCustomRules>b__45_2(global::UmbrellaDesign.Window1.custom_rule x, global::UmbrellaDesign.Window1.custom_rule y)
			{
				return x.step.CompareTo(y.step);
			}

			// Token: 0x0400007B RID: 123
			public static readonly global::UmbrellaDesign.Window1.<>c <>9 = new global::UmbrellaDesign.Window1.<>c();

			// Token: 0x0400007C RID: 124
			public static global::System.Comparison<global::UmbrellaDesign.Window1.custom_rule> <>9__45_2;
		}

		// Token: 0x02000010 RID: 16
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private sealed class <>c__DisplayClass18_0
		{
			// Token: 0x06000067 RID: 103 RVA: 0x00002073 File Offset: 0x00000273
			public <>c__DisplayClass18_0()
			{
			}

			// Token: 0x06000068 RID: 104 RVA: 0x000055C0 File Offset: 0x000037C0
			internal void <log_handler>b__0()
			{
				if (this.log_item.ToLower().IndexOf("hwid") == -1)
				{
					if (this.log_item.ToLower().IndexOf("error") == -1)
					{
						this.<>4__this.log_window.AppendText(this.log_item + "\n");
						return;
					}
				}
				if (this.log_item.ToLower().IndexOf("hwid") != -1)
				{
					this.<>4__this.m_expire.Text = "Invalid HWID";
					this.<>4__this.m_expire.Foreground = new global::System.Windows.Media.SolidColorBrush(global::System.Windows.Media.Color.FromArgb(0xBE, 0xF0, 0, 0));
					this.<>4__this.m_expire.FontWeight = global::System.Windows.FontWeights.Normal;
				}
				global::System.Windows.Documents.TextRange textRange = new global::System.Windows.Documents.TextRange(this.<>4__this.log_window.Document.ContentEnd, this.<>4__this.log_window.Document.ContentEnd);
				textRange.Text = this.log_item + "\n";
				textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.ForegroundProperty, global::System.Windows.Media.Brushes.Red);
				textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.FontWeightProperty, global::System.Windows.FontWeights.Normal);
			}

			// Token: 0x0400007D RID: 125
			public string log_item;

			// Token: 0x0400007E RID: 126
			public global::UmbrellaDesign.Window1 <>4__this;
		}

		// Token: 0x02000011 RID: 17
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private sealed class <>c__DisplayClass23_0
		{
			// Token: 0x06000069 RID: 105 RVA: 0x00002073 File Offset: 0x00000273
			public <>c__DisplayClass23_0()
			{
			}

			// Token: 0x0600006A RID: 106 RVA: 0x000056F4 File Offset: 0x000038F4
			internal void <updateSubData>b__0()
			{
				if ((long)this.json_cheat_list["exp"] == 0L)
				{
					this.<>4__this.subscriber = true;
					this.<>4__this.m_expire.Text = "Expire date: Never";
				}
				else if ((long)this.json_cheat_list["exp"] == -1L)
				{
					this.<>4__this.m_expire.Text = "No subscription";
				}
				else
				{
					this.<>4__this.subscriber = true;
					this.<>4__this.m_expire.Text = "Expire date: " + global::UmbrellaDesign.Window1.UnixTimeStampToDateTime((double)(long)this.json_cheat_list["exp"]).ToString("d");
				}
				if ((string)this.json_cheat_list["avatar"] != "null")
				{
					global::System.Windows.Media.Imaging.BitmapImage bitmapImage = new global::System.Windows.Media.Imaging.BitmapImage();
					bitmapImage.BeginInit();
					bitmapImage.UriSource = new global::System.Uri((string)this.json_cheat_list["avatar"]);
					bitmapImage.EndInit();
					this.<>4__this.controlPanel_logo.ImageSource = bitmapImage;
				}
				this.<>4__this.m_name.Text = global::UmbrellaDesign.MainWindow.login;
				global::System.IO.Path.GetDirectoryName(global::System.Reflection.Assembly.GetExecutingAssembly().Location).ToLower();
				foreach (global::Newtonsoft.Json.Linq.JToken jtoken in ((global::Newtonsoft.Json.Linq.JArray)this.json_cheat_list["list"]))
				{
					object obj = jtoken.SelectToken("name");
					object obj2 = jtoken.SelectToken("key");
					object obj3 = jtoken.SelectToken("game");
					object obj4 = jtoken.SelectToken("last_update");
					object obj5 = jtoken.SelectToken("status");
					object obj6 = jtoken.SelectToken("is_free");
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__12 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__12 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
					}
					global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target = global::UmbrellaDesign.Window1.<>o__23.<>p__12.Target;
					global::System.Runtime.CompilerServices.CallSite <>p__ = global::UmbrellaDesign.Window1.<>o__23.<>p__12;
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__6 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__6 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
						{
							global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
							global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
						}));
					}
					object obj7 = global::UmbrellaDesign.Window1.<>o__23.<>p__6.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__6, obj6, null);
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__9 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__9 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsFalse, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
					}
					object obj9;
					if (!global::UmbrellaDesign.Window1.<>o__23.<>p__9.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__9, obj7))
					{
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__8 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__8 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.BinaryOperationLogical, global::System.Linq.Expressions.ExpressionType.And, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.UseCompileTimeType, null)
							}));
						}
						global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object> target2 = global::UmbrellaDesign.Window1.<>o__23.<>p__8.Target;
						global::System.Runtime.CompilerServices.CallSite <>p__2 = global::UmbrellaDesign.Window1.<>o__23.<>p__8;
						object obj8 = obj7;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__7 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__7 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(bool), typeof(global::UmbrellaDesign.Window1)));
						}
						obj9 = target2(<>p__2, obj8, global::UmbrellaDesign.Window1.<>o__23.<>p__7.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__7, obj6));
					}
					else
					{
						obj9 = obj7;
					}
					object obj10 = obj9;
					if (global::UmbrellaDesign.Window1.<>o__23.<>p__11 == null)
					{
						global::UmbrellaDesign.Window1.<>o__23.<>p__11 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsFalse, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
					}
					object obj11;
					if (!global::UmbrellaDesign.Window1.<>o__23.<>p__11.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__11, obj10))
					{
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__10 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__10 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.BinaryOperationLogical, global::System.Linq.Expressions.ExpressionType.And, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.UseCompileTimeType, null)
							}));
						}
						obj11 = global::UmbrellaDesign.Window1.<>o__23.<>p__10.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__10, obj10, !global::UmbrellaDesign.MainWindow.display_free_products);
					}
					else
					{
						obj11 = obj10;
					}
					if (!target(<>p__, obj11))
					{
						if (global::UmbrellaDesign.MainWindow.json_config_data != null)
						{
							global::UmbrellaDesign.MainWindow.json_config_data.SelectToken("first_caption.Text.value");
						}
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__13 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__13 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						string text = global::UmbrellaDesign.Window1.<>o__23.<>p__13.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__13, obj);
						text = text.Replace("CheatName1", this.CheatName1);
						text = text.Replace("CheatName2", this.CheatName2);
						this.<>4__this.cheat_list_box.Items.Add(text);
						global::UmbrellaDesign.Window1.cheat_info cheat_info = default(global::UmbrellaDesign.Window1.cheat_info);
						cheat_info.useAntivac = false;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__14 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__14 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						cheat_info.key = global::UmbrellaDesign.Window1.<>o__23.<>p__14.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__14, obj2);
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__15 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__15 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						cheat_info.game = global::UmbrellaDesign.Window1.<>o__23.<>p__15.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__15, obj3);
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__20 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__20 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
						}
						global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target3 = global::UmbrellaDesign.Window1.<>o__23.<>p__20.Target;
						global::System.Runtime.CompilerServices.CallSite <>p__3 = global::UmbrellaDesign.Window1.<>o__23.<>p__20;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__16 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__16 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
							}));
						}
						obj10 = global::UmbrellaDesign.Window1.<>o__23.<>p__16.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__16, obj4, null);
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__19 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__19 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsFalse, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
						}
						object obj13;
						if (!global::UmbrellaDesign.Window1.<>o__23.<>p__19.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__19, obj10))
						{
							if (global::UmbrellaDesign.Window1.<>o__23.<>p__18 == null)
							{
								global::UmbrellaDesign.Window1.<>o__23.<>p__18 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.BinaryOperationLogical, global::System.Linq.Expressions.ExpressionType.And, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
								{
									global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
									global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.UseCompileTimeType, null)
								}));
							}
							global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object> target4 = global::UmbrellaDesign.Window1.<>o__23.<>p__18.Target;
							global::System.Runtime.CompilerServices.CallSite <>p__4 = global::UmbrellaDesign.Window1.<>o__23.<>p__18;
							object obj12 = obj10;
							if (global::UmbrellaDesign.Window1.<>o__23.<>p__17 == null)
							{
								global::UmbrellaDesign.Window1.<>o__23.<>p__17 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
							}
							obj13 = target4(<>p__4, obj12, global::UmbrellaDesign.Window1.<>o__23.<>p__17.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__17, obj4) != "");
						}
						else
						{
							obj13 = obj10;
						}
						int num;
						if (!target3(<>p__3, obj13))
						{
							num = 0;
						}
						else
						{
							if (global::UmbrellaDesign.Window1.<>o__23.<>p__21 == null)
							{
								global::UmbrellaDesign.Window1.<>o__23.<>p__21 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
							}
							num = int.Parse(global::UmbrellaDesign.Window1.<>o__23.<>p__21.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__21, obj4));
						}
						int num2 = num;
						global::System.DateTime dateTime = new global::System.DateTime(0x7B2, 1, 1, 0, 0, 0, 0).AddSeconds((double)num2);
						cheat_info.update_date = dateTime;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__22 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__22 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						cheat_info.status = global::UmbrellaDesign.Window1.<>o__23.<>p__22.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__22, obj5);
						object obj14 = jtoken.SelectToken("os_bit");
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__23 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__23 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.Equal, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
							}));
						}
						obj10 = global::UmbrellaDesign.Window1.<>o__23.<>p__23.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__23, obj14, null);
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__27 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__27 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
						}
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__27.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__27, obj10))
						{
							goto IL_0963;
						}
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__26 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__26 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
						}
						global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target5 = global::UmbrellaDesign.Window1.<>o__23.<>p__26.Target;
						global::System.Runtime.CompilerServices.CallSite <>p__5 = global::UmbrellaDesign.Window1.<>o__23.<>p__26;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__25 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__25 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.BinaryOperationLogical, global::System.Linq.Expressions.ExpressionType.Or, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
							{
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
								global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.UseCompileTimeType, null)
							}));
						}
						global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object> target6 = global::UmbrellaDesign.Window1.<>o__23.<>p__25.Target;
						global::System.Runtime.CompilerServices.CallSite <>p__6 = global::UmbrellaDesign.Window1.<>o__23.<>p__25;
						object obj15 = obj10;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__24 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__24 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						if (target5(<>p__5, target6(<>p__6, obj15, global::UmbrellaDesign.Window1.<>o__23.<>p__24.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__24, obj14) == "null")))
						{
							goto IL_0963;
						}
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__28 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__28 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						cheat_info.os_bit = global::UmbrellaDesign.Window1.<>o__23.<>p__28.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__28, obj14);
						IL_096F:
						if (cheat_info.game == "custom_rules")
						{
							cheat_info.custom_Rules = new global::System.Collections.Generic.List<global::UmbrellaDesign.Window1.custom_rule>();
							global::Newtonsoft.Json.Linq.JToken jtoken2 = (global::Newtonsoft.Json.Linq.JArray)jtoken.SelectToken("custom_rules");
							int num3 = 0;
							foreach (global::Newtonsoft.Json.Linq.JToken jtoken3 in jtoken2.Children())
							{
								global::UmbrellaDesign.Window1.custom_rule custom_rule = default(global::UmbrellaDesign.Window1.custom_rule);
								custom_rule.name = (string)jtoken3.SelectToken("name");
								custom_rule.type = (string)jtoken3.SelectToken("type");
								custom_rule.step = num3++;
								object obj16 = jtoken3.SelectToken("inject_flags");
								if (global::UmbrellaDesign.Window1.<>o__23.<>p__30 == null)
								{
									global::UmbrellaDesign.Window1.<>o__23.<>p__30 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
								}
								global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target7 = global::UmbrellaDesign.Window1.<>o__23.<>p__30.Target;
								global::System.Runtime.CompilerServices.CallSite <>p__7 = global::UmbrellaDesign.Window1.<>o__23.<>p__30;
								if (global::UmbrellaDesign.Window1.<>o__23.<>p__29 == null)
								{
									global::UmbrellaDesign.Window1.<>o__23.<>p__29 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
									{
										global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
										global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
									}));
								}
								if (target7(<>p__7, global::UmbrellaDesign.Window1.<>o__23.<>p__29.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__29, obj16, null)))
								{
									if (global::UmbrellaDesign.Window1.<>o__23.<>p__31 == null)
									{
										global::UmbrellaDesign.Window1.<>o__23.<>p__31 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
									}
									custom_rule.inject_flags = int.Parse(global::UmbrellaDesign.Window1.<>o__23.<>p__31.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__31, obj16));
								}
								else
								{
									custom_rule.inject_flags = 0x8004;
								}
								custom_rule.target_process = (string)jtoken3.SelectToken("target_process");
								if (custom_rule.target_process == "_antivac_")
								{
									cheat_info.useAntivac = true;
								}
								custom_rule.hash = (string)jtoken3.SelectToken("key");
								object obj17 = jtoken3.SelectToken("custom_param");
								if (global::UmbrellaDesign.Window1.<>o__23.<>p__33 == null)
								{
									global::UmbrellaDesign.Window1.<>o__23.<>p__33 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.UnaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.IsTrue, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[] { global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null) }));
								}
								global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool> target8 = global::UmbrellaDesign.Window1.<>o__23.<>p__33.Target;
								global::System.Runtime.CompilerServices.CallSite <>p__8 = global::UmbrellaDesign.Window1.<>o__23.<>p__33;
								if (global::UmbrellaDesign.Window1.<>o__23.<>p__32 == null)
								{
									global::UmbrellaDesign.Window1.<>o__23.<>p__32 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.BinaryOperation(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.None, global::System.Linq.Expressions.ExpressionType.NotEqual, typeof(global::UmbrellaDesign.Window1), new global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo[]
									{
										global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.None, null),
										global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo.Create(global::Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfoFlags.Constant, null)
									}));
								}
								if (target8(<>p__8, global::UmbrellaDesign.Window1.<>o__23.<>p__32.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__32, obj17, null)))
								{
									if (global::UmbrellaDesign.Window1.<>o__23.<>p__34 == null)
									{
										global::UmbrellaDesign.Window1.<>o__23.<>p__34 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
									}
									custom_rule.custom_param = global::UmbrellaDesign.Window1.<>o__23.<>p__34.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__34, obj17);
								}
								else
								{
									custom_rule.custom_param = "";
								}
								cheat_info.custom_Rules.Add(custom_rule);
							}
						}
						this.<>4__this.kv_launch[this.<>4__this.cheat_list_box.Items.Count - 1] = cheat_info;
						string cheat_id = global::UmbrellaDesign.Properties.Settings.Default.cheat_id;
						if (global::UmbrellaDesign.Window1.<>o__23.<>p__35 == null)
						{
							global::UmbrellaDesign.Window1.<>o__23.<>p__35 = global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>>.Create(global::Microsoft.CSharp.RuntimeBinder.Binder.Convert(global::Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags.ConvertExplicit, typeof(string), typeof(global::UmbrellaDesign.Window1)));
						}
						if (cheat_id == global::UmbrellaDesign.Window1.<>o__23.<>p__35.Target(global::UmbrellaDesign.Window1.<>o__23.<>p__35, obj2))
						{
							this.<>4__this.sp_update_data.Visibility = global::System.Windows.Visibility.Visible;
							this.<>4__this.sp_status.Visibility = global::System.Windows.Visibility.Visible;
							this.<>4__this.m_update_data.Text = cheat_info.update_date.ToLocalTime().ToString();
							this.<>4__this.m_status.Text = ((cheat_info.status != null) ? cheat_info.status : "UnKnOwN");
							this.<>4__this.m_status_label.Visibility = global::System.Windows.Visibility.Visible;
							this.<>4__this.cheat_list_box.SelectedIndex = this.<>4__this.cheat_list_box.Items.Count - 1;
							continue;
						}
						continue;
						IL_0963:
						cheat_info.os_bit = global::UmbrellaDesign.MainWindow.GetOSBit();
						goto IL_096F;
					}
				}
				if (this.<>4__this.cheat_list_box.SelectedIndex == -1 && this.<>4__this.cheat_list_box.Items.Count > 0)
				{
					this.<>4__this.cheat_list_box.SelectedIndex = 0;
				}
			}

			// Token: 0x0400007F RID: 127
			public global::Newtonsoft.Json.Linq.JObject json_cheat_list;

			// Token: 0x04000080 RID: 128
			public global::UmbrellaDesign.Window1 <>4__this;

			// Token: 0x04000081 RID: 129
			public string CheatName1;

			// Token: 0x04000082 RID: 130
			public string CheatName2;
		}

		// Token: 0x02000012 RID: 18
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private sealed class <>c__DisplayClass38_0
		{
			// Token: 0x0600006B RID: 107 RVA: 0x00002073 File Offset: 0x00000273
			public <>c__DisplayClass38_0()
			{
			}

			// Token: 0x0600006C RID: 108 RVA: 0x0000247F File Offset: 0x0000067F
			internal void <auth_client>b__0()
			{
				if (global::UmbrellaDesign.Window1.connect_client() == 1 && global::UmbrellaDesign.Window1.auth(global::System.Net.WebUtility.UrlEncode(this.s_login), global::System.Net.WebUtility.UrlEncode(this.s_password)) == 0)
				{
					this.<>4__this.updateSubData();
				}
			}

			// Token: 0x04000083 RID: 131
			public string s_login;

			// Token: 0x04000084 RID: 132
			public string s_password;

			// Token: 0x04000085 RID: 133
			public global::UmbrellaDesign.Window1 <>4__this;
		}

		// Token: 0x02000013 RID: 19
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private sealed class <>c__DisplayClass45_0
		{
			// Token: 0x0600006D RID: 109 RVA: 0x00002073 File Offset: 0x00000273
			public <>c__DisplayClass45_0()
			{
			}

			// Token: 0x0600006E RID: 110 RVA: 0x00006534 File Offset: 0x00004734
			internal async global::System.Threading.Tasks.Task <startCustomRules>b__0()
			{
				if (global::UmbrellaDesign.Window1.check_connect() == 1)
				{
					this.info.custom_Rules.Sort((global::UmbrellaDesign.Window1.custom_rule x, global::UmbrellaDesign.Window1.custom_rule y) => x.step.CompareTo(y.step));
					bool bRulesExecuting = true;
					bool bWriteStatus = false;
					bool bShowStep = true;
					bool bAutoClose = true;
					string sCustomLogPre = "";
					global::System.Runtime.CompilerServices.TaskAwaiter taskAwaiter5;
					global::System.Runtime.CompilerServices.TaskAwaiter taskAwaiter6;
					using (global::System.Collections.Generic.List<global::UmbrellaDesign.Window1.custom_rule>.Enumerator enumerator = this.info.custom_Rules.GetEnumerator())
					{
						while (enumerator.MoveNext())
						{
							global::UmbrellaDesign.Window1.<>c__DisplayClass45_1 CS$<>8__locals1 = new global::UmbrellaDesign.Window1.<>c__DisplayClass45_1();
							CS$<>8__locals1.CS$<>8__locals1 = this;
							CS$<>8__locals1.item = enumerator.Current;
							if (bRulesExecuting)
							{
								int num;
								if (bShowStep)
								{
									global::System.Windows.Controls.Primitives.TextBoxBase log_window = this.<>4__this.log_window;
									string text = "Step ";
									num = CS$<>8__locals1.item.step;
									log_window.AppendText(text + num.ToString() + " started...\n");
								}
								string type = CS$<>8__locals1.item.type;
								if (type == null)
								{
									goto IL_0C79;
								}
								num = type.Length;
								switch (num)
								{
								case 6:
								{
									char c = type[0];
									if (c != 'd')
									{
										if (c != 'i')
										{
											goto IL_0C79;
										}
										if (!(type == "inject"))
										{
											goto IL_0C79;
										}
									}
									else if (!(type == "driver"))
									{
										goto IL_0C79;
									}
									if (CS$<>8__locals1.item.target_process != null && CS$<>8__locals1.item.hash != null)
									{
										global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter = global::System.Threading.Tasks.Task.Run<bool>(() => global::UmbrellaDesign.Window1.launch_task(CS$<>8__locals1.item.target_process, CS$<>8__locals1.item.hash, CS$<>8__locals1.item.inject_flags, CS$<>8__locals1.item.custom_param)).GetAwaiter();
										if (!taskAwaiter.IsCompleted)
										{
											await taskAwaiter;
											global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter2;
											taskAwaiter = taskAwaiter2;
											taskAwaiter2 = default(global::System.Runtime.CompilerServices.TaskAwaiter<bool>);
										}
										bool result = taskAwaiter.GetResult();
										if (bWriteStatus)
										{
											bWriteStatus = false;
											this.<>4__this.log_window.AppendText(sCustomLogPre + result.ToString() + "\n");
											sCustomLogPre = "";
										}
										if (result)
										{
											bRulesExecuting = false;
										}
									}
									else
									{
										this.<>4__this.log_window.AppendText("#Unknown error[inject]#\n");
									}
									break;
								}
								case 7:
								case 8:
								case 9:
								case 0xB:
								case 0xF:
								case 0x12:
									goto IL_0C79;
								case 0xA:
								{
									if (!(type == "custom_log"))
									{
										goto IL_0C79;
									}
									global::System.Windows.Documents.TextRange textRange = new global::System.Windows.Documents.TextRange(this.<>4__this.log_window.Document.ContentEnd, this.<>4__this.log_window.Document.ContentEnd);
									textRange.Text = CS$<>8__locals1.item.target_process;
									if (CS$<>8__locals1.item.custom_param.Length > 0)
									{
										textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.ForegroundProperty, (global::System.Windows.Media.Brush)new global::System.Windows.Media.BrushConverter().ConvertFrom(CS$<>8__locals1.item.custom_param));
									}
									textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.FontWeightProperty, global::System.Windows.FontWeights.Normal);
									break;
								}
								case 0xC:
								{
									char c = type[0];
									if (c != 'c')
									{
										if (c != 'k')
										{
											if (c != 'w')
											{
												goto IL_0C79;
											}
											if (!(type == "wait_process"))
											{
												goto IL_0C79;
											}
											if (CS$<>8__locals1.item.target_process != null)
											{
												global::UmbrellaDesign.Window1.<>c__DisplayClass45_2 CS$<>8__locals2 = new global::UmbrellaDesign.Window1.<>c__DisplayClass45_2();
												CS$<>8__locals2.count_process = 1;
												CS$<>8__locals2.timeout = 0;
												if (CS$<>8__locals1.item.target_process.IndexOf("#") != -1)
												{
													CS$<>8__locals2._target_process = CS$<>8__locals1.item.target_process.Substring(0, CS$<>8__locals1.item.target_process.IndexOf("#"));
													string text2 = CS$<>8__locals1.item.target_process.Substring(CS$<>8__locals1.item.target_process.IndexOf("#") + 1);
													if (text2.IndexOf("@") != -1)
													{
														CS$<>8__locals2.count_process = int.Parse(text2.Substring(0, text2.IndexOf("@")));
														CS$<>8__locals2.timeout = int.Parse(text2.Substring(text2.IndexOf("@") + 1));
													}
													else
													{
														CS$<>8__locals2.count_process = int.Parse(text2);
													}
												}
												else
												{
													CS$<>8__locals2._target_process = CS$<>8__locals1.item.target_process;
												}
												string _target_process_name = CS$<>8__locals2._target_process;
												if (CS$<>8__locals2._target_process.IndexOf("|") != -1)
												{
													_target_process_name = CS$<>8__locals2._target_process.Substring(CS$<>8__locals2._target_process.IndexOf("|") + 1);
													CS$<>8__locals2._target_process = CS$<>8__locals2._target_process.Substring(0, CS$<>8__locals2._target_process.IndexOf("|"));
												}
												if (_target_process_name != "")
												{
													this.<>4__this.log_window.AppendText("Waiting for the start of the process: " + _target_process_name + ((CS$<>8__locals2.timeout == 0) ? "\n" : (" for " + global::System.Convert.ToInt32(CS$<>8__locals2.timeout / 0x3E8).ToString())) + " seconds\n");
												}
												else
												{
													this.<>4__this.log_window.AppendText("Waiting for the start of the process\n");
												}
												global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter = global::System.Threading.Tasks.Task.Run<bool>(() => global::UmbrellaDesign.Window1.wait_process(CS$<>8__locals2._target_process, CS$<>8__locals2.count_process, CS$<>8__locals2.timeout)).GetAwaiter();
												if (!taskAwaiter.IsCompleted)
												{
													await taskAwaiter;
													global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter2;
													taskAwaiter = taskAwaiter2;
													taskAwaiter2 = default(global::System.Runtime.CompilerServices.TaskAwaiter<bool>);
												}
												if (taskAwaiter.GetResult())
												{
													this.<>4__this.log_window.AppendText("Process found!\n");
												}
												else
												{
													if (_target_process_name != "")
													{
														this.<>4__this.log_window.AppendText("Process " + _target_process_name + " was not found\n");
													}
													else
													{
														this.<>4__this.log_window.AppendText("Target process was not found\n");
													}
													bRulesExecuting = false;
												}
											}
										}
										else
										{
											if (!(type == "kill_process"))
											{
												goto IL_0C79;
											}
											global::System.Runtime.CompilerServices.TaskAwaiter<int> taskAwaiter3 = global::System.Threading.Tasks.Task.Run<int>(() => global::UmbrellaDesign.Window1.kill_process(CS$<>8__locals1.item.target_process, false)).GetAwaiter();
											if (!taskAwaiter3.IsCompleted)
											{
												await taskAwaiter3;
												global::System.Runtime.CompilerServices.TaskAwaiter<int> taskAwaiter4;
												taskAwaiter3 = taskAwaiter4;
												taskAwaiter4 = default(global::System.Runtime.CompilerServices.TaskAwaiter<int>);
											}
											int result2 = taskAwaiter3.GetResult();
											if (bWriteStatus)
											{
												bWriteStatus = false;
												this.<>4__this.log_window.AppendText(sCustomLogPre + result2.ToString() + "\n");
												sCustomLogPre = "";
											}
											switch (result2)
											{
											case -1:
												bRulesExecuting = false;
												break;
											}
										}
									}
									else
									{
										if (!(type == "custom_sleep"))
										{
											goto IL_0C79;
										}
										taskAwaiter5 = global::System.Threading.Tasks.Task.Delay(int.Parse(CS$<>8__locals1.item.target_process)).GetAwaiter();
										if (!taskAwaiter5.IsCompleted)
										{
											await taskAwaiter5;
											taskAwaiter5 = taskAwaiter6;
											taskAwaiter6 = default(global::System.Runtime.CompilerServices.TaskAwaiter);
										}
										taskAwaiter5.GetResult();
									}
									break;
								}
								case 0xD:
									if (!(type == "launcher_kill"))
									{
										goto IL_0C79;
									}
									this.<>4__this.exit();
									return;
								case 0xE:
								{
									char c = type[0];
									if (c != 'c')
									{
										if (c != 'e')
										{
											if (c != 'p')
											{
												goto IL_0C79;
											}
											if (!(type == "protect_inject"))
											{
												goto IL_0C79;
											}
											if (CS$<>8__locals1.item.target_process != null && CS$<>8__locals1.item.hash != null)
											{
												global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter = global::System.Threading.Tasks.Task.Run<bool>(() => global::UmbrellaDesign.Window1.launch_game((CS$<>8__locals1.CS$<>8__locals1.param != null) ? CS$<>8__locals1.CS$<>8__locals1.param : "", CS$<>8__locals1.item.hash, CS$<>8__locals1.item.target_process)).GetAwaiter();
												if (!taskAwaiter.IsCompleted)
												{
													await taskAwaiter;
													global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter2;
													taskAwaiter = taskAwaiter2;
													taskAwaiter2 = default(global::System.Runtime.CompilerServices.TaskAwaiter<bool>);
												}
												bool result3 = taskAwaiter.GetResult();
												if (bWriteStatus)
												{
													bWriteStatus = false;
													this.<>4__this.log_window.AppendText(sCustomLogPre + result3.ToString() + "\n");
													sCustomLogPre = "";
												}
												if (result3)
												{
													bRulesExecuting = false;
												}
											}
											else
											{
												this.<>4__this.log_window.AppendText("#Unknown error[protect_inject]#\n");
											}
										}
										else
										{
											if (!(type == "exclude_driver"))
											{
												goto IL_0C79;
											}
											global::System.Runtime.CompilerServices.TaskAwaiter<int> taskAwaiter3 = global::System.Threading.Tasks.Task.Run<int>(() => global::UmbrellaDesign.Window1.check_driver(CS$<>8__locals1.item.target_process, true)).GetAwaiter();
											if (!taskAwaiter3.IsCompleted)
											{
												await taskAwaiter3;
												global::System.Runtime.CompilerServices.TaskAwaiter<int> taskAwaiter4;
												taskAwaiter3 = taskAwaiter4;
												taskAwaiter4 = default(global::System.Runtime.CompilerServices.TaskAwaiter<int>);
											}
											int result4 = taskAwaiter3.GetResult();
											if (bWriteStatus)
											{
												bWriteStatus = false;
												this.<>4__this.log_window.AppendText(sCustomLogPre + result4.ToString() + "\n");
												sCustomLogPre = "";
											}
											switch (result4)
											{
											case -1:
												this.<>4__this.log_window.AppendText("#Unknown error checking driver availability#\n");
												bRulesExecuting = false;
												break;
											case 1:
												this.<>4__this.log_window.AppendText("[ALERT] Need to unload driver: " + CS$<>8__locals1.item.name + "\n");
												bRulesExecuting = false;
												break;
											}
										}
									}
									else
									{
										if (!(type == "custom_log_pre"))
										{
											goto IL_0C79;
										}
										sCustomLogPre = CS$<>8__locals1.item.target_process;
										bWriteStatus = true;
									}
									break;
								}
								case 0x10:
									if (!(type == "enabled_next_log"))
									{
										goto IL_0C79;
									}
									bWriteStatus = true;
									break;
								case 0x11:
									if (!(type == "protect_inject_v2"))
									{
										goto IL_0C79;
									}
									if (CS$<>8__locals1.item.target_process != null && CS$<>8__locals1.item.hash != null)
									{
										global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter = global::System.Threading.Tasks.Task.Run<bool>(() => global::UmbrellaDesign.Window1.launch_game_v2((CS$<>8__locals1.CS$<>8__locals1.param != null) ? CS$<>8__locals1.CS$<>8__locals1.param : "", CS$<>8__locals1.item.hash, CS$<>8__locals1.item.target_process)).GetAwaiter();
										if (!taskAwaiter.IsCompleted)
										{
											await taskAwaiter;
											global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter2;
											taskAwaiter = taskAwaiter2;
											taskAwaiter2 = default(global::System.Runtime.CompilerServices.TaskAwaiter<bool>);
										}
										bool result5 = taskAwaiter.GetResult();
										if (bWriteStatus)
										{
											bWriteStatus = false;
											this.<>4__this.log_window.AppendText(sCustomLogPre + result5.ToString() + "\n");
											sCustomLogPre = "";
										}
										if (result5)
										{
											bRulesExecuting = false;
										}
									}
									else
									{
										this.<>4__this.log_window.AppendText("#Unknown error[protect_inject]#\n");
									}
									break;
								case 0x13:
									if (!(type == "toggle_visible_step"))
									{
										goto IL_0C79;
									}
									bShowStep = ((CS$<>8__locals1.item.target_process == "") ? (!bShowStep) : global::System.Convert.ToBoolean(CS$<>8__locals1.item.target_process));
									break;
								default:
									if (num != 0x1A)
									{
										goto IL_0C79;
									}
									if (!(type == "toggle_auto_close_launcher"))
									{
										goto IL_0C79;
									}
									bAutoClose = ((CS$<>8__locals1.item.target_process == "") ? (!bAutoClose) : global::System.Convert.ToBoolean(CS$<>8__locals1.item.target_process));
									break;
								}
								IL_0C8E:
								taskAwaiter5 = global::System.Threading.Tasks.Task.Delay(0x190).GetAwaiter();
								if (!taskAwaiter5.IsCompleted)
								{
									await taskAwaiter5;
									taskAwaiter5 = taskAwaiter6;
									taskAwaiter6 = default(global::System.Runtime.CompilerServices.TaskAwaiter);
								}
								taskAwaiter5.GetResult();
								goto IL_024F;
								IL_0C79:
								this.<>4__this.log_window.AppendText("#Unknown Error#\n");
								goto IL_0C8E;
							}
							IL_024F:
							CS$<>8__locals1 = null;
						}
					}
					global::System.Collections.Generic.List<global::UmbrellaDesign.Window1.custom_rule>.Enumerator enumerator = default(global::System.Collections.Generic.List<global::UmbrellaDesign.Window1.custom_rule>.Enumerator);
					taskAwaiter5 = global::System.Threading.Tasks.Task.Delay(0x3E8).GetAwaiter();
					if (!taskAwaiter5.IsCompleted)
					{
						await taskAwaiter5;
						taskAwaiter5 = taskAwaiter6;
						taskAwaiter6 = default(global::System.Runtime.CompilerServices.TaskAwaiter);
					}
					taskAwaiter5.GetResult();
					if (bRulesExecuting && bAutoClose)
					{
						this.<>4__this.exit();
					}
					sCustomLogPre = null;
				}
				else
				{
					new global::UmbrellaDesign.MainWindow().Show();
					this.<>4__this.Close();
				}
				global::System.Windows.Threading.Dispatcher dispatcher = this.<>4__this.Dispatcher;
				global::System.Action action;
				if ((action = this.<>9__1) == null)
				{
					global::System.Action action2 = delegate
					{
						this.<>4__this.start_game_btn.IsEnabled = true;
						this.<>4__this.loading_ico.Visibility = global::System.Windows.Visibility.Collapsed;
					};
					this.<>9__1 = action2;
					action = action2;
				}
				dispatcher.InvokeAsync(action);
			}

			// Token: 0x0600006F RID: 111 RVA: 0x000024B1 File Offset: 0x000006B1
			internal void <startCustomRules>b__1()
			{
				this.<>4__this.start_game_btn.IsEnabled = true;
				this.<>4__this.loading_ico.Visibility = global::System.Windows.Visibility.Collapsed;
			}

			// Token: 0x04000086 RID: 134
			public global::UmbrellaDesign.Window1.cheat_info info;

			// Token: 0x04000087 RID: 135
			public global::UmbrellaDesign.Window1 <>4__this;

			// Token: 0x04000088 RID: 136
			public string param;

			// Token: 0x04000089 RID: 137
			public global::System.Action <>9__1;

			// Token: 0x02000014 RID: 20
			[global::System.Runtime.InteropServices.StructLayout(global::System.Runtime.InteropServices.LayoutKind.Auto)]
			private struct <<startCustomRules>b__0>d : global::System.Runtime.CompilerServices.IAsyncStateMachine
			{
				// Token: 0x06000070 RID: 112 RVA: 0x00006578 File Offset: 0x00004778
				void global::System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()
				{
					int num = this.<>1__state;
					global::UmbrellaDesign.Window1.<>c__DisplayClass45_0 CS$<>8__locals1 = this.<>4__this;
					try
					{
						global::System.Runtime.CompilerServices.TaskAwaiter taskAwaiter;
						if (num > 7)
						{
							if (num == 8)
							{
								taskAwaiter = this.<>u__2;
								this.<>u__2 = default(global::System.Runtime.CompilerServices.TaskAwaiter);
								int num2 = -1;
								num = -1;
								this.<>1__state = num2;
								goto IL_0E49;
							}
							if (global::UmbrellaDesign.Window1.check_connect() != 1)
							{
								new global::UmbrellaDesign.MainWindow().Show();
								CS$<>8__locals1.<>4__this.Close();
								goto IL_0E71;
							}
							CS$<>8__locals1.info.custom_Rules.Sort((global::UmbrellaDesign.Window1.custom_rule x, global::UmbrellaDesign.Window1.custom_rule y) => x.step.CompareTo(y.step));
							this.<bRulesExecuting>5__2 = true;
							this.<bWriteStatus>5__3 = false;
							this.<bShowStep>5__4 = true;
							this.<bAutoClose>5__5 = true;
							this.<sCustomLogPre>5__6 = "";
							this.<>7__wrap6 = CS$<>8__locals1.info.custom_Rules.GetEnumerator();
						}
						try
						{
							global::System.Runtime.CompilerServices.TaskAwaiter<bool> taskAwaiter2;
							global::System.Runtime.CompilerServices.TaskAwaiter<int> taskAwaiter3;
							switch (num)
							{
							case 0:
							{
								taskAwaiter2 = this.<>u__1;
								this.<>u__1 = default(global::System.Runtime.CompilerServices.TaskAwaiter<bool>);
								int num3 = -1;
								num = -1;
								this.<>1__state = num3;
								goto IL_03E5;
							}
							case 1:
							{
								taskAwaiter2 = this.<>u__1;
								this.<>u__1 = default(global::System.Runtime.CompilerServices.TaskAwaiter<bool>);
								int num4 = -1;
								num = -1;
								this.<>1__state = num4;
								goto IL_0996;
							}
							case 2:
							{
								taskAwaiter2 = this.<>u__1;
								this.<>u__1 = default(global::System.Runtime.CompilerServices.TaskAwaiter<bool>);
								int num5 = -1;
								num = -1;
								this.<>1__state = num5;
								goto IL_0BB7;
							}
							case 3:
							{
								taskAwaiter = this.<>u__2;
								this.<>u__2 = default(global::System.Runtime.CompilerServices.TaskAwaiter);
								int num6 = -1;
								num = -1;
								this.<>1__state = num6;
								goto IL_08EC;
							}
							case 4:
							{
								taskAwaiter2 = this.<>u__1;
								this.<>u__1 = default(global::System.Runtime.CompilerServices.TaskAwaiter<bool>);
								int num7 = -1;
								num = -1;
								this.<>1__state = num7;
								goto IL_0789;
							}
							case 5:
							{
								taskAwaiter3 = this.<>u__3;
								this.<>u__3 = default(global::System.Runtime.CompilerServices.TaskAwaiter<int>);
								int num8 = -1;
								num = -1;
								this.<>1__state = num8;
								goto IL_0A46;
							}
							case 6:
							{
								taskAwaiter3 = this.<>u__3;
								this.<>u__3 = default(global::System.Runtime.CompilerServices.TaskAwaiter<int>);
								int num9 = -1;
								num = -1;
								this.<>1__state = num9;
								goto IL_083F;
							}
							case 7:
							{
								taskAwaiter = this.<>u__2;
								this.<>u__2 = default(global::System.Runtime.CompilerServices.TaskAwaiter);
								int num10 = -1;
								num = -1;
								this.<>1__state = num10;
								goto IL_0CAB;
							}
							}
							IL_020A:
							if (!this.<>7__wrap6.MoveNext())
							{
								goto IL_0DFF;
							}
							this.<>8__1 = new global::UmbrellaDesign.Window1.<>c__DisplayClass45_1();
							this.<>8__1.CS$<>8__locals1 = CS$<>8__locals1;
							this.<>8__1.item = this.<>7__wrap6.Current;
							if (this.<bRulesExecuting>5__2)
							{
								if (this.<bShowStep>5__4)
								{
									global::System.Windows.Controls.Primitives.TextBoxBase log_window = CS$<>8__locals1.<>4__this.log_window;
									string text = "Step ";
									int num11 = this.<>8__1.item.step;
									log_window.AppendText(text + num11.ToString() + " started...\n");
								}
								string type = this.<>8__1.item.type;
								if (type != null)
								{
									int num11 = type.Length;
									switch (num11)
									{
									case 6:
									{
										char c = type[0];
										if (c != 'd')
										{
											if (c != 'i')
											{
												break;
											}
											if (!(type == "inject"))
											{
												break;
											}
										}
										else if (!(type == "driver"))
										{
											break;
										}
										if (this.<>8__1.item.target_process == null || this.<>8__1.item.hash == null)
										{
											CS$<>8__locals1.<>4__this.log_window.AppendText("#Unknown error[inject]#\n");
											goto IL_0C8E;
										}
										taskAwaiter2 = global::System.Threading.Tasks.Task.Run<bool>(() => global::UmbrellaDesign.Window1.launch_task(this.<>8__1.item.target_process, this.<>8__1.item.hash, this.<>8__1.item.inject_flags, this.<>8__1.item.custom_param)).GetAwaiter();
										if (taskAwaiter2.IsCompleted)
										{
											goto IL_03E5;
										}
										int num12 = 0;
										num = 0;
										this.<>1__state = num12;
										this.<>u__1 = taskAwaiter2;
										this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter<bool>, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter2, ref this);
										return;
									}
									case 7:
									case 8:
									case 9:
									case 0xB:
									case 0xF:
									case 0x12:
										break;
									case 0xA:
										if (type == "custom_log")
										{
											global::System.Windows.Documents.TextRange textRange = new global::System.Windows.Documents.TextRange(CS$<>8__locals1.<>4__this.log_window.Document.ContentEnd, CS$<>8__locals1.<>4__this.log_window.Document.ContentEnd);
											textRange.Text = this.<>8__1.item.target_process;
											if (this.<>8__1.item.custom_param.Length > 0)
											{
												textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.ForegroundProperty, (global::System.Windows.Media.Brush)new global::System.Windows.Media.BrushConverter().ConvertFrom(this.<>8__1.item.custom_param));
											}
											textRange.ApplyPropertyValue(global::System.Windows.Documents.TextElement.FontWeightProperty, global::System.Windows.FontWeights.Normal);
											goto IL_0C8E;
										}
										break;
									case 0xC:
									{
										char c = type[0];
										if (c != 'c')
										{
											if (c != 'k')
											{
												if (c == 'w')
												{
													if (type == "wait_process")
													{
														if (this.<>8__1.item.target_process == null)
														{
															goto IL_0C8E;
														}
														global::UmbrellaDesign.Window1.<>c__DisplayClass45_2 CS$<>8__locals2 = new global::UmbrellaDesign.Window1.<>c__DisplayClass45_2();
														CS$<>8__locals2.count_process = 1;
														CS$<>8__locals2.timeout = 0;
														if (this.<>8__1.item.target_process.IndexOf("#") != -1)
														{
															CS$<>8__locals2._target_process = this.<>8__1.item.target_process.Substring(0, this.<>8__1.item.target_process.IndexOf("#"));
															string text2 = this.<>8__1.item.target_process.Substring(this.<>8__1.item.target_process.IndexOf("#") + 1);
															if (text2.IndexOf("@") != -1)
															{
																CS$<>8__locals2.count_process = int.Parse(text2.Substring(0, text2.IndexOf("@")));
																CS$<>8__locals2.timeout = int.Parse(text2.Substring(text2.IndexOf("@") + 1));
															}
															else
															{
																CS$<>8__locals2.count_process = int.Parse(text2);
															}
														}
														else
														{
															CS$<>8__locals2._target_process = this.<>8__1.item.target_process;
														}
														this.<_target_process_name>5__8 = CS$<>8__locals2._target_process;
														if (CS$<>8__locals2._target_process.IndexOf("|") != -1)
														{
															this.<_target_process_name>5__8 = CS$<>8__locals2._target_process.Substring(CS$<>8__locals2._target_process.IndexOf("|") + 1);
															CS$<>8__locals2._target_process = CS$<>8__locals2._target_process.Substring(0, CS$<>8__locals2._target_process.IndexOf("|"));
														}
														if (this.<_target_process_name>5__8 != "")
														{
															CS$<>8__locals1.<>4__this.log_window.AppendText("Waiting for the start of the process: " + this.<_target_process_name>5__8 + ((CS$<>8__locals2.timeout == 0) ? "\n" : (" for " + global::System.Convert.ToInt32(CS$<>8__locals2.timeout / 0x3E8).ToString())) + " seconds\n");
														}
														else
														{
															CS$<>8__locals1.<>4__this.log_window.AppendText("Waiting for the start of the process\n");
														}
														taskAwaiter2 = global::System.Threading.Tasks.Task.Run<bool>(() => global::UmbrellaDesign.Window1.wait_process(CS$<>8__locals2._target_process, CS$<>8__locals2.count_process, CS$<>8__locals2.timeout)).GetAwaiter();
														if (taskAwaiter2.IsCompleted)
														{
															goto IL_0789;
														}
														int num13 = 4;
														num = 4;
														this.<>1__state = num13;
														this.<>u__1 = taskAwaiter2;
														this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter<bool>, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter2, ref this);
														return;
													}
												}
											}
											else if (type == "kill_process")
											{
												taskAwaiter3 = global::System.Threading.Tasks.Task.Run<int>(() => global::UmbrellaDesign.Window1.kill_process(this.<>8__1.item.target_process, false)).GetAwaiter();
												if (taskAwaiter3.IsCompleted)
												{
													goto IL_083F;
												}
												int num14 = 6;
												num = 6;
												this.<>1__state = num14;
												this.<>u__3 = taskAwaiter3;
												this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter<int>, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter3, ref this);
												return;
											}
										}
										else if (type == "custom_sleep")
										{
											taskAwaiter = global::System.Threading.Tasks.Task.Delay(int.Parse(this.<>8__1.item.target_process)).GetAwaiter();
											if (taskAwaiter.IsCompleted)
											{
												goto IL_08EC;
											}
											int num15 = 3;
											num = 3;
											this.<>1__state = num15;
											this.<>u__2 = taskAwaiter;
											this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter, ref this);
											return;
										}
										break;
									}
									case 0xD:
										if (type == "launcher_kill")
										{
											CS$<>8__locals1.<>4__this.exit();
											goto IL_0EBE;
										}
										break;
									case 0xE:
									{
										char c = type[0];
										if (c != 'c')
										{
											if (c != 'e')
											{
												if (c == 'p')
												{
													if (type == "protect_inject")
													{
														if (this.<>8__1.item.target_process == null || this.<>8__1.item.hash == null)
														{
															CS$<>8__locals1.<>4__this.log_window.AppendText("#Unknown error[protect_inject]#\n");
															goto IL_0C8E;
														}
														taskAwaiter2 = global::System.Threading.Tasks.Task.Run<bool>(() => global::UmbrellaDesign.Window1.launch_game((this.<>8__1.CS$<>8__locals1.param != null) ? this.<>8__1.CS$<>8__locals1.param : "", this.<>8__1.item.hash, this.<>8__1.item.target_process)).GetAwaiter();
														if (taskAwaiter2.IsCompleted)
														{
															goto IL_0996;
														}
														int num16 = 1;
														num = 1;
														this.<>1__state = num16;
														this.<>u__1 = taskAwaiter2;
														this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter<bool>, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter2, ref this);
														return;
													}
												}
											}
											else if (type == "exclude_driver")
											{
												taskAwaiter3 = global::System.Threading.Tasks.Task.Run<int>(() => global::UmbrellaDesign.Window1.check_driver(this.<>8__1.item.target_process, true)).GetAwaiter();
												if (taskAwaiter3.IsCompleted)
												{
													goto IL_0A46;
												}
												int num17 = 5;
												num = 5;
												this.<>1__state = num17;
												this.<>u__3 = taskAwaiter3;
												this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter<int>, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter3, ref this);
												return;
											}
										}
										else if (type == "custom_log_pre")
										{
											this.<sCustomLogPre>5__6 = this.<>8__1.item.target_process;
											this.<bWriteStatus>5__3 = true;
											goto IL_0C8E;
										}
										break;
									}
									case 0x10:
										if (type == "enabled_next_log")
										{
											this.<bWriteStatus>5__3 = true;
											goto IL_0C8E;
										}
										break;
									case 0x11:
										if (type == "protect_inject_v2")
										{
											if (this.<>8__1.item.target_process == null || this.<>8__1.item.hash == null)
											{
												CS$<>8__locals1.<>4__this.log_window.AppendText("#Unknown error[protect_inject]#\n");
												goto IL_0C8E;
											}
											taskAwaiter2 = global::System.Threading.Tasks.Task.Run<bool>(() => global::UmbrellaDesign.Window1.launch_game_v2((this.<>8__1.CS$<>8__locals1.param != null) ? this.<>8__1.CS$<>8__locals1.param : "", this.<>8__1.item.hash, this.<>8__1.item.target_process)).GetAwaiter();
											if (taskAwaiter2.IsCompleted)
											{
												goto IL_0BB7;
											}
											int num18 = 2;
											num = 2;
											this.<>1__state = num18;
											this.<>u__1 = taskAwaiter2;
											this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter<bool>, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter2, ref this);
											return;
										}
										break;
									case 0x13:
										if (type == "toggle_visible_step")
										{
											this.<bShowStep>5__4 = ((this.<>8__1.item.target_process == "") ? (!this.<bShowStep>5__4) : global::System.Convert.ToBoolean(this.<>8__1.item.target_process));
											goto IL_0C8E;
										}
										break;
									default:
										if (num11 == 0x1A)
										{
											if (type == "toggle_auto_close_launcher")
											{
												this.<bAutoClose>5__5 = ((this.<>8__1.item.target_process == "") ? (!this.<bAutoClose>5__5) : global::System.Convert.ToBoolean(this.<>8__1.item.target_process));
												goto IL_0C8E;
											}
										}
										break;
									}
								}
								CS$<>8__locals1.<>4__this.log_window.AppendText("#Unknown Error#\n");
								goto IL_0C8E;
							}
							IL_024F:
							this.<>8__1 = null;
							goto IL_020A;
							IL_03E5:
							bool result = taskAwaiter2.GetResult();
							if (this.<bWriteStatus>5__3)
							{
								this.<bWriteStatus>5__3 = false;
								CS$<>8__locals1.<>4__this.log_window.AppendText(this.<sCustomLogPre>5__6 + result.ToString() + "\n");
								this.<sCustomLogPre>5__6 = "";
							}
							if (result)
							{
								this.<bRulesExecuting>5__2 = false;
								goto IL_0C8E;
							}
							goto IL_0C8E;
							IL_0789:
							if (taskAwaiter2.GetResult())
							{
								CS$<>8__locals1.<>4__this.log_window.AppendText("Process found!\n");
								goto IL_0C8E;
							}
							if (this.<_target_process_name>5__8 != "")
							{
								CS$<>8__locals1.<>4__this.log_window.AppendText("Process " + this.<_target_process_name>5__8 + " was not found\n");
							}
							else
							{
								CS$<>8__locals1.<>4__this.log_window.AppendText("Target process was not found\n");
							}
							this.<bRulesExecuting>5__2 = false;
							goto IL_0C8E;
							IL_083F:
							int result2 = taskAwaiter3.GetResult();
							if (this.<bWriteStatus>5__3)
							{
								this.<bWriteStatus>5__3 = false;
								CS$<>8__locals1.<>4__this.log_window.AppendText(this.<sCustomLogPre>5__6 + result2.ToString() + "\n");
								this.<sCustomLogPre>5__6 = "";
							}
							switch (result2)
							{
							case -1:
								this.<bRulesExecuting>5__2 = false;
								goto IL_0C8E;
							case 0:
							case 1:
								goto IL_0C8E;
							default:
								goto IL_0C8E;
							}
							IL_08EC:
							taskAwaiter.GetResult();
							goto IL_0C8E;
							IL_0996:
							bool result3 = taskAwaiter2.GetResult();
							if (this.<bWriteStatus>5__3)
							{
								this.<bWriteStatus>5__3 = false;
								CS$<>8__locals1.<>4__this.log_window.AppendText(this.<sCustomLogPre>5__6 + result3.ToString() + "\n");
								this.<sCustomLogPre>5__6 = "";
							}
							if (result3)
							{
								this.<bRulesExecuting>5__2 = false;
								goto IL_0C8E;
							}
							goto IL_0C8E;
							IL_0A46:
							int result4 = taskAwaiter3.GetResult();
							if (this.<bWriteStatus>5__3)
							{
								this.<bWriteStatus>5__3 = false;
								CS$<>8__locals1.<>4__this.log_window.AppendText(this.<sCustomLogPre>5__6 + result4.ToString() + "\n");
								this.<sCustomLogPre>5__6 = "";
							}
							switch (result4)
							{
							case -1:
								CS$<>8__locals1.<>4__this.log_window.AppendText("#Unknown error checking driver availability#\n");
								this.<bRulesExecuting>5__2 = false;
								goto IL_0C8E;
							case 0:
								goto IL_0C8E;
							case 1:
								CS$<>8__locals1.<>4__this.log_window.AppendText("[ALERT] Need to unload driver: " + this.<>8__1.item.name + "\n");
								this.<bRulesExecuting>5__2 = false;
								goto IL_0C8E;
							default:
								goto IL_0C8E;
							}
							IL_0BB7:
							bool result5 = taskAwaiter2.GetResult();
							if (this.<bWriteStatus>5__3)
							{
								this.<bWriteStatus>5__3 = false;
								CS$<>8__locals1.<>4__this.log_window.AppendText(this.<sCustomLogPre>5__6 + result5.ToString() + "\n");
								this.<sCustomLogPre>5__6 = "";
							}
							if (result5)
							{
								this.<bRulesExecuting>5__2 = false;
							}
							IL_0C8E:
							taskAwaiter = global::System.Threading.Tasks.Task.Delay(0x190).GetAwaiter();
							if (!taskAwaiter.IsCompleted)
							{
								int num19 = 7;
								num = 7;
								this.<>1__state = num19;
								this.<>u__2 = taskAwaiter;
								this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter, ref this);
								return;
							}
							IL_0CAB:
							taskAwaiter.GetResult();
							goto IL_024F;
						}
						finally
						{
							if (num < 0)
							{
								((global::System.IDisposable)this.<>7__wrap6).Dispose();
							}
						}
						IL_0DFF:
						this.<>7__wrap6 = default(global::System.Collections.Generic.List<global::UmbrellaDesign.Window1.custom_rule>.Enumerator);
						taskAwaiter = global::System.Threading.Tasks.Task.Delay(0x3E8).GetAwaiter();
						if (!taskAwaiter.IsCompleted)
						{
							int num20 = 8;
							num = 8;
							this.<>1__state = num20;
							this.<>u__2 = taskAwaiter;
							this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter, global::UmbrellaDesign.Window1.<>c__DisplayClass45_0.<<startCustomRules>b__0>d>(ref taskAwaiter, ref this);
							return;
						}
						IL_0E49:
						taskAwaiter.GetResult();
						if (this.<bRulesExecuting>5__2 & this.<bAutoClose>5__5)
						{
							CS$<>8__locals1.<>4__this.exit();
						}
						this.<sCustomLogPre>5__6 = null;
						IL_0E71:
						global::System.Windows.Threading.Dispatcher dispatcher = CS$<>8__locals1.<>4__this.Dispatcher;
						global::System.Action action;
						if ((action = CS$<>8__locals1.<>9__1) == null)
						{
							action = (CS$<>8__locals1.<>9__1 = delegate
							{
								CS$<>8__locals1.<>4__this.start_game_btn.IsEnabled = true;
								CS$<>8__locals1.<>4__this.loading_ico.Visibility = global::System.Windows.Visibility.Collapsed;
							});
						}
						dispatcher.InvokeAsync(action);
					}
					catch (global::System.Exception ex)
					{
						this.<>1__state = -2;
						this.<>t__builder.SetException(ex);
						return;
					}
					IL_0EBE:
					this.<>1__state = -2;
					this.<>t__builder.SetResult();
				}

				// Token: 0x06000071 RID: 113 RVA: 0x000024D5 File Offset: 0x000006D5
				void global::System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine(global::System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
				{
					this.<>t__builder.SetStateMachine(stateMachine);
				}

				// Token: 0x0400008A RID: 138
				public int <>1__state;

				// Token: 0x0400008B RID: 139
				public global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder <>t__builder;

				// Token: 0x0400008C RID: 140
				public global::UmbrellaDesign.Window1.<>c__DisplayClass45_0 <>4__this;

				// Token: 0x0400008D RID: 141
				private global::UmbrellaDesign.Window1.<>c__DisplayClass45_1 <>8__1;

				// Token: 0x0400008E RID: 142
				private bool <bRulesExecuting>5__2;

				// Token: 0x0400008F RID: 143
				private bool <bWriteStatus>5__3;

				// Token: 0x04000090 RID: 144
				private bool <bShowStep>5__4;

				// Token: 0x04000091 RID: 145
				private bool <bAutoClose>5__5;

				// Token: 0x04000092 RID: 146
				private string <sCustomLogPre>5__6;

				// Token: 0x04000093 RID: 147
				private global::System.Collections.Generic.List<global::UmbrellaDesign.Window1.custom_rule>.Enumerator <>7__wrap6;

				// Token: 0x04000094 RID: 148
				private global::System.Runtime.CompilerServices.TaskAwaiter<bool> <>u__1;

				// Token: 0x04000095 RID: 149
				private global::System.Runtime.CompilerServices.TaskAwaiter <>u__2;

				// Token: 0x04000096 RID: 150
				private string <_target_process_name>5__8;

				// Token: 0x04000097 RID: 151
				private global::System.Runtime.CompilerServices.TaskAwaiter<int> <>u__3;
			}
		}

		// Token: 0x02000015 RID: 21
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private sealed class <>c__DisplayClass45_1
		{
			// Token: 0x06000072 RID: 114 RVA: 0x00002073 File Offset: 0x00000273
			public <>c__DisplayClass45_1()
			{
			}

			// Token: 0x06000073 RID: 115 RVA: 0x000024E3 File Offset: 0x000006E3
			internal bool <startCustomRules>b__3()
			{
				return global::UmbrellaDesign.Window1.launch_task(this.item.target_process, this.item.hash, this.item.inject_flags, this.item.custom_param);
			}

			// Token: 0x06000074 RID: 116 RVA: 0x00002516 File Offset: 0x00000716
			internal bool <startCustomRules>b__4()
			{
				return global::UmbrellaDesign.Window1.launch_game((this.CS$<>8__locals1.param != null) ? this.CS$<>8__locals1.param : "", this.item.hash, this.item.target_process);
			}

			// Token: 0x06000075 RID: 117 RVA: 0x00002552 File Offset: 0x00000752
			internal bool <startCustomRules>b__5()
			{
				return global::UmbrellaDesign.Window1.launch_game_v2((this.CS$<>8__locals1.param != null) ? this.CS$<>8__locals1.param : "", this.item.hash, this.item.target_process);
			}

			// Token: 0x06000076 RID: 118 RVA: 0x0000258E File Offset: 0x0000078E
			internal int <startCustomRules>b__7()
			{
				return global::UmbrellaDesign.Window1.check_driver(this.item.target_process, true);
			}

			// Token: 0x06000077 RID: 119 RVA: 0x000025A1 File Offset: 0x000007A1
			internal int <startCustomRules>b__8()
			{
				return global::UmbrellaDesign.Window1.kill_process(this.item.target_process, false);
			}

			// Token: 0x04000098 RID: 152
			public global::UmbrellaDesign.Window1.custom_rule item;

			// Token: 0x04000099 RID: 153
			public global::UmbrellaDesign.Window1.<>c__DisplayClass45_0 CS$<>8__locals1;
		}

		// Token: 0x02000016 RID: 22
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private sealed class <>c__DisplayClass45_2
		{
			// Token: 0x06000078 RID: 120 RVA: 0x00002073 File Offset: 0x00000273
			public <>c__DisplayClass45_2()
			{
			}

			// Token: 0x06000079 RID: 121 RVA: 0x000025B4 File Offset: 0x000007B4
			internal bool <startCustomRules>b__6()
			{
				return global::UmbrellaDesign.Window1.wait_process(this._target_process, this.count_process, this.timeout);
			}

			// Token: 0x0400009A RID: 154
			public string _target_process;

			// Token: 0x0400009B RID: 155
			public int count_process;

			// Token: 0x0400009C RID: 156
			public int timeout;
		}

		// Token: 0x02000017 RID: 23
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private sealed class <>c__DisplayClass46_0
		{
			// Token: 0x0600007A RID: 122 RVA: 0x00002073 File Offset: 0x00000273
			public <>c__DisplayClass46_0()
			{
			}

			// Token: 0x0600007B RID: 123 RVA: 0x0000748C File Offset: 0x0000568C
			internal void <startGame>b__0()
			{
				if (global::UmbrellaDesign.Window1.check_connect() == 1)
				{
					global::System.Threading.ThreadStart threadStart;
					if ((threadStart = this.<>9__1) == null)
					{
						threadStart = (this.<>9__1 = delegate
						{
							if (!global::UmbrellaDesign.Window1.launch_game((this.param != null) ? this.param : "", this.info.key, this.info.game))
							{
								this.<>4__this.exit();
								return;
							}
							global::System.Windows.Threading.Dispatcher dispatcher = this.<>4__this.Dispatcher;
							global::System.Action action;
							if ((action = this.<>9__2) == null)
							{
								action = (this.<>9__2 = delegate
								{
									this.<>4__this.start_game_btn.IsEnabled = true;
									this.<>4__this.loading_ico.Visibility = global::System.Windows.Visibility.Collapsed;
								});
							}
							dispatcher.InvokeAsync(action);
						});
					}
					new global::System.Threading.Thread(threadStart).Start();
					return;
				}
				new global::UmbrellaDesign.MainWindow().Show();
				this.<>4__this.Close();
			}

			// Token: 0x0600007C RID: 124 RVA: 0x000074E0 File Offset: 0x000056E0
			internal void <startGame>b__1()
			{
				if (!global::UmbrellaDesign.Window1.launch_game((this.param != null) ? this.param : "", this.info.key, this.info.game))
				{
					this.<>4__this.exit();
					return;
				}
				global::System.Windows.Threading.Dispatcher dispatcher = this.<>4__this.Dispatcher;
				global::System.Action action;
				if ((action = this.<>9__2) == null)
				{
					action = (this.<>9__2 = delegate
					{
						this.<>4__this.start_game_btn.IsEnabled = true;
						this.<>4__this.loading_ico.Visibility = global::System.Windows.Visibility.Collapsed;
					});
				}
				dispatcher.InvokeAsync(action);
			}

			// Token: 0x0600007D RID: 125 RVA: 0x000025CD File Offset: 0x000007CD
			internal void <startGame>b__2()
			{
				this.<>4__this.start_game_btn.IsEnabled = true;
				this.<>4__this.loading_ico.Visibility = global::System.Windows.Visibility.Collapsed;
			}

			// Token: 0x0400009D RID: 157
			public string param;

			// Token: 0x0400009E RID: 158
			public global::UmbrellaDesign.Window1.cheat_info info;

			// Token: 0x0400009F RID: 159
			public global::UmbrellaDesign.Window1 <>4__this;

			// Token: 0x040000A0 RID: 160
			public global::System.Action <>9__2;

			// Token: 0x040000A1 RID: 161
			public global::System.Threading.ThreadStart <>9__1;
		}

		// Token: 0x02000018 RID: 24
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		private static class <>o__23
		{
			// Token: 0x040000A2 RID: 162
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>> <>p__0;

			// Token: 0x040000A3 RID: 163
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__1;

			// Token: 0x040000A4 RID: 164
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__2;

			// Token: 0x040000A5 RID: 165
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>> <>p__3;

			// Token: 0x040000A6 RID: 166
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__4;

			// Token: 0x040000A7 RID: 167
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__5;

			// Token: 0x040000A8 RID: 168
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>> <>p__6;

			// Token: 0x040000A9 RID: 169
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__7;

			// Token: 0x040000AA RID: 170
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>> <>p__8;

			// Token: 0x040000AB RID: 171
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__9;

			// Token: 0x040000AC RID: 172
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>> <>p__10;

			// Token: 0x040000AD RID: 173
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__11;

			// Token: 0x040000AE RID: 174
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__12;

			// Token: 0x040000AF RID: 175
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__13;

			// Token: 0x040000B0 RID: 176
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__14;

			// Token: 0x040000B1 RID: 177
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__15;

			// Token: 0x040000B2 RID: 178
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>> <>p__16;

			// Token: 0x040000B3 RID: 179
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__17;

			// Token: 0x040000B4 RID: 180
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>> <>p__18;

			// Token: 0x040000B5 RID: 181
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__19;

			// Token: 0x040000B6 RID: 182
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__20;

			// Token: 0x040000B7 RID: 183
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__21;

			// Token: 0x040000B8 RID: 184
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__22;

			// Token: 0x040000B9 RID: 185
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>> <>p__23;

			// Token: 0x040000BA RID: 186
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__24;

			// Token: 0x040000BB RID: 187
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool, object>> <>p__25;

			// Token: 0x040000BC RID: 188
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__26;

			// Token: 0x040000BD RID: 189
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__27;

			// Token: 0x040000BE RID: 190
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__28;

			// Token: 0x040000BF RID: 191
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>> <>p__29;

			// Token: 0x040000C0 RID: 192
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__30;

			// Token: 0x040000C1 RID: 193
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__31;

			// Token: 0x040000C2 RID: 194
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, object, object>> <>p__32;

			// Token: 0x040000C3 RID: 195
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, bool>> <>p__33;

			// Token: 0x040000C4 RID: 196
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__34;

			// Token: 0x040000C5 RID: 197
			public static global::System.Runtime.CompilerServices.CallSite<global::System.Func<global::System.Runtime.CompilerServices.CallSite, object, string>> <>p__35;
		}

		// Token: 0x02000019 RID: 25
		[global::System.Runtime.CompilerServices.CompilerGenerated]
		[global::System.Runtime.InteropServices.StructLayout(global::System.Runtime.InteropServices.LayoutKind.Auto)]
		private struct <Button_Click>d__40 : global::System.Runtime.CompilerServices.IAsyncStateMachine
		{
			// Token: 0x0600007E RID: 126 RVA: 0x0000755C File Offset: 0x0000575C
			void global::System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext()
			{
				int num = this.<>1__state;
				global::UmbrellaDesign.Window1 window = this.<>4__this;
				try
				{
					global::System.Runtime.CompilerServices.TaskAwaiter awaiter;
					if (num != 0)
					{
						new global::UmbrellaDesign.PromoModal().ShowDialog();
						if (global::UmbrellaDesign.Window1.check_connect() != 1)
						{
							goto IL_00B9;
						}
						window.Dispatcher.InvokeAsync(delegate
						{
							window.cheat_list_box.Items.Clear();
							window.cheat_list_box.Visibility = global::System.Windows.Visibility.Hidden;
							window.sp_status.Visibility = global::System.Windows.Visibility.Visible;
							window.sp_update_data.Visibility = global::System.Windows.Visibility.Collapsed;
							window.m_status_label.Visibility = global::System.Windows.Visibility.Collapsed;
							window.m_status.Text = "UPDATING BUILD LIST";
							window.main_form.IsEnabled = false;
						});
						awaiter = global::System.Threading.Tasks.Task.Delay(0x320).GetAwaiter();
						if (!awaiter.IsCompleted)
						{
							this.<>1__state = 0;
							this.<>u__1 = awaiter;
							this.<>t__builder.AwaitUnsafeOnCompleted<global::System.Runtime.CompilerServices.TaskAwaiter, global::UmbrellaDesign.Window1.<Button_Click>d__40>(ref awaiter, ref this);
							return;
						}
					}
					else
					{
						awaiter = this.<>u__1;
						this.<>u__1 = default(global::System.Runtime.CompilerServices.TaskAwaiter);
						this.<>1__state = -1;
					}
					awaiter.GetResult();
					window.refresh_session();
					window.Dispatcher.InvokeAsync(delegate
					{
						window.cheat_list_box.Visibility = global::System.Windows.Visibility.Visible;
						window.main_form.IsEnabled = true;
					});
					IL_00B9:;
				}
				catch (global::System.Exception ex)
				{
					this.<>1__state = -2;
					this.<>t__builder.SetException(ex);
					return;
				}
				this.<>1__state = -2;
				this.<>t__builder.SetResult();
			}

			// Token: 0x0600007F RID: 127 RVA: 0x000025F1 File Offset: 0x000007F1
			void global::System.Runtime.CompilerServices.IAsyncStateMachine.SetStateMachine(global::System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
			{
				this.<>t__builder.SetStateMachine(stateMachine);
			}

			// Token: 0x040000C6 RID: 198
			public int <>1__state;

			// Token: 0x040000C7 RID: 199
			public global::System.Runtime.CompilerServices.AsyncVoidMethodBuilder <>t__builder;

			// Token: 0x040000C8 RID: 200
			public global::UmbrellaDesign.Window1 <>4__this;

			// Token: 0x040000C9 RID: 201
			private global::System.Runtime.CompilerServices.TaskAwaiter <>u__1;
		}
	}
}
```