You have API's for updating and accessing resource like resource hacker does. Refer to Change Icon of EXE file through code extracting it from other EXE file to start up