Function at 0x140002f30
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 [0x140011010]
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 0x140002fc1
xorps xmm0, xmm0
lea rdx, [0x14000c83b]
movups xmmword [rdi], xmm0
xor r8d, r8d
mov qword [rdi + 0x10], r15
mov rcx, rdi
mov qword [rdi + 0x18], r15
call fcn.140002e30
jmp 0x1400031bc
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], pe_nt_image_headers64
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
je 0x140003181
mov rbx, 0xffffffffffffffff
test eax, eax
jne 0x140003140
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 0x140003140
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], pe_nt_image_headers64
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140003135
lea rcx, [rsp + 0x70]
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], r15b
jne 0x140003090
cmp qword [rsi + 0x18], 0x10
mov rcx, rsi
mov r8, qword [rsi + 0x10]
jb 0x1400030aa
mov rcx, qword [rsi]
cmp r8, rax
jne 0x140003135
lea rdx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140003135
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 0x140003228
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 0x1400031e2
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], pe_nt_image_headers64
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x140003018
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
lea rdx, [0x14000c83b]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
xor r8d, r8d
mov qword [rdi + 0x18], r15
mov rcx, rdi
call fcn.140002e30
mov rbx, qword [rsp + 0x6a8]
mov r14, qword [rsp + 0x6b0]
mov rax, rdi
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140009d30
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 0x140003210
mov r8, rbx
lea rdx, [rbp + 0x170]
jmp 0x1400031a4
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 0x140003250
mov r8, rbx
lea rdx, [rbp + 0x170]
jmp 0x1400031a4