Startup routine is the routine that is to be executed after microcontroller is reset and before the execution of main function. Basically, it carries out the initialization after system is reset.
Some processes are unnecessary depending on the system, and they can be omitted.
Note however that these processes basically need to be written with assembler instructions.