	.file	"extr_kuhl_m_lsadump.c_kuhl_m_lsadump_LsaRetrievePrivateData.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	kuhl_m_lsadump_LsaRetrievePrivateData
	.type	kuhl_m_lsadump_LsaRetrievePrivateData, @function
kuhl_m_lsadump_LsaRetrievePrivateData:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 96
	.cfi_def_cfa_offset 144
	mov	r12d, DWORD PTR STATUS_UNSUCCESSFUL[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 12[rsp], 0
	test	esi, esi
	jne	.L41
.L1:
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L42
	add	rsp, 96
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	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
.L41:
	.cfi_restore_state
	lea	r14, 48[rsp]
	lea	r12, 64[rsp]
	mov	ebp, edi
	mov	rbx, rdx
	mov	rdi, r14
	mov	r13d, ecx
	call	RtlInitUnicodeString@PLT
	mov	rdi, r12
	mov	esi, ebp
	call	RtlInitUnicodeString@PLT
	mov	edx, DWORD PTR POLICY_GET_PRIVATE_INFORMATION[rip]
	mov	rdi, r12
	lea	rcx, 16[rsp]
	lea	rsi, 12[rsp]
	call	LsaOpenPolicy@PLT
	mov	edi, eax
	mov	r12d, eax
	call	NT_SUCCESS@PLT
	test	rax, rax
	je	.L1
	mov	edi, DWORD PTR 16[rsp]
	test	r13d, r13d
	jne	.L3
	lea	rdx, 32[rsp]
	mov	rsi, r14
	call	LsaRetrievePrivateData@PLT
	mov	edi, eax
	mov	r12d, eax
	call	NT_SUCCESS@PLT
	test	rax, rax
	je	.L4
	mov	rax, QWORD PTR 32[rsp]
	test	rax, rax
	je	.L4
	movdqu	xmm0, XMMWORD PTR [rax]
	mov	edi, DWORD PTR LPTR[rip]
	movups	XMMWORD PTR [rbx], xmm0
	mov	esi, DWORD PTR [rbx]
	call	LocalAlloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR 32[rsp]
	mov	edx, DWORD PTR [rbx]
	mov	rsi, QWORD PTR 8[rax]
	call	RtlCopyMemory@PLT
.L5:
	mov	rdi, QWORD PTR 32[rsp]
	call	LsaFreeMemory@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR 16[rsp]
	call	LsaClose@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edx, DWORD PTR SECRET_QUERY_VALUE[rip]
	lea	rcx, 20[rsp]
	mov	rsi, r14
	call	LsaOpenSecret@PLT
	mov	edi, eax
	mov	r12d, eax
	call	NT_SUCCESS@PLT
	test	rax, rax
	je	.L4
	mov	edi, DWORD PTR 20[rsp]
	lea	rcx, 40[rsp]
	lea	rdx, 24[rsp]
	lea	rsi, 32[rsp]
	lea	r8, 28[rsp]
	call	LsaQuerySecret@PLT
	mov	edi, eax
	mov	r12d, eax
	call	NT_SUCCESS@PLT
	test	rax, rax
	je	.L7
	mov	rax, QWORD PTR 32[rsp]
	test	rax, rax
	je	.L8
	movdqu	xmm1, XMMWORD PTR [rax]
	mov	edi, DWORD PTR LPTR[rip]
	movups	XMMWORD PTR [rbx], xmm1
	mov	esi, DWORD PTR [rbx]
	call	LocalAlloc@PLT
	mov	QWORD PTR 8[rbx], rax
	mov	rdi, rax
	test	rax, rax
	je	.L9
	mov	rax, QWORD PTR 32[rsp]
	mov	edx, DWORD PTR [rbx]
	mov	rsi, QWORD PTR 8[rax]
	call	RtlCopyMemory@PLT
.L9:
	mov	rdi, QWORD PTR 32[rsp]
	call	LsaFreeMemory@PLT
.L8:
	mov	rdi, QWORD PTR 40[rsp]
	test	rdi, rdi
	je	.L7
	call	LsaFreeMemory@PLT
.L7:
	mov	edi, DWORD PTR 20[rsp]
	call	LsaClose@PLT
	jmp	.L4
.L42:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	kuhl_m_lsadump_LsaRetrievePrivateData, .-kuhl_m_lsadump_LsaRetrievePrivateData
	.comm	STATUS_UNSUCCESSFUL,4,4
	.comm	SECRET_QUERY_VALUE,4,4
	.comm	POLICY_GET_PRIVATE_INFORMATION,4,4
	.comm	LPTR,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_kuhl_m_lsadump.c_kuhl_m_lsadump_LsaRetrievePrivateData.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kuhl_m_lsadump_LsaRetrievePrivateData
	.syntax unified
	.arm
	.fpu softvfp
	.type	kuhl_m_lsadump_LsaRetrievePrivateData, %function
kuhl_m_lsadump_LsaRetrievePrivateData:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	lr, #0
	mov	r7, r3
	ldr	ip, .L43
	ldr	r3, .L43+4
	sub	sp, sp, #60
	cmp	r1, lr
	ldr	r3, [r3]
	str	r3, [sp, #52]
	mov	r3,#0
	ldr	r4, [ip]
	str	lr, [sp, #8]
	bne	.L41
.L1:
	ldr	r3, .L43+4
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L42
	mov	r0, r4
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L41:
	mov	r5, r0
	add	r0, sp, #36
	mov	r6, r2
	bl	RtlInitUnicodeString
	mov	r1, r5
	add	r0, sp, #44
	bl	RtlInitUnicodeString
	ldr	r3, .L43+8
	add	r1, sp, #8
	ldr	r2, [r3]
	add	r0, sp, #44
	add	r3, sp, #12
	bl	LsaOpenPolicy
	mov	r4, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L1
	cmp	r7, #0
	ldr	r0, [sp, #12]
	bne	.L3
	add	r1, sp, #36
	add	r2, sp, #20
	bl	LsaRetrievePrivateData
	mov	r4, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L4
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L4
	ldm	r3, {r0, r1}
	ldr	r3, .L43+12
	stm	r6, {r0, r1}
	mov	r1, r0
	ldr	r0, [r3]
	bl	LocalAlloc
	cmp	r0, #0
	str	r0, [r6, #4]
	beq	.L5
	ldr	r3, [sp, #20]
	ldr	r2, [r6]
	ldr	r1, [r3, #4]
	bl	RtlCopyMemory
.L5:
	ldr	r0, [sp, #20]
	bl	LsaFreeMemory
.L4:
	ldr	r0, [sp, #12]
	bl	LsaClose
	b	.L1
.L3:
	ldr	r3, .L43+16
	add	r1, sp, #36
	ldr	r2, [r3]
	add	r3, sp, #16
	bl	LsaOpenSecret
	mov	r4, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L4
	add	r3, sp, #32
	str	r3, [sp]
	add	r2, sp, #28
	add	r3, sp, #24
	add	r1, sp, #20
	ldr	r0, [sp, #16]
	bl	LsaQuerySecret
	mov	r4, r0
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L7
	ldr	r3, [sp, #20]
	cmp	r3, #0
	beq	.L8
	ldm	r3, {r0, r1}
	ldr	r3, .L43+12
	stm	r6, {r0, r1}
	mov	r1, r0
	ldr	r0, [r3]
	bl	LocalAlloc
	cmp	r0, #0
	str	r0, [r6, #4]
	beq	.L9
	ldr	r3, [sp, #20]
	ldr	r2, [r6]
	ldr	r1, [r3, #4]
	bl	RtlCopyMemory
.L9:
	ldr	r0, [sp, #20]
	bl	LsaFreeMemory
.L8:
	ldr	r0, [sp, #24]
	cmp	r0, #0
	beq	.L7
	bl	LsaFreeMemory
.L7:
	ldr	r0, [sp, #16]
	bl	LsaClose
	b	.L4
.L42:
	bl	__stack_chk_fail
.L44:
	.align	2
.L43:
	.word	STATUS_UNSUCCESSFUL
	.word	.LC0
	.word	POLICY_GET_PRIVATE_INFORMATION
	.word	LPTR
	.word	SECRET_QUERY_VALUE
	.size	kuhl_m_lsadump_LsaRetrievePrivateData, .-kuhl_m_lsadump_LsaRetrievePrivateData
	.comm	STATUS_UNSUCCESSFUL,4,4
	.comm	SECRET_QUERY_VALUE,4,4
	.comm	POLICY_GET_PRIVATE_INFORMATION,4,4
	.comm	LPTR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
