Function at 0x14002bd20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x7f90]
mov eax, 0x8090
call fcn.1400322a0
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x80b8], rbx
mov qword [rsp + 0x80c0], rsi
mov qword [rsp + 0x80c8], rdi
mov rax, qword [0x1400548d0]
xor rax, rsp
mov qword [rbp + 0x7f80], rax
mov rdi, rcx
mov r14d, 0x80004005
mov dword [rsp + 0x6c], 0x3fff
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rsi, str.SOFTWAREMicrosoftWindowsCurrentVersionComponent_Based_ServicingVersion
mov rdx, rsi
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14002bdf8
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r8, rsi
lea rdx, str.Failed_to_open_registry_key__s
mov ecx, ebx
call fcn.14000abd4
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002bdf1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, ebx
jmp 0x14002bf3d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
je 0x14002be7e
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov r8, rsi
lea rdx, str.Failed_to_examine_key__s
mov ecx, ebx
call fcn.14000abd4
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002bdf1
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
jmp 0x14002bdf1
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x14002bf23
mov ebx, r15d
mov word [rbp - 0x80], r15w
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x6c]
lea r8, [rbp - 0x80]
mov edx, ebx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
je 0x14002bed0
inc ebx
cmp ebx, dword [rsp + 0x68]
jb 0x14002be8d
jmp 0x14002bf23
mov r14d, r15d
lea rax, [rbp - 0x80]
or rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], r15w
jne 0x14002bedb
cmp rdx, qword [rdi + 0x18]
ja 0x14002bf16
mov rsi, rdi
cmp qword [rdi + 0x18], 8
jb 0x14002bef8
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov word [rbx + rsi], r15w
jmp 0x14002bf23
lea r9, [rbp - 0x80]
mov rcx, rdi
call fcn.14000e8f8
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002bf3a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov eax, r14d
mov rcx, qword [rbp + 0x7f80]
xor rcx, rsp
call fcn.140031070
lea r11, [rsp + 0x8090]
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