Function at 0x14001bf74
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
xor r12d, r12d
mov rax, rcx
mov qword [r11 - 0x50], r12
lea rcx, [rbp - 0x10]
mov qword [r11 - 0x58], r12
mov r13, r8
mov qword [r11 - 0x60], rcx
xor r9d, r9d
lea rcx, [rbp + 0x58]
mov dword [rbp + 0x48], r12d
mov qword [r11 - 0x68], rcx
xor r8d, r8d
lea rcx, [rbp + 0x48]
mov dword [rbp + 0x58], r12d
mov qword [r11 - 0x70], rcx
xor edx, edx
mov qword [r11 - 0x78], r12
mov rcx, rax
mov qword [r11 - 0x80], r12
mov qword [rsp + 0x20], r12
mov dword [rbp - 0x10], r12d
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
nop dword [rax + rax]
test eax, eax
jne 0x14001c04d
test r13, r13
je 0x14001c04d
or rsi, 0xffffffffffffffff
mov ebx, r12d
mov edi, r12d
cmp dword [rbp + 0x48], r12d
jbe 0x14001c1f0
mov ecx, dword [rbp + 0x58]
lea eax, [rsi + 3]
inc ecx
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400014a0
mov rbx, rax
test rax, rax
je 0x14001c04d
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 0x14001c068
mov rcx, rbx
call fcn.140001454
xor eax, eax
mov rbx, qword [rsp + 0xc0]
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 0x14001c09e
mov rcx, rbx
call fcn.140001454
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_free]
nop dword [rax + rax]
jmp 0x14001c04d
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 0x14001c173
lea r12, [r14 + r15*4]
mov eax, dword [rbp + 0x58]
lea edx, [r15 - 1]
mov rcx, qword [rbp + 0x40]
lea r9, [rbp - 8]
inc eax
mov r8, rbx
mov dword [rbp - 8], eax
mov eax, dword [rbp - 0x10]
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 0x14001c173
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 0x14001c165
mov eax, dword [rbp - 4]
dec eax
cmp eax, 1
ja 0x14001c14f
mov rdx, r13
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 0x14001c1ab
lea rcx, [rbx + 8]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wtoi]
nop dword [rax + rax]
mov edi, eax
mov dword [r12], eax
sub r12, 4
add r15d, 0xffffffff
jne 0x14001c0c4
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 0x14001c1d1
mov eax, ecx
cmp dword [r14 + rax*4], edi
je 0x14001c1a2
add ecx, r8d
cmp ecx, edx
jbe 0x14001c193
cmp ecx, edx
ja 0x14001c1d1
add edi, r8d
jmp 0x14001c18b
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 0x14001c04f
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 0x14001c045
or rsi, 0xffffffffffffffff
cmp dword [rbp + 0x58], 0xe
mov ecx, 8
mov dword [rbp + 0x48], ecx
jae 0x14001c236
test rbx, rbx
je 0x14001c20e
mov rcx, rbx
call fcn.140001454
mov ecx, dword [rbp + 0x48]
lea edx, [rcx + 6]
mov eax, 2
mul rdx
cmovo rax, rsi
mov rcx, rax
call fcn.1400014a0
mov rbx, rax
test rax, rax
je 0x14001c04d
mov ecx, dword [rbp + 0x48]
jmp 0x14001c23b
test rbx, rbx
je 0x14001c1c9
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 0x14001c1c9