Function at 0x1401f0c30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x7b8]
sub rsp, 0x8a0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x790], rax
mov rsi, rcx
lea r8, [rsp + 0x68]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerUserData
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
xor r14d, r14d
test eax, eax
jne 0x1401f0d4f
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, r14d
cmp dword [rsp + 0x60], ebx
jbe 0x1401f0d44
mov r9d, 0x400
lea r8, [rbp - 0x70]
mov edx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc ebx
test eax, eax
jne 0x1401f0d37
lea r8, str.Components
mov edx, 0x400
lea rcx, [rbp - 0x70]
call fcn.1402b9308
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401f0d3e
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.1401f0ed0
jmp 0x1401f0d3e
cmp eax, 0x103
je 0x1401f0d44
cmp ebx, dword [rsp + 0x60]
jb 0x1401f0ce0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, [rsp + 0x68]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionInstallerFolders
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401f0e9b
mov dword [rsp + 0x60], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, r14d
cmp dword [rsp + 0x60], r14d
jbe 0x1401f0e90
lea r15, [0x140346ce0]
nop word [rax + rax]
mov dword [rbp - 0x80], 0x800
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x70]
mov edx, edi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc edi
test eax, eax
jne 0x1401f0e7f
lea rax, [rbp - 0x70]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f0e10
mov qword [rsp + 0x78], r14
test ebx, ebx
jne 0x1401f0e2a
mov qword [rsp + 0x70], r15
jmp 0x1401f0e50
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x70]
mov rcx, qword [rsp + 0x70]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401fde50
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 8]
call fcn.1400f4e80
nop
cmp dword [rsp + 0x78], 0
jle 0x1401f0e86
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
jmp 0x1401f0e86
cmp eax, 0x103
je 0x1401f0e90
cmp edi, dword [rsp + 0x60]
jb 0x1401f0dd0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x8a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret