Function at 0x140024a40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140039020]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor r13d, r13d
mov qword [rcx + 0x10], r13
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x140024a83
mov rax, qword [rcx]
mov word [rax], r13w
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r13w
movzx eax, byte [str.d38cc827_e34f_4453_9df4_1e796e9f1d07]
cmp al, 0x65
jne 0x140024ae6
lea rdx, [rbp + 0xf]
lea rcx, str._DOTNET_TEST_GLOBALLY_REGISTERED_PATH
call fcn.140025040
test al, al
je 0x140024ae6
lea rax, [rbp + 0xf]
cmp rsi, rax
je 0x140024ade
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov r8, qword [rbp + 0x1f]
mov rcx, rsi
call fcn.14001b120
mov dil, 1
jmp 0x140024d43
mov qword [rbp - 0x11], r13
mov qword [rbp - 1], r13
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r13w
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x31]
call fcn.140023f20
mov qword [rbp - 0x41], r13
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 - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140024b51
mov edx, eax
lea rcx, str.Cant_open_the_SDK_installed_location_registry_key__result:_0x_X
call fcn.14001c830
jmp 0x140024cec
mov dword [rbp - 0x49], r13d
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, 2
mov r8, qword [rbp - 0x39]
xor edx, edx
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140024cd4
mov ecx, dword [rbp - 0x49]
test ecx, ecx
je 0x140024cd4
mov edi, ecx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov r14, r13
mov qword [rbp - 0x19], r13
mov rbx, r13
cmp rcx, 2
jb 0x140024c18
and rdi, 0xfffffffffffffffe
cmp rdi, 0x1000
jb 0x140024be1
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140024db2
call fcn.140029208
test rax, rax
je 0x140024ccd
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140024bf6
test rdi, rdi
je 0x140024bf3
mov rcx, rdi
call fcn.140029208
mov rbx, rax
jmp 0x140024bf6
mov rbx, r13
mov r15, rbx
mov qword [rbp - 0x29], rbx
lea r14, [rbx + rdi]
mov qword [rbp - 0x19], r14
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.14002b1f0
mov qword [rbp - 0x21], r14
jmp 0x140024c1c
mov r15, qword [rbp - 0x29]
lea rax, [rbp - 0x49]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov r9d, 2
mov r8, qword [rbp - 0x39]
xor edx, edx
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140024c66
mov edx, eax
lea rcx, str.Cant_get_the_value_of_the_SDK_location_registry_value__result:_0x_X
call fcn.14001c830
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor dil, dil
jmp 0x140024c93
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140024c70
mov rdx, rbx
mov rcx, rsi
call fcn.14001b120
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dil, 1
test rbx, rbx
je 0x140024cef
sub r14, rbx
sar r14, 1
lea rdx, [r14 + r14]
cmp rdx, 0x1000
jb 0x140024cc3
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140024ccd
mov rbx, rcx
mov rcx, rbx
call fcn.140029200
jmp 0x140024cef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edx, eax
lea rcx, str.Cant_get_the_size_of_the_SDK_location_registry_value_or_its_empty__result:_0x_X
call fcn.14001c830
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor dil, dil
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x140024d32
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024d2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024d2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029200
mov qword [rbp - 1], r13
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r13w
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x140024d86
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024d81
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024d81
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140029200
movzx eax, dil
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400291e0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140017410
nop
int3