Key expansion
AES uses a different key in each round. These keys are derived from the main key through the key expansion (key schedule) process. For AES-128, 11 round keys are generated from a 16-byte key (from round 0 to round 10).
The process works on 4-byte "words": on every 4th word, RotWord (cyclic shift), SubWord (S-box), and the Rcon constant are applied, while for the rest, a simple XOR is sufficient. An important conclusion: an attacker who knows one round key can fully recover the main key, because the process is reversible.
The attached kalit_kengaytirish.py file contains a fully working implementation — just run it (python kalit_kengaytirish.py) and get the 11 round keys. The key inside the file is exactly the key below.
Main key (hex): e0d15a8626c4768395ba83e0b125607f
The 32-byte flag is XORed with the following mask: niqob = raund_kalit[10] || raund_kalit[7] (32 bytes in total).
Result (hex):
7db2b4698b571a4ce1bb3f1a11b3a4c7ffa176396be304fa5c80ac073c841180
XOR is its own inverse: if you XOR again with the same mask, the original text returns.