	.file	"extr_cred.c_read_credential_blob.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	read_credential_blob, @function
read_credential_blob:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r9, rcx
	xor	r8d, r8d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	xor	edx, edx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rcx
	sub	rsp, 80
	.cfi_def_cfa_offset 128
	mov	esi, DWORD PTR wszPasswordValue[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [rcx], 0
	lea	r14, 8[rsp]
	mov	rcx, r14
	call	RegQueryValueExW@PLT
	cmp	QWORD PTR ERROR_SUCCESS[rip], rax
	jne	.L1
	mov	rdx, QWORD PTR REG_BINARY[rip]
	cmp	QWORD PTR 8[rsp], rdx
	je	.L3
.L12:
	mov	rax, QWORD PTR ERROR_REGISTRY_CORRUPT[rip]
.L1:
	mov	rbx, QWORD PTR 72[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	test	rbp, rbp
	je	.L1
	mov	esi, DWORD PTR wszPasswordValue[rip]
	xor	edx, edx
	mov	r9, rbx
	mov	r8, rbp
	mov	rcx, r14
	mov	edi, r13d
	call	RegQueryValueExW@PLT
	cmp	QWORD PTR ERROR_SUCCESS[rip], rax
	jne	.L1
	mov	rax, QWORD PTR REG_BINARY[rip]
	cmp	QWORD PTR 8[rsp], rax
	jne	.L12
	lea	rsi, 48[rsp]
	lea	rdi, 16[rsp]
	mov	QWORD PTR 48[rsp], r12
	mov	rax, QWORD PTR KEY_SIZE[rip]
	mov	QWORD PTR 16[rsp], rbp
	mov	QWORD PTR 56[rsp], rax
	mov	QWORD PTR 64[rsp], rax
	mov	rax, QWORD PTR [rbx]
	mov	QWORD PTR 24[rsp], rax
	mov	QWORD PTR 32[rsp], rax
	call	SystemFunction032@PLT
	mov	rax, QWORD PTR ERROR_SUCCESS[rip]
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	read_credential_blob, .-read_credential_blob
	.comm	wszPasswordValue,4,4
	.comm	REG_BINARY,8,8
	.comm	KEY_SIZE,8,8
	.comm	ERROR_SUCCESS,8,8
	.comm	ERROR_REGISTRY_CORRUPT,8,8
	.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_cred.c_read_credential_blob.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_credential_blob, %function
read_credential_blob:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r5, #0
	mov	r4, r3
	sub	sp, sp, #44
	str	r3, [sp, #4]
	ldr	r10, .L15
	ldr	r3, .L15+4
	mov	r8, r1
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	mov	r6, r2
	str	r5, [sp]
	add	r3, sp, #8
	mov	r2, r5
	ldr	r1, [r10]
	str	r5, [r4]
	mov	r7, r0
	bl	RegQueryValueExW
	ldr	r9, .L15+8
	ldr	r3, [r9]
	cmp	r3, r0
	bne	.L1
	ldr	fp, .L15+12
	ldr	r2, [sp, #8]
	ldr	r3, [fp]
	cmp	r2, r3
	beq	.L3
.L12:
	ldr	r3, .L15+16
	ldr	r0, [r3]
.L1:
	ldr	r3, .L15+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	cmp	r6, #0
	beq	.L1
	add	r3, sp, #8
	mov	r2, r5
	mov	r0, r7
	ldr	r1, [r10]
	str	r4, [sp, #4]
	str	r6, [sp]
	bl	RegQueryValueExW
	ldr	r3, [r9]
	cmp	r3, r0
	bne	.L1
	ldr	r3, [fp]
	ldr	r2, [sp, #8]
	cmp	r2, r3
	bne	.L12
	ldr	r3, .L15+20
	ldr	r2, [r4]
	ldr	r3, [r3]
	add	r1, sp, #24
	add	r0, sp, #12
	str	r2, [sp, #16]
	str	r2, [sp, #20]
	str	r8, [sp, #24]
	str	r6, [sp, #12]
	str	r3, [sp, #28]
	str	r3, [sp, #32]
	bl	SystemFunction032
	ldr	r0, [r9]
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	wszPasswordValue
	.word	.LC0
	.word	ERROR_SUCCESS
	.word	REG_BINARY
	.word	ERROR_REGISTRY_CORRUPT
	.word	KEY_SIZE
	.size	read_credential_blob, .-read_credential_blob
	.comm	wszPasswordValue,4,4
	.comm	REG_BINARY,4,4
	.comm	KEY_SIZE,4,4
	.comm	ERROR_SUCCESS,4,4
	.comm	ERROR_REGISTRY_CORRUPT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
