Preheat your oven to 350°F (175°C). Grease a 9 by 5 inch loaf pan well with butter or nonstick cooking spray.
Combine the espresso powder, hot water, butter, and cocoa powder in a medium saucepan. Cook over low heat, stirring frequently, until the butter melts completely. Remove the pan from the heat and let the mixture cool for 10 minutes.
Add the vegetable oil, sour cream, 1/4 cup (60ml) milk, eggs, and peppermint extract to the cooled cocoa mixture. Whisk until smooth.
Whisk the granulated sugar, all-purpose flour, baking powder, baking soda, and salt together in a large mixing bowl.
Pour the liquid cocoa mixture into the dry ingredients. Stir gently until no dry flour spots remain. Do not overmix the batter.
Pour the batter into the prepared loaf pan. Bake for 40 to 45 minutes. The cake is done when a toothpick inserted into the center comes out clean and the internal temperature reaches at least 200°F (93°C), ensuring the eggs are safely cooked past 160°F (71°C).
Let the cake cool in the pan for 20 minutes. Invert the cake onto a wire rack to cool completely.
Melt the white chocolate in a heatproof bowl set over a pot of simmering water, stirring constantly. Let the melted chocolate cool for 5 minutes.
Whisk the powdered sugar and 4 tablespoons (60ml) of milk in a bowl. Stir in the melted white chocolate until thick and pourable, adding another tablespoon of milk if needed. Pour the glaze over the cooled cake and sprinkle with crushed candy cane.