Rating: 3.7
```python
import re
funcs = []
for x in idautils.Functions():
fn = get_func_name(x)
if fn.find('function') != -1:
de = int(str(idaapi.decompile(x)).find('^')!=-1)
funcs.append([fn, x, de])
checkFlag_addr = 0xCEB7C
de = str(idaapi.decompile(checkFlag_addr)).split('function')[1:]
flag = [0]*1000
for code in de:
idx = re.search('a1 \+ ([0-9]+)', code)
idx = 0 if not idx else int(idx.group(1))
bit = re.search('>> ([0-9]+)', code)
bit = 0 if not bit else int(bit.group(1))
flag[idx] += funcs[ int(code.split('(')[0]) ][2] << bit
flag=list(filter(lambda a: a != 0, flag))
print('flag => ' + ''.join(list(map(chr, flag))))
```