WEBVTT

1
00:01.190 --> 00:01.820
Welcome back.

2
00:01.910 --> 00:05.870
So I hope you tried to patch it to always show the good message.

3
00:05.870 --> 00:12.260
So the same way we are going to run it now and then we are going to enter any wrong serial key.

4
00:12.260 --> 00:15.380
Let's say 123456789.

5
00:15.380 --> 00:17.390
So any wrong password, click on check.

6
00:17.600 --> 00:19.100
It hits our breakpoint.

7
00:19.100 --> 00:20.180
We graph it here.

8
00:20.360 --> 00:26.630
And now we analyze and see which is the best place to patch to always show the good message.

9
00:27.260 --> 00:28.670
So let's analyze this.

10
00:28.730 --> 00:32.840
See which is the best place to reverse the jumps.

11
00:33.230 --> 00:33.530
Okay.

12
00:33.530 --> 00:39.650
We can see from here that it is going to jump to the bad message over here.

13
00:39.800 --> 00:43.160
So we have to nop all this. Same thing.

14
00:43.160 --> 00:44.660
We have to nop all this as well.

15
00:44.960 --> 00:47.840
Nop this, nop this, nop this and nop this.

16
00:47.840 --> 00:49.700
So we have a few NOPs to do.

17
00:49.790 --> 00:51.680
So we have to do NOPs here.

18
00:51.680 --> 00:53.120
So we just put a comment.

19
00:53.540 --> 00:59.720
Nop this. Just press semicolon to open the comment dialog.

20
00:59.720 --> 01:01.160
And type nop this.

21
01:02.490 --> 01:02.790
Okay.

22
01:02.790 --> 01:04.200
And then nop this as well.

23
01:04.710 --> 01:05.790
You can't see it yet.

24
01:05.790 --> 01:06.570
You need to refresh.

25
01:06.570 --> 01:07.470
Then you can see the comment.

26
01:07.500 --> 01:10.620
Nop this. Same thing here.

27
01:10.620 --> 01:11.910
Semicolon.

28
01:13.110 --> 01:18.810
The reason why we type comments is because later on, when we want to go back to the disassembler view,

29
01:18.810 --> 01:20.160
we can see our comments there.

30
01:21.420 --> 01:24.570
So nop this, nop this as well.

31
01:30.200 --> 01:35.120
Refresh and you can see the comment: nop this, nop this, this one as well.

32
01:36.290 --> 01:37.970
You can also click on this.

33
01:38.540 --> 01:41.270
Right-click, comment and click on this.

34
01:46.640 --> 01:47.510
Refresh.

35
01:50.390 --> 01:52.460
Right-click, comment.

36
01:57.630 --> 01:58.770
Refresh.

37
02:00.180 --> 02:01.890
And the last one is this.

38
02:02.940 --> 02:03.630
Right-click.

39
02:06.410 --> 02:08.180
Comment.

40
02:14.700 --> 02:15.690
And refresh.

41
02:18.830 --> 02:20.840
Okay, so we have a few NOPs to do.

42
02:21.020 --> 02:23.930
Nop this, this, this, this, this and this.

43
02:24.650 --> 02:28.760
And there is an easier way actually. You can nop everything in one go.

44
02:28.760 --> 02:29.630
So let's do that.

45
02:29.630 --> 02:31.910
Now right-click, follow in assembler.

46
02:32.000 --> 02:35.030
And you can see we need to nop from here to here.

47
02:35.030 --> 02:42.050
So what we can do is we can select all of this and nop every one of them.

48
02:42.410 --> 02:47.090
So select all, right-click, binary fill with NOPs.

49
02:47.510 --> 02:48.350
Click okay.

50
02:48.350 --> 02:51.290
And all of them will be NOPs all in one go.

51
02:51.290 --> 02:51.740
See that.

52
02:53.180 --> 02:56.510
And then now we can patch it. Okay.

53
02:56.510 --> 03:04.460
So now we have all of them. We can just patch it now. Patch file, click patch and then select it.

54
03:04.460 --> 03:05.540
Give it a name.

55
03:06.740 --> 03:11.630
Trope 1-2 for the patch. Okay.

56
03:11.630 --> 03:14.060
Now we can go and test the patch directly.

57
03:14.300 --> 03:17.600
Just enter any wrong password.

58
03:17.600 --> 03:20.210
Click and check and it says "You did it." Okay.

59
03:20.210 --> 03:22.850
So this is how easy it is to patch it.

60
03:23.150 --> 03:29.180
You can just patch everything, all the jumps with one, one big block of NOPs.

61
03:29.180 --> 03:31.400
So that's all for this video.

62
03:31.400 --> 03:33.500
Thank you for watching.