an example of files you could use to debrand your phone:
W580_R8BE001_MAIN_GENERIC_LA_RED52
W580_R8BE001_FS_EUROPE_5_RED52
HB1-06_Gen_CDA102568_14_R8A_GENERIC_EUROPE_5
if you want to debrand and unlock, first install unbranded firmware, then unlock by patch