Erase Assistant does the following things: signs out of Apple services, such as iCloud; turns off Find My and Activation Lock; erases user's content and settings, and any apps that user installed; erases all volumes; erases all user accounts and their data.
The binary is a part of Erase Assistant application.