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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1ffd0]
mov eax, 0x200d0
call fcn.140077220
sub rsp, rax
mov rax, qword [0x1400d3400]
xor rax, rsp
mov qword [rbp + 0x1ffc0], rax
mov rbx, rcx
xor r14d, r14d
cmp qword [0x1400d9ca0], r14
jne 0x14004406f
mov r8d, 0xffff
lea rdx, [rbp - 0x40]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x140043d45
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.140014a20
nop
mov rsi, qword [rbx]
mov r13, qword [rbx + 8]
cmp rsi, r13
je 0x140043fff
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140043da5
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 7
cmova rax, qword [rsp + 0x38]
mov dword [rax + rcx*2], 0x3b
jmp 0x140043dc7
mov qword [rsp + 0x20], 1
lea r9, [0x1400abc34]
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140003750
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x140043dd4
mov rdx, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x58]
call fcn.140014a20
nop
lea rdi, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdi, qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
lea rbx, [rdi + rax*2]
mov rdx, rbx
mov rcx, rdi
call fcn.14000cfa0
cmp rax, rbx
je 0x140043e7d
nop
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140043e2f
cmp cx, 0x2f
jne 0x140043e38
add rax, 2
cmp rax, rbx
jne 0x140043e20
cmp rax, rbx
je 0x140043e7d
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140043e5d
cmp cx, 0x2f
je 0x140043e5d
mov rbx, rdx
cmp rax, rdx
jne 0x140043e40
jmp 0x140043e7d
cmp rax, rbx
je 0x140043e7d
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140043e75
cmp cx, 0x2f
jne 0x140043e7d
mov rbx, rdx
cmp rax, rdx
jne 0x140043e62
sub rbx, rdi
sar rbx, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.140014a20
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x68]
call fcn.14000a2d0
nop
lea r9, [rbp - 0x68]
mov rdi, qword [rbp - 0x68]
mov r15, qword [rbp - 0x50]
cmp r15, 7
cmova r9, rdi
mov r12, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, r12
mov r14, qword [rbp - 0x58]
cmp r14, rax
ja 0x140043f16
lea rax, [r12 + r14]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rcx, 7
cmova rbx, qword [rsp + 0x38]
lea rcx, [rbx + r12*2]
lea r8, [r14 + r14]
mov rdx, r9
call fcn.1400a09e0
lea rax, [r14 + r12]
xor r14d, r14d
mov word [rbx + rax*2], r14w
jmp 0x140043f36
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140003750
mov r15, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x68]
xor r14d, r14d
cmp r15, 7
jbe 0x140043f72
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140043f69
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400440a5
mov rcx, rdi
call fcn.140076d98
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140043fb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043fae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400440ab
call fcn.140076d98
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140043ff6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140043ff1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400440b1
call fcn.140076d98
add rsi, 0x20
jmp 0x140043d65
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rdx, qword [rsp + 0x38]
lea rcx, str.PATH
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rcx, [0x1400abc38]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x1400d9ca0], rax
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14004406f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004406a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004409f
call fcn.140076d98
mov rcx, qword [rbp + 0x1ffc0]
xor rcx, rsp
call fcn.140076eb0
lea r11, [rsp + 0x200d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14007d5c8
nop
call fcn.14007d5c8
nop
call fcn.14007d5c8
nop
call fcn.14007d5c8
int3