Function at 0x14000b920
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0xa8], ebx
mov dword [rsp + 0x30], ebx
call fcn.14003c3f0
mov rcx, rax
mov edx, ebx
test rax, rax
setne dl
test edx, edx
jne 0x14000b960
mov ecx, 0x80004005
call fcn.140001120
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [0x1400ef3e8]
test rdx, 0xffffffffffff0000
jne 0x14000b9a0
movzx edi, dx
mov ecx, edi
call fcn.14003c170
test rax, rax
je 0x14000b9ab
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400060c0
jmp 0x14000b9ab
lea rcx, [rsp + 0x40]
call fcn.140006560
nop
call fcn.14003c3f0
mov rcx, rax
test rax, rax
setne bl
test ebx, ebx
jne 0x14000b9c8
mov ecx, 0x80004005
call fcn.140001120
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, str.MicrosoftWindowsCurrentVersionUninstall_
test rdx, 0xffffffffffff0000
jne 0x14000ba08
movzx ebx, dx
mov ecx, ebx
call fcn.14003c170
test rax, rax
je 0x14000ba13
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400060c0
jmp 0x14000ba13
lea rcx, [rsp + 0x38]
call fcn.140006560
nop
lea rdx, [rsi + 0x198]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140006b70
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140006b70
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rax]
mov ecx, 0x80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete dil
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14000ba86
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000baa7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14000bac8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14000bae6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x14000bb95
mov dword [rsp + 0xa0], 4
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.MajorVersion
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000bb8a
mov dword [rsp + 0xa0], 4
mov dword [rsp + 0x98], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.MinorVersion
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0xa8]
shl eax, 0x10
or eax, dword [rsp + 0x30]
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret