when you input the wrong password, it jumps to loc_401160 which gives you wrong password. when you enter the right pass word it jumps to loc_401177. simply changed "jmp loc_401106" to "jmp loc_401177" whenever you get the wrong password.
Tools used: IDA pro |
==> |