Function at 0x140100690
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rdi
push r14
push r15
mov eax, 0x84f0
call fcn.140113d30
sub rsp, rax
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov qword [rsp + 0x8520], rbx
mov qword [rsp + 0x8528], rsi
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x84e0], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x98], rcx
xor r15d, r15d
mov dword [rsp + 0x80], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x80], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x2d0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x84], operator
mov dword [rsp + 0x60], r15d
mov dword [rsp + 0x74], 0x3fff
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xac]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x84]
lea rdx, [rsp + 0x2d0]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x140100835
lea rcx, str._nNumber_of_subkeys:__d_n
call fcn.14010bca0
mov ebx, r15d
cmp dword [rsp + 0x60], r15d
jbe 0x140100835
nop dword [rax]
mov dword [rsp + 0x88], operator
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x88]
lea r8, [rsp + 0xd0]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14010082d
lea edx, [rbx + 1]
lea r8, [rsp + 0xd0]
lea rcx, str.__d___s_n
call fcn.14010be80
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1401007d0
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x140100925
lea rcx, str._nNumber_of_values:__d_n
call fcn.14010bca0
mov esi, r15d
cmp esi, dword [rsp + 0x70]
jae 0x140100925
mov dword [rsp + 0x74], 0x3fff
mov word [rsp + 0x4e0], r15w
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x4e0]
mov edx, esi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14010091e
lea rdx, [rsp + 0x4e0]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
xor r8d, r8d
lea rdx, str..pst
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
mov ebx, eax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
jle 0x14010091e
lea rdx, [rsp + 0x4e0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
nop
mov rcx, qword [rdi + 8]
cmp qword [rdi + 0x10], rcx
je 0x140100904
mov rdx, rax
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
add qword [rdi + 8], 8
jmp 0x140100913
mov r8, rax
mov rdx, rcx
mov rcx, rdi
call fcn.1400dd3e0
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
inc esi
jmp 0x140100850
mov rax, rdi
jmp 0x140100932
mov rcx, qword [rsp + 0x84e0]
xor rcx, rsp
call fcn.140113c40
lea r11, [rsp + 0x84f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret