[bugfix] saved ebp before ebx in order to fix #572