Heat the oven to 325°F and fit a 9x13-inch baking pan with foil or parchment, then coat the liner with nonstick spray. Cover the bottom and sides so the brownie slab can release without leaving its edges behind.
Microwave the unsweetened chocolate in a glass bowl in 30-second intervals, stirring between each interval, then let it cool slightly. Stop heating once stirring produces a smooth, glossy mixture, and let it lose its hot edge before combining it with the eggs.
Blend the brown sugar, melted butter, and peanut butter in a large bowl with a rubber spatula or electric mixer, then incorporate the eggs and vanilla. The mixture should look evenly combined before the chocolate goes in.
Work in the slightly cooled chocolate, followed by the flour, then fold in the chopped candy while setting aside about ¾ cup for topping. Finish with a thick, uniform batter without visible flour streaks or unnecessary extra mixing.
Distribute the batter evenly across the lined pan and scatter the reserved candy over it. Keep the surface level so the center and corners have a similar batter depth.
Bake for 25 to 35 minutes, removing the pan when a toothpick tested in the center comes out clean, then allow the brownies to cool completely. Check closely within the baking window rather than extending the bake in search of a dry, firm center.
Refrigerate the completely cooled brownies until thoroughly chilled, covering them with plastic wrap if chilling overnight. The slab should feel firm before you attempt to turn it out.
Invert the chilled slab onto a cutting board, gently remove the liner, then use a second board to turn it right-side up and slice with a large, sharp knife. Remove the foil or parchment completely before cutting so no pieces cling to the bottoms of the squares.