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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x14049f3c0]
xor rax, rsp
mov qword [rbp + 0x410], rax
movzx r14d, dl
mov rsi, rcx
xor r15d, r15d
mov qword [rsp + 0x70], r15
lea r9d, [r14 + 1]
shl r9d, 8
or r9d, 0x20019
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONUNINSTALL
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14009bcf7
mov edi, r15d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x210]
call fcn.14030b3a0
lea r12, [r15 - 1]
lea r13, [0x1404258e0]
nop dword [rax + rax]
mov dword [rsp + 0x7c], 0x200
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x7c]
lea r8, [rbp + 0x210]
mov edx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14009bce7
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x210]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14009bc1c
mov dword [rsp + 0x60], 0x200
mov dword [rsp + 0x78], r15d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 2]
lea r8, str.DisplayName
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14009bc0a
lea rcx, [rbp + 0x10]
mov rax, r12
inc rax
cmp word [rcx + rax*2], 0
jne 0x14009b802
cmp rax, 0xc
jb 0x14009bc0a
mov edx, ntohl
mov rax, r15
nop
movzx ecx, word [rbp + rax + 0x10]
cmp cx, word [rax + r13]
jne 0x14009bc0a
add rax, 2
sub rdx, 1
jne 0x14009b820
lea rax, vtable.InstalledProducts::InstalledProduct.0
mov qword [rbp - 0x80], rax
lea rdx, [0x14041a6b8]
lea rcx, [rbp - 0x78]
call fcn.140031ed0
nop
lea rdx, [0x14041a6b8]
lea rcx, [rbp - 0x58]
call fcn.140031ed0
nop
lea rdx, [0x14041a6b8]
lea rcx, [rbp - 0x38]
call fcn.140031ed0
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov word [rbp - 0x18], r15w
mov byte [rbp + 8], 0
lea rax, [rbp + 0x10]
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14009b8a0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x58]
call fcn.140031b60
lea rax, [rbp + 0x210]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x14009b8c2
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x78]
call fcn.140031b60
mov byte [rbp + 8], r14b
lea rcx, [rsp + 0x40]
call fcn.14009ece0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14009b8fa
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b3c00]
call fcn.140060f60
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonInstalledProducts.cpp
mov rcx, rax
call fcn.140049e60
mov rcx, rax
lea rdx, [0x14041b3dc]
call fcn.140049e60
lea rbx, str.__64_
test r14b, r14b
lea rcx, str.__32_
cmovne rbx, rcx
mov edx, 0x3a
mov rcx, rax
call fcn.1400476f0
mov rcx, rax
lea rdx, str.:_Found
call fcn.140049e60
mov rcx, rax
lea rdx, [rbp + 0x10]
call fcn.14002ed00
mov rcx, rax
lea rdx, str._installed_as
call fcn.140049e60
mov rcx, rax
lea rdx, [rbp + 0x210]
call fcn.14002ed00
mov rcx, rax
mov rdx, rbx
call fcn.140049e60
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002fc90
movzx edx, ax
mov rcx, rbx
call fcn.140072fb0
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x40]
call fcn.1400166f0
mov dword [rsp + 0x60], 0x200
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.DisplayVersion
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14009ba28
lea rax, [rbp + 0x10]
mov r8, r12
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14009ba10
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x38]
call fcn.140031b60
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.InstallLocation
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14009bad3
mov ecx, dword [rsp + 0x60]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1402bb024
mov rbx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 2
lea r8, str.InstallLocation
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14009bacb
mov r8, r12
inc r8
cmp word [rbx + r8*2], 0
jne 0x14009bab4
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.140031b60
mov rcx, rbx
call fcn.1402ba9fc
lea rcx, [rsp + 0x40]
call fcn.14009ece0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14009baec
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b3c00]
call fcn.140060f60
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonInstalledProducts.cpp
mov rcx, rax
call fcn.140049e60
mov rcx, rax
lea rdx, [0x14041b3dc]
call fcn.140049e60
mov edx, 0x49
mov rcx, rax
call fcn.1400476f0
mov rcx, rax
lea rdx, str.:_DisplayVersion
call fcn.140049e60
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rdx, qword [rbp - 0x38]
mov r8, qword [rbp - 0x28]
mov rcx, rax
call fcn.140060f60
lea rdx, str.__InstallLocation
mov rcx, rax
call fcn.140049e60
lea rdx, [rbp - 0x18]
cmp qword [rbp], 7
cmova rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
mov rcx, rax
call fcn.140060f60
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002fc90
movzx edx, ax
mov rcx, rbx
call fcn.140072fb0
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x40]
call fcn.1400166f0
lea rcx, [rsi + 8]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x14009bbce
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.14009bdd0
add qword [rsi + 0x10], 0x90
jmp 0x14009bbdb
lea r8, [rbp - 0x80]
mov rdx, rax
call fcn.14009c0e0
nop
lea rax, vtable.InstalledProducts::InstalledProduct.0
mov qword [rbp - 0x80], rax
lea rcx, [rbp - 0x18]
call fcn.1400166f0
lea rcx, [rbp - 0x38]
call fcn.1400166f0
lea rcx, [rbp - 0x58]
call fcn.1400166f0
lea rcx, [rbp - 0x78]
call fcn.1400166f0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
jmp 0x14009b740
lea rcx, [rsp + 0x40]
call fcn.14009ece0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14009bc35
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b3c00]
call fcn.140060f60
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonInstalledProducts.cpp
mov rcx, rax
call fcn.140049e60
mov rcx, rax
lea rdx, [0x14041b3dc]
call fcn.140049e60
mov edx, 0x50
mov rcx, rax
call fcn.1400476f0
mov rcx, rax
lea rdx, str.:_Error_opening_uninstall_key__
call fcn.140049e60
mov rcx, rax
lea rdx, [rbp + 0x210]
call fcn.14002ed00
mov rcx, rax
lea rdx, [0x1404274ec]
call fcn.140049e60
mov edx, ebx
mov rcx, rax
call fcn.1400476f0
mov rcx, rax
lea rdx, [0x14041d9ec]
call fcn.140049e60
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002fc90
movzx edx, ax
mov rcx, rbx
call fcn.140072fb0
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x40]
call fcn.1400166f0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14009bda4
lea rcx, [rsp + 0x40]
call fcn.14009ece0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14009bd10
mov rax, qword [rax]
mov rdx, rax
lea rcx, [0x1404b3c00]
call fcn.140060f60
lea rdx, str.D:JenkinsworkspaceN_SUCommon_VS2022_srcSUCommonInstalledProducts.cpp
mov rcx, rax
call fcn.140049e60
mov rcx, rax
lea rdx, [0x14041b3dc]
call fcn.140049e60
mov edx, 0x58
mov rcx, rax
call fcn.1400476f0
mov rcx, rax
lea rdx, str.:_Error_opening_root_uninstall_key__
call fcn.140049e60
mov edx, ebx
mov rcx, rax
call fcn.1400476f0
mov rcx, rax
lea rdx, [0x14041d9ec]
call fcn.140049e60
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002fc90
movzx edx, ax
mov rcx, rbx
call fcn.140072fb0
mov rcx, rbx
call fcn.14002eff0
nop
lea rcx, [rsp + 0x40]
call fcn.1400166f0
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1402ba9b0
mov rbx, qword [rsp + 0x570]
add rsp, 0x520
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret