Likely an affixation of *kaha + -um-, from Old Javanese kapa, from combination of kaya (“like”) + apa (“what”).
kumaha (Sundanese spelling ᮊᮥᮙᮠ)