Function at 0x14000bd80
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x140021080]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r13, r9
mov qword [rsp + 0x28], r8
mov r12, rdx
mov dword [rsp + 0x20], ecx
xor r15d, r15d
mov qword [rdx], 0xffffffff80000002
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov r8d, 0xf
lea rdx, str.SOFTWAREdotnet
lea rcx, [rsp + 0x50]
call fcn.140006070
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
movzx eax, byte [str.d38cc827_e34f_4453_9df4_1e796e9f1d07]
cmp al, 0x65
jne 0x14000c14b
mov qword [rsp + 0x40], r15
mov word [rsp + 0x30], r15w
xor r8d, r8d
xor edx, edx
lea rcx, str._DOTNET_TEST_REGISTRY_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
mov r14, 0xffffffffffffffff
test eax, eax
jne 0x14000be75
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x14000be6e
test eax, eax
jle 0x14000be58
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.140007a60
xor al, al
jmp 0x14000befe
mov eax, 2
mul rbx
cmovb rax, r14
mov rcx, rax
call fcn.140010fbc
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 0x14000be3f
mov rdx, r14
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x14000bea6
mov rax, qword [rsp + 0x48]
cmp rdx, rax
ja 0x14000bee7
lea rdi, [rsp + 0x30]
cmp rax, 7
cmova rdi, qword [rsp + 0x30]
mov qword [rsp + 0x40], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140015200
mov word [rbx + rdi], r15w
jmp 0x14000bef4
mov r9, rsi
lea rcx, [rsp + 0x30]
call fcn.140006600
mov rcx, rsi
call fcn.140010d00
mov al, 1
test al, al
je 0x14000c14b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
mov r8d, 0x12
lea rdx, str.HKEY_CURRENT_USER_
lea rcx, [rbp - 0x50]
call fcn.140006070
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov rdi, qword [rbp - 0x40]
mov r8, rdi
cmp qword [rsp + 0x40], rdi
cmovb r8, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140006070
lea rcx, [rbp - 0x50]
mov rsi, qword [rbp - 0x50]
mov r15, qword [rbp - 0x38]
cmp r15, 7
cmova rcx, rsi
lea rdx, [rbp - 0x30]
mov r9, qword [rbp - 0x30]
mov r10, qword [rbp - 0x18]
cmp r10, 7
cmova rdx, r9
mov r8, qword [rbp - 0x20]
cmp r8, rdi
jne 0x14000bfba
test r8, r8
je 0x14000bfb6
nop dword [rax]
movzx eax, word [rcx]
cmp word [rdx], ax
jne 0x14000bfba
add rdx, 2
add rcx, 2
sub r8, 1
jne 0x14000bfa0
mov bl, 1
jmp 0x14000bfbc
xor bl, bl
cmp r10, 7
jbe 0x14000bff7
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000bfef
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c08e
mov rcx, r9
call fcn.140010d00
test bl, bl
je 0x14000c0af
mov qword [r12], 0xffffffff80000001
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov rax, qword [rsp + 0x40]
cmp rax, rdi
jb 0x14000c3ac
sub rax, rdi
cmp rax, 0xffffffffffffffff
cmovb r14, rax
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rax, qword [rsp + 0x30]
lea rdx, [rax + rdi*2]
mov r8, r14
lea rcx, [rsp + 0x70]
call fcn.140006070
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000c09a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c095
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c095
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010d00
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x40], xmm1
jmp 0x14000c0b2
xor r12d, r12d
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova r9, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x68]
cmp rdi, rax
ja 0x14000c0fc
lea rbx, [rsp + 0x50]
cmp rax, 7
cmova rbx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rdi
lea r8, [rdi + rdi]
mov rdx, r9
mov rcx, rbx
call fcn.140015200
mov word [rbx + rdi*2], r12w
jmp 0x14000c10a
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140006600
nop
cmp r15, 7
jbe 0x14000c148
lea rdx, [r15*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000c140
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c140
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140010d00
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov r8d, 0x19
lea rdx, str.SetupInstalledVersions_
lea rcx, [rsp + 0x70]
call fcn.140006070
nop
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 7
cmova r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140009250
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
movsxd rdx, dword [rsp + 0x20]
lea rax, [0x140019a40]
mov rdx, qword [rax + rdx*8]
lea rcx, [rbp - 0x70]
call fcn.140005500
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x28]
call fcn.140005620
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14000c24b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c245
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c245
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010d00
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14000c28e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c289
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c289
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010d00
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14000c2e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c2de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c2de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010d00
lea rax, str.InstallLocation
mov qword [r13], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000c333
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c32e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c32e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010d00
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000c38c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c387
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c387
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010d00
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140010ce0
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140005ec0
nop
int3