@Ghurd, that unknown is a 5 pin,
It reminds me of the final amplification circuits of some older low end ( kraco etc) car stereos
But the way its wired looks surprisingly like an average lm317 based voltage reg.
It seems only 3 pins really do anything, and this is effectively a separate circuit it seems from the 7812