A method of treating cancer using a dihydropyrimidine derivative includes administering to a patient a therapeutically effective amount of a dihydropyrimidine derivative having the following formula:wherein:R2 is S or O andR, R1, R3, and R4 each independently represent hydrogen, optionally substituted straight-chain or branched C1 to C7 alkyl, halogen, optionally substituted haloalkyl, alkoxy or haloalkoxy in which the alkyl is straight-chain or branched C1-C4 alkyl and the halo derivatives are mono, di, tri or poly halosubstituted, the optional substituents including halogen, amino, substituted amino, C1-C4 alkyl, halo (C1-C4) alkyl, alkoxy or haloalkoxy having C1-C4 alkyl group, orR, R1, R3, and R4 each independently represent aryl, substituted aryl, heteroaryl, or substituted heteroaryl, the substituents including halogen, alkyl, haloalkyl, alkoxy, haloalkoxy, alkylthio, alkylamino, aryl, heteroaryl, aryloxy, haloaryloxy, arylthio, or arylaminoor a pharmaceutically acceptable salt thereof.