Preheat the oven to 350°. Line tins with cupcake wrappers.
In a large bowl, sift together the flour, cocoa powder, baking powder, baking soda and salt. Set aside.
In a separate bowl, combine the sour cream, vanilla and almond extract. Set aside.
In the bowl of a standing mixer fitted with a paddle attachment, combine the butter and sugar and beat on medium speed until smooth.
Set the mixer to low speed and add the eggs, one at a time, scraping thoroughly between each addition.
Alternately add the flour and sour cream mixtures to the butter mixture in two batches, starting and ending with the flour mixture. Scrape down the bowl after each addition.
Gradually pour in the coffee. Scrape down the bowl and beat until thoroughly combined.
Divide the batter evenly between the muffin tins. For cupcakes, bake 20 to 25 minutes or until they spring back after being touched.
Allow the cupcakes to cool for 20 minutes.
Beat egg whites until frothy. Add confectioner's sugar gradually, and beat until shiny and thick. Spoon into a piping bag and decorate like disco balls.