If the seller has not registered it, all they need to do is go to HPD and register as an out of state "import" that they already owned. After that, the sale is good to go.
HOWEVER, if the gun was previously registered to someone prior to the seller gaining possession, this is not a good solution. If they find the registration on file, it'll raise some tough questions. In this case, it would be a good idea for the seller to ask HPD what firearms they have registered for them, If the gun begin sold isn't listed, contact the person who sold it to the seller and see if they are in HPD's records as the owner. If so, do the transfer.registration from previous seller to new seller, then from new seller to you/buyer. Or, you can short-circuit that and transfer from the previous owner to you directly bypassing the current seller -- if everyone is agreeable.
Don't volunteer any information to HPD. Tell them just enough to find out whether the gun is registered and to whom.
If all this seems like too much effort and risk, then it's probably time to look elsewhere.