Function at 0x14000d1c4
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 - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140066010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
lea rbx, [rcx + 0x10]
xor r14d, r14d
mov qword [rbx], r14
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14000d20a
mov rax, qword [rcx]
mov word [rax], r14w
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x1f], r14
mov r12d, 7
mov qword [rbp + 0x27], r12
mov word [rbp + 0xf], r14w
mov al, byte [str.d38cc827_e34f_4453_9df4_1e796e9f1d07]
mov r15d, 0x1000
cmp al, 0x65
jne 0x14000d29f
lea rdx, [rbp + 0xf]
lea rcx, str._DOTNET_TEST_GLOBALLY_REGISTERED_PATH
call fcn.14000d8d8
test al, al
je 0x14000d29f
lea rax, [rbp + 0xf]
cmp rdi, rax
je 0x14000d298
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae r9, qword [rbp + 0xf]
mov rdx, qword [rbp + 0x1f]
cmp rdx, qword [rdi + 0x18]
ja 0x14000d290
cmp qword [rdi + 0x18], 8
jb 0x14000d274
mov rdi, qword [rdi]
mov qword [rbx], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.1400450c0
mov word [rbx + rdi], r14w
jmp 0x14000d298
mov rcx, rdi
call fcn.1400019d0
mov bl, 1
jmp 0x14000d4c5
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], r12
mov word [rbp - 0x11], r14w
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x39]
call fcn.14000ccec
mov qword [rbp - 0x41], r14
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000d306
mov edx, eax
lea rcx, str.Cant_open_the_SDK_installed_location_registry_key__result:_0x_X
call fcn.140005ce4
jmp 0x14000d476
mov dword [rbp - 0x49], r14d
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9d, 2
mov r8, qword [rbp - 0x19]
xor edx, edx
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000d45e
mov ecx, dword [rbp - 0x49]
test ecx, ecx
je 0x14000d45e
mov esi, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r14
cmp rcx, 2
jb 0x14000d3aa
and rsi, 0xfffffffffffffffe
cmp rsi, r15
jb 0x14000d36d
mov rcx, rsi
call fcn.140001b10
jmp 0x14000d37f
test rsi, rsi
je 0x14000d37c
mov rcx, rsi
call fcn.140040c20
jmp 0x14000d37f
mov rax, r14
mov qword [rbp - 0x31], rax
lea rbx, [rax + rsi]
mov qword [rbp - 0x21], rbx
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400429b0
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x39], r14
lea rcx, [rbp - 0x39]
call fcn.140006218
nop
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x31]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 2
mov r8, qword [rbp - 0x19]
xor edx, edx
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14000d3f8
mov edx, eax
lea rcx, str.Cant_get_the_value_of_the_SDK_location_registry_value__result:_0x_X
call fcn.140005ce4
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, r14b
jmp 0x14000d410
mov rdx, qword [rbp - 0x31]
mov rcx, rdi
call fcn.1400049dc
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14000d479
mov rax, qword [rbp - 0x21]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, r15
jb 0x14000d44b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d44b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140040c5c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r14
jmp 0x14000d479
mov edx, eax
lea rcx, str.Cant_get_the_size_of_the_SDK_location_registry_value_or_its_empty__result:_0x_X
call fcn.140005ce4
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, r14b
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14000d4b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, r15
jb 0x14000d4b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d4b3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140040c5c
mov qword [rbp - 1], r14
mov qword [rbp + 7], r12
mov word [rbp - 0x11], r14w
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14000d504
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, r15
jb 0x14000d4ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d4ff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140040c5c
mov al, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140040c00
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret