Function at 0x140011754
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140033670]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
lea rax, [rsp + 0x44]
xor r14d, r14d
mov qword [rsp + 0x30], rax
lea r8, str.BuildLabEx
lea rax, [rbp + 0xd0]
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov r15d, 0x208
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 2]
mov dword [rsp + 0x44], r15d
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x14001184e
mov edi, dword [rsp + 0x44]
mov rax, qword [rbx + 0x30]
shr edi, 1
inc edi
test rax, rax
je 0x1400117f6
mov rcx, rax
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov eax, r14d
mov qword [rbx + 0x30], r14
mov esi, edi
lea rcx, [rdi + rdi]
cmp rcx, rsi
jbe 0x14001182a
mov edi, ecx
cmp rdi, rcx
jne 0x14001182a
mov ecx, edi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov qword [rbx + 0x30], rax
test rax, rax
je 0x14001182a
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbx + 0x30]
lea rcx, [rbp + 0xd0]
mov r8d, 9
mov qword [rsp + 0x20], rcx
lea r9, str._M._m._ls
mov rcx, rax
mov rdx, rsi
call fcn.14000ef70
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.14000e988
or rdi, 0xffffffffffffffff
mov r12d, 0x104
test eax, eax
js 0x14001191d
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]
cmp eax, 1
jne 0x14001191d
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400118bd
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx + 0x40], r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov qword [rbx + 0x40], rax
test rax, rax
je 0x1400118e0
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbx + 0x40]
mov r9d, dword [rsp + 0x40]
lea r8, [0x1400248d4]
mov rdx, r12
mov rcx, rax
call fcn.140003410
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x14001191d
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140011903
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
mov qword [rbx + 0x40], rax
mov esi, 0x80
lea rcx, [rbp + 0x50]
mov r8d, esi
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, esi
mov dword [rsp + 0x48], esi
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], esi
lea r8, [rbp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_RtlConvertDeviceFamilyInfoToString]
test eax, eax
jne 0x140011971
lea rcx, [rbx + 0x50]
lea rdx, [rbp + 0x50]
call fcn.14000e8ec
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x140011984
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx + 0x58], r14
mov esi, 0xaa
mov ecx, esi
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov qword [rbx + 0x58], rax
test rax, rax
je 0x1400119b9
mov r8d, esi
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400119b9
lea edx, [rsi - 0x55]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetUserDefaultLocaleName]
mov r8, r15
lea rcx, [rbp + 0xd0]
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x30], rax
lea r8, str.MachineId
lea rax, [rbp + 0xd0]
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]
test eax, eax
jne 0x140011a5d
lea rcx, [rbp + 0xd0]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140011a19
cmp rax, 2
jbe 0x140011a5d
cmp word [rbp + 0xd0], 0x7b
jne 0x140011a5d
lea rax, [rax*2 - 2]
cmp rax, r15
jae 0x140011ba0
lea rcx, [rbx + 0x60]
mov word [rbp + rax + 0xd0], r14w
lea rdx, [rbp + 0xd2]
call fcn.14000e8ec
lea r9, [rsp + 0x40]
call fcn.140012640
test eax, eax
js 0x140011ade
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140011a7e
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx + 0x48], r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov qword [rbx + 0x48], rax
test rax, rax
je 0x140011aa1
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rax, qword [rbx + 0x48]
mov r9d, dword [rsp + 0x40]
lea r8, [0x1400249b8]
mov rdx, r12
mov rcx, rax
call fcn.140003410
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140011ade
mov rax, rdi
inc rax
cmp word [rcx + rax*2], r14w
jne 0x140011ac4
lea edx, [rax + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
mov qword [rbx + 0x48], rax
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x140011af1
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx + 0x68], r14
mov rcx, r15
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov qword [rbx + 0x68], rax
test rax, rax
je 0x140011b10
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rsp + 0x60]
call fcn.14000f520
movzx eax, word [rsp + 0x66]
mov rdx, r12
movzx ecx, word [rsp + 0x64]
movzx r8d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbx + 0x68]
mov dword [rsp + 0x20], r8d
lea r8, str._u._u._u._u
call fcn.140003410
mov rcx, qword [rbx + 0x68]
test rcx, rcx
je 0x140011b73
inc rdi
cmp word [rcx + rdi*2], r14w
jne 0x140011b59
lea edx, [rdi + 1]
add rdx, rdx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemRealloc]
mov qword [rbx + 0x68], rax
xor eax, eax
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14001c1f0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14001c354
int3