pte_base_pml4_index=va(pte_base).pml4e_index
dtb_pteaddr=pxe_base+pte_base_pml4_index*8
for pfndata in MmPfnDataBase:
if pfndata.pteaddr == dtb_pteaddr
dtb_vma=vma(pfnaddr.physaddr)
if dtb_vma.checkva(MmPfnDataBase) and readphys_int64array(pfndata.physaddr)[pte_base_pml4_index].valid() and dtb_vma.checkusershareddata()
if dtb_vma.checkva(gameproc.sectionbase):
pe = parsepe(dtb_vma,gameproc.sectionbase)
if pe.checksum == gamefile.checksum:
print("dtb = {}".format(pfndata.physaddr));
exit()