We study the effect of the entrance channel and the shell structure of reacting massive nuclei on the fusion mechanism and the formation of evaporation residues of heavy and superheavy nuclei. In the framework of the combined dinuclear system concept and advanced statistical model, we analyze the 40 Ar + 176 Hf, 86 Kr + 130 Xe and 124 Sn + 92 Zr reactions leading to 216 Th à ; the 32 S + 182 W, 48 Ti + 166 Er, and 60 Ni + 154 Sm reactions leading to 214 Th à ; the 40 Ar + 181 Ta reaction leading to 221 Pa à ; the 48 Ca + 248 Cm reaction leading to the 296 116 compound nucleus. In our calculations of the excitation functions for capture, fusion and evaporation residues we use the relevant variables such as mass-asymmetry of nuclei in the entrance channel, relative distance between nuclear centers, shell effect and shape of colliding nuclei and such characteristics of the reaction mechanism as potential energy surface, driving potential, the dependence of capture, fusion cross sections and survival probability of compound nucleus on the orbital angular momentum. As a result we obtain a beam energy range for the capture of the nuclei before the system fuses and the À n =À f ratio at each step along the de-excitation cascade of the compound nucleus. Calculations allow us to reach useful conclusions about the mechanism of the fusion-fission process, that is in competition with the quasifission process, and the production of the evaporation residues.