Function at 0x1401dd220
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 [0x1403eaa10]
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 0x1401dd33f
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 0x1401dd334
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 0x1401dd327
lea r8, str.Components
mov edx, 0x400
lea rcx, [rbp - 0x70]
call fcn.14029a500
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x70]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401dd32e
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.1401dd4c0
jmp 0x1401dd32e
cmp eax, 0x103
je 0x1401dd334
cmp ebx, dword [rsp + 0x60]
jb 0x1401dd2d0
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 0x1401dd48b
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 0x1401dd480
lea r15, [0x140323de0]
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 0x1401dd46f
lea rax, [rbp - 0x70]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401dd400
mov qword [rsp + 0x78], r14
test ebx, ebx
jne 0x1401dd41a
mov qword [rsp + 0x70], r15
jmp 0x1401dd440
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x70]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 8]
call fcn.1400f69f0
nop
cmp dword [rsp + 0x78], 0
jle 0x1401dd476
mov rcx, qword [rsp + 0x70]
call fcn.140298600
jmp 0x1401dd476
cmp eax, 0x103
je 0x1401dd480
cmp edi, dword [rsp + 0x60]
jb 0x1401dd3c0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.140297ff0
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