Google finds one reference to YA3018B on a 8051 website, so you could search for 8051 vendors with TQFP32 package parts and similar pin mapping.
Check the VDD and VSS pins and then check the 32Khz Osc pins, as those tend to be fixed.
Note that there is a high chance the code is locked, in the part, so "edit the FW." may take more effort than you think.