If you are looking at the flat face of the KSC1845FTA, left to right is emitter, collector, base - ECB. The 2SC458 should be the same, but it kind of looks like it has two flat faces. But the board is marked correctly for ECB. Also, there is a flat line across one side of the circle that marks the transistor on the board. It helps orient the flat face of the new transistor. But it is essential that the orientation be correct on all transistors. If you haven't done a lot of component replacing on PC boards, be careful. You can overheat things and cause more trouble than you fix. There is a technique to removing components.