Esempio n. 1
0
        // Token: 0x060005D3 RID: 1491 RVA: 0x00034BBC File Offset: 0x00032DBC
        public void clearIpWithPort(int port)
        {
            Process[] processByName = this.GetProcessByName("vip72socks");
            bool      flag          = processByName.Count <Process>() == 0;

            if (!flag)
            {
                uint   id           = (uint)processByName[0].Id;
                IntPtr parentHandle = Vip72Chung.FindWindowInProcess(processByName[0], (string s) => s.StartsWith("VIP72 Socks Client"));
                IntPtr intPtr       = Vip72Chung.ControlGetHandle(parentHandle, "SysListView32", 117);
                int    num          = 0;
                while (ListViewItem1.GetListViewItem(intPtr, id, num, 4) != "")
                {
                    string listViewItem = ListViewItem1.GetListViewItem(intPtr, id, num, 4);
                    bool   flag2        = listViewItem.Contains(port.ToString()) || listViewItem.Contains("main stream");
                    if (flag2)
                    {
                        ListViewItem1.SelectListViewItem(intPtr, id, num);
                        int num2 = 0;
                        Vip72Chung.SendMessageTimeout(intPtr, 256, (IntPtr)46, IntPtr.Zero, 2, 5000, out num2);
                        num--;
                    }
                    num++;
                }
            }
        }
Esempio n. 2
0
        // Token: 0x06000479 RID: 1145 RVA: 0x00029C50 File Offset: 0x00027E50
        public void clearIpWithPort(int port)
        {
            Process[] processByName = this.GetProcessByName("vip72socks");
            bool      flag          = processByName.Count <Process>() == 0;

            if (!flag)
            {
                uint                id       = (uint)processByName[0].Id;
                Process             arg_4D_0 = processByName[0];
                Func <string, bool> arg_4D_1;
                if ((arg_4D_1 = Vip72Chung.< > c.< > 9__34_0) == null)
                {
                    arg_4D_1 = (Vip72Chung.< > c.< > 9__34_0 = new Func <string, bool>(Vip72Chung.< > c.< > 9. < clearIpWithPort > b__34_0));
                }
                IntPtr parentHandle = Vip72Chung.FindWindowInProcess(arg_4D_0, arg_4D_1);
                IntPtr intPtr       = Vip72Chung.ControlGetHandle(parentHandle, "SysListView32", 117);
                int    num          = 0;
                while (ListViewItem1.GetListViewItem(intPtr, id, num, 4) != "")
                {
                    string listViewItem = ListViewItem1.GetListViewItem(intPtr, id, num, 4);
                    bool   flag2        = listViewItem.Contains(port.ToString()) || listViewItem.Contains("main stream");
                    if (flag2)
                    {
                        ListViewItem1.SelectListViewItem(intPtr, id, num);
                        int num2 = 0;
                        Vip72Chung.SendMessageTimeout(intPtr, 256, (IntPtr)46, IntPtr.Zero, 2, 5000, out num2);
                        num--;
                    }
                    num++;
                }
            }
        }
Esempio n. 3
0
 public void clearIpWithPort(int port)
 {
     Process[] processByName = this.GetProcessByName("vip72socks");
     if (processByName.Count <Process>() != 0)
     {
         uint   id      = (uint)processByName[0].Id;
         IntPtr intPtr  = Vip72Chung.FindWindowInProcess(processByName[0], (string s) => s.StartsWith("VIP72 Socks Client"));
         IntPtr intPtr1 = Vip72Chung.ControlGetHandle(intPtr, "SysListView32", 117);
         for (int i = 0; ListViewItem1.GetListViewItem(intPtr1, id, i, 4) != ""; i++)
         {
             string listViewItem = ListViewItem1.GetListViewItem(intPtr1, id, i, 4);
             if ((listViewItem.Contains(port.ToString()) ? true : listViewItem.Contains("main stream")))
             {
                 ListViewItem1.SelectListViewItem(intPtr1, id, i);
                 int num = 0;
                 Vip72Chung.SendMessageTimeout(intPtr1, 256, (IntPtr)46, IntPtr.Zero, 2, 5000, out num);
                 i--;
             }
         }
     }
 }
