Function at 0x14000f688
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x140013b20]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov r14, r8
lea rax, [rsp + 0x70]
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov r15, rcx
lea rdx, str.SoftwareMicrosoftOffice16.0ClickToRunStorePackages
xor edi, edi
mov rcx, r14
mov r9d, 0x101
mov qword [rsp + 0x70], rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f8d6
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rdi
xor r9d, r9d
mov qword [rsp + 0x50], rdi
xor r8d, r8d
mov qword [rsp + 0x48], rdi
xor edx, edx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x60], edi
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000f8cb
cmp dword [rsp + 0x60], edi
jbe 0x14000f8cb
mov ebx, edi
xor edx, edx
lea rcx, [rbp - 0x20]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x68], 0x104
lea rcx, [rbp - 0x70]
lea r8d, [rdx + 0x4e]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, [rbp - 0x70]
mov dword [rsp + 0x78], 0x4e
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x20]
lea rax, [rsp + 0x64]
mov dword [rsp + 0x64], edi
mov qword [rsp + 0x28], rax
mov edx, ebx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14000f7d7
cmp dword [rsp + 0x64], 1
jne 0x14000f7d7
mov r8d, dword [rsp + 0x68]
lea rdx, [rbp - 0x20]
dec r8d
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x14000f7e8
inc ebx
cmp ebx, dword [rsp + 0x60]
jae 0x14000f8cb
jmp 0x14000f747
mov eax, edi
lea rcx, [rsi + 4]
cmp r14, 0xffffffff80000001
lea r8, [rbp - 0x20]
mov edx, 0x104
setne al
or r14, 0xffffffffffffffff
inc eax
mov r9, r14
mov dword [rsi], eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rbx, [rsi + 0x20c]
mov r9, r14
mov rcx, rbx
lea r8, [rbp - 0x70]
lea edx, [r14 + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x80]
mov r9d, 0x101
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rbp - 0x80], rdi
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f8cb
xor edx, edx
lea rcx, [rbp + 0x1f0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp - 0x80]
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rdx, str.JitV64
lea rax, [rbp + 0x1f0]
mov dword [rsp + 0x7c], 0x208
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000f8c1
lea rcx, [rsi + 0x25a]
mov r9, r14
lea r8, [rbp + 0x1f0]
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov dil, 1
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, dil
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.14000bab0
mov rbx, qword [rsp + 0x558]
add rsp, 0x510
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret