Function at 0x14007d7f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0x27], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov r14, r9
mov rsi, r8
mov rdi, rdx
xor r8d, r8d
lea rdx, str.CBaseFuncSub::FS_CheckDIASVersion
lea rcx, [rbp - 0x19]
call fcn.1400075a0
nop
lea r12, vtable.CPDLRegData.0
mov qword [rbp - 0x31], r12
xor r15d, r15d
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], r15
mov r8d, 0x20019
lea rdx, str.SOFTWARECanonDIASSETUP
lea rcx, [rbp - 0x31]
call fcn.140102030
test eax, eax
jne 0x14007dcc0
xor r8d, r8d
lea rdx, str.CBaseRegData::QueryValue
lea rcx, [rbp - 1]
call fcn.1400075a0
nop
lea r9, str.Version
lea r8, str.name___s
mov ebx, 1
mov edx, ebx
lea rcx, [rbp - 1]
call fcn.140007780
lea r11, [rbp - 0x39]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x35]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov qword [rbp - 0x21], r15
test eax, eax
jne 0x14007d955
mov edx, dword [rbp - 0x39]
add edx, 4
lea ecx, [rbx + 0x3f]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp - 0x21], rax
test rax, rax
je 0x14007d939
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x35]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14007d955
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test rax, rax
jne 0x14007d927
mov qword [rbp - 0x21], r15
jmp 0x14007d955
lea rdx, str._t_t_tGlobalFree
lea rcx, [rbp - 1]
call fcn.140029dc0
jmp 0x14007d955
lea r9, str.Version
lea r8, str._t_t_tCannot_Get_Area_for___s_
mov edx, 7
lea rcx, [rbp - 1]
call fcn.140007780
mov r9, qword [rbp - 0x21]
lea r8, str.return___08x
mov edx, 2
lea rcx, [rbp - 1]
call fcn.140007780
mov r13, qword [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.140007730
mov edx, 7
lea rcx, [rbp - 0x19]
test r13, r13
je 0x14007dc35
mov eax, dword [rbp - 0x39]
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, str._t_t_tRegisted_MajorVersion__s_SIZE:_d_
call fcn.140007780
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov r8, r13
mov rdx, rdi
call qword [rax + 0x80]
test eax, eax
jg 0x14007dc2a
jns 0x14007d9cd
mov ebx, 2
jmp 0x14007dc2a
lea r9, [rbp - 9]
lea r8, [rbp - 0x35]
lea rdx, str.BuildNumber
lea rcx, [rbp - 0x31]
call fcn.1401022a0
mov r12, rax
mov edx, 7
test rax, rax
je 0x14007dc10
mov ecx, dword [rbp - 9]
mov dword [rsp + 0x20], ecx
mov r9, rax
lea r8, str._t_t_tRegisted_MinorVersion__s_SIZE:_d_
lea rcx, [rbp - 0x19]
call fcn.140007780
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.140005900
nop
mov rdx, r12
lea rcx, [rbp - 0x41]
call fcn.140005900
nop
mov rcx, qword [rbp - 0x49]
or edi, 0xffffffff
cmp dword [rcx - 0x10], 0
jle 0x14007dae9
lea edx, [rdi + 0x2e]
call fcn.140247344
test rax, rax
je 0x14007dae9
sub rax, qword [rbp - 0x49]
sar rax, 1
test eax, eax
jle 0x14007dae9
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x49]
call fcn.14000d690
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x49]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14007dacb
cmp dword [rbx + 0x10], 0
jl 0x14007dabd
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14007dabd
call fcn.140006190
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14007dab3
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp - 0x49], rax
jmp 0x14007dacb
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call fcn.140005d50
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007dae9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x41]
cmp dword [rcx - 0x10], 0
jle 0x14007dba7
mov edx, 0x2d
call fcn.140247344
test rax, rax
je 0x14007dba7
sub rax, qword [rbp - 0x41]
sar rax, 1
test eax, eax
jle 0x14007dba7
mov r9d, eax
xor r8d, r8d
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x41]
call fcn.14000d690
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x41]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x14007db89
cmp dword [rbx + 0x10], 0
jl 0x14007db7b
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14007db7b
call fcn.140006190
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14007db71
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp - 0x41], rax
jmp 0x14007db89
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x41]
call fcn.140005d50
nop
mov rdx, qword [rbp + 0x17]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007dba7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
mov r8, qword [rbp - 0x41]
mov rdx, qword [rbp - 0x49]
call qword [rax + 0x80]
mov ebx, r15d
test eax, eax
setle bl
inc ebx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007dbf2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x49]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
dec edi
test edi, edi
jg 0x14007dc23
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14007dc23
lea r8, str._t_t_tQueryValue_MinorVer__Failed
lea rcx, [rbp - 0x19]
call fcn.140007780
mov ebx, r15d
lea r12, vtable.CPDLRegData.0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x14007dc44
lea r8, str._t_t_tQueryValue_MajorVer__Failed
call fcn.140007780
mov ebx, r15d
lea rcx, [rbp - 0x31]
call fcn.140102200
cmp ebx, 2
jne 0x14007dcdf
mov r8d, 0x20019
lea rdx, str.SOFTWARECanonDIASSETUPDIASUser
lea rcx, [rbp - 0x31]
call fcn.140102030
test eax, eax
jne 0x14007dcdf
lea r9, [rbp + 0x1f]
lea r8, [rbp - 0x35]
mov rdx, r14
lea rcx, [rbp - 0x31]
call fcn.1401022a0
mov rdi, rax
test rax, rax
je 0x14007dcb5
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8, str._t_t_tQueryValue__s____s
lea edx, [rbx + 5]
lea rcx, [rbp - 0x19]
call fcn.140007780
mov ebx, 3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rcx, [rbp - 0x31]
call fcn.140102200
jmp 0x14007dcdf
lea r9, str.SOFTWARECanonDIASSETUP
lea r8, str._t_t_tCant_Open_KEY___s_
mov edx, 7
lea rcx, [rbp - 0x19]
call fcn.140007780
mov ebx, r15d
mov r9d, ebx
lea r8, str.return___08x
mov edx, 2
lea rcx, [rbp - 0x19]
call fcn.140007780
nop
mov qword [rbp - 0x31], r12
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14007dd0f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x29]
lea rax, vtable.CBaseRegData.0
mov qword [rbp - 0x31], rax
test rcx, rcx
je 0x14007dd26
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp - 0x19]
call fcn.140007730
mov eax, ebx
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret