Heat-treatment furmace with moving bed and cracking module