ESP-12 (ESP8266) without the Metal Cover
The metal cover is placed there to mitigate EMI.

However, in the ESP8266 hardware design guidelines, there is no mention of the necessity of such shield. So assuming that the ESP-12 has a decent design and proper grounding, the WiFi performance should not be impacted too much.