Function at 0x14001b2b8
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r15d, r15d
lea rax, [rbp - 0x10]
mov qword [r11 - 0x50], r15
mov r12, r8
mov qword [r11 - 0x58], r15
xor r9d, r9d
mov qword [r11 - 0x60], rax
xor r8d, r8d
lea rax, [rbp + 0x58]
mov dword [rbp + 0x48], r15d
mov qword [r11 - 0x68], rax
xor edx, edx
lea rax, [rbp + 0x48]
mov dword [rbp + 0x58], r15d
mov qword [r11 - 0x70], rax
mov r13, rcx
mov qword [r11 - 0x78], r15
mov qword [r11 - 0x80], r15
mov qword [rsp + 0x20], r15
mov dword [rbp - 0x10], r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x14001b38a
test r12, r12
je 0x14001b38a
or rsi, 0xffffffffffffffff
mov ebx, r15d
mov edi, r15d
cmp dword [rbp + 0x48], r15d
jbe 0x14001b529
mov ecx, dword [rbp + 0x58]
lea eax, [rsi + 3]
inc ecx
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14000130c
mov rbx, rax
test rax, rax
je 0x14001b38a
mov ecx, dword [rbp - 0x10]
add rcx, 2
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_malloc]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14001b3a5
mov rcx, rbx
call fcn.1400012c0
xor eax, eax
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, dword [rbp + 0x48]
inc ecx
shl rcx, 2
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_malloc]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x14001b3db
mov rcx, rbx
call fcn.1400012c0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
jmp 0x14001b38a
mov r15d, dword [rbp + 0x48]
mov edx, 0xff
mov rcx, r14
lea r8d, [r15 + 1]
shl r8, 2
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
test r15d, r15d
je 0x14001b4d2
mov eax, dword [rbp + 0x58]
lea edx, [r15 - 1]
inc eax
lea r9, [rbp - 8]
mov dword [rbp - 8], eax
mov r8, rbx
mov eax, dword [rbp - 0x10]
mov rcx, r13
add eax, 2
mov dword [rbp - 0xc], eax
lea rax, [rbp - 0xc]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 4]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14001b4d2
lea r8d, [rax + 4]
mov rcx, rbx
lea rdx, str.WMC_
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x14001b4a4
mov eax, dword [rbp - 4]
dec eax
cmp eax, 1
ja 0x14001b48b
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
nop dword [rax + rax]
test eax, eax
je 0x14001b4ac
lea rcx, [rbx + 8]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wtoi]
nop dword [rax + rax]
mov ecx, r15d
mov edi, eax
mov dword [r14 + rcx*4], eax
dec r15d
jmp 0x14001b3f4
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
mov rax, rbx
jmp 0x14001b38c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
mov edx, dword [rbp + 0x48]
mov r8d, 1
mov ecx, r8d
cmp edx, r8d
jb 0x14001b50a
mov eax, ecx
cmp dword [r14 + rax*4], edi
je 0x14001b501
add ecx, r8d
cmp ecx, edx
jbe 0x14001b4f2
cmp ecx, edx
ja 0x14001b50a
add edi, r8d
jmp 0x14001b4ea
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
cmp edi, 0x1869f
jg 0x14001b382
or rsi, 0xffffffffffffffff
cmp dword [rbp + 0x58], 0xe
mov ecx, 8
mov dword [rbp + 0x48], ecx
jae 0x14001b56f
test rbx, rbx
je 0x14001b547
mov rcx, rbx
call fcn.1400012c0
mov ecx, dword [rbp + 0x48]
lea edx, [rcx + 6]
mov eax, 2
mul rdx
cmovo rax, rsi
mov rcx, rax
call fcn.14000130c
mov rbx, rax
test rax, rax
je 0x14001b38a
mov ecx, dword [rbp + 0x48]
jmp 0x14001b578
test rbx, rbx
je 0x14001b4ca
mov r8d, ecx
lea rdx, str.WMC_
mov rcx, rbx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov eax, dword [rbp + 0x48]
mov r8d, 0xa
shr rax, 1
mov ecx, edi
lea rdx, [rbx + rax*2]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__itow]
nop dword [rax + rax]
jmp 0x14001b4ca