DATA XREF from 0x14000124f entry0 0x140001110 4057 push rdi 0x14000111

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
; DATA XREF from 0x14000124f (entry0)
0x140001110 4057 push rdi
0x140001112 4883ec70 sub rsp, 0x70 ; 'p'
0x140001116 83ea10 sub edx, 0x10
0x140001119 488bf9 mov rdi, rcx
,=< 0x14000111c 0f8403010000 je 0x140001225
| 0x140001122 81ea00010000 sub edx, 0x100
,==< 0x140001128 0f848b000000 je 0x1400011b9
|| 0x14000112e 83fa01 cmp edx, 1 ; 1
,===< 0x140001131 7508 jne 0x14000113b
||| 0x140001133 664181f8e903 cmp r8w, 0x3e9 ; 1001
,====< 0x140001139 7408 je 0x140001143
|||| ; CODE XREF from 0x140001131 (section..text + 305)
|`---> 0x14000113b 33c0 xor eax, eax
| || 0x14000113d 4883c470 add rsp, 0x70 ; 'p'
| || 0x140001141 5f pop rdi
| || 0x140001142 c3 ret
| || ; CODE XREF from 0x140001139 (section..text + 313)
`----> 0x140001143 4c8d442420 lea r8, [rsp + 0x20] ; 32
|| 0x140001148 41b940000000 mov r9d, 0x40 ; '@' ; 64
|| 0x14000114e baea030000 mov edx, 0x3ea ; 1002
|| 0x140001153 ff15df0e0000 call qword sym.imp.USER32.dll_GetDlgItemTextA ; [0x140002038:8]=0x2216 reloc.USER32.dll_GetDlgItemTextA
|| 0x140001159 488d4c2420 lea rcx, [rsp + 0x20] ; 32
|| 0x14000115e 8bd0 mov edx, eax
|| 0x140001160 e89bfeffff call fcn.140001000
|| 0x140001165 85c0 test eax, eax
,===< 0x140001167 7428 je 0x140001191
||| 0x140001169 4c8d05f00e00. lea r8, str.Well_done... ; 0x140002060 ; "Well done..."
||| 0x140001170 488d15f90e00. lea rdx, str.Good_work__Serial_is_valid ; 0x140002070 ; "Good work, Serial is valid !!!"
||| 0x140001177 41b940000000 mov r9d, 0x40 ; '@' ; 64
||| 0x14000117d 488bcf mov rcx, rdi
||| 0x140001180 ff15aa0e0000 call qword sym.imp.USER32.dll_MessageBoxA ; [0x140002030:8]=0x2208 reloc.USER32.dll_MessageBoxA
||| 0x140001186 b801000000 mov eax, 1
||| 0x14000118b 4883c470 add rsp, 0x70 ; 'p'
||| 0x14000118f 5f pop rdi
||| 0x140001190 c3 ret
||| ; CODE XREF from 0x140001167 (section..text + 359)
`---> 0x140001191 4c8d05f80e00. lea r8, str.Try_again... ; 0x140002090 ; "Try again..."
|| 0x140001198 488d15010f00. lea rdx, str.Fail__Serial_is_invalid ; 0x1400020a0 ; "Fail, Serial is invalid !!!"
|| 0x14000119f 41b910000000 mov r9d, 0x10 ; 16
|| 0x1400011a5 488bcf mov rcx, rdi
|| 0x1400011a8 ff15820e0000 call qword sym.imp.USER32.dll_MessageBoxA ; [0x140002030:8]=0x2208 reloc.USER32.dll_MessageBoxA
|| 0x1400011ae b801000000 mov eax, 1
|| 0x1400011b3 4883c470 add rsp, 0x70 ; 'p'
|| 0x1400011b7 5f pop rdi
|| 0x1400011b8 c3 ret
|| ; CODE XREF from 0x140001128 (section..text + 296)
`--> 0x1400011b9 ba65000000 mov edx, 0x65 ; 'e' ; 101
| 0x1400011be 498bc9 mov rcx, r9
| 0x1400011c1 48899c248000. mov qword [rsp + 0x80], rbx
| 0x1400011c9 ff15590e0000 call qword sym.imp.USER32.dll_LoadIconA ; [0x140002028:8]=0x21fc reloc.USER32.dll_LoadIconA
| 0x1400011cf ba80000000 mov edx, 0x80 ; 128
| 0x1400011d4 488bcf mov rcx, rdi
| 0x1400011d7 448d4281 lea r8d, [rdx - 0x7f]
| 0x1400011db 4c8bc8 mov r9, rax
| 0x1400011de 488bd8 mov rbx, rax
| 0x1400011e1 ff15390e0000 call qword sym.imp.USER32.dll_SendMessageA ; [0x140002020:8]=0x21ec reloc.USER32.dll_SendMessageA
| 0x1400011e7 4c8bcb mov r9, rbx
| 0x1400011ea 4533c0 xor r8d, r8d
| 0x1400011ed ba80000000 mov edx, 0x80 ; 128
| 0x1400011f2 488bcf mov rcx, rdi
| 0x1400011f5 ff15250e0000 call qword sym.imp.USER32.dll_SendMessageA ; [0x140002020:8]=0x21ec reloc.USER32.dll_SendMessageA
| 0x1400011fb 4533c0 xor r8d, r8d
| 0x1400011fe 4c8d0d4b0e00. lea r9, str.CrackMe__01 ; 0x140002050 ; "CrackMe #01"
| 0x140001205 418d500c lea edx, [r8 + 0xc] ; 12
| 0x140001209 488bcf mov rcx, rdi
| 0x14000120c ff150e0e0000 call qword sym.imp.USER32.dll_SendMessageA ; [0x140002020:8]=0x21ec reloc.USER32.dll_SendMessageA
| 0x140001212 488b9c248000. mov rbx, qword [rsp + 0x80] ; [0x80:8]=-1 ; 128
| 0x14000121a b801000000 mov eax, 1