I'm sorry. I don't understand.
If a laptop's motherboard is smoking, the laptop even on fire as Xciting said, you don't ask for advice at MalwareTips, I would think, but you put the laptop outside as soon as you can.
Removing the battery, and dispose of it as hazardous material, was good advice.
Bot's suggestion to see if laptop parts like hard drive and RAM can be salvaged, is not a bad idea.
To repurpose the laptop as desktop or server or firewall, as Vitali Ortzi suggested, that doesn't seem much use, as Xciting mentioned the motherboard was smoking, or even on fire!