Functionalized graphene in quantizing magnetic field