Function at 0x140003f30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rcx, qword [rsp + 0x110]
call fcn.140009020
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.1400084e0
nop
lea rcx, [rsp + 0x50]
call fcn.1400084e0
nop
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionInstaller
lea rcx, [rsp + 0x40]
call fcn.140008610
lea rcx, [rsp + 0x40]
call fcn.140008670
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140004082
mov dword [rsp + 0x30], 0x800
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x110]
call fcn.1400086a0
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.InstallerLocation
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140004077
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x110]
call fcn.140008700
mov r8d, 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x110]
call fcn.1400077a0
mov qword [rsp + 0xb8], rax
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0xb8]
call fcn.140007bc0
mov byte [rsp + 0x60], al
lea rcx, [rsp + 0x68]
call fcn.1400085c0
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x140004072
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0x110]
call fcn.140007280
mov byte [rsp + 0x48], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, byte [rsp + 0x48]
test eax, eax
jne 0x1400040ba
lea r8, str._MSI_Folder_not_specified_in_registry__probably_no_MSI_V2.0_._Taking_default..
mov edx, 1
lea rcx, [0x14007f0e0]
call fcn.140021a10
mov rcx, qword [rsp + 0x110]
call fcn.1400022d0
mov byte [rsp + 0x58], 1
jmp 0x140004187
lea r8, str.msiexec.exe
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x70]
call fcn.140007a00
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x50]
call fcn.1400085e0
nop
lea rcx, [rsp + 0x70]
call fcn.1400085c0
lea rcx, [rsp + 0x50]
call fcn.140008670
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.1400043c0
mov qword [rsp + 0xd0], rax
lea rdx, [0x14005dbc0]
mov rcx, qword [rsp + 0xd0]
call fcn.140007c00
mov byte [rsp + 0x78], al
lea rcx, [rsp + 0x80]
call fcn.1400085c0
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x140004187
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x58], 1
lea r8, str._MSI_Folder_is_wrong_specified_in_registry__Taking_default..
mov edx, 1
lea rcx, [0x14007f0e0]
call fcn.140021a10
mov rcx, qword [rsp + 0x110]
call fcn.1400022d0
mov rcx, qword [rsp + 0x110]
call fcn.140007c90
movzx eax, al
test eax, eax
je 0x1400041a5
mov byte [rsp + 0x48], 0
jmp 0x140004270
lea r8, str.msiexec.exe
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x88]
call fcn.140007a00
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0xe0]
lea rcx, [rsp + 0x50]
call fcn.1400085e0
nop
lea rcx, [rsp + 0x88]
call fcn.1400085c0
lea rcx, [rsp + 0x50]
call fcn.140008670
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.1400043c0
mov qword [rsp + 0xe8], rax
lea rdx, [0x14005dbc0]
mov rcx, qword [rsp + 0xe8]
call fcn.140007c00
mov byte [rsp + 0x90], al
lea rcx, [rsp + 0x98]
call fcn.1400085c0
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x14000426b
lea r8, str._Msiexec_was_not_found_at_all_
xor edx, edx
lea rcx, [0x14007f0e0]
call fcn.140021a10
mov byte [rsp + 0x48], 0
jmp 0x140004270
mov byte [rsp + 0x48], 1
movzx eax, byte [rsp + 0x58]
test eax, eax
je 0x1400042e6
lea r8, str.msiexec.exe__REGSERVER
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xa0]
call fcn.140007a00
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x50]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xa0]
call fcn.1400085c0
lea rcx, [rsp + 0x50]
call fcn.140008670
lea rdx, [0x14005cb94]
mov rcx, rax
call fcn.140002780
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0xa8], al
lea rcx, [rsp + 0x50]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x40]
call fcn.1400085c0
mov al, byte [rsp + 0xa8]
add rsp, 0x108
ret