Function at 0x14000e6c0
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 [0x140024020]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov rbx, r9
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x40], rdx
mov dword [rsp + 0x20], ecx
xor r14d, r14d
mov qword [rdx], 0xffffffff80000002
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea edx, [r14 + 0x10]
lea rcx, [rbp - 0x28]
call fcn.1400055b0
mov rdx, rax
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x10], 0xf
movups xmm0, xmmword [str.SOFTWAREdotnet]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x14001db18]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x14001db20]
mov dword [rax + 0x18], ecx
movzx eax, word [0x14001db24]
mov word [rdx + 0x1c], ax
mov word [rdx + 0x1e], r14w
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
movzx eax, byte [str.d38cc827_e34f_4453_9df4_1e796e9f1d07]
cmp al, 0x65
jne 0x14000ebca
mov qword [rsp + 0x68], r14
mov word [rsp + 0x58], r14w
xor r8d, r8d
xor edx, edx
lea rcx, str._DOTNET_TEST_REGISTRY_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
lea r12, [r14 - 1]
test eax, eax
jne 0x14000e7ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x14000e7e8
test eax, eax
jle 0x14000e7d2
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.140007480
xor al, al
jmp 0x14000e878
mov eax, 2
mul rbx
cmovo rax, r12
mov rcx, rax
call fcn.14001408c
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 0x14000e7b9
mov rdx, r12
inc rdx
cmp word [rsi + rdx*2], 0
jne 0x14000e820
mov rax, qword [rsp + 0x70]
cmp rdx, rax
ja 0x14000e861
lea rdi, [rsp + 0x58]
cmp rax, 8
cmovae rdi, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140015680
mov word [rdi + rbx], r14w
jmp 0x14000e86e
mov r9, rsi
lea rcx, [rsp + 0x58]
call fcn.140005e20
mov rcx, rsi
call fcn.140013dc0
mov al, 1
test al, al
je 0x14000ebc5
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov edx, 0x18
lea rcx, [rbp - 0x68]
call fcn.1400055b0
mov rcx, rax
mov qword [rbp - 0x68], rax
mov edi, 0x12
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0x17
movups xmm0, xmmword [str.HKEY_CURRENT_USER_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14001db70]
movups xmmword [rax + 0x10], xmm1
mov eax, dword [0x14001db80]
mov dword [rcx + 0x20], eax
mov word [rcx + 0x24], r14w
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov r14, qword [rsp + 0x68]
cmp r14, rdi
cmovb rdi, r14
lea rcx, [rsp + 0x58]
mov r15, qword [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, r15
mov qword [rsp + 0x28], rcx
movabs r13, 0x7ffffffffffffffe
cmp rdi, r13
ja 0x14000ee67
mov eax, 0xa
cmp rdi, 8
jae 0x14000e94e
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 7
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, rcx
lea rcx, [rbp - 0x48]
call fcn.140015680
xor eax, eax
mov word [rbp + rbx - 0x48], ax
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
mov r8, qword [rbp - 0x48]
jmp 0x14000e9ae
mov rsi, rdi
or rsi, 7
cmp rsi, r13
jbe 0x14000e95f
mov rsi, r13
jmp 0x14000e966
cmp rsi, rax
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rbp - 0x48]
call fcn.1400055b0
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rsi
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.140015680
mov r8, qword [rsp + 0x38]
xor eax, eax
mov word [r8 + rbx], ax
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x58]
lea rcx, [rbp - 0x48]
cmp rsi, 8
setae r9b
cmovae rcx, r8
cmp rdi, 0x12
jne 0x14000e9ea
mov rdx, qword [rbp - 0x68]
test rdi, rdi
je 0x14000e9e6
nop dword [rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x14000e9ea
add rcx, 2
add rdx, 2
sub rdi, 1
jne 0x14000e9d0
mov bl, 1
jmp 0x14000e9ec
xor bl, bl
test r9b, r9b
je 0x14000ea30
lea rdx, [rsi*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14000ea1e
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000eb39
mov rcx, r8
call fcn.140013dc0
mov r14, qword [rsp + 0x68]
mov r15, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
test bl, bl
je 0x14000eb73
mov rax, qword [rsp + 0x40]
mov qword [rax], 0xffffffff80000001
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
cmp r14, 0x12
jb 0x14000ee6d
lea rax, [r14 - 0x12]
cmp rax, 0xffffffffffffffff
cmovb r12, rax
lea rsi, [rsp + 0x58]
cmp rdi, 8
cmovae rsi, r15
cmp r12, r13
ja 0x14000ee67
cmp r12, 8
jae 0x14000eaad
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], 7
lea rbx, [r12 + r12]
mov r8, rbx
lea rdx, [rsi + 0x24]
lea rcx, [rsp + 0x78]
call fcn.140015680
xor eax, eax
mov word [rsp + rbx + 0x78], ax
jmp 0x14000eb0a
mov rax, r12
or rax, 7
cmp rax, r13
ja 0x14000eac9
mov r13, rax
cmp rax, 0xa
mov eax, 0xa
cmovb r13, rax
lea rdx, [r13 + 1]
lea rcx, [rsp + 0x78]
call fcn.1400055b0
mov rdi, rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r13
lea rbx, [r12 + r12]
mov r8, rbx
lea rdx, [rsi + 0x24]
mov rcx, rax
call fcn.140015680
xor eax, eax
mov word [rdi + rbx], ax
mov rdi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x58]
cmp rdi, 8
jb 0x14000eb48
lea rdx, [rdi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000eb40
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000eb40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140013dc0
movups xmm2, xmmword [rsp + 0x78]
movups xmmword [rsp + 0x58], xmm2
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdi, xmm0
movq r14, xmm1
movq r15, xmm2
lea r9, [rsp + 0x58]
cmp rdi, 8
cmovae r9, r15
cmp r14, 0xf
ja 0x14000eba7
mov qword [rbp - 0x18], r14
lea r8, [r14 + r14]
mov rdx, r9
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call fcn.140015680
xor eax, eax
mov word [rbx + r14*2], ax
jmp 0x14000ebb4
mov rdx, r14
lea rcx, [rbp - 0x28]
call fcn.140005e20
nop
mov edx, 0x30
mov rcx, qword [rbp - 0x68]
call fcn.140013dc0
xor r14d, r14d
mov rbx, qword [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], 7
mov edx, 0x20
lea rcx, [rbp - 0x68]
call fcn.1400055b0
mov rcx, rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], 0x19
mov qword [rbp - 0x50], 0x1f
movups xmm0, xmmword [str.SetupInstalledVersions_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14001db98]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x14001dba8]
movups xmmword [rax + 0x20], xmm0
movzx eax, word [0x14001dbb8]
mov word [rcx + 0x30], ax
mov word [rcx + 0x32], r14w
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae r8, qword [rbp - 0x28]
mov r9, qword [rbp - 0x18]
lea rcx, [rbp - 0x68]
call fcn.140008c90
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
movsxd rdx, dword [rsp + 0x20]
lea rax, [0x14001ca90]
mov rdx, qword [rax + rdx*8]
lea rcx, [rsp + 0x78]
call fcn.140005070
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
lea rdx, [rbp - 8]
mov rcx, qword [rsp + 0x50]
call fcn.140005190
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x14000ed08
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ed02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013dc0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14000ed4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ed47
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013dc0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r14w
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x14000eda1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ed9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ed9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013dc0
lea rax, str.InstallLocation
mov qword [rbx], rax
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14000edf0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000edeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000edeb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013dc0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r14w
mov rdx, qword [rbp - 0x10]
cmp rdx, 8
jb 0x14000ee47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ee42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ee42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013dc0
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.140013da0
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400014b0
nop
call fcn.1400058c0
int3