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

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140074990]
call fcn.140008e10
mov rsi, rax
test rax, rax
je 0x1400265f1
mov qword [rsp + 0x38], rdi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x40], r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r14d, eax
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x140026434
mov qword [rsp + 0x30], rbp
mov rcx, rdi
nop word [rax + rax]
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x140026310
add rcx, r14
lea rcx, [rcx*2 + 4]
call fcn.140038534
mov rbp, rax
test rax, rax
je 0x14002642f
mov r8d, r14d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140026427
lea rcx, [rbp - 2]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140026351
mov eax, dword [0x140074998]
mov dword [rcx], eax
lea rcx, [rbp - 2]
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140026370
xor edx, edx
nop dword [rax]
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140026380
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rdi
cmp word [rbx + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400263a0
lea rcx, [rcx*2 + 0x14]
call fcn.140038534
mov r14, rax
test rax, rax
je 0x140026427
mov rdx, rax
sub rdx, rbx
nop word [rax + rax]
movzx ecx, word [rbx]
mov word [rdx + rbx], cx
lea rbx, [rbx + 2]
test cx, cx
jne 0x1400263d0
lea rdx, [0x1400749a0]
mov rcx, r14
call fcn.1400092c0
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov ecx, eax
mov ebx, eax
or ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, ebx
mov qword [0x140054058], rax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rcx, r14
call fcn.140038520
mov rcx, rbp
call fcn.140038520
mov rbp, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
nop dword [rax]
cmp word [rsi + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x140026440
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, rsi
call fcn.1400376d0
mov rcx, rsi
call fcn.140038520
mov rcx, qword [0x140054058]
mov rdi, qword [rsp + 0x38]
test rcx, rcx
je 0x1400265a8
lea rdx, [0x1400749b0]
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x1400749c0]
mov qword [0x140054048], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x1400749d0]
mov qword [0x140054050], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x1400749e8]
mov qword [0x140065ed8], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x1400749f8]
mov qword [0x140065ec8], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x140074a08]
mov qword [0x140065ed0], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x140074a20]
mov qword [0x140065ec0], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x140074a30]
mov qword [0x140065ee0], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x140074a48]
mov qword [0x140065eb0], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x140074a58]
mov qword [0x140065ea8], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x140074a70]
mov qword [0x140065eb8], rax
call fcn.140007670
mov rcx, qword [0x140054058]
lea rdx, [0x140074a88]
mov qword [0x140065ea0], rax
call fcn.140007670
mov qword [0x140065e98], rax
cmp qword [0x140054048], 0
je 0x1400265f1
cmp qword [0x140054050], 0
je 0x1400265f1
cmp qword [0x140065ed8], 0
je 0x1400265f1
cmp qword [0x140065ec8], 0
je 0x1400265f1
cmp qword [0x140065ed0], 0
je 0x1400265f1
cmp qword [0x140065ec0], 0
je 0x1400265f1
mov al, 1
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
ret
mov rbx, qword [rsp + 0x48]
xor al, al
add rsp, 0x20
pop rsi
ret