NFITC1 has done the rest, so gave him a little head start with this one. It's more or less complete aside from a few unknown flags and their function.
https://pastebin.com/t7aL85WgHopefully, that will prove useful to you, NFITC1
Have at you.
Edit.
The Sleep, Confusion, Manip flags are there to remove the status if hit. Those 3 are removed on physical attack. Not sure why it's ecx+0000023C and not ecx+00000228. Evidently, the former is checked to see what needs removing.