Drain the chiles and transfer to a blender. Add garlic, cumin, oregano, thyme, chopped onion, and 1 cup of fresh water. Blend until smooth.