Function at 0x1400f9230
Capabilities:
Get installed programs
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x8540
call fcn.140113d30
sub rsp, rax
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov qword [rsp + 0x8580], rbx
mov rax, qword [0x1401e61d8]
xor rax, rsp
mov qword [rsp + 0x8530], rax
mov edi, r8d
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0xd0], rcx
mov qword [rsp + 0xd0], rdx
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CFileDialog::SetTemplate]
lea rcx, [rsp + 0x78]
test edi, edi
jne 0x1400f92c1
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
jmp 0x1400f92ce
lea rdx, str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XPanel::XPanel]
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400f9390
lea rax, [rsp + 0x90]
mov qword [rsp + 0x68], rax
lea rdx, [0x140153b2c]
lea rcx, [rsp + 0x90]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rdi, rax
lea rdx, str.CommonUtils_checkIfApplicationInstalled_enable_to_open_Registry_file
lea rcx, [rsp + 0xc0]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r8d, 0xffffffff
mov rdx, rdi
mov rcx, rax
call fcn.14010a9a0
lea rdx, [0x14014f8c8]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rbx
jmp 0x1400f9770
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x320]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0xa8], operator
xor r12d, r12d
mov dword [rsp + 0x70], r12d
lea rdx, str.DisplayName
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rdx, str.Publisher
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0xdc]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xec]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0xa8]
lea rdx, [rsp + 0x320]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400f96b6
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x1400f96a6
mov edi, r12d
cmp edi, eax
jae 0x1400f96a6
mov dword [rsp + 0xac], operator
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0xac]
lea r8, [rsp + 0x120]
mov edx, edi
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x1400f9658
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400f969b
mov dword [rsp + 0xb0], 0x7ffe
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x530]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc0]
xor r8d, r8d
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r15d, eax
lea rdx, [rsp + 0x530]
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
js 0x1400f95f3
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rbx
jmp 0x1400f9770
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x98], rax
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0xf8]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rsi, rax
lea rdx, str.Error_in_Display_key
lea rcx, [rsp + 0x100]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r8d, r15d
mov rdx, rsi
mov rcx, rax
call fcn.14010a9a0
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
mov eax, dword [rsp + 0x70]
jmp 0x1400f9481
lea rax, [rsp + 0x60]
mov qword [rsp + 0xa0], rax
lea rdx, [0x14014f8c8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov r15, rax
lea rdx, str.Error_in_Enumeration_the_subkeys_retCode
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r8d, esi
mov rdx, r15
mov rcx, rax
call fcn.14010a9a0
inc edi
mov eax, dword [rsp + 0x70]
jmp 0x1400f9481
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400f970a
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x68]
mov qword [rsp + 0xa0], rax
lea rdx, [0x140153b2c]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
mov rdi, rax
lea rdx, str.utils_checkIfApplicationInstalled_enable_to_open_Registry_file
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
mov r8d, 0xffffffff
mov rdx, rdi
mov rcx, rax
call fcn.14010a9a0
lea rdx, [0x14014f8c8]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__3]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0xb8]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, r14
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rbx
jmp 0x1400f9770
mov rcx, qword [rsp + 0x8530]
xor rcx, rsp
call fcn.140113c40
mov rbx, qword [rsp + 0x8580]
add rsp, 0x8540
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret