Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tarLookup:
- .cfi_startproc
- pushq %r15
- .cfi_def_cfa_offset 16
- pushq %r14
- .cfi_def_cfa_offset 24
- pushq %r12
- .cfi_def_cfa_offset 32
- pushq %rbx
- .cfi_def_cfa_offset 40
- subq $40, %rsp
- .cfi_def_cfa_offset 80
- .cfi_offset %rbx, -40
- .cfi_offset %r12, -32
- .cfi_offset %r14, -24
- .cfi_offset %r15, -16
- movq %rdi, 32(%rsp)
- movq %rsi, 16(%rsp)
- movq %rdx, 24(%rsp)
- movq %rdi, (%rsp)
- movl $257, %r12d
- leaq .L__unnamed_1(%rip), %rbx
- .p2align 4, 0x90
- .LBB3_1:
- movq (%rsp), %rdi
- addq %r12, %rdi
- movq %rbx, %rsi
- movl $5, %edx
- callq memeq@PLT
- testb $1, %al
- je .LBB3_2
- movq (%rsp), %rdi
- addq $124, %rdi
- movl $11, %esi
- callq oct2bin@PLT
- movl %eax, 12(%rsp)
- movq 16(%rsp), %rdi
- callq strlen@PLT
- leal 30(%rax), %esi
- movl $1016, %edi
- callq outb@PLT
- movq (%rsp), %r14
- movq 16(%rsp), %r15
- movq %r15, %rdi
- callq strlen@PLT
- movq %r14, %rdi
- movq %r15, %rsi
- movl %eax, %edx
- callq memeq@PLT
- testb $1, %al
- jne .LBB3_6
- movl 12(%rsp), %eax
- leal 511(%rax), %ecx
- addl $1022, %eax
- testl %ecx, %ecx
- cmovnsl %ecx, %eax
- andl $-512, %eax
- addl $512, %eax
- cltq
- addq %rax, (%rsp)
- jmp .LBB3_1
- .LBB3_2:
- xorl %eax, %eax
- jmp .LBB3_3
- .LBB3_6:
- movl $512, %eax
- addq (%rsp), %rax
- movq 24(%rsp), %rcx
- movq %rax, (%rcx)
- movl 12(%rsp), %eax
- .LBB3_3:
- addq $40, %rsp
- .cfi_def_cfa_offset 40
- popq %rbx
- .cfi_def_cfa_offset 32
- popq %r12
- .cfi_def_cfa_offset 24
- popq %r14
- .cfi_def_cfa_offset 16
- popq %r15
- .cfi_def_cfa_offset 8
- retq
- .Lfunc_end3:
- .size tarLookup, .Lfunc_end3-tarLookup
- .cfi_endproc
- .type .L__unnamed_1,@object
- .section .rodata.str1.1,"aMS",@progbits,1
- .L__unnamed_1:
- .asciz "ustar"
- .size .L__unnamed_1, 6
Advertisement
Add Comment
Please, Sign In to add comment