Function at 0x14000cb5c
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 [0x14003f9c0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rdi, rcx
mov ecx, 0x7d0
call fcn.140015fd4
lea rsi, str.javaw.exe
mov rcx, rsi
mov r13, rax
call fcn.140016100
mov rbx, rdi
mov rcx, rdi
sub rbx, rax
call fcn.140016100
mov rdx, rsi
lea rcx, [rbx + rax]
call fcn.1400180a0
xor r15d, r15d
mov rcx, rsi
cmp eax, r15d
je 0x14000cbd8
lea rcx, str.java.exe
call fcn.140016100
or ebx, 0xffffffff
mov rcx, rdi
sub ebx, eax
call fcn.140016100
mov rdx, rdi
add eax, ebx
mov rcx, r13
movsxd rbx, eax
mov r8, rbx
call fcn.1400164b0
mov rcx, r13
mov byte [rbx + r13], r15b
call fcn.140014264
mov rcx, r13
mov r14, rax
call fcn.14000ca20
lea r12, [0x1400354e8]
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.140015fd4
mov rcx, r13
mov rsi, rax
call fcn.140016100
lea rcx, [rax + rbx + 1]
call fcn.140015fd4
mov rdx, r13
mov rcx, rax
mov rbx, rax
call fcn.1400166d0
lea rdx, [0x14003320c]
mov rcx, rbx
call fcn.140016630
mov r8d, edi
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
cmp eax, r15d
jbe 0x14000cc96
mov rdx, rsi
mov rcx, rbx
call fcn.140016630
jmp 0x14000cc99
mov byte [rsi], r15b
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp eax, r15d
je 0x14000ccbd
lea rcx, str.Setting_PATH__d__S
mov r8, rbx
mov edx, ebp
call fcn.1400116ec
jmp 0x14000ccd5
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.1400116ec
mov ecx, 0x5dc6
call fcn.140015fd4
lea rdx, str.PATH_s
mov r8, rbx
mov rcx, rax
mov rbp, rax
call fcn.140017528
mov rcx, rbp
call fcn.140019fb0
mov r8d, 0xc8
lea rdx, [rsp + 0x20]
lea ecx, [r8 - 0x30]
mov rdi, r15
call fcn.140004504
lea rcx, [rsp + 0x20]
call fcn.140016100
cmp rax, r15
jbe 0x14000cd32
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.14000c948
mov rdi, rax
lea r12, str.client
cmp rdi, r15
jne 0x14000cdc6
mov rdx, qword [r12]
mov rcx, r13
call fcn.14000c948
add r12, 8
mov rdi, rax
lea rax, str.i4j_jres
cmp r12, rax
jl 0x14000cd39
cmp rdi, r15
jne 0x14000cdc6
mov rcx, r14
call fcn.140014340
lea rcx, [0x1400354e8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp eax, r15d
je 0x14000cd94
lea rcx, str.Setting_PATH__S
mov rdx, rsi
call fcn.1400116ec
jmp 0x14000cdac
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.1400116ec
lea rdx, str.PATH_s
mov r8, rsi
mov rcx, rbp
call fcn.140017528
mov rcx, rbp
call fcn.140019fb0
mov rcx, rbx
call fcn.140016490
mov rcx, rsi
call fcn.140016490
mov rcx, rbp
call fcn.140016490
mov rcx, r13
call fcn.140016490
mov rax, rdi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140016820
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