Esempio n. 4
0
        // Token: 0x06000446 RID: 1094 RVA: 0x00028C54 File Offset: 0x00026E54
        public string clickip(int port)
        {
            bool   hasExited = Vip72.Vip72Process.HasExited;
            string result;

            if (hasExited)
            {
                result = "not running";
            }
            else
            {
                Process             arg_41_0 = Vip72.Vip72Process;
                Func <string, bool> arg_41_1;
                if ((arg_41_1 = Vip72.< > c.< > 9__36_0) == null)
                {
                    arg_41_1 = (Vip72.< > c.< > 9__36_0 = new Func <string, bool>(Vip72.< > c.< > 9. < clickip > b__36_0));
                }
                IntPtr parentHandle  = Vip72.FindWindowInProcess(arg_41_0, arg_41_1);
                int    value         = 4328465;
                int    lpBaseAddress = 4324304;
                IntPtr intPtr        = Vip72.ControlGetHandle(parentHandle, "Button", 7817);
                bool   flag          = Vip72.ControlGetCheck(intPtr);
                if (flag)
                {
                    Vip72.ControlClick(intPtr);
                }
                IntPtr intPtr2  = Vip72.OpenProcess(2035711, false, Vip72.Vip72Process.Id);
                int    num      = 0;
                IntPtr lpBuffer = IntPtr.Zero;
                lpBuffer = Marshal.AllocHGlobal(4);
                Vip72.ReadProcessMemory(intPtr2, (IntPtr)value, lpBuffer, 4, out num);
                Random random  = new Random();
                uint   id      = (uint)Vip72.Vip72Process.Id;
                IntPtr intPtr3 = Vip72.ControlGetHandle(parentHandle, "SysListView32", 117);
                int    num2    = 0;
                while (ListViewItem1.GetListViewItem(intPtr3, id, num2, 4) != "")
                {
                    string listViewItem = ListViewItem1.GetListViewItem(intPtr3, id, num2, 4);
                    bool   flag2        = listViewItem.Contains(port.ToString()) || listViewItem.Contains("main stream");
                    if (flag2)
                    {
                        ListViewItem1.SelectListViewItem(intPtr3, id, num2);
                        int num3 = 0;
                        Vip72.SendMessageTimeout(intPtr3, 256, (IntPtr)46, IntPtr.Zero, 2, 5000, out num3);
                    }
                    else
                    {
                        num2++;
                    }
                }
                num2 = 0;
                IntPtr hwnd = Vip72.ControlGetHandle(parentHandle, "SysListView32", 116);
                while (ListViewItem1.GetListViewItem(hwnd, id, num2, 0) != "")
                {
                    num2++;
                }
                int  num4  = num2;
                bool flag3 = num4 == 0;
                if (flag3)
                {
                    result = "no IP";
                }
                else
                {
                    num2 = 0;
                    int num5 = -1;
                    while (ListViewItem1.GetListViewItem(hwnd, id, num2, 0) != "")
                    {
                        string listViewItem2 = ListViewItem1.GetListViewItem(hwnd, id, num2, 0);
                        bool   flag4         = listViewItem2.Contains(".**");
                        if (flag4)
                        {
                            num5 = random.Next(0, num4);
                            while (!ListViewItem1.GetListViewItem(hwnd, id, num5, 0).Contains(".**"))
                            {
                                num5 = random.Next(0, num4);
                            }
                            break;
                        }
                        num2++;
                    }
                    bool flag5 = num5 == -1;
                    if (flag5)
                    {
                        result = "no IP";
                    }
                    else
                    {
                        int[] lpBuffer2 = new int[]
                        {
                            num5
                        };
                        int num6 = 0;
                        Vip72.WriteProcessMemory((int)intPtr2, lpBaseAddress, lpBuffer2, 4, ref num6);
                        ListViewItem1.SelectListViewItem(hwnd, id, num5);
                        Vip72.ControlDoubleClick(hwnd);
                        Thread.Sleep(500);
                        IntPtr   controlhand = Vip72.ControlGetHandle(parentHandle, "Button", 7303);
                        IntPtr   hwnd2       = Vip72.ControlGetHandle(parentHandle, "Edit", 131);
                        DateTime now         = DateTime.Now;
                        while (!Vip72.ControlGetCheck(controlhand))
                        {
                            bool flag6 = Vip72.ControlGetText(hwnd2).Contains("ffline");
                            if (flag6)
                            {
                                result = "dead";
                                return(result);
                            }
                            bool flag7 = Vip72.ControlGetText(hwnd2).Contains("limit");
                            if (flag7)
                            {
                                try
                                {
                                    bool flag8 = !Vip72.Vip72Process.HasExited;
                                    if (flag8)
                                    {
                                        Vip72.Vip72Process.Kill();
                                    }
                                }
                                catch (Exception)
                                {
                                }
                                result = "limited";
                                return(result);
                            }
                            bool flag9 = Vip72.ControlGetText(hwnd2).Contains("can't");
                            if (flag9)
                            {
                                result = "dead";
                                return(result);
                            }
                            bool flag10 = Vip72.ControlGetText(hwnd2).Contains("disconnect");
                            if (flag10)
                            {
                                result = "dead";
                                return(result);
                            }
                            bool flag11 = Vip72.ControlGetText(hwnd2).Contains("aximum");
                            if (flag11)
                            {
                                result = "maximum";
                                return(result);
                            }
                            bool flag12 = (DateTime.Now - now).TotalSeconds > 15.0;
                            if (flag12)
                            {
                                result = "timeout";
                                return(result);
                            }
                        }
                        Thread.Sleep(500);
                        intPtr3 = Vip72.ControlGetHandle(parentHandle, "SysListView32", 117);
                        num2    = 0;
                        while (ListViewItem1.GetListViewItem(intPtr3, id, num2, 4) != "")
                        {
                            string listViewItem3 = ListViewItem1.GetListViewItem(intPtr3, id, num2, 4);
                            bool   flag13        = listViewItem3.Contains("main stream");
                            if (flag13)
                            {
                                result = ListViewItem1.GetListViewItem(intPtr3, id, num2, 0);
                                return(result);
                            }
                            num2++;
                        }
                        result = "limited";
                    }
                }
            }
            return(result);
        }
