Function at 0x14003cbd8
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]
sub rsp, 0x470
mov rax, qword [0x14005d010]
xor rax, rsp
mov qword [rbp + 0x360], rax
xor ebx, ebx
mov r13, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
bt rcx, 9
jae 0x14003cdb3
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], rbx
call fcn.14003de58
test eax, eax
jne 0x14003cdb3
mov r12d, ebx
xor edx, edx
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x44]
lea rax, [rbp + 0x160]
mov dword [rsp + 0x44], 0x100
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x48]
mov dword [rsp + 0x40], 0x200
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14003cda8
cmp dword [rsp + 0x48], 1
mov qword [rsp + 0x50], rbx
jne 0x14003cd19
mov r9d, dword [rsp + 0x44]
test r9d, r9d
je 0x14003cd19
mov ebx, dword [rsi]
cmp ebx, r9d
jbe 0x14003cd17
test r9d, r9d
js 0x14003ce7d
mov r8, qword [r14]
lea rcx, [rsp + 0x60]
mov edx, r9d
call fcn.1400181c4
test eax, eax
jne 0x14003cd17
mov edi, dword [rsp + 0x40]
lea rdx, [rsp + 0x50]
shr edi, 1
mov r8, r13
dec edi
lea ecx, [rbx + rdi]
add rcx, rcx
call fcn.14000943c
xor ebx, ebx
test eax, eax
js 0x14003cd19
mov r8d, dword [rsi]
lea rbx, [rdi + rdi]
add r8d, edi
mov r15d, 0x16
add r8, r8
test rbx, rbx
je 0x14003cd53
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x14003cd24
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], r15d
jmp 0x14003cd4d
xor ebx, ebx
inc r12d
mov edx, r12d
jmp 0x14003cc3d
cmp r8, rbx
jb 0x14003cd3a
mov r8, rbx
lea rdx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14003cd53
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]
mov rax, qword [rsp + 0x50]
movsxd r8, dword [rsi]
mov rdx, qword [r14]
lea rcx, [rbx + rax]
add r8, r8
je 0x14003cd8c
test rcx, rcx
je 0x14003cd7d
test rdx, rdx
je 0x14003cd78
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14003cd8c
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 + 0x50]
mov qword [r14], rcx
add dword [rsi], edi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14003ce53
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
bt r15, 0xa
jae 0x14003ce51
lea r8, [rsp + 0x48]
mov word [rsp + 0x60], bx
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x48], 0x200
lea rcx, [0x14004cd70]
call fcn.1400118f0
lea rax, [rsp + 0x60]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14003cdea
mov qword [rsp + 0x50], rbx
test edi, edi
je 0x14003ce51
mov ecx, dword [rsi]
lea rdx, [rsp + 0x50]
add ecx, edi
mov r8, r13
add rcx, rcx
call fcn.14000943c
test eax, eax
js 0x14003ce51
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov eax, edi
lea rbx, [rax + rax]
mov r8, rbx
call sub.VCRUNTIME140.dll_memcpy
movsxd r8, dword [rsi]
mov rcx, qword [rsp + 0x50]
add r8, r8
mov rdx, qword [r14]
add rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x50]
mov qword [r14], rax
add dword [rsi], edi
jmp 0x14003cda1
xor al, al
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.1400407e0
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, 0x1402520
call fcn.140015e58
int3