Dang I solved it, I thought you had to add the previous section size to create new section address but it doesn't work like that.
Still got a little bug where VirtualSize
is smaller then OllyDbg's Memory Map Sizes for that section, but it seems SizeOfRawData
is more accurate sometimes?
But I guess I could fix this by taking the previous StartAddress for each section and subtracting one from it to get the End Size.
I guess I could mark this solved