コード例 #1
0
    // Token: 0x060001F6 RID: 502 RVA: 0x0000FF78 File Offset: 0x0000E178
    public static int smethod_1(string string_0, Process process_0)
    {
        IntPtr  intptr_     = Class25.OpenProcess(1082, false, process_0.Id);
        IntPtr  procAddress = Class25.GetProcAddress(Class25.GetModuleHandle("kernel32.dll"), "LoadLibraryA");
        IntPtr  intPtr      = Class25.VirtualAllocEx(intptr_, IntPtr.Zero, (uint)((string_0.Length + 1) * Marshal.SizeOf(typeof(char))), 12288U, 4U);
        UIntPtr uintPtr;

        Class25.WriteProcessMemory(intptr_, intPtr, Encoding.Default.GetBytes(string_0), (uint)((string_0.Length + 1) * Marshal.SizeOf(typeof(char))), out uintPtr);
        Class25.CreateRemoteThread(intptr_, IntPtr.Zero, 0U, procAddress, intPtr, 0U, IntPtr.Zero);
        return(0);
    }