Function at 0x140001b14
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xa78]
sub rsp, 0xb60
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14002f220]
xor rax, rsp
mov qword [rbp + 0xa50], rax
mov ebx, edx
mov r14, rcx
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov edx, 4
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CPropertySheet::OnCtlColor
xor r15d, r15d
lea edi, [r15 + 1]
cmp ebx, edi
je 0x140001c01
mov dword [rsp + 0x68], 0x100
lea r8d, [r15 + 0x28]
lea rdx, [rbp + 0x3e0]
lea rcx, [0x14001c8c0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r8, [rbp + 0x3e0]
lea rdx, str.Component_Categories_s
lea rcx, [rbp + 0x430]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x530]
lea rdx, [rbp + 0x430]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x140001c01
xor r9d, r9d
lea r8, str.Version
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14002faf0]
call sub.MFC42u.dll_COleServerDoc::GetRuntimeClass
cmp eax, 0x3d
jge 0x140001f38
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDaoIndexFieldInfo::CDaoIndexFieldInfo
nop
mov r8d, 0x208
lea rdx, [rbp + reloc.MFC42u.dll_CDaoRecordset::AllocDatabase]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov word [rbp + 0xa40], r15w
mov edx, 0x5c
lea rcx, [rbp + reloc.MFC42u.dll_CDaoRecordset::AllocDatabase]
call qword [sym.imp.msvcrt.dll_wcsrchr]
lea rcx, [rax + 2]
lea rdx, str.IVIEWERS.DLL
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rbp + reloc.MFC42u.dll_CDaoRecordset::AllocDatabase]
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDaoException::CDaoException
nop
mov esi, r15d
jmp 0x140001d50
mov edx, 0x12
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CPropertySheet::OnCtlColor
mov edx, 0x13
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CPropertySheet::OnCtlColor
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_Ordinal_1284
mov edx, 0x15
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CPropertySheet::OnCtlColor
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_Ordinal_1284
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, qword [rsp + 0x40]
call sub.MFC42u.dll_Ordinal_1499
cmp eax, 6
jne 0x140001dee
mov qword [rsp + 0x30], r14
lea rax, [0x14002f010]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1804
xor r9d, r9d
lea r8, str.iviewers.dll
mov edx, edi
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_CGopherConnection::CGopherConnection
nop
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_CPageSetupDialog::DoModal
cmp rax, rdi
jne 0x140001d8e
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_CMiniFrameWnd::GetRuntimeClass
nop
mov rdx, rax
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_AfxDaoGetEngine
nop
lea rcx, [rsp + 0x70]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rbp + 0xd0]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_COleVariant::operator
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, 0x20
mov rbx, rax
jbe 0x140001c71
lea rdx, str.DllRegisterServer
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001da9
call qword [case.0x14001925e.0]
test eax, eax
jns 0x140001da5
mov edx, 0x16
jmp 0x140001dae
lea rcx, [rbp + 0xd0]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rcx, [rbp - 0x80]
call sub.MFC42u.dll_COleVariant::operator
jmp 0x140001dee
mov esi, edi
jmp 0x140001de5
mov edx, 0x14
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CPropertySheet::OnCtlColor
mov edx, 0x13
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CPropertySheet::OnCtlColor
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_Ordinal_1284
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call sub.MFC42u.dll_Ordinal_1499
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.Interface
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001ef3
lea ebx, [rax + 0x31]
mov r8d, ebx
lea rdx, [rbp + 0x370]
lea rcx, [0x1400281d0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, str.IClientSecurity
xor r8d, r8d
lea rdx, [rbp + 0x370]
mov rcx, qword [rsp + 0x50]
call fcn.140016f3c
mov r8d, ebx
lea rdx, [rbp + 0x370]
lea rcx, [0x1400281e0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, str.IServerSecurity
xor r8d, r8d
lea rdx, [rbp + 0x370]
mov rcx, qword [rsp + 0x50]
call fcn.140016f3c
mov r8d, ebx
lea rdx, [rbp + 0x370]
lea rcx, [0x1400281f0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, str.IMallocSpy
xor r8d, r8d
lea rdx, [rbp + 0x370]
mov rcx, qword [rsp + 0x50]
call fcn.140016f3c
mov r8d, ebx
lea rdx, [rbp + 0x370]
lea rcx, [0x1400281c0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea r9, str.IMultiQI
xor r8d, r8d
lea rdx, [rbp + 0x370]
mov rcx, qword [rsp + 0x50]
call fcn.140016f3c
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x140001f16
mov r9d, 0x3d
lea r8, str.Version
mov rdx, qword [rsp + 0x60]
lea rcx, [0x14002faf0]
call sub.MFC42u.dll_COleControlSite::XRowsetNotify::OnRowChange
nop
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x48]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x40]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov edi, esi
lea rcx, [rsp + 0x60]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov eax, edi
mov rcx, qword [rbp + 0xa50]
xor rcx, rsp
call fcn.140019330
lea r11, [rsp + 0xb60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret