This code I used aswell in themida unpacking tutorial to
dump hooks used by themida in SSDT. It dumps certain range 
of memory only from ring0. Sometimes when you try to dump
wrong memory you will get PAGE_FAULT_IN_NON_PAGEG_AREA. 
I really don't know why, because I'm using PDE/PTE to
check if page is physicaly present in memory.