Function at 0x1800095e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov r15, r9
mov r14, r8
mov r12, rdx
lea r8, [rbp - 0x29]
mov rdx, qword [rdx]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1800097c3
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_CSmartDockingStandaloneGuideWnd::CSmartDockingStandaloneGuideWnd]
nop
xor edi, edi
mov dword [rbp + 0x67], edi
mov dword [rbp - 0x61], edi
mov dword [rbp - 0x5d], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
lea rax, [rbp - 0x5d]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [rbp + 0x67], edi
je 0x1800097a7
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov esi, edi
cmp dword [rbp + 0x67], edi
jbe 0x180009787
nop
cmp esi, 0x32
jge 0x180009787
mov edx, dword [rbp - 0x61]
inc edx
mov dword [rbp - 0x31], edx
mov eax, dword [rbp - 0x5d]
inc eax
mov dword [rbp - 0x59], eax
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
mov rbx, rax
mov edx, dword [rbp - 0x59]
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140u.dll_Ordinal_4946]
lea rcx, [rbp - 0x59]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x2d]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x31]
mov r8, rbx
mov edx, esi
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x18000977c
cmp dword [rbp - 0x2d], 1
jne 0x18000977c
lea edx, [rax - 1]
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov edx, 0xffffffff
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140u.dll_CDialogImpl::ProcessMouseClick]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov r8d, eax
mov r9, qword [rbp - 0x49]
lea rdx, str._08X___s
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140u.dll_CMFCZoomKernel::Filter]
lea r8, [rbp - 0x39]
mov rdx, qword [rbp - 9]
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_CWnd::RunModalLoop]
inc esi
cmp esi, dword [rbp + 0x67]
jb 0x1800096c0
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 9], 0
jg 0x1800097d3
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_CSemaphore::CSemaphore]
nop
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
jmp 0x18000996b
lea rcx, [rbp - 0x19]
call fcn.180003ba0
lea rcx, [rbp + 0xf]
call qword [sym.imp.mfc140u.dll_CSmartDockingStandaloneGuideWnd::CSmartDockingStandaloneGuideWnd]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rbp - 0x69]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [0x180021474]
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
cmp qword [rbp - 9], 0
jle 0x180009926
mov rbx, rdi
nop dword [rax]
lea rax, [rbp + 0x67]
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x67]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
mov rsi, rax
test rbx, rbx
js 0x18000998e
cmp rbx, qword [rbp - 9]
jge 0x18000998e
mov rcx, qword [rbp - 0x11]
lea rdx, [rcx + rbx*8]
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea r8, [rbp + 0xf]
mov rdx, rsi
mov rcx, rax
call fcn.180003900
mov rax, qword [rbp + 0x1f]
cmp rax, 3
jl 0x180009917
cmp rax, 1
jle 0x180009987
mov rdx, qword [rbp + 0x17]
add rdx, 8
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc140u.dll_CFileDialog::SetTemplate]
mov rax, qword [rbp - 0x51]
cmp dword [rax - 0x10], 0
je 0x180009917
cmp qword [rbp + 0x1f], 2
jle 0x180009987
mov rdx, qword [rbp + 0x17]
add rdx, 0x10
lea rcx, [rbp - 0x69]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rcx, [rbp - 0x69]
call qword [sym.imp.mfc140u.dll_CFileDialog::SetTemplate]
mov rax, qword [rbp - 0x69]
cmp dword [rax - 0x10], 0
je 0x180009917
lea r8, [0x18001a36c]
lea rdx, [0x18001a374]
lea rcx, [rbp - 0x69]
call qword [sym.imp.mfc140u.dll_CMFCToolBar::RebuildAccelerationKeys]
lea rdx, [rbp - 0x51]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
lea rcx, [r14 + 8]
lea rdx, [rbp - 0x69]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
add r14, 0x10
inc dword [r15]
inc edi
movsxd rbx, edi
cmp rbx, qword [rbp - 9]
jl 0x180009820
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x69]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rbp + 0xf]
call qword [sym.imp.mfc140u.dll_CSemaphore::CSemaphore]
nop
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140u.dll_CSemaphore::CSemaphore]
nop
mov rcx, r12
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, 1
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.mfc140u.dll_AfxRegDeleteKey]
nop
call qword [sym.imp.mfc140u.dll_AfxRegDeleteKey]
int3