Just wanted to ask one question about sub_100036C3, because I did not get the detailed answer that was given in the book.
Brief intro:
Page 107. Question 11. What does the export PSLIST do?
Page 498. Answer: The sub_100036C3 function checks to see if the OS version is Windows Vista/7 or XP/2003/2000.
Disassembled code:
We see instruction:
cmp [ebp+VersionInformation.dwMajorVersion], 5
jb short loc_100036FA
dwMajorVersion is 5 for XP/2003/2000.
dwMajorVersion is 6 for Windows Vista/7.
But in disassembled code instruction jb short loc_100036FA will not jump to loc_100036FA only if dwMajorversion is >= 5 and will jump only if dwMajorVersion < 5 (jump if below).
So in my opinion it could not be used to choose between XP and Vista/7, because 5 and 6 all fall in red arrow.
Please, can someone explain, am I right or what mistake did I do?

