Function at 0x14002ef70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xff0]
mov eax, 0x10f0
call fcn.140114010
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rbp + 0xfe0], rax
mov rdi, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rdx
xor r12d, r12d
mov dword [rsp + 0x44], r12d
mov dword [rbp + 0xfa0], r12d
mov rdx, r8
lea rcx, [rsp + 0x48]
call fcn.140023130
nop
mov rcx, rax
call fcn.1400157e0
lea rcx, [rbp + 0xfa0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 0x20]
mov r8, rax
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.140014ff0
test ebx, ebx
je 0x14002f053
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400230c0
nop
mov rcx, rax
call fcn.140012310
mov r8, rax
mov r9d, ebx
lea rdx, str.Could_not_query_value_size_while_attempting_to_get_registry_value_as_multi_string_with_name__s___i_.
lea rcx, [rbp - 0x80]
call fcn.140023c00
lea rdx, [0x140307e10]
lea rcx, [rbp - 0x80]
call fcn.1401419e8
nop
xor eax, eax
mov qword [rbp + 0xfa8], rax
mov qword [rbp + 0xfb0], rax
mov qword [rbp + 0xfb8], rax
mov word [rsp + 0x40], r12w
mov ebx, dword [rbp + 0xfa0]
shr rbx, 1
lea rcx, [rbp + 0xfa8]
call fcn.14000d820
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xfa8], xmm0
mov qword [rbp + 0xfb8], r12
lea rcx, [rsp + 0x40]
call fcn.14000a090
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0xfa8]
call fcn.14002fed0
nop
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140023130
nop
mov rbx, qword [rbp + 0xfa8]
mov rcx, rax
call fcn.1400157e0
lea rcx, [rbp + 0xfa0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9d, 0x20
mov r8, rax
xor edx, edx
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
lea rcx, [rsp + 0x48]
call fcn.140014ff0
test ebx, ebx
je 0x14002f152
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.1400230c0
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.140012310
mov r8, rax
mov r9d, ebx
lea rdx, str.Could_not_get_registry_value_as_multi_string_with_name__s___i_.
lea rcx, [rbp - 0x80]
call fcn.140023c00
lea rdx, [0x140307e10]
lea rcx, [rbp - 0x80]
call fcn.1401419e8
nop
mov qword [r15], r12
mov qword [r15 + 8], r12
mov qword [r15 + 0x10], r12
mov dword [rsp + 0x44], 1
xor r8d, r8d
mov edx, dword [rbp + 0xfa0]
shr rdx, 1
lea rcx, [rbp + 0xfc0]
call fcn.140015030
nop
xor edx, edx
lea rcx, [rbp + 0xfc0]
call fcn.140015a60
mov esi, r12d
mov rax, qword [rbp + 0xfb0]
mov r8, qword [rbp + 0xfa8]
sub rax, r8
sar rax, 1
je 0x14002f2ec
mov rdi, r12
nop dword [rax]
movzx r14d, word [rdi + r8]
lea rcx, [rbp + 0xfc0]
test r14w, r14w
jne 0x14002f252
call fcn.1400099c0
cmp qword [rax], 0
jbe 0x14002f220
lea rcx, [rbp + 0xfc0]
call fcn.1400157e0
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14002f1e1
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140023060
nop
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.14002d9e0
nop
lea rcx, [rsp + 0x48]
call fcn.1400091f0
xor edx, edx
lea rcx, [rbp + 0xfc0]
call fcn.140015a60
mov rdx, qword [rbp + 0xfb0]
mov r8, qword [rbp + 0xfa8]
sub rdx, r8
sar rdx, 1
lea eax, [rsi + 1]
movsxd rcx, eax
cmp rcx, rdx
jae 0x14002f2c5
cmp word [rdi + r8 + 2], 0
je 0x14002f2ec
jmp 0x14002f2c5
call fcn.1400099c0
mov rcx, qword [rax]
not rcx
cmp rcx, 1
lea rcx, [rbp + 0xfc0]
jbe 0x14002f2e6
call fcn.1400099c0
mov rbx, qword [rax]
xor r8d, r8d
lea rdx, [rbx + 1]
lea rcx, [rbp + 0xfc0]
call fcn.140015970
test al, al
je 0x14002f2be
lea rcx, [rbp + 0xfc0]
call fcn.1400099c0
movzx r9d, r14w
mov r8d, 1
mov rdx, qword [rax]
lea rcx, [rbp + 0xfc0]
call fcn.1400162d0
lea rdx, [rbx + 1]
lea rcx, [rbp + 0xfc0]
call fcn.140015a60
mov r8, qword [rbp + 0xfa8]
inc esi
add rdi, 2
mov rcx, qword [rbp + 0xfb0]
sub rcx, r8
sar rcx, 1
movsxd rax, esi
cmp rax, rcx
jb 0x14002f1b0
jmp 0x14002f2ec
call fcn.14000a680
nop
lea rcx, [rbp + 0xfc0]
call fcn.140014ff0
nop
mov rdx, qword [rbp + 0xfa8]
test rdx, rdx
je 0x14002f330
mov r8, qword [rbp + 0xfb8]
sub r8, rdx
sar r8, 1
lea rcx, [rbp + 0xfa8]
call fcn.140016070
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xfa8], xmm0
mov qword [rbp + 0xfb8], r12
mov rax, r15
mov rcx, qword [rbp + 0xfe0]
xor rcx, rsp
call fcn.140113910
add rsp, 0x10f0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret