When I see the sentence in print, "How dare you?" seems most likely, but if I were hearing it, I think I would know the difference by the stress. The dare version, expressing outrage would have strong stress on "could" or "do". The person who was just curious about how something could be done would speak with less stress.