Esempio n. 5
0
        public string clickip(int port)
        {
            string listViewItem;
            int    num  = 4328465;
            int    num1 = 4324611;
            int    num2 = 4324304;
            int    num3 = 4253085;

            Process[] processByName = this.GetProcessByName("vip72socks");
            if (processByName.Count <Process>() != 0)
            {
                IntPtr intPtr  = Vip72Chung.FindWindowInProcess(processByName[0], (string s) => s.StartsWith("VIP72 Socks Client"));
                IntPtr intPtr1 = Vip72Chung.ControlGetHandle(intPtr, "Button", 7817);
                if (Vip72Chung.ControlGetCheck(intPtr1))
                {
                    Vip72Chung.ControlClick(intPtr1);
                }
                IntPtr intPtr2 = Vip72Chung.OpenProcess(2035711, false, processByName[0].Id);
                int    num4    = 0;
                IntPtr zero    = IntPtr.Zero;
                zero = Marshal.AllocHGlobal(4);
                Vip72Chung.ReadProcessMemory(intPtr2, (IntPtr)num, zero, 4, out num4);
                Random random  = new Random();
                uint   id      = (uint)processByName[0].Id;
                IntPtr intPtr3 = Vip72Chung.ControlGetHandle(intPtr, "SysListView32", 117);
                int    num5    = 0;
                while (ListViewItem1.GetListViewItem(intPtr3, id, num5, 4) != "")
                {
                    string str = ListViewItem1.GetListViewItem(intPtr3, id, num5, 4);
                    if ((str.Contains(port.ToString()) ? false : !str.Contains("main stream")))
                    {
                        num5++;
                    }
                    else
                    {
                        ListViewItem1.SelectListViewItem(intPtr3, id, num5);
                        int num6 = 0;
                        Vip72Chung.SendMessageTimeout(intPtr3, 256, (IntPtr)46, IntPtr.Zero, 2, 5000, out num6);
                    }
                }
                int    num7    = -1;
                IntPtr intPtr4 = Vip72Chung.ControlGetHandle(intPtr, "SysListView32", 116);
                while (ListViewItem1.GetListViewItem(intPtr4, id, num5, 0) != "")
                {
                    num5++;
                }
                int num8 = num5;
                if (num8 != 0)
                {
                    num5 = 0;
                    num7 = -1;
                    while (ListViewItem1.GetListViewItem(intPtr4, id, num5, 0) != "")
                    {
                        if (!ListViewItem1.GetListViewItem(intPtr4, id, num5, 0).Contains(".**"))
                        {
                            num5++;
                        }
                        else
                        {
                            num7 = random.Next(0, num8);
                            while (!ListViewItem1.GetListViewItem(intPtr4, id, num7, 0).Contains(".**"))
                            {
                                num7 = random.Next(0, num8);
                            }
                            break;
                        }
                    }
                    if (num7 != -1)
                    {
                        int[] numArray  = new int[] { 472809 };
                        int[] numArray1 = new int[] { port };
                        int[] numArray2 = new int[] { num7 };
                        int   num9      = 0;
                        Vip72Chung.WriteProcessMemory((int)intPtr2, num1, numArray1, 4, ref num9);
                        Vip72Chung.WriteProcessMemory((int)intPtr2, num3, numArray, 4, ref num9);
                        Vip72Chung.WriteProcessMemory((int)intPtr2, num2, numArray2, 4, ref num9);
                        ListViewItem1.SelectListViewItem(intPtr4, id, num7);
                        Vip72Chung.ControlDoubleClick(intPtr4);
                        Thread.Sleep(500);
                        numArray[0] = 21529871;
                        Vip72Chung.WriteProcessMemory((int)intPtr2, num3, numArray, 4, ref num9);
                        IntPtr   intPtr5 = Vip72Chung.ControlGetHandle(intPtr, "Button", 7303);
                        IntPtr   intPtr6 = Vip72Chung.ControlGetHandle(intPtr, "Edit", 131);
                        DateTime now     = DateTime.Now;
                        while (!Vip72Chung.ControlGetCheck(intPtr5))
                        {
                            if (Vip72Chung.ControlGetText(intPtr6).Contains("ffline"))
                            {
                                listViewItem = "dead";
                                return(listViewItem);
                            }
                            else if (Vip72Chung.ControlGetText(intPtr6).Contains("limit"))
                            {
                                try
                                {
                                    if (!processByName[0].HasExited)
                                    {
                                        processByName[0].Kill();
                                    }
                                }
                                catch (Exception exception)
                                {
                                }
                                listViewItem = "limited";
                                return(listViewItem);
                            }
                            else if (Vip72Chung.ControlGetText(intPtr6).Contains("can't"))
                            {
                                listViewItem = "dead";
                                return(listViewItem);
                            }
                            else if (Vip72Chung.ControlGetText(intPtr6).Contains("disconnect"))
                            {
                                listViewItem = "dead";
                                return(listViewItem);
                            }
                            else if (Vip72Chung.ControlGetText(intPtr6).Contains("aximum"))
                            {
                                listViewItem = "maximum";
                                return(listViewItem);
                            }
                            else if ((DateTime.Now - now).TotalSeconds > 15)
                            {
                                listViewItem = "timeout";
                                return(listViewItem);
                            }
                        }
                        Thread.Sleep(500);
                        intPtr3 = Vip72Chung.ControlGetHandle(intPtr, "SysListView32", 117);
                        num5    = 0;
                        while (ListViewItem1.GetListViewItem(intPtr3, id, num5, 4) != "")
                        {
                            if (!ListViewItem1.GetListViewItem(intPtr3, id, num5, 4).Contains(port.ToString()))
                            {
                                num5++;
                            }
                            else
                            {
                                listViewItem = ListViewItem1.GetListViewItem(intPtr3, id, num5, 0);
                                return(listViewItem);
                            }
                        }
                        listViewItem = "limited";
                    }
                    else
                    {
                        listViewItem = "no IP";
                    }
                }
                else
                {
                    listViewItem = "no IP";
                }
            }
            else
            {
                listViewItem = "not running";
            }
            return(listViewItem);
        }
