Skip to content

Instantly share code, notes, and snippets.

@Stefan-Radu
Stefan-Radu / disassembly.py
Created July 8, 2023 20:18
UIU CTF 2023 - vmwhere2
f = open("./program", "rb")
ops = f.read()
pc = 0
len = len(ops)
def concat(x, y):
mx = 255 << 8 | 255
val = (x << 8) | y
if (val > (mx >> 1)):