Function at 0x14000e200
Capabilities:
Query environment variable

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x140024020]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
xor r14d, r14d
mov qword [r11 - 0x48], r14
mov qword [r11 - 0x38], r14
mov qword [r11 - 0x30], 7
mov word [r11 - 0x48], r14w
movzx eax, byte [str.d38cc827_e34f_4453_9df4_1e796e9f1d07]
cmp al, 0x65
jne 0x14000e298
mov qword [r11 - 0x38], r14
mov word [r11 - 0x48], r14w
xor r8d, r8d
xor edx, edx
lea rcx, str._DOTNET_TEST_DEFAULT_INSTALL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebp, eax
test eax, eax
jne 0x14000e2e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
je 0x14000e298
test eax, eax
jle 0x14000e282
movzx eax, ax
or eax, 0x80070000
mov r8d, eax
lea rdx, str._DOTNET_TEST_DEFAULT_INSTALL_PATH
lea rcx, str.Failed_to_read_environment_variable___s___HRESULT:_0x_X
call fcn.140006e60
mov dword [rsp + 0x24], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14000e2c3
cmp dword [rsp + 0x24], 0
lea rcx, str.ProgramFiles_x86_
jne 0x14000e2ca
lea rcx, str.ProgramFiles
mov rdx, rsi
call fcn.140007b60
test al, al
jne 0x14000e373
xor bl, bl
jmp 0x14000e41d
mov eax, 2
mul rbp
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.140013dcc
mov rdi, rax
mov r8d, ebp
mov rdx, rax
lea rcx, str._DOTNET_TEST_DEFAULT_INSTALL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14000e269
nop word [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14000e320
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140005160
mov rcx, rdi
call fcn.140013b00
lea rax, [rsp + 0x30]
cmp rsi, rax
je 0x14000e41b
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140005160
jmp 0x14000e41b
lea rdx, str.dotnet
mov rcx, rsi
call fcn.140007250
xor edx, edx
mov r8d, 0x800
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
jne 0x14000e3b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Could_not_load_kernel32.dll:__u
call fcn.140006b20
jmp 0x14000e41b
lea rdx, str.IsWow64Process2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000e41b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rax, rbx
call qword [0x14001a418]
test eax, eax
jne 0x14000e400
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Call_to_IsWow64Process2_failed:__u
call fcn.140006b20
jmp 0x14000e41b
mov eax, 0x8664
cmp word [rsp + 0x20], ax
je 0x14000e41b
lea rdx, [0x14001d960]
mov rcx, rsi
call fcn.140007250
mov bl, 1
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x14000e462
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e45d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e45d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140013b00
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140013ae0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret