The WiFi module used in Amazon Dash button is Broadcom BCM943362WCD4. As can be seen below:
The crystal, microcontroller and wifi module are exactly the same.
It is supported by Broadcom's WICED SDK and IDE, which can be found in github here. Definitions and schematics of this particular module can be found here. JTAG headers are broken out in the testpads above so it should be easy to reprogram.
And also if you can register an account, there are tons of information at Broadcom's official website here.