import pymem
pm = pymem.Pymem("game.exe")
box = b"00 ?? ?? ?? 5A ?? 8C 00 00 00"
module = pymem.process.module_from_name(pm.process_handle, "game.exe")
character_count_address = pymem.pattern.pattern_scan_module(pm.process_handle, module, box)
print(module)