Function at 0x1400ff130
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 - 0x650]
sub rsp, 0x750
mov rax, qword [0x1404953c0]
xor rax, rsp
mov qword [rbp + 0x640], 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 0x1400ff84f
mov edi, r15d
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x440]
call fcn.140306610
lea r12, [r15 - 1]
lea r13, [0x14041d2f0]
nop dword [rax + rax]
mov dword [rbp - 0x7c], 0x200
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x7c]
lea r8, [rbp + 0x440]
mov edx, edi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400ff83f
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp + 0x440]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400ff72f
mov dword [rsp + 0x60], 0x200
mov dword [rbp - 0x80], r15d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
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 0x1400ff71d
lea rcx, [rbp + 0x40]
mov rax, r12
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400ff290
cmp rax, 0xc
jb 0x1400ff71d
mov edx, ntohl
mov rax, r15
nop dword [rax]
movzx ecx, word [rbp + rax + 0x40]
cmp cx, word [rax + r13]
jne 0x1400ff71d
add rax, 2
sub rdx, 1
jne 0x1400ff2b0
lea rax, vtable.InstalledProducts::InstalledProduct.0
mov qword [rbp - 0x50], rax
lea rdx, [0x140412418]
lea rcx, [rbp - 0x48]
call fcn.140030cb0
nop
lea rdx, [0x140412418]
lea rcx, [rbp - 0x28]
call fcn.140030cb0
nop
lea rdx, [0x140412418]
lea rcx, [rbp - 8]
call fcn.140030cb0
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r15w
mov byte [rbp + 0x38], 0
lea rax, [rbp + 0x40]
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400ff330
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x28]
call fcn.140030940
lea rax, [rbp + 0x440]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x1400ff352
lea rdx, [rbp + 0x440]
lea rcx, [rbp - 0x48]
call fcn.140030940
mov byte [rbp + 0x38], r14b
mov qword [rsp + 0x78], r15
lea rcx, [rsp + 0x78]
call fcn.1402d24a8
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call fcn.1402d04e0
lea r9, [rbp - 0x78]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x240]
call fcn.1402d248c
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.140030cb0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonInstalledProducts.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
lea rbx, str.__64_
test r14b, r14b
lea rcx, str.__32_
cmovne rbx, rcx
mov edx, 0x3a
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Found
call fcn.140047ea0
mov rcx, rax
lea rdx, [rbp + 0x40]
call fcn.14002dae0
mov rcx, rax
lea rdx, str._installed_as
call fcn.140047ea0
mov rcx, rax
lea rdx, [rbp + 0x440]
call fcn.14002dae0
mov rcx, rax
mov rdx, rbx
call fcn.140047ea0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
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 + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
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 0x1400ff4f8
lea rax, [rbp + 0x40]
mov r8, r12
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400ff4e0
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 8]
call fcn.140030940
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x80]
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 0x1400ff5a1
mov ecx, dword [rsp + 0x60]
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.1402b6274
mov rbx, rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp - 0x80]
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 0x1400ff599
mov r8, r12
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400ff582
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.140030940
mov rcx, rbx
call fcn.1402b5c4c
mov qword [rsp + 0x78], r15
lea rcx, [rsp + 0x78]
call fcn.1402d24a8
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call fcn.1402d04e0
lea r9, [rbp - 0x78]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x240]
call fcn.1402d248c
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.140030cb0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonInstalledProducts.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0x49
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_DisplayVersion
call fcn.140047ea0
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rdx, qword [rbp - 8]
mov r8, qword [rbp + 8]
mov rcx, rax
call fcn.14005efa0
lea rdx, str.__InstallLocation
mov rcx, rax
call fcn.140047ea0
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 7
cmova rdx, qword [rbp + 0x18]
mov r8, qword [rbp + 0x28]
mov rcx, rax
call fcn.14005efa0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x40]
call fcn.1400166f0
lea rcx, [rsi + 8]
mov rax, qword [rsi + 0x10]
cmp rax, qword [rsi + 0x18]
je 0x1400ff6e1
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.1400ff970
add qword [rsi + 0x10], 0x90
jmp 0x1400ff6ee
lea r8, [rbp - 0x50]
mov rdx, rax
call fcn.1400ffc80
nop
lea rax, vtable.InstalledProducts::InstalledProduct.0
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x18]
call fcn.1400166f0
lea rcx, [rbp - 8]
call fcn.1400166f0
lea rcx, [rbp - 0x28]
call fcn.1400166f0
lea rcx, [rbp - 0x48]
call fcn.1400166f0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
jmp 0x1400ff1d0
mov qword [rsp + 0x78], r15
lea rcx, [rsp + 0x78]
call fcn.1402d24a8
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call fcn.1402d04e0
lea r9, [rbp - 0x78]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x240]
call fcn.1402d248c
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.140030cb0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonInstalledProducts.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0x50
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Error_opening_uninstall_key__
call fcn.140047ea0
mov rcx, rax
lea rdx, [rbp + 0x440]
call fcn.14002dae0
mov rcx, rax
lea rdx, [0x14043c660]
call fcn.140047ea0
mov edx, ebx
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, [0x14041572c]
call fcn.140047ea0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x40]
call fcn.1400166f0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400ff941
mov qword [rsp + 0x78], r15
lea rcx, [rsp + 0x78]
call fcn.1402d24a8
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call fcn.1402d04e0
lea r9, [rbp - 0x78]
lea r8, str._F__T__UTC__z_
mov edx, 0x100
lea rcx, [rbp + 0x240]
call fcn.1402d248c
lea rdx, [rbp + 0x240]
lea rcx, [rsp + 0x40]
call fcn.140030cb0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [0x1404a9a40]
call fcn.14005efa0
lea rdx, str.D:JenkinsworkspaceN_SUCommon_srcSUCommonInstalledProducts.cpp
mov rcx, rax
call fcn.140047ea0
mov rcx, rax
lea rdx, [0x14041313c]
call fcn.140047ea0
mov edx, 0x58
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, str.:_Error_opening_root_uninstall_key__
call fcn.140047ea0
mov edx, ebx
mov rcx, rax
call fcn.140045730
mov rcx, rax
lea rdx, [0x14041572c]
call fcn.140047ea0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.14002ea70
movzx edx, ax
mov rcx, rbx
call fcn.140070ff0
mov rcx, rbx
call fcn.14002ddd0
nop
lea rcx, [rsp + 0x40]
call fcn.1400166f0
mov rcx, qword [rbp + 0x640]
xor rcx, rsp
call fcn.1402b5c00
mov rbx, qword [rsp + 0x7a0]
add rsp, 0x750
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret