Translation
and they cursed the GOD
of heaven
on account of their distress and on account of their sores, yet they did not repent of their works.
Paraphrase
and they cursed the CREATOR AND OWNER OF ALL THINGS who dwells in inaccessible glory on account of their distress and on account of their painful suffering, yet they did not repent of their actions.