Place chicken, onion, and garlic in a large stock pot. Cover all the way with water and bring to a boil. Reduce heat to medium, cover and cook for 2 hours or until the chicken is falling off the bone.
Meanwhile put on a pair of rubber gloves to remove the stems and seeds from the dried chiles. Place the chiles and two cups of water in a small pot, bring to a boil, reduce heat and let simmer for 20 minutes. Remove from heat to cool slightly. Place peppers and remaining liquid into a blender and blend till smooth. Strain into a cup and set aside.
Once chicken is cooked, remove from pot and shred. Pour 1 cup of the red chili sauce on top and mix till combined.
To make the tamale dough combine masa, salt, garlic, and chili powder in a large bowl. Add the corn oil and mix with your hands. Place the beef broth in the microwave for 2 minutes till warm and add 1/2 cup at a time to the masa mix. Use your hands to incorporate until the dough is the texture of soft cookie dough.
Place corn husks in a large bowl of warm water and place either a large pot or heavy cup on top to submerge the husks. Let sit in warm water for at least 20-30 minutes.
Place a small amount of the masa onto each corn husk and spread out using your fingers to make a small rectangle. The masa should not go all the way to the top of the corn husk, but stop about 1/4 inch from the top. Try not to make the masa too thick, it should only be about 1/4 of an inch thick at the most.
Place a tablespoon of the filling into the center of the tamale. Take one side of the tamale and fold towards the center then fold over again. Take the tail end of the tamale and fold up. You can take strips of spare corn husks to tie the tamales if they are too full.
Place the tamales open side up in a deep steamer. Cover with a damp cloth and then place the lid on top.
Let steam for 2 – 2 1/2 hours until the masa comes away clean from the corn husk when opened.