Function at 0x1400092e4
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x300
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14002f220]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, r8
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov qword [rsp + 0x40], r15
lea r8d, [r15 + 0x28]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r8, [rsp + 0x60]
lea rdx, str.Interface_s
lea rcx, [rbp + 0xf0]
call qword [sym.imp.USER32.dll_wsprintfW]
mov dword [rsp + 0x38], RegisterTypeLib
mov word [rbp + 0x50], r15w
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0xf0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x140009395
lea rdx, str._no_name_
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
movups xmm0, xmmword [0x140028240]
movdqu xmmword [rsp + 0x50], xmm0
test rdi, rdi
je 0x140009491
lea r9, [rsp + 0x60]
lea r8, str.Interface_sOLEViewerIViewerCLSID
mov ebx, 0x80
mov edx, ebx
lea rcx, [rbp + 0xf0]
call fcn.140009268
mov dword [rsp + 0x38], RegisterTypeLib
mov word [rbp - 0x50], r15w
lea r9, [rsp + 0x38]
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0xf0]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
je 0x140009440
lea r9, [rsp + 0x60]
lea r8, str.SoftwareMicrosoftIViewersInterface_sOLEViewerIViewerCLSID
mov edx, ebx
lea rcx, [rbp + 0xf0]
call fcn.140009268
mov dword [rsp + 0x38], RegisterTypeLib
mov word [rbp - 0x50], r15w
lea r9, [rsp + 0x38]
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0xf0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x140009491
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov ebx, eax
test eax, eax
jns 0x140009491
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea r8, [rbp + 0x50]
lea rdx, str.Could_not_convert_the_CLSID_of_the__s_interface_viewer.
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CPtrList::FreeNode
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140017068
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x1400095b5
mov rax, qword [rsp + 0x50]
cmp rax, qword [0x140028240]
jne 0x1400094ba
mov rax, qword [rsp + 0x58]
cmp rax, qword [0x140028248]
jne 0x1400094ba
movups xmm0, xmmword [0x14001c8c0]
movdqu xmmword [rsp + 0x50], xmm0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x14001c8d0]
mov r8d, 1
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov ebx, eax
jns 0x14000954b
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
cmp ebx, 0x80040154
je 0x1400094ff
cmp ebx, 0x8007007e
jne 0x140009524
mov rcx, r14
call sub.MFC42u.dll_COleControl::GetBorderStyle
mov rcx, rax
mov edx, 1
call fcn.140001b14
test eax, eax
je 0x140009546
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
jmp 0x1400094ba
lea r8, [rbp + 0x50]
lea rdx, str.The__s_interface_viewer_failed_to_load.
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CPtrList::FreeNode
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140017068
nop
jmp 0x140009482
mov r9, r15
mov qword [rsp + 0x30], r15
test rdi, rdi
je 0x140009574
mov rax, qword [rdi]
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
mov rax, qword [rax]
call qword [case.0x14001925e.0]
mov r9, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov r8, rsi
mov rdx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x14001925e.0]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001925e.0]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400095b5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001925e.0]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140019330
mov rbx, qword [rsp + 0x348]
add rsp, 0x300
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret