Function at 0x14000e830
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x140025040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rbx, r9
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x38], r8
mov r15, rdx
mov dword [rsp + 0x20], ecx
xor r12d, r12d
mov qword [rdx], 0xffffffff80000002
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea r8d, [r12 + 0xf]
lea rdx, str.SOFTWAREdotnet
lea rcx, [rsp + 0x60]
call fcn.1400058b0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
movzx eax, byte [str.d38cc827_e34f_4453_9df4_1e796e9f1d07]
cmp al, 0x65
jne 0x14000ec0a
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
xor r8d, r8d
xor edx, edx
lea rcx, str._DOTNET_TEST_REGISTRY_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
lea r14, [r12 - 1]
test eax, eax
jne 0x14000e927
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x14000e920
test eax, eax
jle 0x14000e90a
movzx eax, ax
or eax, 0x80070000
mov r8d, eax
lea rdx, str._DOTNET_TEST_REGISTRY_PATH
lea rcx, str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.140007430
xor al, al
jmp 0x14000e9b8
mov eax, 2
mul rbx
cmovo rax, r14
mov rcx, rax
call fcn.140013e5c
mov rsi, rax
mov r8d, ebx
mov rdx, rax
lea rcx, str._DOTNET_TEST_REGISTRY_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000e8f1
mov rdx, r14
nop dword [rax + rax]
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x14000e960
mov rax, qword [rsp + 0x58]
cmp rdx, rax
ja 0x14000e9a1
lea rdi, [rsp + 0x40]
cmp rax, 7
cmova rdi, qword [rsp + 0x40]
mov qword [rsp + 0x50], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140018f50
mov word [rbx + rdi], r12w
jmp 0x14000e9ae
mov r9, rsi
lea rcx, [rsp + 0x40]
call fcn.140005e50
mov rcx, rsi
call fcn.140013ba0
mov al, 1
test al, al
je 0x14000ec05
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
mov r8d, 0x12
lea rdx, str.HKEY_CURRENT_USER_
lea rcx, [rbp - 0x40]
call fcn.1400058b0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov rdi, qword [rbp - 0x30]
mov r8, rdi
cmp qword [rsp + 0x50], rdi
cmovb r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400058b0
lea rcx, [rbp - 0x40]
mov r12, qword [rbp - 0x28]
cmp r12, 7
seta r13b
mov rsi, qword [rbp - 0x40]
cmova rcx, rsi
lea rdx, [rbp - 0x20]
mov r10, qword [rbp - 8]
cmp r10, 7
seta r11b
mov r9, qword [rbp - 0x20]
cmova rdx, r9
mov r8, qword [rbp - 0x10]
cmp r8, rdi
jne 0x14000ea7a
test r8, r8
je 0x14000ea76
nop
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x14000ea7a
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x14000ea60
mov bl, 1
jmp 0x14000ea7c
xor bl, bl
test r11b, r11b
je 0x14000eab6
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000eaae
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000eb4a
mov rcx, r9
call fcn.140013ba0
test bl, bl
je 0x14000eb6a
mov qword [r15], 0xffffffff80000001
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor r15d, r15d
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov rax, qword [rsp + 0x50]
cmp rax, rdi
jb 0x14000ee66
sub rax, rdi
cmp rax, 0xffffffffffffffff
cmovb r14, rax
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rax, qword [rsp + 0x40]
lea rdx, [rax + rdi*2]
mov r8, r14
lea rcx, [rbp - 0x80]
call fcn.1400058b0
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000eb56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000eb51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eb51
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013ba0
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x50], xmm1
jmp 0x14000eb6d
xor r15d, r15d
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova r9, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x78]
cmp rdi, rax
ja 0x14000ebb7
lea rbx, [rsp + 0x60]
cmp rax, 7
cmova rbx, qword [rsp + 0x60]
mov qword [rsp + 0x70], rdi
lea r8, [rdi + rdi]
mov rdx, r9
mov rcx, rbx
call fcn.140018f50
mov word [rbx + rdi*2], r15w
jmp 0x14000ebc5
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140005e50
nop
test r13b, r13b
je 0x14000ec02
lea rdx, [r12*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000ebfa
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ebfa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140013ba0
xor r12d, r12d
mov rbx, qword [rsp + 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov r8d, 0x19
lea rdx, str.SetupInstalledVersions_
lea rcx, [rbp - 0x80]
call fcn.1400058b0
nop
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.140008bb0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
movsxd rdx, dword [rsp + 0x20]
lea rax, [0x14001dab0]
mov rdx, qword [rax + rdx*8]
lea rcx, [rbp - 0x60]
call fcn.140004db0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
lea rdx, [rbp]
mov rcx, qword [rsp + 0x38]
call fcn.140004ed0
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14000ed07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ed01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013ba0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14000ed4a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed45
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ed45
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013ba0
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000ed9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ed99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013ba0
lea rax, str.InstallLocation
mov qword [rbx], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000eded
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ede8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ede8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013ba0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000ee46
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ee41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013ba0
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140013b80
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140005890
nop
int3