Esempio n. 6
0
        // Token: 0x060005D5 RID: 1493 RVA: 0x00034F5C File Offset: 0x0003315C
        public string clickip(int port)
        {
            int value          = 4328465;
            int lpBaseAddress  = 4324611;
            int lpBaseAddress2 = 4324304;
            int lpBaseAddress3 = 4253085;

            Process[] processByName = this.GetProcessByName("vip72socks");
            bool      flag          = processByName.Count <Process>() == 0;
            string    result;

            if (flag)
            {
                result = "not running";
            }
            else
            {
                IntPtr parentHandle = Vip72Chung.FindWindowInProcess(processByName[0], (string s) => s.StartsWith("VIP72 Socks Client"));
                IntPtr intPtr       = Vip72Chung.ControlGetHandle(parentHandle, "Button", 7817);
                bool   flag2        = Vip72Chung.ControlGetCheck(intPtr);
                if (flag2)
                {
                    Vip72Chung.ControlClick(intPtr);
                }
                IntPtr intPtr2  = Vip72Chung.OpenProcess(2035711, false, processByName[0].Id);
                int    num      = 0;
                IntPtr lpBuffer = IntPtr.Zero;
                lpBuffer = Marshal.AllocHGlobal(4);
                Vip72Chung.ReadProcessMemory(intPtr2, (IntPtr)value, lpBuffer, 4, out num);
                Random random  = new Random();
                uint   id      = (uint)processByName[0].Id;
                IntPtr intPtr3 = Vip72Chung.ControlGetHandle(parentHandle, "SysListView32", 117);
                int    num2    = 0;
                while (ListViewItem1.GetListViewItem(intPtr3, id, num2, 4) != "")
                {
                    string listViewItem = ListViewItem1.GetListViewItem(intPtr3, id, num2, 4);
                    bool   flag3        = listViewItem.Contains(port.ToString()) || listViewItem.Contains("main stream");
                    if (flag3)
                    {
                        ListViewItem1.SelectListViewItem(intPtr3, id, num2);
                        int num3 = 0;
                        Vip72Chung.SendMessageTimeout(intPtr3, 256, (IntPtr)46, IntPtr.Zero, 2, 5000, out num3);
                    }
                    else
                    {
                        num2++;
                    }
                }
                IntPtr hwnd = Vip72Chung.ControlGetHandle(parentHandle, "SysListView32", 116);
                while (ListViewItem1.GetListViewItem(hwnd, id, num2, 0) != "")
                {
                    num2++;
                }
                int  num4  = num2;
                bool flag4 = num4 == 0;
                if (flag4)
                {
                    result = "no IP";
                }
                else
                {
                    num2 = 0;
                    int num5 = -1;
                    while (ListViewItem1.GetListViewItem(hwnd, id, num2, 0) != "")
                    {
                        string listViewItem2 = ListViewItem1.GetListViewItem(hwnd, id, num2, 0);
                        bool   flag5         = listViewItem2.Contains(".**");
                        if (flag5)
                        {
                            num5 = random.Next(0, num4);
                            while (!ListViewItem1.GetListViewItem(hwnd, id, num5, 0).Contains(".**"))
                            {
                                num5 = random.Next(0, num4);
                            }
                            break;
                        }
                        num2++;
                    }
                    bool flag6 = num5 == -1;
                    if (flag6)
                    {
                        result = "no IP";
                    }
                    else
                    {
                        int[] array = new int[]
                        {
                            472809
                        };
                        int[] lpBuffer2 = new int[]
                        {
                            port
                        };
                        int[] lpBuffer3 = new int[]
                        {
                            num5
                        };
                        int num6 = 0;
                        Vip72Chung.WriteProcessMemory((int)intPtr2, lpBaseAddress, lpBuffer2, 4, ref num6);
                        Vip72Chung.WriteProcessMemory((int)intPtr2, lpBaseAddress3, array, 4, ref num6);
                        Vip72Chung.WriteProcessMemory((int)intPtr2, lpBaseAddress2, lpBuffer3, 4, ref num6);
                        ListViewItem1.SelectListViewItem(hwnd, id, num5);
                        Vip72Chung.ControlDoubleClick(hwnd);
                        Thread.Sleep(500);
                        array[0] = 21529871;
                        Vip72Chung.WriteProcessMemory((int)intPtr2, lpBaseAddress3, array, 4, ref num6);
                        IntPtr   controlhand = Vip72Chung.ControlGetHandle(parentHandle, "Button", 7303);
                        IntPtr   hwnd2       = Vip72Chung.ControlGetHandle(parentHandle, "Edit", 131);
                        DateTime now         = DateTime.Now;
                        while (!Vip72Chung.ControlGetCheck(controlhand))
                        {
                            bool flag7 = Vip72Chung.ControlGetText(hwnd2).Contains("ffline");
                            if (flag7)
                            {
                                return("dead");
                            }
                            bool flag8 = Vip72Chung.ControlGetText(hwnd2).Contains("limit");
                            if (flag8)
                            {
                                try
                                {
                                    bool flag9 = !processByName[0].HasExited;
                                    if (flag9)
                                    {
                                        processByName[0].Kill();
                                    }
                                }
                                catch (Exception)
                                {
                                }
                                return("limited");
                            }
                            bool flag10 = Vip72Chung.ControlGetText(hwnd2).Contains("can't");
                            if (flag10)
                            {
                                return("dead");
                            }
                            bool flag11 = Vip72Chung.ControlGetText(hwnd2).Contains("disconnect");
                            if (flag11)
                            {
                                return("dead");
                            }
                            bool flag12 = Vip72Chung.ControlGetText(hwnd2).Contains("aximum");
                            if (flag12)
                            {
                                return("maximum");
                            }
                            bool flag13 = (DateTime.Now - now).TotalSeconds > 15.0;
                            if (flag13)
                            {
                                return("timeout");
                            }
                        }
                        Thread.Sleep(500);
                        intPtr3 = Vip72Chung.ControlGetHandle(parentHandle, "SysListView32", 117);
                        num2    = 0;
                        while (ListViewItem1.GetListViewItem(intPtr3, id, num2, 4) != "")
                        {
                            string listViewItem3 = ListViewItem1.GetListViewItem(intPtr3, id, num2, 4);
                            bool   flag14        = listViewItem3.Contains(port.ToString());
                            if (flag14)
                            {
                                return(ListViewItem1.GetListViewItem(intPtr3, id, num2, 0));
                            }
                            num2++;
                        }
                        result = "limited";
                    }
                }
            }
            return(result);
        }
Esempio n. 7
0
        // Token: 0x060005D4 RID: 1492 RVA: 0x00034CBC File Offset: 0x00032EBC
        public static void getCountrycode()
        {
            int num = 0;

            Process[] processesByName = Process.GetProcessesByName("vip72socks");
            IntPtr    parentHandle    = Vip72Chung.FindWindowInProcess(processesByName[0], (string s) => s.StartsWith("VIP72 Socks Client"));
            uint      id       = (uint)processesByName[0].Id;
            IntPtr    hwnd     = Vip72Chung.ControlGetHandle(parentHandle, "Static", 7811);
            IntPtr    hwnd2    = Vip72Chung.ControlGetHandle(parentHandle, "Static", 7813);
            IntPtr    intPtr   = Vip72Chung.ControlGetHandle(parentHandle, "SysListView32", 7809);
            IntPtr    intPtr2  = Vip72Chung.ControlGetHandle(parentHandle, "SysListView32", 7813);
            int       value    = 4482683;
            IntPtr    hProcess = Vip72Chung.OpenProcess(2035711, false, processesByName[0].Id);
            int       num2     = 0;
            IntPtr    intPtr3  = IntPtr.Zero;

            intPtr3 = Marshal.AllocHGlobal(4);
            IntPtr intPtr4 = IntPtr.Zero;

            intPtr4 = Marshal.AllocHGlobal(4);
            string text = "";

            for (;;)
            {
                Vip72Chung.ControlClick(hwnd);
                string listViewItem = ListViewItem1.GetListViewItem(intPtr, id, num, 0);
                bool   flag         = listViewItem == "";
                if (flag)
                {
                    break;
                }
                ListViewItem1.SelectListViewItem(intPtr, id, num);
                Vip72Chung.ControlDoubleClick(intPtr);
                Thread.Sleep(100);
                Vip72Chung.ReadProcessMemory(hProcess, (IntPtr)value, intPtr3, 1, out num2);
                text = string.Concat(new string[]
                {
                    text,
                    listViewItem,
                    "|",
                    Marshal.ReadByte(intPtr3).ToString(),
                    "\r\n"
                });
                int num3 = 0;
                for (;;)
                {
                    Vip72Chung.ControlClick(hwnd2);
                    while (Vip72Chung.ControlGetText(hwnd2).Contains("loading data from"))
                    {
                        Thread.Sleep(100);
                    }
                    bool   flag2         = Vip72Chung.ControlGetState(intPtr, 268435456);
                    string listViewItem2 = ListViewItem1.GetListViewItem(intPtr, id, num3, 0);
                    ListViewItem1.SelectListViewItem(intPtr, id, num3);
                    bool flag3 = listViewItem2 == "" || !flag2;
                    if (flag3)
                    {
                        break;
                    }
                    Vip72Chung.ControlDoubleClick(intPtr);
                    Thread.Sleep(100);
                    Vip72Chung.ReadProcessMemory(hProcess, (IntPtr)value + 1, intPtr4, 4, out num2);
                    int num4 = Marshal.ReadInt32(intPtr4);
                    File.AppendAllText(AppDomain.CurrentDomain.BaseDirectory + "citycode\\" + listViewItem + ".dat", listViewItem2 + "|" + num4.ToString() + "\r\n");
                    ListViewItem1.SelectListViewItem(intPtr, id, num3);
                    num3++;
                }
                num++;
            }
            File.WriteAllText(AppDomain.CurrentDomain.BaseDirectory + "countrycode1.dat", text);
        }