Function at 0x140015010
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140055910]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
lea rax, [rsp + 0x44]
xor r14d, r14d
mov qword [rsp + 0x30], rax
lea r8, str.BuildLabEx
lea rax, [rsp + 0x60]
mov rsi, rcx
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov r13d, 0x208
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 2]
mov dword [rsp + 0x44], r13d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400150c8
mov ebx, dword [rsp + 0x44]
lea rcx, [rsi + 0x30]
shr ebx, 1
inc ebx
mov edx, ebx
call fcn.140013034
mov rcx, qword [rsi + 0x30]
lea rax, [rsp + 0x60]
mov edx, ebx
lea r9, str._M._m._ls
lea r8d, [r14 + 9]
mov qword [rsp + 0x20], rax
call fcn.1400136f0
lea rax, [rsp + 0x54]
lea r9, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call fcn.1400130b0
or rdi, 0xffffffffffffffff
mov r12d, 0x104
test eax, eax
js 0x140015176
mov r9d, dword [rsp + 0x44]
lea rax, [rsp + 0x40]
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_0.dll_GetProductInfo]
nop dword [rax + rax]
cmp eax, 1
jne 0x140015176
lea rbx, [rsi + 0x40]
mov edx, r12d
mov rcx, rbx
call fcn.140013034
mov r9d, dword [rsp + 0x40]
lea r8, [0x14003b704]
mov rcx, qword [rbx]
mov edx, r12d
call fcn.140003a5c
mov rcx, qword [rbx]
test rcx, rcx
je 0x140015176
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140015157
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
nop dword [rax + rax]
mov qword [rbx], rax
mov ebx, 0x80
lea rcx, [rbp + 0x170]
mov r8d, ebx
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, ebx
mov dword [rsp + 0x48], ebx
xor edx, edx
lea rcx, [rsp + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rsp + 0x60]
mov dword [rsp + 0x40], ebx
lea r8, [rbp + 0x170]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_RtlConvertDeviceFamilyInfoToString]
nop dword [rax + rax]
test eax, eax
jne 0x1400151d9
lea rcx, [rsi + 0x50]
lea rdx, [rbp + 0x170]
call fcn.140012f70
mov edx, 0x55
lea rcx, [rsi + 0x58]
call fcn.140013034
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x140015201
mov edx, 0x55
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetUserDefaultLocaleName]
nop dword [rax + rax]
mov r8, r13
lea rcx, [rsp + 0x60]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x30], rax
lea r8, str.MachineId
lea rax, [rsp + 0x60]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftSQMClient
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14001529e
lea rcx, [rsp + 0x60]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140015261
cmp rax, 2
jbe 0x14001529e
cmp word [rsp + 0x60], 0x7b
jne 0x14001529e
lea rax, [rax*2 - 2]
cmp rax, r13
jae 0x1400153ac
lea rcx, [rsi + 0x60]
mov word [rsp + rax + 0x60], r14w
lea rdx, [rsp + 0x62]
call fcn.140012f70
lea r9, [rsp + 0x40]
call fcn.140015f50
test eax, eax
js 0x1400152fc
lea rbx, [rsi + 0x48]
mov edx, r12d
mov rcx, rbx
call fcn.140013034
mov r9d, dword [rsp + 0x40]
lea r8, [0x14003b7e8]
mov rcx, qword [rbx]
mov rdx, r12
call fcn.140003a5c
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400152fc
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x1400152dd
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
nop dword [rax + rax]
mov qword [rbx], rax
mov edx, r12d
lea rcx, [rsi + 0x68]
call fcn.140013034
xor edx, edx
lea r9, [rsp + 0x60]
lea rcx, [0x140000000]
lea r8d, [rdx + 2]
call fcn.140013cec
movzx ecx, word [rsp + 0x64]
mov rdx, r12
movzx r8d, word [rsp + 0x62]
movzx eax, word [rsp + 0x66]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsi + 0x68]
mov dword [rsp + 0x20], r8d
lea r8, str._u._u._u._u
call fcn.140003a5c
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x14001537e
inc rdi
cmp word [rcx + rdi*2], r14w
jne 0x14001535e
lea edx, [rdi + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
nop dword [rax + rax]
mov qword [rsi + 0x68], rax
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14002fd10
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.14002fe88
int3