Function at 0x14005234c
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 [0x140065020]
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 0x140052392
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 0x140052427
lea rdx, [rbp + 0xf]
lea rcx, str._DOTNET_TEST_GLOBALLY_REGISTERED_PATH
call fcn.140052830
test al, al
je 0x140052427
lea rax, [rbp + 0xf]
cmp rdi, rax
je 0x140052420
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 0x140052418
cmp qword [rdi + 0x18], 8
jb 0x1400523fc
mov rdi, qword [rdi]
mov qword [rbx], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.1400578c0
mov word [rbx + rdi], r14w
jmp 0x140052420
mov rcx, rdi
call fcn.14004b55c
mov bl, 1
jmp 0x14005264d
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.140051c24
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 0x14005248e
mov edx, eax
lea rcx, str.Cant_open_the_SDK_installed_location_registry_key__result:_0x_X
call fcn.14004c4ac
jmp 0x1400525fe
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 0x1400525e6
mov ecx, dword [rbp - 0x49]
test ecx, ecx
je 0x1400525e6
mov esi, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r14
cmp rcx, 2
jb 0x140052532
and rsi, 0xfffffffffffffffe
cmp rsi, r15
jb 0x1400524f5
mov rcx, rsi
call fcn.14004bdb8
jmp 0x140052507
test rsi, rsi
je 0x140052504
mov rcx, rsi
call fcn.140056028
jmp 0x140052507
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.140058010
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x39], r14
lea rcx, [rbp - 0x39]
call fcn.14004c8d8
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 0x140052580
mov edx, eax
lea rcx, str.Cant_get_the_value_of_the_SDK_location_registry_value__result:_0x_X
call fcn.14004c4ac
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, r14b
jmp 0x140052598
mov rdx, qword [rbp - 0x31]
mov rcx, rdi
call fcn.14004b22c
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140052601
mov rax, qword [rbp - 0x21]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, r15
jb 0x1400525d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400525d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056020
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r14
jmp 0x140052601
mov edx, eax
lea rcx, str.Cant_get_the_size_of_the_SDK_location_registry_value_or_its_empty__result:_0x_X
call fcn.14004c4ac
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, r14b
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140052640
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, r15
jb 0x14005263b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005263b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056020
mov qword [rbp - 1], r14
mov qword [rbp + 7], r12
mov word [rbp - 0x11], r14w
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14005268c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, r15
jb 0x140052687
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052687
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140056020
mov al, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140056000
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