/* How Rundll Works Rundll performs the following steps: 1. It parses the command line. 2. It loads the specified DLL via LoadLibrary(). It obtains the address of the function via GetProcAddress(). It calls the function, passing the command line tail which is the . When the function returns, Rundll.exe unloads the DLL and exits. */ // RUNDLL32.EXE SETUPX.DLL,InstallHinfSection 132 C:\WINDOWS\INF\SHELL.INF #include #include int wmain(int argc, WCHAR *argv[]) { if (argc <2) return 1; for (int i=0; i