Function at 0x14003abe0
Capabilities:
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
call fcn.140007560
mov rdx, rax
add rdx, 0x170
lea rcx, [rsp + 0x48]
call fcn.140001bf0
nop
call fcn.140007560
call fcn.140075dc0
test eax, eax
je 0x14003ac44
lea rdx, str.NETDLL64
lea rcx, [rsp + 0x48]
call fcn.140002d50
jmp 0x14003ac55
lea rdx, str.NETDLL86
lea rcx, [rsp + 0x48]
call fcn.140002d50
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x40], 0
lea r8, [rsp + 0x48]
lea rdx, [0x140115a84]
lea rcx, [rsp + 0x68]
call fcn.140007650
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x48]
call fcn.140001970
nop
lea rcx, [rsp + 0x68]
call fcn.140003a70
xor r8d, r8d
xor edx, edx
lea rcx, [0x140116e44]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14003ad0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x38]
lea rdx, [0x140116e50]
lea rcx, str._s___return___d___1__LastError_u_GetEnvironmentVariable_returned_zero_n
call fcn.140062f80
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x70], eax
lea rcx, [rsp + 0x48]
call fcn.140003a70
mov eax, dword [rsp + 0x70]
jmp 0x14003af83
lea rcx, [rsp + 0x48]
call fcn.140003bb0
mov r11d, eax
mov eax, dword [rsp + 0x30]
lea eax, [rax + r11 + 1]
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 0x40]
call fcn.140096bcc
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14003ad91
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x5c], eax
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x38]
lea rdx, [0x140116eb8]
lea rcx, str._s___return___d___2__LastError_u_new_fail._n
call fcn.140062f80
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x48]
call fcn.140003a70
mov eax, dword [rsp + 0x80]
jmp 0x14003af83
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140116f08]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x14003ae15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
mov r9d, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x38]
lea rdx, [0x140116f10]
lea rcx, str._s___return___d___3__LastError_u_GetEnvironmentVariable_returned_zero._n
call fcn.140062f80
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0x88]
call fcn.140096bc4
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x90], eax
lea rcx, [rsp + 0x48]
call fcn.140003a70
mov eax, dword [rsp + 0x90]
jmp 0x14003af83
lea rcx, [rsp + 0x48]
call fcn.1400018a0
mov edx, dword [rsp + 0x40]
mov r8, rax
mov rcx, qword [rsp + 0x28]
call fcn.1400c8194
mov dword [rsp + 0x34], 0
mov rdx, qword [rsp + 0x28]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 0
jne 0x14003aeb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x64], eax
mov r9d, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x38]
lea rdx, [0x140116f88]
lea rcx, str._s___return___d___4__LastError_u_SetEnvironmentVariable_returned_zero._n
call fcn.140062f80
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.140096bc4
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xa0], eax
lea rcx, [rsp + 0x48]
call fcn.140003a70
mov eax, dword [rsp + 0xa0]
jmp 0x14003af83
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140096bc4
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.140007560
call fcn.140075dc0
test eax, eax
je 0x14003aeff
lea rax, str.PMCAPI64.DLL
mov qword [rsp + 0x20], rax
jmp 0x14003af0b
lea rax, str.PMCAPI.DLL
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14003af2d
mov dword [rsp + 0x38], 0
jmp 0x14003af40
mov dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x38]
lea rdx, str.CRP_SETUPApp::kCheckPMmodule
lea rcx, str._s___return___d___5__LastError_u_n
call fcn.140062f80
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0xb0], eax
lea rcx, [rsp + 0x48]
call fcn.140003a70
mov eax, dword [rsp + 0xb0]
add rsp, 0xd8
ret