You better invest your time in some
Learn C tutorial instead of try to cheat.
This "reverse engineering" isnt so easy because it may not work or the resulting code is bizarre. Functions may have names like "func1" and so on.
So you may end in a mess after a bunch of hours. In this time may have solved your task after learning some basics.