Function at 0x14000ceec
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 [0x1400409c0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
mov ecx, 0x7d0
call fcn.140016208
lea rsi, str.javaw.exe
mov rcx, rsi
mov r13, rax
call fcn.140016330
mov rbx, rdi
mov rcx, rdi
sub rbx, rax
call fcn.140016330
mov rdx, rsi
lea rcx, [rbx + rax]
call fcn.1400182d0
xor r15d, r15d
mov rcx, rsi
cmp eax, r15d
je 0x14000cf68
lea rcx, str.java.exe
call fcn.140016330
or ebx, 0xffffffff
mov rcx, rdi
sub ebx, eax
call fcn.140016330
mov rdx, rdi
add eax, ebx
mov rcx, r13
movsxd rbx, eax
mov r8, rbx
call fcn.1400166e0
mov rcx, r13
mov byte [rbx + r13], r15b
call fcn.140014228
mov rcx, r13
mov r14, rax
call fcn.14000cdb0
lea r12, [0x140036558]
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.140016208
mov rcx, r13
mov rsi, rax
call fcn.140016330
lea rcx, [rax + rbx + 1]
call fcn.140016208
mov rdx, r13
mov rcx, rax
mov rbx, rax
call fcn.140016900
lea rdx, [0x14003423c]
mov rcx, rbx
call fcn.140016860
mov r8d, edi
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, r15d
jbe 0x14000d026
mov rdx, rsi
mov rcx, rbx
call fcn.140016860
jmp 0x14000d029
mov byte [rsi], r15b
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp eax, r15d
je 0x14000d04d
lea rcx, str.Setting_PATH__d__S
mov r8, rbx
mov edx, ebp
call fcn.1400116b0
jmp 0x14000d065
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.1400116b0
mov ecx, 0x5dc6
call fcn.140016208
lea rdx, str.PATH_s
mov r8, rbx
mov rcx, rax
mov rbp, rax
call fcn.140017758
mov rcx, rbp
call fcn.14001a360
mov r8d, 0xc8
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x30]
mov rdi, r15
call fcn.140004540
lea rcx, [rsp + 0x20]
call fcn.140016330
cmp rax, r15
jbe 0x14000d0c2
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14000ccd8
mov rdi, rax
lea r12, str.server
cmp rdi, r15
jne 0x14000d156
mov rdx, qword [r12]
mov rcx, r13
call fcn.14000ccd8
add r12, 8
mov rdi, rax
lea rax, str.i4j_jres
cmp r12, rax
jl 0x14000d0c9
cmp rdi, r15
jne 0x14000d156
mov rcx, r14
call fcn.140014304
lea rcx, [0x140036558]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp eax, r15d
je 0x14000d124
lea rcx, str.Setting_PATH__S
mov rdx, rsi
call fcn.1400116b0
jmp 0x14000d13c
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.1400116b0
lea rdx, str.PATH_s
mov r8, rsi
mov rcx, rbp
call fcn.140017758
mov rcx, rbp
call fcn.14001a360
mov rcx, rbx
call fcn.1400166c0
mov rcx, rsi
call fcn.1400166c0
mov rcx, rbp
call fcn.1400166c0
mov rcx, r13
call fcn.1400166c0
mov rax, rdi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140016a50
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