"Decomposing" is what "a-mouldering" means

My dictionary has instead "to crumble into particles". If that's correct (e.g., a cook might molder a slice of toast) then "molder" is a particularly gruesome word to apply to a corpse.