Function at 0x14011cd30
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x370]
mov eax, 0x470
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r15, r9
mov rsi, r8
mov r12, rdx
mov rdi, rcx
mov rax, rcx
xor r14d, r14d
and eax, 0x200
je 0x14011cf5c
mov qword [rsp + 0x40], r14
lea r8, [rsp + 0x40]
lea edx, [r14 + 1]
lea rcx, [0x1402c65c0]
call fcn.1400b64b0
test eax, eax
jne 0x14011cf5c
mov r13d, r14d
xor edx, edx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x4c], 0x100
mov dword [rsp + 0x48], 0x200
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14011cf51
mov qword [rsp + 0x58], r14
cmp dword [rsp + 0x50], 1
jne 0x14011cebc
mov r9d, dword [rsp + 0x4c]
test r9d, r9d
je 0x14011cebc
mov r14d, dword [rsi]
cmp r14d, r9d
jbe 0x14011ceb9
test r9d, r9d
js 0x14011d060
mov r8, qword [r12]
mov edx, r9d
lea rcx, [rsp + 0x60]
call fcn.1400c2f4c
test eax, eax
jne 0x14011ceb9
mov ebx, dword [rsp + 0x48]
shr ebx, 1
dec ebx
lea ecx, [r14 + rbx]
add rcx, rcx
xor r14d, r14d
test r15, r15
je 0x14011ce74
mov rax, qword [r15]
lea r8, [rsp + 0x58]
mov rdx, rcx
mov rcx, r15
mov rax, qword [rax]
call qword [case.0x14004a846.0]
jmp 0x14011ce8b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x58], rax
neg rax
sbb eax, eax
not eax
and eax, 0x8007000e
test eax, eax
js 0x14011cebc
lea rdi, [rbx + rbx]
mov r8d, dword [rsi]
add r8d, ebx
add r8, r8
mov r15d, 0x16
test rdi, rdi
je 0x14011cefb
cmp qword [rsp + 0x58], r14
jne 0x14011cec7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], r15d
jmp 0x14011cef5
xor r14d, r14d
inc r13d
mov edx, r13d
jmp 0x14011cdaa
mov rcx, qword [rsp + 0x58]
cmp r8, rdi
jb 0x14011cee2
mov r8, rdi
lea rdx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14011cefb
xor edx, edx
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
movsxd r8, dword [rsi]
mov rdx, qword [r12]
mov rcx, qword [rsp + 0x58]
add rcx, rdi
add r8, r8
je 0x14011cf34
test rcx, rcx
je 0x14011cf25
test rdx, rdx
je 0x14011cf20
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14011cf34
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rcx, qword [rsp + 0x58]
mov qword [r12], rcx
add dword [rsi], ebx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14011d036
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and edi, 0x400
je 0x14011d034
mov word [rsp + 0x60], r14w
mov dword [rsp + 0x50], 0x200
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [0x1402c7200]
call fcn.1400b4084
lea rax, [rsp + 0x60]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14011cf95
mov qword [rsp + 0x40], r14
test edi, edi
je 0x14011d034
mov ecx, dword [rsi]
add ecx, edi
add rcx, rcx
test r15, r15
je 0x14011cfd6
mov rax, qword [r15]
lea r8, [rsp + 0x40]
mov rdx, rcx
mov rcx, r15
mov rax, qword [rax]
call qword [case.0x14004a846.0]
mov r9, qword [rsp + 0x40]
jmp 0x14011cff3
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r9, rax
mov qword [rsp + 0x40], rax
mov rcx, rax
neg rcx
sbb eax, eax
not eax
and eax, 0x8007000e
test eax, eax
js 0x14011d034
mov ecx, edi
lea rbx, [rcx + rcx]
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, r9
call sub.VCRUNTIME140.dll_memcpy
movsxd r8, dword [rsi]
add r8, r8
mov rcx, qword [rsp + 0x40]
add rcx, rbx
mov rdx, qword [r12]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x40]
mov qword [r12], rax
add dword [rsi], edi
jmp 0x14011cf4a
xor al, al
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14024c6d0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x1f5c2188
call fcn.1400b3928
int3