This part is a kind of semiconductor called BA78M05CP.
Function of this product has 78 Series Regulators.
Manufacturers : Rohm
Image and pinout :

Some of the text within the PDF file :
78 Series Regulators 1A Output 78 series Regulators 500mA Output 78 series Regulators BA78□□Series,BA78M□□Series No.12019ECT01 ●Description BA78□□, BA78M□□ series are three-terminal regulators available with several fixed output voltages. It supplies the stable fixes voltage from unstable direct input voltage. The useful output voltage lineup is 5V, 6V, 7V, 8V, 9V, 10V, 12V, 15V, 18V, 20V, 24V with 0.5A / 1A current ability. They have nearly same electric characteristics as competitor products and cover a wide range of application. ●Features 1) Built-in over-current protection circuit and thermal shutdown circuit 2) High ripple rejection 3) Available TO220CP-3, TO252-3 package to a wide range application 4) Compatible replacement to competitor products 5) Various vol [ ... ]
BA78M05CP PDF Datasheet Download
