In another bowl, combine the butter and sugar with an electric mixer until the mixture turns crumbly. Add the eggs, one at a time, and beat until smooth. At low speed, add the dry ingredients alternately with the cocoa mixture. Spoon the batter into the dish.