The analysis of hard X-ray radiation of flares with occulted footpoints