Not one reaction, more like many concurrent processes taking place. When it comes to one balanced reaction I would go for something like
5C12H22O11 + 48KNO3 -> 24K2CO3 + 55H2O + 36CO2 + 24N2
but don't treat it too seriously. In reality some CO will be produced, some soot as well, some mixture of nitrogen oxides, I wouldn't be surprised by traces of formaldehyde or formic acid.