	.file	"extr_kull_m_rpc_drsr.c_kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str4.8,"aMS",@progbits,4
	.align 8
.LC0:
	.string	"C"
	.string	""
	.string	""
	.string	"h"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"c"
	.string	""
	.string	""
	.string	"k"
	.string	""
	.string	""
	.string	"s"
	.string	""
	.string	""
	.string	"u"
	.string	""
	.string	""
	.string	"m"
	.string	""
	.string	""
	.string	"s"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"d"
	.string	""
	.string	""
	.string	"o"
	.string	""
	.string	""
	.string	"n"
	.string	""
	.string	""
	.string	"'"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"m"
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	"c"
	.string	""
	.string	""
	.string	"h"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"("
	.string	""
	.string	""
	.string	"C"
	.string	""
	.string	""
	.string	":"
	.string	""
	.string	""
	.string	"0"
	.string	""
	.string	""
	.string	"x"
	.string	""
	.string	""
	.string	"%"
	.string	""
	.string	""
	.string	"0"
	.string	""
	.string	""
	.string	"8"
	.string	""
	.string	""
	.string	"x"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"-"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"R"
	.string	""
	.string	""
	.string	":"
	.string	""
	.string	""
	.string	"0"
	.string	""
	.string	""
	.string	"x"
	.string	""
	.string	""
	.string	"%"
	.string	""
	.string	""
	.string	"0"
	.string	""
	.string	""
	.string	"8"
	.string	""
	.string	""
	.string	"x"
	.string	""
	.string	""
	.string	")"
	.string	""
	.string	""
	.string	"\n"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.align 8
.LC1:
	.string	"U"
	.string	""
	.string	""
	.string	"n"
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"b"
	.string	""
	.string	""
	.string	"l"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	"o"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"c"
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"l"
	.string	""
	.string	""
	.string	"c"
	.string	""
	.string	""
	.string	"u"
	.string	""
	.string	""
	.string	"l"
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"C"
	.string	""
	.string	""
	.string	"R"
	.string	""
	.string	""
	.string	"C"
	.string	""
	.string	""
	.string	"3"
	.string	""
	.string	""
	.string	"2"
	.string	""
	.string	""
	.string	"\n"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.align 8
.LC2:
	.string	"R"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	"l"
	.string	""
	.string	""
	.string	"E"
	.string	""
	.string	""
	.string	"n"
	.string	""
	.string	""
	.string	"c"
	.string	""
	.string	""
	.string	"r"
	.string	""
	.string	""
	.string	"y"
	.string	""
	.string	""
	.string	"p"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	"D"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"c"
	.string	""
	.string	""
	.string	"r"
	.string	""
	.string	""
	.string	"y"
	.string	""
	.string	""
	.string	"p"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	"R"
	.string	""
	.string	""
	.string	"C"
	.string	""
	.string	""
	.string	"4"
	.string	""
	.string	""
	.string	"\n"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.align 8
.LC3:
	.string	"N"
	.string	""
	.string	""
	.string	"o"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"v"
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"l"
	.string	""
	.string	""
	.string	"i"
	.string	""
	.string	""
	.string	"d"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"d"
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"t"
	.string	""
	.string	""
	.string	"a"
	.string	""
	.string	""
	.string	"\n"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.align 8
.LC4:
	.string	"N"
	.string	""
	.string	""
	.string	"o"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"S"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"s"
	.string	""
	.string	""
	.string	"s"
	.string	""
	.string	""
	.string	"i"
	.string	""
	.string	""
	.string	"o"
	.string	""
	.string	""
	.string	"n"
	.string	""
	.string	""
	.string	" "
	.string	""
	.string	""
	.string	"K"
	.string	""
	.string	""
	.string	"e"
	.string	""
	.string	""
	.string	"y"
	.string	""
	.string	""
	.string	"\n"
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.string	""
	.text
	.p2align 4
	.globl	kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt
	.type	kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt, @function
kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	pxor	xmm0, xmm0
	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
	mov	rbx, rsi
	sub	rsp, 112
	.cfi_def_cfa_offset 160
	mov	r12d, DWORD PTR FALSE[rip]
	mov	r13, QWORD PTR 8[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 104[rsp], rax
	xor	eax, eax
	test	rsi, rsi
	lea	rax, kull_m_rpc_drsr_g_sKey[rip]
	movups	XMMWORD PTR 40[rsp], xmm0
	cmove	rbx, rax
	movsx	rax, DWORD PTR MD5_DIGEST_LENGTH[rip]
	mov	QWORD PTR 16[rsp], rax
	cmp	QWORD PTR 8[rbx], 0
	mov	QWORD PTR 24[rsp], rax
	movsx	rax, DWORD PTR 4[rsp]
	mov	QWORD PTR 32[rsp], rax
	je	.L3
	mov	eax, DWORD PTR [rbx]
	test	eax, eax
	jne	.L15
.L3:
	lea	rdi, .LC4[rip]
	xor	eax, eax
	call	PRINT_ERROR@PLT
.L1:
	mov	rax, QWORD PTR 104[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 112
	.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
.L15:
	.cfi_restore_state
	mov	r14, QWORD PTR [rdi]
	mov	rbp, rdi
	mov	esi, DWORD PTR EncryptedData[rip]
	mov	edi, DWORD PTR ENCRYPTED_PAYLOAD[rip]
	call	FIELD_OFFSET@PLT
	cmp	r14, rax
	jl	.L4
	cmp	QWORD PTR 8[rbp], 0
	je	.L4
	lea	r14, 4[rsp]
	mov	rdi, r14
	call	MD5Init@PLT
	mov	rsi, QWORD PTR 8[rbx]
	mov	edx, DWORD PTR [rbx]
	mov	rdi, r14
	call	MD5Update@PLT
	mov	rsi, QWORD PTR 16[r13]
	mov	edx, 8
	mov	rdi, r14
	call	MD5Update@PLT
	mov	rdi, r14
	call	MD5Final@PLT
	mov	esi, DWORD PTR CheckSum[rip]
	mov	edi, DWORD PTR ENCRYPTED_PAYLOAD[rip]
	mov	rbx, QWORD PTR 0[rbp]
	call	FIELD_OFFSET@PLT
	lea	rdi, 64[rsp]
	lea	rsi, 16[rsp]
	mov	QWORD PTR 64[rsp], r13
	sub	rbx, rax
	mov	QWORD PTR 72[rsp], rbx
	mov	QWORD PTR 80[rsp], rbx
	call	RtlEncryptDecryptRC4@PLT
	mov	edi, eax
	call	NT_SUCCESS@PLT
	test	rax, rax
	je	.L5
	mov	esi, DWORD PTR EncryptedData[rip]
	mov	edi, DWORD PTR ENCRYPTED_PAYLOAD[rip]
	mov	rbx, QWORD PTR 0[rbp]
	call	FIELD_OFFSET@PLT
	mov	esi, DWORD PTR 8[r13]
	lea	rcx, 8[rsp]
	mov	edi, DWORD PTR CALG_CRC32[rip]
	sub	rbx, rax
	mov	r8d, 8
	mov	rdx, rbx
	call	kull_m_crypto_hash@PLT
	test	rax, rax
	je	.L6
	mov	rdx, QWORD PTR 0[r13]
	mov	rsi, QWORD PTR 8[rsp]
	cmp	rdx, rsi
	je	.L17
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	PRINT_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L4:
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	PRINT_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	PRINT_ERROR@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	PRINT_ERROR@PLT
	jmp	.L1
.L17:
	mov	rdi, rbx
	mov	r14, QWORD PTR 8[rbp]
	call	MIDL_user_allocate@PLT
	mov	QWORD PTR 8[rbp], rax
	mov	rdi, rax
	test	rax, rax
	je	.L1
	mov	esi, DWORD PTR 8[r13]
	mov	rdx, rbx
	call	RtlCopyMemory@PLT
	mov	QWORD PTR 0[rbp], rbx
	mov	rdi, r14
	mov	r12d, DWORD PTR TRUE[rip]
	call	MIDL_user_free@PLT
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt, .-kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt
	.comm	kull_m_rpc_drsr_g_sKey,16,16
	.comm	TRUE,4,4
	.comm	MD5_DIGEST_LENGTH,4,4
	.comm	FALSE,4,4
	.comm	EncryptedData,4,4
	.comm	ENCRYPTED_PAYLOAD,4,4
	.comm	CheckSum,4,4
	.comm	CALG_CRC32,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_kull_m_rpc_drsr.c_kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt.c"
	.text
	.section	.rodata.str4.4,"aMS",%progbits,4
	.align	2
.LC0:
	.ascii	"C\000\000\000h\000\000\000e\000\000\000c\000\000\000"
	.ascii	"k\000\000\000s\000\000\000u\000\000\000m\000\000\000"
	.ascii	"s\000\000\000 \000\000\000d\000\000\000o\000\000\000"
	.ascii	"n\000\000\000'\000\000\000t\000\000\000 \000\000\000"
	.ascii	"m\000\000\000a\000\000\000t\000\000\000c\000\000\000"
	.ascii	"h\000\000\000 \000\000\000(\000\000\000C\000\000\000"
	.ascii	":\000\000\0000\000\000\000x\000\000\000%\000\000\000"
	.ascii	"0\000\000\0008\000\000\000x\000\000\000 \000\000\000"
	.ascii	"-\000\000\000 \000\000\000R\000\000\000:\000\000\000"
	.ascii	"0\000\000\000x\000\000\000%\000\000\0000\000\000\000"
	.ascii	"8\000\000\000x\000\000\000)\000\000\000\012\000\000"
	.ascii	"\000\000\000\000\000"
	.align	2
.LC1:
	.ascii	"U\000\000\000n\000\000\000a\000\000\000b\000\000\000"
	.ascii	"l\000\000\000e\000\000\000 \000\000\000t\000\000\000"
	.ascii	"o\000\000\000 \000\000\000c\000\000\000a\000\000\000"
	.ascii	"l\000\000\000c\000\000\000u\000\000\000l\000\000\000"
	.ascii	"a\000\000\000t\000\000\000e\000\000\000 \000\000\000"
	.ascii	"C\000\000\000R\000\000\000C\000\000\0003\000\000\000"
	.ascii	"2\000\000\000\012\000\000\000\000\000\000\000"
	.align	2
.LC2:
	.ascii	"R\000\000\000t\000\000\000l\000\000\000E\000\000\000"
	.ascii	"n\000\000\000c\000\000\000r\000\000\000y\000\000\000"
	.ascii	"p\000\000\000t\000\000\000D\000\000\000e\000\000\000"
	.ascii	"c\000\000\000r\000\000\000y\000\000\000p\000\000\000"
	.ascii	"t\000\000\000R\000\000\000C\000\000\0004\000\000\000"
	.ascii	"\012\000\000\000\000\000\000\000"
	.align	2
.LC3:
	.ascii	"N\000\000\000o\000\000\000 \000\000\000v\000\000\000"
	.ascii	"a\000\000\000l\000\000\000i\000\000\000d\000\000\000"
	.ascii	" \000\000\000d\000\000\000a\000\000\000t\000\000\000"
	.ascii	"a\000\000\000\012\000\000\000\000\000\000\000"
	.align	2
.LC4:
	.ascii	"N\000\000\000o\000\000\000 \000\000\000S\000\000\000"
	.ascii	"e\000\000\000s\000\000\000s\000\000\000i\000\000\000"
	.ascii	"o\000\000\000n\000\000\000 \000\000\000K\000\000\000"
	.ascii	"e\000\000\000y\000\000\000\012\000\000\000\000\000\000"
	.ascii	"\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt
	.syntax unified
	.arm
	.fpu softvfp
	.type	kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt, %function
kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r1, #0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r4, .L27
	movne	r4, r1
	mov	r3, #0
	mov	r5, r0
	ldr	r1, [r4, #4]
	ldr	r2, .L27+4
	sub	sp, sp, #72
	ldr	r2, [r2]
	ldr	r0, .L27+8
	ldr	ip, .L27+12
	cmp	r1, r3
	ldr	r1, [sp, #12]
	ldr	ip, [ip]
	str	ip, [sp, #68]
	mov	ip,#0
	ldr	r7, [r5, #4]
	ldr	r6, [r0]
	str	r2, [sp, #20]
	str	r2, [sp, #24]
	str	r3, [sp, #32]
	str	r3, [sp, #36]
	str	r3, [sp, #40]
	str	r1, [sp, #28]
	beq	.L3
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L24
.L3:
	ldr	r0, .L27+16
	bl	PRINT_ERROR
.L1:
	ldr	r3, .L27+12
	ldr	r2, [r3]
	ldr	r3, [sp, #68]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	mov	r0, r6
	add	sp, sp, #72
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L24:
	ldr	r9, .L27+20
	ldr	r8, .L27+24
	ldr	r1, [r9]
	ldr	r0, [r8]
	ldr	r10, [r5]
	bl	FIELD_OFFSET
	cmp	r10, r0
	blt	.L4
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L4
	add	r0, sp, #12
	bl	MD5Init
	ldr	r2, [r4]
	ldr	r1, [r4, #4]
	add	r0, sp, #12
	bl	MD5Update
	mov	r2, #4
	ldr	r1, [r7, #8]
	add	r0, sp, #12
	bl	MD5Update
	add	r0, sp, #12
	bl	MD5Final
	ldr	r3, .L27+28
	ldr	r0, [r8]
	ldr	r1, [r3]
	ldr	r4, [r5]
	bl	FIELD_OFFSET
	add	r1, sp, #20
	sub	r3, r4, r0
	add	r0, sp, #44
	str	r3, [sp, #48]
	str	r3, [sp, #52]
	str	r7, [sp, #44]
	bl	RtlEncryptDecryptRC4
	bl	NT_SUCCESS
	cmp	r0, #0
	beq	.L5
	ldr	r1, [r9]
	ldr	r0, [r8]
	ldr	r4, [r5]
	bl	FIELD_OFFSET
	mov	ip, #4
	ldr	r3, .L27+32
	ldr	r1, [r7, #4]
	sub	r4, r4, r0
	str	ip, [sp]
	ldr	r0, [r3]
	mov	r2, r4
	add	r3, sp, #16
	bl	kull_m_crypto_hash
	cmp	r0, #0
	beq	.L6
	ldr	r2, [r7]
	ldr	r1, [sp, #16]
	cmp	r2, r1
	beq	.L26
	ldr	r0, .L27+36
	bl	PRINT_ERROR
	b	.L1
.L4:
	ldr	r0, .L27+40
	bl	PRINT_ERROR
	b	.L1
.L5:
	ldr	r0, .L27+44
	bl	PRINT_ERROR
	b	.L1
.L6:
	ldr	r0, .L27+48
	bl	PRINT_ERROR
	b	.L1
.L26:
	mov	r0, r4
	ldr	r8, [r5, #4]
	bl	MIDL_user_allocate
	cmp	r0, #0
	str	r0, [r5, #4]
	beq	.L1
	mov	r2, r4
	ldr	r1, [r7, #4]
	bl	RtlCopyMemory
	ldr	r3, .L27+52
	mov	r0, r8
	str	r4, [r5]
	ldr	r6, [r3]
	bl	MIDL_user_free
	b	.L1
.L25:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	kull_m_rpc_drsr_g_sKey
	.word	MD5_DIGEST_LENGTH
	.word	FALSE
	.word	.LC5
	.word	.LC4
	.word	EncryptedData
	.word	ENCRYPTED_PAYLOAD
	.word	CheckSum
	.word	CALG_CRC32
	.word	.LC0
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.word	TRUE
	.size	kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt, .-kull_m_rpc_drsr_ProcessGetNCChangesReply_decrypt
	.comm	kull_m_rpc_drsr_g_sKey,8,4
	.comm	TRUE,4,4
	.comm	MD5_DIGEST_LENGTH,4,4
	.comm	FALSE,4,4
	.comm	EncryptedData,4,4
	.comm	ENCRYPTED_PAYLOAD,4,4
	.comm	CheckSum,4,4
	.comm	CALG_CRC32,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
