Untitled
unknown
assembly_x86
a year ago
31 kB
4
Indexable
Never
l0ka9ata@appsec:/var/challenge/level4$ objdump -d 4 4: file format elf64-x86-64 Disassembly of section .init: 0000000000001000 <.init>: 1000: f3 0f 1e fa endbr64 1004: 48 83 ec 08 sub $0x8,%rsp 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax # 3fe8 <exit@plt+0x2e78> 100f: 48 85 c0 test %rax,%rax 1012: 74 02 je 1016 <__cxa_finalize@plt-0xba> 1014: ff d0 callq *%rax 1016: 48 83 c4 08 add $0x8,%rsp 101a: c3 retq Disassembly of section .plt: 0000000000001020 <.plt>: 1020: ff 35 52 2f 00 00 pushq 0x2f52(%rip) # 3f78 <exit@plt+0x2e08> 1026: f2 ff 25 53 2f 00 00 bnd jmpq *0x2f53(%rip) # 3f80 <exit@plt+0x2e10> 102d: 0f 1f 00 nopl (%rax) 1030: f3 0f 1e fa endbr64 1034: 68 00 00 00 00 pushq $0x0 1039: f2 e9 e1 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 103f: 90 nop 1040: f3 0f 1e fa endbr64 1044: 68 01 00 00 00 pushq $0x1 1049: f2 e9 d1 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 104f: 90 nop 1050: f3 0f 1e fa endbr64 1054: 68 02 00 00 00 pushq $0x2 1059: f2 e9 c1 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 105f: 90 nop 1060: f3 0f 1e fa endbr64 1064: 68 03 00 00 00 pushq $0x3 1069: f2 e9 b1 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 106f: 90 nop 1070: f3 0f 1e fa endbr64 1074: 68 04 00 00 00 pushq $0x4 1079: f2 e9 a1 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 107f: 90 nop 1080: f3 0f 1e fa endbr64 1084: 68 05 00 00 00 pushq $0x5 1089: f2 e9 91 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 108f: 90 nop 1090: f3 0f 1e fa endbr64 1094: 68 06 00 00 00 pushq $0x6 1099: f2 e9 81 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 109f: 90 nop 10a0: f3 0f 1e fa endbr64 10a4: 68 07 00 00 00 pushq $0x7 10a9: f2 e9 71 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 10af: 90 nop 10b0: f3 0f 1e fa endbr64 10b4: 68 08 00 00 00 pushq $0x8 10b9: f2 e9 61 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 10bf: 90 nop 10c0: f3 0f 1e fa endbr64 10c4: 68 09 00 00 00 pushq $0x9 10c9: f2 e9 51 ff ff ff bnd jmpq 1020 <__cxa_finalize@plt-0xb0> 10cf: 90 nop Disassembly of section .plt.got: 00000000000010d0 <__cxa_finalize@plt>: 10d0: f3 0f 1e fa endbr64 10d4: f2 ff 25 1d 2f 00 00 bnd jmpq *0x2f1d(%rip) # 3ff8 <exit@plt+0x2e88> 10db: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) Disassembly of section .plt.sec: 00000000000010e0 <getenv@plt>: 10e0: f3 0f 1e fa endbr64 10e4: f2 ff 25 9d 2e 00 00 bnd jmpq *0x2e9d(%rip) # 3f88 <exit@plt+0x2e18> 10eb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 00000000000010f0 <abort@plt>: 10f0: f3 0f 1e fa endbr64 10f4: f2 ff 25 95 2e 00 00 bnd jmpq *0x2e95(%rip) # 3f90 <exit@plt+0x2e20> 10fb: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001100 <strcpy@plt>: 1100: f3 0f 1e fa endbr64 1104: f2 ff 25 8d 2e 00 00 bnd jmpq *0x2e8d(%rip) # 3f98 <exit@plt+0x2e28> 110b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001110 <strlen@plt>: 1110: f3 0f 1e fa endbr64 1114: f2 ff 25 85 2e 00 00 bnd jmpq *0x2e85(%rip) # 3fa0 <exit@plt+0x2e30> 111b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001120 <mmap@plt>: 1120: f3 0f 1e fa endbr64 1124: f2 ff 25 7d 2e 00 00 bnd jmpq *0x2e7d(%rip) # 3fa8 <exit@plt+0x2e38> 112b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001130 <printf@plt>: 1130: f3 0f 1e fa endbr64 1134: f2 ff 25 75 2e 00 00 bnd jmpq *0x2e75(%rip) # 3fb0 <exit@plt+0x2e40> 113b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001140 <memset@plt>: 1140: f3 0f 1e fa endbr64 1144: f2 ff 25 6d 2e 00 00 bnd jmpq *0x2e6d(%rip) # 3fb8 <exit@plt+0x2e48> 114b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001150 <perror@plt>: 1150: f3 0f 1e fa endbr64 1154: f2 ff 25 65 2e 00 00 bnd jmpq *0x2e65(%rip) # 3fc0 <exit@plt+0x2e50> 115b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001160 <strcat@plt>: 1160: f3 0f 1e fa endbr64 1164: f2 ff 25 5d 2e 00 00 bnd jmpq *0x2e5d(%rip) # 3fc8 <exit@plt+0x2e58> 116b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 0000000000001170 <exit@plt>: 1170: f3 0f 1e fa endbr64 1174: f2 ff 25 55 2e 00 00 bnd jmpq *0x2e55(%rip) # 3fd0 <exit@plt+0x2e60> 117b: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) Disassembly of section .text: 0000000000001180 <.text>: 1180: f3 0f 1e fa endbr64 1184: 31 ed xor %ebp,%ebp 1186: 49 89 d1 mov %rdx,%r9 1189: 5e pop %rsi 118a: 48 89 e2 mov %rsp,%rdx 118d: 48 83 e4 f0 and $0xfffffffffffffff0,%rsp 1191: 50 push %rax 1192: 54 push %rsp 1193: 4c 8d 05 b6 05 00 00 lea 0x5b6(%rip),%r8 # 1750 <exit@plt+0x5e0> 119a: 48 8d 0d 3f 05 00 00 lea 0x53f(%rip),%rcx # 16e0 <exit@plt+0x570> 11a1: 48 8d 3d ec 01 00 00 lea 0x1ec(%rip),%rdi # 1394 <exit@plt+0x224> 11a8: ff 15 32 2e 00 00 callq *0x2e32(%rip) # 3fe0 <exit@plt+0x2e70> 11ae: f4 hlt 11af: 90 nop 11b0: 48 8d 3d 59 2e 00 00 lea 0x2e59(%rip),%rdi # 4010 <exit@plt+0x2ea0> 11b7: 48 8d 05 52 2e 00 00 lea 0x2e52(%rip),%rax # 4010 <exit@plt+0x2ea0> 11be: 48 39 f8 cmp %rdi,%rax 11c1: 74 15 je 11d8 <exit@plt+0x68> 11c3: 48 8b 05 0e 2e 00 00 mov 0x2e0e(%rip),%rax # 3fd8 <exit@plt+0x2e68> 11ca: 48 85 c0 test %rax,%rax 11cd: 74 09 je 11d8 <exit@plt+0x68> 11cf: ff e0 jmpq *%rax 11d1: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 11d8: c3 retq 11d9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 11e0: 48 8d 3d 29 2e 00 00 lea 0x2e29(%rip),%rdi # 4010 <exit@plt+0x2ea0> 11e7: 48 8d 35 22 2e 00 00 lea 0x2e22(%rip),%rsi # 4010 <exit@plt+0x2ea0> 11ee: 48 29 fe sub %rdi,%rsi 11f1: 48 89 f0 mov %rsi,%rax 11f4: 48 c1 ee 3f shr $0x3f,%rsi 11f8: 48 c1 f8 03 sar $0x3,%rax 11fc: 48 01 c6 add %rax,%rsi 11ff: 48 d1 fe sar %rsi 1202: 74 14 je 1218 <exit@plt+0xa8> 1204: 48 8b 05 e5 2d 00 00 mov 0x2de5(%rip),%rax # 3ff0 <exit@plt+0x2e80> 120b: 48 85 c0 test %rax,%rax 120e: 74 08 je 1218 <exit@plt+0xa8> 1210: ff e0 jmpq *%rax 1212: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) 1218: c3 retq 1219: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1220: f3 0f 1e fa endbr64 1224: 80 3d fd 2d 00 00 00 cmpb $0x0,0x2dfd(%rip) # 4028 <__environ@@GLIBC_2.2.5+0x8> 122b: 75 2b jne 1258 <exit@plt+0xe8> 122d: 55 push %rbp 122e: 48 83 3d c2 2d 00 00 cmpq $0x0,0x2dc2(%rip) # 3ff8 <exit@plt+0x2e88> 1235: 00 1236: 48 89 e5 mov %rsp,%rbp 1239: 74 0c je 1247 <exit@plt+0xd7> 123b: 48 8b 3d c6 2d 00 00 mov 0x2dc6(%rip),%rdi # 4008 <exit@plt+0x2e98> 1242: e8 89 fe ff ff callq 10d0 <__cxa_finalize@plt> 1247: e8 64 ff ff ff callq 11b0 <exit@plt+0x40> 124c: c6 05 d5 2d 00 00 01 movb $0x1,0x2dd5(%rip) # 4028 <__environ@@GLIBC_2.2.5+0x8> 1253: 5d pop %rbp 1254: c3 retq 1255: 0f 1f 00 nopl (%rax) 1258: c3 retq 1259: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1260: f3 0f 1e fa endbr64 1264: e9 77 ff ff ff jmpq 11e0 <exit@plt+0x70> 1269: f3 0f 1e fa endbr64 126d: 55 push %rbp 126e: 48 89 e5 mov %rsp,%rbp 1271: 48 83 ec 20 sub $0x20,%rsp 1275: 48 89 7d e8 mov %rdi,-0x18(%rbp) 1279: 48 89 75 e0 mov %rsi,-0x20(%rbp) 127d: 48 8b 45 e0 mov -0x20(%rbp),%rax 1281: 48 89 c7 mov %rax,%rdi 1284: e8 87 fe ff ff callq 1110 <strlen@plt> 1289: 48 89 45 f8 mov %rax,-0x8(%rbp) 128d: 48 8b 45 f8 mov -0x8(%rbp),%rax 1291: 48 f7 d0 not %rax 1294: 48 01 45 e8 add %rax,-0x18(%rbp) 1298: 48 8b 55 e0 mov -0x20(%rbp),%rdx 129c: 48 8b 45 e8 mov -0x18(%rbp),%rax 12a0: 48 89 d6 mov %rdx,%rsi 12a3: 48 89 c7 mov %rax,%rdi 12a6: e8 55 fe ff ff callq 1100 <strcpy@plt> 12ab: 48 8b 45 e8 mov -0x18(%rbp),%rax 12af: c9 leaveq 12b0: c3 retq 12b1: f3 0f 1e fa endbr64 12b5: 55 push %rbp 12b6: 48 89 e5 mov %rsp,%rbp 12b9: 48 83 ec 30 sub $0x30,%rsp 12bd: 48 89 7d e8 mov %rdi,-0x18(%rbp) 12c1: 48 89 75 e0 mov %rsi,-0x20(%rbp) 12c5: 48 89 55 d8 mov %rdx,-0x28(%rbp) 12c9: 48 8b 45 d8 mov -0x28(%rbp),%rax 12cd: 48 c7 00 00 00 00 00 movq $0x0,(%rax) 12d4: 48 8b 45 e0 mov -0x20(%rbp),%rax 12d8: 48 89 45 f8 mov %rax,-0x8(%rbp) 12dc: eb 2a jmp 1308 <exit@plt+0x198> 12de: 48 8b 45 f0 mov -0x10(%rbp),%rax 12e2: 48 89 c7 mov %rax,%rdi 12e5: e8 26 fe ff ff callq 1110 <strlen@plt> 12ea: 48 f7 d0 not %rax 12ed: 48 01 45 e8 add %rax,-0x18(%rbp) 12f1: 48 8b 45 d8 mov -0x28(%rbp),%rax 12f5: 48 8b 00 mov (%rax),%rax 12f8: 48 8d 50 01 lea 0x1(%rax),%rdx 12fc: 48 8b 45 d8 mov -0x28(%rbp),%rax 1300: 48 89 10 mov %rdx,(%rax) 1303: 48 83 45 f8 08 addq $0x8,-0x8(%rbp) 1308: 48 8b 45 f8 mov -0x8(%rbp),%rax 130c: 48 8b 00 mov (%rax),%rax 130f: 48 89 45 f0 mov %rax,-0x10(%rbp) 1313: 48 83 7d f0 00 cmpq $0x0,-0x10(%rbp) 1318: 75 c4 jne 12de <exit@plt+0x16e> 131a: 48 8b 45 e8 mov -0x18(%rbp),%rax 131e: c9 leaveq 131f: c3 retq 1320: f3 0f 1e fa endbr64 1324: 55 push %rbp 1325: 48 89 e5 mov %rsp,%rbp 1328: 48 83 ec 30 sub $0x30,%rsp 132c: 48 89 7d e8 mov %rdi,-0x18(%rbp) 1330: 48 89 75 e0 mov %rsi,-0x20(%rbp) 1334: 48 89 55 d8 mov %rdx,-0x28(%rbp) 1338: 48 8b 45 d8 mov -0x28(%rbp),%rax 133c: 48 89 45 f8 mov %rax,-0x8(%rbp) 1340: eb 3c jmp 137e <exit@plt+0x20e> 1342: 48 8b 45 e0 mov -0x20(%rbp),%rax 1346: 48 8b 55 e8 mov -0x18(%rbp),%rdx 134a: 48 89 10 mov %rdx,(%rax) 134d: 48 8b 55 f0 mov -0x10(%rbp),%rdx 1351: 48 8b 45 e8 mov -0x18(%rbp),%rax 1355: 48 89 d6 mov %rdx,%rsi 1358: 48 89 c7 mov %rax,%rdi 135b: e8 a0 fd ff ff callq 1100 <strcpy@plt> 1360: 48 8b 45 f0 mov -0x10(%rbp),%rax 1364: 48 89 c7 mov %rax,%rdi 1367: e8 a4 fd ff ff callq 1110 <strlen@plt> 136c: 48 83 c0 01 add $0x1,%rax 1370: 48 01 45 e8 add %rax,-0x18(%rbp) 1374: 48 83 45 f8 08 addq $0x8,-0x8(%rbp) 1379: 48 83 45 e0 08 addq $0x8,-0x20(%rbp) 137e: 48 8b 45 f8 mov -0x8(%rbp),%rax 1382: 48 8b 00 mov (%rax),%rax 1385: 48 89 45 f0 mov %rax,-0x10(%rbp) 1389: 48 83 7d f0 00 cmpq $0x0,-0x10(%rbp) 138e: 75 b2 jne 1342 <exit@plt+0x1d2> 1390: 90 nop 1391: 90 nop 1392: c9 leaveq 1393: c3 retq 1394: f3 0f 1e fa endbr64 1398: 55 push %rbp 1399: 48 89 e5 mov %rsp,%rbp 139c: 48 83 c4 80 add $0xffffffffffffff80,%rsp 13a0: 89 7d 9c mov %edi,-0x64(%rbp) 13a3: 48 89 75 90 mov %rsi,-0x70(%rbp) 13a7: 48 89 55 88 mov %rdx,-0x78(%rbp) 13ab: 48 8b 45 90 mov -0x70(%rbp),%rax 13af: 48 0d ff 0f 00 00 or $0xfff,%rax 13b5: 48 89 c2 mov %rax,%rdx 13b8: 48 b8 ff ef ff ff ff movabs $0x7fffffffefff,%rax 13bf: 7f 00 00 13c2: 48 39 c2 cmp %rax,%rdx 13c5: 75 1a jne 13e1 <exit@plt+0x271> 13c7: 48 8b 55 88 mov -0x78(%rbp),%rdx 13cb: 48 8b 4d 90 mov -0x70(%rbp),%rcx 13cf: 8b 45 9c mov -0x64(%rbp),%eax 13d2: 48 89 ce mov %rcx,%rsi 13d5: 89 c7 mov %eax,%edi 13d7: e8 45 02 00 00 callq 1621 <exit@plt+0x4b1> 13dc: e9 82 01 00 00 jmpq 1563 <exit@plt+0x3f3> 13e1: 41 b9 00 00 00 00 mov $0x0,%r9d 13e7: 41 b8 ff ff ff ff mov $0xffffffff,%r8d 13ed: b9 32 00 00 00 mov $0x32,%ecx 13f2: ba 07 00 00 00 mov $0x7,%edx 13f7: be 00 00 10 00 mov $0x100000,%esi 13fc: 48 bf 00 f0 ef ff ff movabs $0x7fffffeff000,%rdi 1403: 7f 00 00 1406: e8 15 fd ff ff callq 1120 <mmap@plt> 140b: 48 89 45 f8 mov %rax,-0x8(%rbp) 140f: 48 83 7d f8 ff cmpq $0xffffffffffffffff,-0x8(%rbp) 1414: 75 16 jne 142c <exit@plt+0x2bc> 1416: 48 8d 3d eb 0b 00 00 lea 0xbeb(%rip),%rdi # 2008 <exit@plt+0xe98> 141d: e8 2e fd ff ff callq 1150 <perror@plt> 1422: bf ff ff ff ff mov $0xffffffff,%edi 1427: e8 44 fd ff ff callq 1170 <exit@plt> 142c: 48 b8 f8 ef ff ff ff movabs $0x7fffffffeff8,%rax 1433: 7f 00 00 1436: 48 89 45 f0 mov %rax,-0x10(%rbp) 143a: 48 8b 45 90 mov -0x70(%rbp),%rax 143e: 48 8b 10 mov (%rax),%rdx 1441: 48 8b 45 f0 mov -0x10(%rbp),%rax 1445: 48 89 d6 mov %rdx,%rsi 1448: 48 89 c7 mov %rax,%rdi 144b: e8 19 fe ff ff callq 1269 <exit@plt+0xf9> 1450: 48 89 45 f0 mov %rax,-0x10(%rbp) 1454: 48 8d 55 a8 lea -0x58(%rbp),%rdx 1458: 48 8b 4d 88 mov -0x78(%rbp),%rcx 145c: 48 8b 45 f0 mov -0x10(%rbp),%rax 1460: 48 89 ce mov %rcx,%rsi 1463: 48 89 c7 mov %rax,%rdi 1466: e8 46 fe ff ff callq 12b1 <exit@plt+0x141> 146b: 48 89 45 e8 mov %rax,-0x18(%rbp) 146f: 48 8b 45 e8 mov -0x18(%rbp),%rax 1473: 48 89 45 f0 mov %rax,-0x10(%rbp) 1477: 48 8d 55 b0 lea -0x50(%rbp),%rdx 147b: 48 8b 4d 90 mov -0x70(%rbp),%rcx 147f: 48 8b 45 f0 mov -0x10(%rbp),%rax 1483: 48 89 ce mov %rcx,%rsi 1486: 48 89 c7 mov %rax,%rdi 1489: e8 23 fe ff ff callq 12b1 <exit@plt+0x141> 148e: 48 89 45 e0 mov %rax,-0x20(%rbp) 1492: 48 8b 45 e0 mov -0x20(%rbp),%rax 1496: 48 89 45 f0 mov %rax,-0x10(%rbp) 149a: 48 8b 45 f0 mov -0x10(%rbp),%rax 149e: 48 83 e0 f8 and $0xfffffffffffffff8,%rax 14a2: 48 89 45 f0 mov %rax,-0x10(%rbp) 14a6: 48 8b 45 f0 mov -0x10(%rbp),%rax 14aa: 48 89 45 d8 mov %rax,-0x28(%rbp) 14ae: 48 8b 45 a8 mov -0x58(%rbp),%rax 14b2: 48 c1 e0 03 shl $0x3,%rax 14b6: 48 c7 c2 f8 ff ff ff mov $0xfffffffffffffff8,%rdx 14bd: 48 29 c2 sub %rax,%rdx 14c0: 48 89 d0 mov %rdx,%rax 14c3: 48 01 45 d8 add %rax,-0x28(%rbp) 14c7: 48 8b 45 d8 mov -0x28(%rbp),%rax 14cb: 48 89 45 d0 mov %rax,-0x30(%rbp) 14cf: 48 8b 45 b0 mov -0x50(%rbp),%rax 14d3: 48 c1 e0 03 shl $0x3,%rax 14d7: 48 c7 c2 f8 ff ff ff mov $0xfffffffffffffff8,%rdx 14de: 48 29 c2 sub %rax,%rdx 14e1: 48 89 d0 mov %rdx,%rax 14e4: 48 01 45 d8 add %rax,-0x28(%rbp) 14e8: 48 8b 45 d8 mov -0x28(%rbp),%rax 14ec: 48 89 45 c8 mov %rax,-0x38(%rbp) 14f0: 48 8b 55 88 mov -0x78(%rbp),%rdx 14f4: 48 8b 4d d0 mov -0x30(%rbp),%rcx 14f8: 48 8b 45 e8 mov -0x18(%rbp),%rax 14fc: 48 89 ce mov %rcx,%rsi 14ff: 48 89 c7 mov %rax,%rdi 1502: e8 19 fe ff ff callq 1320 <exit@plt+0x1b0> 1507: 48 8b 55 90 mov -0x70(%rbp),%rdx 150b: 48 8b 4d c8 mov -0x38(%rbp),%rcx 150f: 48 8b 45 e0 mov -0x20(%rbp),%rax 1513: 48 89 ce mov %rcx,%rsi 1516: 48 89 c7 mov %rax,%rdi 1519: e8 02 fe ff ff callq 1320 <exit@plt+0x1b0> 151e: 48 8b 45 c8 mov -0x38(%rbp),%rax 1522: 48 83 e8 08 sub $0x8,%rax 1526: 48 89 45 c0 mov %rax,-0x40(%rbp) 152a: 48 83 65 c0 f0 andq $0xfffffffffffffff0,-0x40(%rbp) 152f: 48 8b 45 d0 mov -0x30(%rbp),%rax 1533: 48 89 05 e6 2a 00 00 mov %rax,0x2ae6(%rip) # 4020 <__environ@@GLIBC_2.2.5> 153a: 48 8b 45 c0 mov -0x40(%rbp),%rax 153e: 8b 4d 9c mov -0x64(%rbp),%ecx 1541: 48 8b 75 c8 mov -0x38(%rbp),%rsi 1545: 48 8b 55 d0 mov -0x30(%rbp),%rdx 1549: 89 cf mov %ecx,%edi 154b: 55 push %rbp 154c: 48 89 e5 mov %rsp,%rbp 154f: 48 89 c4 mov %rax,%rsp 1552: e8 ca 00 00 00 callq 1621 <exit@plt+0x4b1> 1557: 48 89 ec mov %rbp,%rsp 155a: 5d pop %rbp 155b: 48 89 45 b8 mov %rax,-0x48(%rbp) 155f: 48 8b 45 b8 mov -0x48(%rbp),%rax 1563: c9 leaveq 1564: c3 retq 1565: f3 0f 1e fa endbr64 1569: 55 push %rbp 156a: 48 89 e5 mov %rsp,%rbp 156d: 48 83 ec 20 sub $0x20,%rsp 1571: 48 89 7d f8 mov %rdi,-0x8(%rbp) 1575: 48 89 75 f0 mov %rsi,-0x10(%rbp) 1579: 89 55 ec mov %edx,-0x14(%rbp) 157c: 48 8b 45 f0 mov -0x10(%rbp),%rax 1580: 48 89 c7 mov %rax,%rdi 1583: e8 88 fb ff ff callq 1110 <strlen@plt> 1588: 8b 55 ec mov -0x14(%rbp),%edx 158b: 48 63 d2 movslq %edx,%rdx 158e: 48 39 d0 cmp %rdx,%rax 1591: 76 05 jbe 1598 <exit@plt+0x428> 1593: e8 58 fb ff ff callq 10f0 <abort@plt> 1598: 48 8b 55 f0 mov -0x10(%rbp),%rdx 159c: 48 8b 45 f8 mov -0x8(%rbp),%rax 15a0: 48 89 d6 mov %rdx,%rsi 15a3: 48 89 c7 mov %rax,%rdi 15a6: e8 55 fb ff ff callq 1100 <strcpy@plt> 15ab: 90 nop 15ac: c9 leaveq 15ad: c3 retq 15ae: f3 0f 1e fa endbr64 15b2: 55 push %rbp 15b3: 48 89 e5 mov %rsp,%rbp 15b6: 48 83 ec 10 sub $0x10,%rsp 15ba: 48 89 7d f8 mov %rdi,-0x8(%rbp) 15be: 48 8b 45 f8 mov -0x8(%rbp),%rax 15c2: ba 78 00 00 00 mov $0x78,%edx 15c7: be 00 00 00 00 mov $0x0,%esi 15cc: 48 89 c7 mov %rax,%rdi 15cf: e8 6c fb ff ff callq 1140 <memset@plt> 15d4: 48 8d 3d 52 0a 00 00 lea 0xa52(%rip),%rdi # 202d <exit@plt+0xebd> 15db: e8 00 fb ff ff callq 10e0 <getenv@plt> 15e0: 48 89 c1 mov %rax,%rcx 15e3: 48 8b 45 f8 mov -0x8(%rbp),%rax 15e7: ba 28 00 00 00 mov $0x28,%edx 15ec: 48 89 ce mov %rcx,%rsi 15ef: 48 89 c7 mov %rax,%rdi 15f2: e8 6e ff ff ff callq 1565 <exit@plt+0x3f5> 15f7: 48 8d 3d 38 0a 00 00 lea 0xa38(%rip),%rdi # 2036 <exit@plt+0xec6> 15fe: e8 dd fa ff ff callq 10e0 <getenv@plt> 1603: 48 89 c1 mov %rax,%rcx 1606: 48 8b 45 f8 mov -0x8(%rbp),%rax 160a: 48 83 c0 28 add $0x28,%rax 160e: ba 50 00 00 00 mov $0x50,%edx 1613: 48 89 ce mov %rcx,%rsi 1616: 48 89 c7 mov %rax,%rdi 1619: e8 47 ff ff ff callq 1565 <exit@plt+0x3f5> 161e: 90 nop 161f: c9 leaveq 1620: c3 retq 1621: f3 0f 1e fa endbr64 1625: 55 push %rbp 1626: 48 89 e5 mov %rsp,%rbp 1629: 48 81 ec 40 01 00 00 sub $0x140,%rsp 1630: 89 bd dc fe ff ff mov %edi,-0x124(%rbp) 1636: 48 89 b5 d0 fe ff ff mov %rsi,-0x130(%rbp) 163d: 48 89 95 c8 fe ff ff mov %rdx,-0x138(%rbp) 1644: 48 8d 85 e0 fe ff ff lea -0x120(%rbp),%rax 164b: 48 89 c7 mov %rax,%rdi 164e: e8 5b ff ff ff callq 15ae <exit@plt+0x43e> 1653: c6 85 60 ff ff ff 00 movb $0x0,-0xa0(%rbp) 165a: 48 8d 85 60 ff ff ff lea -0xa0(%rbp),%rax 1661: 48 8d 35 d7 09 00 00 lea 0x9d7(%rip),%rsi # 203f <exit@plt+0xecf> 1668: 48 89 c7 mov %rax,%rdi 166b: e8 f0 fa ff ff callq 1160 <strcat@plt> 1670: 48 8d 95 e0 fe ff ff lea -0x120(%rbp),%rdx 1677: 48 8d 85 60 ff ff ff lea -0xa0(%rbp),%rax 167e: 48 89 d6 mov %rdx,%rsi 1681: 48 89 c7 mov %rax,%rdi 1684: e8 d7 fa ff ff callq 1160 <strcat@plt> 1689: 48 8d 85 60 ff ff ff lea -0xa0(%rbp),%rax 1690: 48 8d 35 ac 09 00 00 lea 0x9ac(%rip),%rsi # 2043 <exit@plt+0xed3> 1697: 48 89 c7 mov %rax,%rdi 169a: e8 c1 fa ff ff callq 1160 <strcat@plt> 169f: 48 8d 85 e0 fe ff ff lea -0x120(%rbp),%rax 16a6: 48 8d 50 28 lea 0x28(%rax),%rdx 16aa: 48 8d 85 60 ff ff ff lea -0xa0(%rbp),%rax 16b1: 48 89 d6 mov %rdx,%rsi 16b4: 48 89 c7 mov %rax,%rdi 16b7: e8 a4 fa ff ff callq 1160 <strcat@plt> 16bc: 48 8d 85 60 ff ff ff lea -0xa0(%rbp),%rax 16c3: 48 89 c6 mov %rax,%rsi 16c6: 48 8d 3d 84 09 00 00 lea 0x984(%rip),%rdi # 2051 <exit@plt+0xee1> 16cd: b8 00 00 00 00 mov $0x0,%eax 16d2: e8 59 fa ff ff callq 1130 <printf@plt> 16d7: b8 00 00 00 00 mov $0x0,%eax 16dc: c9 leaveq 16dd: c3 retq 16de: 66 90 xchg %ax,%ax 16e0: f3 0f 1e fa endbr64 16e4: 41 57 push %r15 16e6: 4c 8d 3d 83 26 00 00 lea 0x2683(%rip),%r15 # 3d70 <exit@plt+0x2c00> 16ed: 41 56 push %r14 16ef: 49 89 d6 mov %rdx,%r14 16f2: 41 55 push %r13 16f4: 49 89 f5 mov %rsi,%r13 16f7: 41 54 push %r12 16f9: 41 89 fc mov %edi,%r12d 16fc: 55 push %rbp 16fd: 48 8d 2d 74 26 00 00 lea 0x2674(%rip),%rbp # 3d78 <exit@plt+0x2c08> 1704: 53 push %rbx 1705: 4c 29 fd sub %r15,%rbp 1708: 48 83 ec 08 sub $0x8,%rsp 170c: e8 ef f8 ff ff callq 1000 <__cxa_finalize@plt-0xd0> 1711: 48 c1 fd 03 sar $0x3,%rbp 1715: 74 1f je 1736 <exit@plt+0x5c6> 1717: 31 db xor %ebx,%ebx 1719: 0f 1f 80 00 00 00 00 nopl 0x0(%rax) 1720: 4c 89 f2 mov %r14,%rdx 1723: 4c 89 ee mov %r13,%rsi 1726: 44 89 e7 mov %r12d,%edi 1729: 41 ff 14 df callq *(%r15,%rbx,8) 172d: 48 83 c3 01 add $0x1,%rbx 1731: 48 39 dd cmp %rbx,%rbp 1734: 75 ea jne 1720 <exit@plt+0x5b0> 1736: 48 83 c4 08 add $0x8,%rsp 173a: 5b pop %rbx 173b: 5d pop %rbp 173c: 41 5c pop %r12 173e: 41 5d pop %r13 1740: 41 5e pop %r14 1742: 41 5f pop %r15 1744: c3 retq 1745: 66 66 2e 0f 1f 84 00 data16 nopw %cs:0x0(%rax,%rax,1) 174c: 00 00 00 00 1750: f3 0f 1e fa endbr64 1754: c3 retq Disassembly of section .fini: 0000000000001758 <.fini>: 1758: f3 0f 1e fa endbr64 175c: 48 83 ec 08 sub $0x8,%rsp 1760: 48 83 c4 08 add $0x8,%rsp 1764: c3 retq