FIELD: medicine; pharmaceutics.SUBSTANCE: invention relates to heterocyclic compounds of the formula (I), where R1and R2are independently H, NH2or C1-6alkyl, or R1and R2, together with two carbon atoms with which they are bound, are phenyl or heteroaryl selected from thienyl, imidazolyl and pyridyl; each of R3and R4is independently, or, which are such as disclosed in the claims; R5is H; R6is absent or is H; R7is C3-10cycloalkyl. The invention also relates to a pharmaceutical composition containing a compound of the formula (I), to a method for mobilizing hematopoietic stem cells (HSC) and endothelial progenitor cells (EPC) into peripheral blood circulation and to a method for treating hepatocellular carcinoma, renal damage, myocardial infarction, or mild traumatic brain injury.EFFECT: technical result is compounds of the formula (I) used to disrupt the interaction between CXCR4 and CXCL12.(I)31 cl, 8 ex