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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x140049e00]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
mov ecx, 0x7d0
call fcn.140019b3c
lea rsi, str.javaw.exe
mov rcx, rsi
mov r13, rax
call fcn.14001a6c0
mov rbx, rdi
mov rcx, rdi
sub rbx, rax
call fcn.14001a6c0
mov rdx, rsi
lea rcx, [rbx + rax]
call fcn.14001c700
xor r15d, r15d
mov rcx, rsi
cmp eax, r15d
je 0x14000cc68
lea rcx, str.java.exe
call fcn.14001a6c0
or ebx, 0xffffffff
mov rcx, rdi
sub ebx, eax
call fcn.14001a6c0
mov rdx, rdi
add eax, ebx
mov rcx, r13
movsxd rbx, eax
mov r8, rbx
call fcn.14001ab10
mov rcx, r13
mov byte [rbx + r13], r15b
call fcn.1400169c4
mov rcx, r13
mov r14, rax
call fcn.14000cab0
lea r12, [0x14003c638]
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebp, eax
cmp eax, r15d
cmovl ebp, r15d
lea edi, [rbp + 0x1770]
movsxd rbx, edi
mov rcx, rbx
call fcn.140019b3c
mov rcx, r13
mov rsi, rax
call fcn.14001a6c0
lea rcx, [rax + rbx + 1]
call fcn.140019b3c
mov rdx, r13
mov rcx, rax
mov rbx, rax
call fcn.14001ad30
lea rdx, [0x14003a2fc]
mov rcx, rbx
call fcn.14001ac90
mov r8d, edi
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, r15d
jbe 0x14000cd26
mov rdx, rsi
mov rcx, rbx
call fcn.14001ac90
jmp 0x14000cd29
mov byte [rsi], r15b
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp eax, r15d
je 0x14000cd4d
lea rcx, str.Setting_PATH__d__S
mov r8, rbx
mov edx, ebp
call fcn.140013de8
jmp 0x14000cd65
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Setting_PATH__S_failed_with_error__d
mov rdx, rbx
mov r8d, eax
call fcn.140013de8
mov ecx, 0x5dc6
call fcn.140019b3c
lea rdx, str.PATH_s
mov r8, rbx
mov rcx, rax
mov rbp, rax
call fcn.14001bb88
mov rcx, rbp
call fcn.14001e71c
mov r8d, 0xc8
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x30]
mov rdi, r15
call fcn.140004548
lea rcx, [rsp + 0x20]
call fcn.14001a6c0
cmp rax, r15
jbe 0x14000cdc2
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14000c9d8
mov rdi, rax
lea r12, str.server
cmp rdi, r15
jne 0x14000ce56
mov rdx, qword [r12]
mov rcx, r13
call fcn.14000c9d8
add r12, 8
mov rdi, rax
lea rax, str.i4j_jres
cmp r12, rax
jl 0x14000cdc9
cmp rdi, r15
jne 0x14000ce56
mov rcx, r14
call fcn.140016aa0
lea rcx, [0x14003c638]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp eax, r15d
je 0x14000ce24
lea rcx, str.Setting_PATH__S
mov rdx, rsi
call fcn.140013de8
jmp 0x14000ce3c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.Setting_PATH__S_failed_with_error__d
mov rdx, rsi
mov r8d, eax
call fcn.140013de8
lea rdx, str.PATH_s
mov r8, rsi
mov rcx, rbp
call fcn.14001bb88
mov rcx, rbp
call fcn.14001e71c
mov rcx, rbx
call fcn.14001aaec
mov rcx, rsi
call fcn.14001aaec
mov rcx, rbp
call fcn.14001aaec
mov rcx, r13
call fcn.14001aaec
mov rax, rdi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14001ae80
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret