Gated nanoparticle transport in a functional group modified nanopore