PicoCTF: ARMssembly 0

In this challenge we are given an assembly code and two integers and asked what the program would do with the two arguments. I have no knowledge but after several hours of asking ChatGPT and googling how assembly works I deduced that it was just asking which number is bigger.

The main is the function that takes in the data and then calls func1 to compare the two and prints the bigger of the two. We can tell just by looking at the numbers which one is bigger so let’s take that integer, convert it to hex, and then format it as described.

Once you add the picoCTF{} wrap you’ll have the flag.