Refactored main mode HASH payload processing