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

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov qword [rsp + 0x48], rcx
lea rax, [rsp + 0x48]
mov rsi, rdx
mov qword [rsp + 0x20], rax
mov rdi, rcx
lea rdx, str.SOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall
xor r15d, r15d
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
mov qword [rsp + 0x48], r15
xor r8d, r8d
mov qword [rsp + 0x50], r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140002f41
xorps xmm0, xmm0
lea rdx, [0x14000c849]
movups xmmword [rdi], xmm0
xor r8d, r8d
mov qword [rdi + 0x10], r15
mov rcx, rdi
mov qword [rdi + 0x18], r15
call fcn.140002db0
jmp 0x14000313c
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x70]
mov qword [rsp + 0x30], r15
xor edx, edx
mov qword [rsp + 0x6a8], rbx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x6b0], r14
mov r14d, r15d
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x140003101
mov rbx, 0xffffffffffffffff
test eax, eax
jne 0x1400030c0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400030c0
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.DisplayName
lea rax, [rsp + 0x70]
mov dword [rsp + 0x60], 0x100
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400030b5
lea rcx, [rsp + 0x70]
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], r15b
jne 0x140003010
cmp qword [rsi + 0x18], 0xf
mov rcx, rsi
mov r8, qword [rsi + 0x10]
jbe 0x14000302a
mov rcx, qword [rsi]
cmp r8, rax
jne 0x1400030b5
lea rdx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400030b5
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rdx, str.InstallPath
lea rax, [rbp + 0x170]
mov dword [rsp + 0x5c], 0x400
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x1400031a8
lea rax, [rsp + 0x5c]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.InstallLocation
lea rax, [rbp + 0x170]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140003162
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x38], r15
lea r8, [rbp + 0x70]
mov qword [rsp + 0x30], r15
inc r14d
mov qword [rsp + 0x28], r15
mov edx, r14d
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x58], 0x100
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x140002f98
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea rdx, [0x14000c849]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
xor r8d, r8d
mov qword [rdi + 0x18], r15
mov rcx, rdi
call fcn.140002db0
mov rbx, qword [rsp + 0x6a8]
mov r14, qword [rsp + 0x6b0]
mov rax, rdi
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14000a230
mov rsi, qword [rsp + 0x6b8]
add rsp, 0x680
pop r15
pop rdi
pop rbp
ret
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea rax, [rbp + 0x170]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
nop dword [rax]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x140003190
mov r8, rbx
lea rdx, [rbp + 0x170]
jmp 0x140003124
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea rax, [rbp + 0x170]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
nop
inc rbx
cmp byte [rax + rbx], r15b
jne 0x1400031d0
mov r8, rbx
lea rdx, [rbp + 0x170]
jmp 0x140003124