Example #1
0
    // Token: 0x06000031 RID: 49 RVA: 0x00003D34 File Offset: 0x00001F34
    public static long smethod_0(string string_1)
    {
        string str = Environment.GetEnvironmentVariable("PROGRAMFILES") + "\\Mozilla Firefox\\";

        Class5.LoadLibrary(str + "mozutils.dll");
        Class5.LoadLibrary(str + "mozglue.dll");
        Class5.LoadLibrary(str + "mozcrt19.dll");
        Class5.LoadLibrary(str + "nspr4.dll");
        Class5.LoadLibrary(str + "plc4.dll");
        Class5.LoadLibrary(str + "plds4.dll");
        Class5.LoadLibrary(str + "ssutil3.dll");
        Class5.LoadLibrary(str + "mozsqlite3.dll");
        Class5.LoadLibrary(str + "nssutil3.dll");
        Class5.LoadLibrary(str + "softokn3.dll");
        Class5.intptr_0 = Class5.LoadLibrary(str + "nss3.dll");
        IntPtr procAddress = Class5.GetProcAddress(Class5.intptr_0, "NSS_Init");

        Class5.DLLFunctionDelegate dllfunctionDelegate = (Class5.DLLFunctionDelegate)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class5.DLLFunctionDelegate));
        return(dllfunctionDelegate(string_1));
    }