示例#1
0
        private static void smethod_1(long long_0)
        {
            int i4;

            string s1 = Application.StartupPath + "\\d3d9hook.dll";
            string s2 = "Kernel32.dll";
            int    i2 = SelectClient.GetModuleHandleA(ref s2);
            int    i3 = (int)SelectClient.OpenProcess(SelectClient.GEnum8.const_1, true, checked ((int)long_0));
            int    i1 = SelectClient.VirtualAllocEx(i3, 0, checked (s1.Length + 1), 4096, 4);
            int    i5 = 0;

            SelectClient.WriteProcessMemory(i3, i1, ref s1, checked (s1.Length + 1), ref i5);
            s2 = "LoadLibraryA";
            SelectClient.CreateRemoteThread(i3, 0, 0, SelectClient.GetProcAddress(i2, ref s2), i1, 0, ref i4);
            i5 = 0;
            SelectClient.VirtualFreeEx(i3, i1, ref i5, 32768);
            SelectClient.CloseHandle(i3);
        }
示例#2
0
        public void method_0()
        {
            List <GClass1.GClass2> .Enumerator enumerator;

            gclass22_0.method_0();
            List <GClass1.GClass2> list = GClass1.list_0;

            try
            {
                enumerator = list.GetEnumerator();
                while (enumerator.MoveNext())
                {
                    SelectClient.Class23 class23 = new SelectClient.Class23(class23);
                    GClass1.GClass2      gclass2 = enumerator.get_Current();
                    gclass22_0.int_0  = (int)GClass22.OpenProcess(GClass22.GEnum3.const_1, true, gclass2.method_0().Id);
                    gclass22_0.long_0 = (long)gclass2.method_0().Id;
                    long l = (long)gclass22_0.method_1(GClass24.int_2, 4);
                    class23.string_0 = gclass22_0.method_5(checked ((int)l), 24);
                    if (Operators.CompareString(class23.string_0, "NOPERSONNAME", false) == 0)
                    {
                        continue;
                    }
                    List <GClass1.GClass2> list1 = GClass1.list_0.FindAll(new Predicate <GClass1.GClass2>(class23, class23.method_0));
                    if (list1.get_Count() == 0)
                    {
                        gclass2.method_5((long)gclass2.method_0().MainWindowHandle);
                        comboItem_0      = new ComboItem();
                        comboItem_0.Text = class23.string_0;
                        GClass6.smethod_0(comboItem_0);
                        vmethod_2().Items.Add(comboItem_0);
                        gclass2.method_7(class23.string_0);
                        vmethod_2().SelectedIndex = 0;
                    }
                    SelectClient.CloseHandle(gclass22_0.int_0);
                }
            }
            finally
            {
                enumerator.Dispose();
            }
        }