I am pretty sure E=mc^2 is more explored in general relativity as opposed to special relativity.
That being said, it does explain how as more energy is imputed into an object, its speed increases due to increase kinetic energy, which in turns makes it heavier (which coincides with mass dilation)