You should be able to tell the high carbon from the stainless by how easily it will rust in a comparison test. Exactly which high carbon steel would be difficult to determine, unless it was precision ground. If precision ground, it is likely 01, or A2. A2 is an air hardening steel. You could determine which by heating a test piece to a orange yellow, then letting it cool. If A2, when cool, you should not be able to easily cut it with a file, if at all. The stainless is probably 440-C, which was very popular in the eighties, in that 4140 is a low to medium carbon steel often used for modern gun barrels and other parts not requiring high carbon, and will easily rust. Back to the A2. TKMS used to offer heat treating, but only for air hardening steels, so there is a good chance your carbon steel may be A2. A very fine blade steel, slightly superior to 01 in some aspects, but not by much. To harden A2 for a blade, it is taken up to around 1775°, held at that temp for 30 to 45 minutes, then cooled by still air, forced air, or thick quench plates, or a combination of plates and forced air, then tempered. Fairly simple if you have, or have access to a heat treat oven.