Function at 0x14003d0f0
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 + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140260d50]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r15, rcx
xor r8d, r8d
lea rdx, str.CUNINSTALLERDlg::CleanUpVDC
lea rcx, [rsp + 0x68]
call fcn.14000b870
nop
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov dword [rsp + 0x58], ebx
mov dword [rsp + 0x40], ebx
call fcn.14004cde4
mov r11, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14003d175
mov ecx, 0x80004005
call fcn.140001000
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.14004cbb8
test rax, rax
je 0x14003d1ae
mov r8d, 0x42
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400012a0
mov rdi, qword [rsp + 0x60]
mov r14, rbx
cmp dword [0x140280b48], r14d
je 0x14003d1d5
mov edx, 0x3f2
mov rcx, r15
call fcn.14005cb50
mov r14, rax
mov rdx, rdi
mov rcx, rax
call fcn.14005ccb0
call fcn.140050920
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 0x14003d256
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x68]
call fcn.14000ba50
nop
lea rdx, [rdi - 0x18]
or esi, 0xffffffff
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14003d242
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x68]
call fcn.14000ba00
mov eax, 1
jmp 0x14003d58e
call fcn.14004cde4
mov r11, rax
mov ecx, ebx
test rax, rax
setne cl
test ecx, ecx
jne 0x14003d275
mov ecx, 0x80004005
call fcn.140001000
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 0x14003d2f7
cmp dword [r12 + 0x10], 0
jl 0x14003d2e4
mov rax, qword [r12]
cmp qword [rcx], rax
jne 0x14003d2e4
call fcn.140001620
mov rbx, rax
mov ecx, esi
lock xadd dword [r12 + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14003d2d4
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 0x14003d2f7
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.1400014d0
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 0x14003d372
cmp dword [r12 + 0x10], 0
jl 0x14003d35f
mov rax, qword [r12]
cmp qword [rcx], rax
jne 0x14003d35f
call fcn.140001620
mov rbx, rax
mov ecx, esi
lock xadd dword [r12 + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14003d34f
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 0x14003d372
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.1400014d0
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 0x14003d428
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 0x14003d3d5
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r13
mov eax, dword [0x140280b48]
test eax, eax
cmovne rcx, r15
test r12d, r12d
sete r13b
test eax, eax
je 0x14003d4ab
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SetActiveWindow]
mov rcx, rax
call fcn.140054b0c
mov eax, dword [0x140280b48]
test eax, eax
je 0x14003d4ab
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.14005ccb0
mov eax, dword [0x140280b48]
test r13d, r13d
je 0x14003d4ed
call fcn.14000eb20
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 [0x140280b48]
test eax, eax
je 0x14003d52d
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.14005ccb0
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.14000ba50
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003d562
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 0x14003d581
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
lea rcx, [rsp + 0x68]
call fcn.14000ba00
mov eax, r13d
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.14018e5d0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret