Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "obf.c"
- .section .rodata
- .LC0:
- .string "%s %d %d\n"
- .align 4
- .LC1:
- .ascii "@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l+,/"
- .ascii "n{n+,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'"
- .ascii "l q#'+d'K#!/+k#;q#'r}eKK#}w'r}e"
- .string "KK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c ;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}##(!!/"
- .LC2:
- .string "%s"
- .align 4
- .LC3:
- .string "!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"
- .text
- .globl main
- .type main, @function
- main:
- .LFB0:
- .cfi_startproc
- pushl %ebp
- .cfi_def_cfa_offset 8
- .cfi_offset 5, -8
- movl %esp, %ebp
- .cfi_def_cfa_register 5
- pushl %ebx
- andl $-16, %esp
- subl $16, %esp
- cmpl $1, 8(%ebp)
- jle .L2
- .cfi_offset 3, -12
- cmpl $2, 8(%ebp)
- jg .L4
- movl 16(%ebp), %eax
- addl $1, %eax
- movl %eax, 8(%esp)
- movl $0, 4(%esp)
- movl $-86, (%esp)
- call main
- movl %eax, %edx
- addl 16(%ebp), %edx
- movl $1, %eax
- subl 12(%ebp), %eax
- movl %edx, 8(%esp)
- movl %eax, 4(%esp)
- movl $-87, (%esp)
- call main
- addl 16(%ebp), %eax
- movl %eax, 8(%esp)
- movl $-13, 4(%esp)
- movl $-79, (%esp)
- call main
- .L4:
- movl 8(%ebp), %eax
- cmpl 12(%ebp), %eax
- jge .L6
- movl 8(%ebp), %eax
- leal 1(%eax), %edx
- movl 16(%ebp), %eax
- movl %eax, 8(%esp)
- movl 12(%ebp), %eax
- movl %eax, 4(%esp)
- movl %edx, (%esp)
- call main
- .L6:
- movl 8(%ebp), %eax
- leal -27(%eax), %edx
- movl 16(%ebp), %eax
- movl %eax, 8(%esp)
- movl %edx, 4(%esp)
- movl $-94, (%esp)
- call main
- testl %eax, %eax
- je .L7
- cmpl $2, 8(%ebp)
- jne .L7
- cmpl $12, 12(%ebp)
- jg .L8
- movl 12(%ebp), %eax
- addl $1, %eax
- movl $.LC0, 8(%esp)
- movl %eax, 4(%esp)
- movl $2, (%esp)
- call main
- jmp .L9
- .L8:
- movl $9, %eax
- .L9:
- jmp .L10
- .L7:
- movl $16, %eax
- .L10:
- jmp .L11
- .L2:
- cmpl $0, 8(%ebp)
- jns .L12
- cmpl $-72, 8(%ebp)
- jge .L13
- movl $.LC1, 8(%esp)
- movl 8(%ebp), %eax
- movl %eax, 4(%esp)
- movl 12(%ebp), %eax
- movl %eax, (%esp)
- call main
- jmp .L14
- .L13:
- cmpl $-50, 8(%ebp)
- jge .L15
- movl 16(%ebp), %eax
- movzbl (%eax), %eax
- movsbl %al, %eax
- cmpl 12(%ebp), %eax
- jne .L16
- movl 16(%ebp), %eax
- addl $31, %eax
- movzbl (%eax), %eax
- movsbl %al, %eax
- movl %eax, (%esp)
- call putchar
- jmp .L17
- .L16:
- movl 16(%ebp), %eax
- addl $1, %eax
- movl %eax, 8(%esp)
- movl 12(%ebp), %eax
- movl %eax, 4(%esp)
- movl $-65, (%esp)
- call main
- .L17:
- jmp .L18
- .L15:
- movl 16(%ebp), %eax
- leal 1(%eax), %edx
- movl 16(%ebp), %eax
- movzbl (%eax), %eax
- cmpb $47, %al
- sete %al
- movzbl %al, %eax
- addl 8(%ebp), %eax
- movl %edx, 8(%esp)
- movl 12(%ebp), %edx
- movl %edx, 4(%esp)
- movl %eax, (%esp)
- call main
- .L18:
- .L14:
- jmp .L19
- .L12:
- cmpl $0, 8(%ebp)
- jle .L20
- movl $.LC2, 8(%esp)
- movl $2, 4(%esp)
- movl $2, (%esp)
- call main
- jmp .L21
- .L20:
- movl 16(%ebp), %eax
- movzbl (%eax), %eax
- cmpb $47, %al
- je .L22
- movl 16(%ebp), %eax
- leal 1(%eax), %ebx
- movl 16(%ebp), %eax
- movzbl (%eax), %eax
- movsbl %al, %eax
- movl $.LC3, 8(%esp)
- movl %eax, 4(%esp)
- movl $-61, (%esp)
- call main
- movl %ebx, 8(%esp)
- movl %eax, 4(%esp)
- movl $0, (%esp)
- call main
- testl %eax, %eax
- je .L23
- .L22:
- movl $1, %eax
- jmp .L24
- .L23:
- movl $0, %eax
- .L24:
- .L21:
- .L19:
- .L11:
- movl -4(%ebp), %ebx
- leave
- .cfi_restore 5
- .cfi_def_cfa 4, 4
- .cfi_restore 3
- ret
- .cfi_endproc
- .LFE0:
- .size main, .-main
- .ident "GCC: ********"
- .section .note.GNU-stack,"",@progbits
Add Comment
Please, Sign In to add comment