scowling horribly and running one hand through the wisps of his scanty blond hair , he opened a cupboard and closed it , then bent to rummage through a chest of provisions , muttering under his breath .