Now, I’ll preface this that my writeup is incomplete. I didn’t solve the challenge fast enough (I needed about 5-10 more minutes to solve it, but I left it down to the wire to do. :( )
I’ll update this later on, but for now you should check out another competitor’s solution!
https://www.pocholoarangote.ca/blog/issctf21/trend-micro-problem