_PEB

//0x210 bytes (sizeof) struct _PEB { UCHAR InheritedAddressSpace; //0x0 UCHAR ReadImageFileExecOptions; //0x1 UCHAR BeingDebugged; //0x2 UCHAR SpareBool; //0x3 VOID* Mutant; //0x4 VOID* ImageBaseAddress; //0x8 struct _PEB_LDR_DATA* Ldr; //0xc struct _RTL_USER_PROCESS_PARAMETERS* ProcessParameters; //0x10 VOID* SubSystemData; //0x14 VOID* ProcessHeap; //0x18 struct _RTL_CRITICAL_SECTION* FastPebLock; //0x1c VOID* FastPebLockRoutine; //0x20 VOID* FastPebUnlockRoutine; //0x24 ULONG EnvironmentUpdateCount; //0x28 VOID* KernelCallbackTable; //0x2c ULONG SystemReserved[1]; //0x30 ULONG AtlThunkSListPtr32; //0x34 struct _PEB_FREE_BLOCK* FreeList; //0x38 ULONG TlsExpansionCounter; //0x3c VOID* TlsBitmap; //0x40 ULONG TlsBitmapBits[2]; //0x44 VOID* ReadOnlySharedMemoryBase; //0x4c VOID* ReadOnlySharedMemoryHeap; //0x50 VOID** ReadOnlyStaticServerData; //0x54 VOID* AnsiCodePageData; //0x58 VOID* OemCodePageData; //0x5c VOID* UnicodeCaseTableData; //0x60 ULONG NumberOfProcessors; //0x64 ULONG NtGlobalFlag; //0x68 union _LARGE_INTEGER CriticalSectionTimeout; //0x70 ULONG HeapSegmentReserve; //0x78 ULONG HeapSegmentCommit; //0x7c ULONG HeapDeCommitTotalFreeThreshold; //0x80 ULONG HeapDeCommitFreeBlockThreshold; //0x84 ULONG NumberOfHeaps; //0x88 ULONG MaximumNumberOfHeaps; //0x8c VOID** ProcessHeaps; //0x90 VOID* GdiSharedHandleTable; //0x94 VOID* ProcessStarterHelper; //0x98 ULONG GdiDCAttributeList; //0x9c VOID* LoaderLock; //0xa0 ULONG OSMajorVersion; //0xa4 ULONG OSMinorVersion; //0xa8 USHORT OSBuildNumber; //0xac USHORT OSCSDVersion; //0xae ULONG OSPlatformId; //0xb0 ULONG ImageSubsystem; //0xb4 ULONG ImageSubsystemMajorVersion; //0xb8 ULONG ImageSubsystemMinorVersion; //0xbc ULONG ImageProcessAffinityMask; //0xc0 ULONG GdiHandleBuffer[34]; //0xc4 VOID (*PostProcessInitRoutine)(); //0x14c VOID* TlsExpansionBitmap; //0x150 ULONG TlsExpansionBitmapBits[32]; //0x154 ULONG SessionId; //0x1d4 union _ULARGE_INTEGER AppCompatFlags; //0x1d8 union _ULARGE_INTEGER AppCompatFlagsUser; //0x1e0 VOID* pShimData; //0x1e8 VOID* AppCompatInfo; //0x1ec struct _UNICODE_STRING CSDVersion; //0x1f0 VOID* ActivationContextData; //0x1f8 VOID* ProcessAssemblyStorageMap; //0x1fc VOID* SystemDefaultActivationContextData; //0x200 VOID* SystemAssemblyStorageMap; //0x204 ULONG MinimumStackCommit; //0x208 };

Used in