In this way it won't work on Windows 7 because there is random text and not rop nops. The offset from exception handler stack until the shellcode is not constant between windows versions. Because of that the rop nops