Function at 0x14003aa20
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4b0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14027bbd0]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r15, rdx
xor r8d, r8d
lea rdx, str.CUNINSTALLERDlg::CleanUpVDC
lea rcx, [rsp + 0x68]
call fcn.140017fc0
nop
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x40], ebx
call fcn.140051e58
mov r11, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14003aaa5
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x60], rdi
mov ecx, 0x42
call fcn.140051c2c
test rax, rax
je 0x14003aade
mov r8d, 0x42
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140001b00
mov rdi, qword [rsp + 0x60]
mov r14, rbx
cmp dword [0x14027dae0], r14d
je 0x14003ab05
mov edx, 0x3f2
mov rcx, r15
call fcn.14005f9b8
mov r14, rax
mov rdx, rdi
mov rcx, rax
call fcn.14005fb18
call fcn.140054cb8
mov r13, qword [rax + 8]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x2011f
xor r8d, r8d
lea rdx, str.SOFTWARECanonVDCSETUPVDCUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003ab86
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x68]
call fcn.140017c80
nop
lea rdx, [rdi - 0x18]
or esi, 0xffffffff
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14003ab72
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x68]
call fcn.140018150
mov eax, 1
jmp 0x14003aebe
call fcn.140051e58
mov r11, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14003aba5
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov rdx, qword [r13 + 0x1b8]
lea rcx, [rdx - 0x18]
lea r12, [rbx - 0x18]
or esi, 0xffffffff
cmp rcx, r12
je 0x14003ac27
cmp dword [r12 + 0x10], 0
jl 0x14003ac14
mov rax, qword [r12]
cmp qword [rcx], rax
jne 0x14003ac14
call fcn.140001950
mov rbx, rax
mov ecx, esi
lock xadd dword [r12 + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14003ac04
mov rcx, qword [r12]
mov r8, qword [rcx]
mov rdx, r12
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
add rbx, 0x18
mov qword [rsp + 0x50], rbx
mov rdi, qword [rsp + 0x60]
jmp 0x14003ac27
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001c20
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rdx, qword [r13 + 0x1c0]
lea rcx, [rdx - 0x18]
lea r12, [rbx - 0x18]
cmp rcx, r12
je 0x14003aca2
cmp dword [r12 + 0x10], 0
jl 0x14003ac8f
mov rax, qword [r12]
cmp qword [rcx], rax
jne 0x14003ac8f
call fcn.140001950
mov rbx, rax
mov ecx, esi
lock xadd dword [r12 + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14003ac7f
mov rcx, qword [r12]
mov r8, qword [rcx]
mov rdx, r12
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
add rbx, 0x18
mov qword [rsp + 0x50], rbx
mov rdi, qword [rsp + 0x60]
jmp 0x14003aca2
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001c20
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x190]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14003ad58
inc r12d
mov dword [rsp + 0x44], 0x104
mov dword [rsp + 0x40], 0x208
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x190]
mov edx, r12d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x14003ad05
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r13
mov eax, dword [0x14027dae0]
test eax, eax
cmovne rcx, r15
test r12d, r12d
sete r13b
test eax, eax
je 0x14003addb
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rax
call fcn.140058f30
mov eax, dword [0x14027dae0]
test eax, eax
je 0x14003addb
xor r9d, r9d
mov edx, 0x404
lea r8d, [r9 + 1]
mov rcx, qword [r15 + 0x158]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, qword [r15 + 0x158]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rdi
mov rcx, r14
call fcn.14005fb18
mov eax, dword [0x14027dae0]
test r13d, r13d
je 0x14003ae1d
call fcn.140011b00
lea r11, [rsp + 0x48]
mov qword [rsp + 0x20], r11
mov r9d, 0x2011f
xor r8d, r8d
lea rdx, str.SOFTWARECanonVDCSETUPVDCUser
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov eax, 0
cmove r13d, eax
mov eax, dword [0x14027dae0]
test eax, eax
je 0x14003ae5d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x405
mov rcx, qword [r15 + 0x158]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rdi
mov rcx, r14
call fcn.14005fb18
xor r9d, r9d
mov edx, 0x404
lea r8d, [r9 + 3]
mov rcx, qword [r15 + 0x158]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, r13d
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x68]
call fcn.140017c80
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003ae92
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14003aeb1
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x68]
call fcn.140018150
mov eax, r13d
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1401945b0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret