Why would a gas cooktop draw 5 Amps. It also seems as if you are messing with the internal wiring of this cooktop. If you were simply wiring a cord to the appliance as the manufacturer intended, you wouldn't have 7 wires to mess with.
Answers based on the National Electric Code. Always check local amendments.
For about $5 you can buy a male plug that you can connect those dangling wires to.
Or, for about $10, you can buy a 12awg pigtail plug....they come in different lengths....3', 6'...etc. standard 3 prong male plug on one end.....loose wires on the other. Lift the top off the stove...remove the old wires...install new wires....
Even if you are on the right track, you will still get run over if you just sit there.