Level 4 is a binary requiring some simple analysis / reverse engineering.
Hint: Keep in mind about resource limits