For a 32-bit DWORD, the integer range is -2147483648 to 2147483647 or in hex -0x80000000 to 0x7FFFFFFF.
Thus, the number -1 is present as 0xFFFFFFFF. (Like underflow counter)
If the high (31) bit is set, this number is negative. To make a positive number from a negative (negation), you must compliment the number and add 1.
Example:
0xFFFFFFFE
xor 0xFFFFFFFF
---------------
0x00000001
+ 0x00000001
---------------
0x00000002