Function at 0x140002e94
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xf0
mov qword [r11 - 0x80], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x14000a008]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov r12, r8
mov qword [rsp + 0x60], rdx
lea rax, str.SOFTWAREMicrosoftWindowsCurrentVersionDiagnosticsDiagTrack
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov edi, 0x400
mov dword [rsp + 0x40], edi
lea rax, [rsp + 0x48]
mov qword [r11 - 0x58], rax
lea rax, [rsp + 0x50]
mov qword [r11 - 0x50], rax
lea rax, [rsp + 0x60]
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], r8
lea rax, [rsp + 0x44]
mov qword [r11 - 0x38], rax
lea rdx, [r11 - 0x58]
lea rcx, [rsp + 0x68]
call fcn.1400045cc
nop
lea eax, [rbx + 7]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xd0], rbx
mov word [rsp + 0xc0], bx
mov edx, eax
mov qword [rsp + 0xb8], rax
mov ecx, ebx
mov qword [rsp + 0xb0], rbx
mov word [rsp + 0xa0], bx
mov r15d, ebx
mov esi, edi
shr rsi, 1
cmp rsi, rcx
ja 0x140002f88
mov qword [rsp + 0xb0], rsi
lea rax, [rsp + 0xa0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xa0]
mov word [rax + rsi*2], bx
jmp 0x140003073
sub rsi, rcx
or rax, 0xffffffffffffffff
sub rax, rcx
cmp rax, rsi
ja 0x140002f9c
call fcn.140003f68
test rsi, rsi
je 0x14000307b
lea r14, [rcx + rsi]
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
jbe 0x140002fbd
call fcn.140003f68
cmp rdx, r14
jae 0x140002fd7
mov r8, rcx
mov rdx, r14
lea rcx, [rsp + 0xa0]
call fcn.14000409c
jmp 0x140002ffc
test r14, r14
jne 0x140003011
mov qword [rsp + 0xb0], rbx
lea rax, [rsp + 0xa0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xa0]
mov word [rax], bx
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xb8]
test r14, r14
je 0x14000307b
lea rax, [rsp + 0xa0]
cmp rsi, 1
jne 0x140003032
cmp rdx, 8
cmovae rax, qword [rsp + 0xa0]
mov word [rax + rcx*2], bx
jmp 0x14000304c
cmp rdx, 8
cmovae rax, qword [rsp + 0xa0]
lea rdi, [rax + rcx*2]
movzx eax, bx
mov rcx, rsi
rep stosw word [rdi], ax
mov qword [rsp + 0xb0], r14
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rax, qword [rsp + 0xa0]
mov word [rax + r14*2], bx
mov rdx, qword [rsp + 0xb8]
cmp qword [rsp + 0xd0], rbx
jne 0x14000308c
mov rcx, qword [rsp + 0x50]
jmp 0x1400030a6
lea rcx, [rsp + 0xc0]
cmp qword [rsp + 0xd8], 8
cmovae rcx, qword [rsp + 0xc0]
lea rax, [rsp + 0xa0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xa0]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 2
mov r8, qword [rsp + 0x60]
mov rdx, rcx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmp eax, 0xea
jne 0x14000311a
mov ecx, r15d
inc r15d
cmp ecx, 3
jae 0x14000311a
mov edi, dword [rsp + 0x40]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
jmp 0x140002f58
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov dword [rsp + 0x44], edi
test edi, edi
jns 0x1400031bc
cmp qword [rsp + 0xb8], 8
jb 0x14000314d
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov esi, 7
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xb0], rbx
mov word [rsp + 0xa0], bx
cmp qword [rsp + 0xd8], 8
jb 0x140003183
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], rbx
mov word [rsp + 0xc0], bx
cmp byte [rsp + 0x90], bl
je 0x1400031b5
mov byte [rsp + 0x90], bl
lea rcx, [rsp + 0x68]
call fcn.1400034b8
mov eax, edi
jmp 0x1400032c2
mov edx, dword [rsp + 0x40]
dec edx
shr rdx, 1
cmp rdx, qword [rsp + 0xb0]
ja 0x1400031f7
mov qword [rsp + 0xb0], rdx
lea rax, [rsp + 0xa0]
cmp qword [rsp + 0xb8], 8
cmovae rax, qword [rsp + 0xa0]
mov word [rax + rdx*2], bx
jmp 0x14000320c
sub rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
call fcn.140003954
lea rdx, [rsp + 0xa0]
mov rcx, r12
call fcn.14000387c
nop
cmp qword [rsp + 0xb8], 8
jb 0x140003236
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov esi, 7
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xb0], rbx
mov word [rsp + 0xa0], bx
cmp qword [rsp + 0xd8], 8
jb 0x14000326c
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], rbx
mov word [rsp + 0xc0], bx
cmp byte [rsp + 0x90], bl
je 0x14000329e
mov byte [rsp + 0x90], bl
lea rcx, [rsp + 0x68]
call fcn.1400034b8
xor eax, eax
jmp 0x1400032c2
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140004bb0
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret