Function at 0x7ff6fb67bac0
Capabilities:
Query environment variable

Disassembly:
push rbp
push rbx
push rsi
push r12
push r15
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x7ff6fb7d0080]
xor rax, rsp
mov qword [rbp + 0x350], rax
mov r12, r9
mov qword [rsp + 0x20], rdx
lea r9, str._5_4
mov rbx, r8
lea rdx, str._s_s
mov rsi, rcx
call fcn.7ff6fb662640
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_getenv_1]
mov r15, rax
test rax, rax
jne 0x7ff6fb67bb31
mov rcx, rbx
call qword [sym.imp.ucrtbase.dll_getenv_1]
mov r15, rax
test rax, rax
jne 0x7ff6fb67bb31
lea rbx, [rsi + 0x10]
jmp 0x7ff6fb67bb6b
mov rdx, qword [rsi + 0x18]
lea r8, str.LUA_NOENV
add rdx, 0x40
mov rcx, rsi
call fcn.7ff6fb6627a0
mov rax, qword [rsi + 0x10]
lea rbx, [rsi + 0x10]
movzx ecx, byte [rax - 8]
cmp cl, 1
je 0x7ff6fb67bbb3
test cl, 0xf
je 0x7ff6fb67bbb3
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.7ff6fb662010
test r12, r12
jne 0x7ff6fb67bb79
mov rax, qword [rbx]
mov byte [rax + 8], r12b
jmp 0x7ff6fb67bb93
mov rdx, r12
mov rcx, rsi
call fcn.7ff6fb6870b0
mov rcx, qword [rbx]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rsi + 0x18]
add qword [rbx], 0x10
cmp qword [rax + 0x18], 0
jle 0x7ff6fb67bdce
mov rcx, rsi
call fcn.7ff6fb675300
jmp 0x7ff6fb67bdce
mov edx, 0xfffffffe
mov qword [rsp + 0x470], r13
mov rcx, rsi
call fcn.7ff6fb662010
lea rdx, [0x7ff6fb7a37fc]
mov rcx, r15
call qword [sym.imp.VCRUNTIME140.dll_strstr]
mov r13, rax
test rax, rax
jne 0x7ff6fb67bc28
test r15, r15
jne 0x7ff6fb67bbee
mov rax, qword [rbx]
mov byte [rax + 8], r15b
jmp 0x7ff6fb67bc08
mov rdx, r15
mov rcx, rsi
call fcn.7ff6fb6870b0
mov rcx, qword [rbx]
mov qword [rcx], rax
movzx eax, byte [rax + 8]
or al, 0x40
mov byte [rcx + 8], al
mov rax, qword [rsi + 0x18]
add qword [rbx], 0x10
cmp qword [rax + 0x18], 0
jle 0x7ff6fb67bdc6
mov rcx, rsi
call fcn.7ff6fb675300
jmp 0x7ff6fb67bdc6
mov qword [rsp + 0x478], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x468], r14
nop
inc rdi
cmp byte [r15 + rdi], 0
jne 0x7ff6fb67bc40
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rbx]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0x400
mov qword [rax], rcx
mov byte [rax + 8], 2
add qword [rbx], 0x10
cmp r15, r13
jae 0x7ff6fb67bcf7
mov r14, r13
sub r14, r15
je 0x7ff6fb67bcbb
mov r8d, 0xffffffff
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.7ff6fb664b10
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.7ff6fb785c8e
mov rcx, qword [rsp + 0x40]
add rcx, r14
mov qword [rsp + 0x40], rcx
jmp 0x7ff6fb67bcc0
mov rcx, qword [rsp + 0x40]
cmp rcx, qword [rsp + 0x38]
jb 0x7ff6fb67bcdf
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 2]
call fcn.7ff6fb664b10
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov byte [rax + rcx], 0x3b
mov rcx, qword [rsp + 0x40]
inc rcx
mov qword [rsp + 0x40], rcx
jmp 0x7ff6fb67bcfc
mov rcx, qword [rsp + 0x40]
mov r14, 0xffffffffffffffff
inc r14
cmp byte [r12 + r14], 0
jne 0x7ff6fb67bd03
test r14, r14
je 0x7ff6fb67bd40
mov r8d, 0xffffffff
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.7ff6fb664b10
mov r8, r14
mov rdx, r12
mov rcx, rax
call fcn.7ff6fb785c8e
mov rcx, qword [rsp + 0x40]
add rcx, r14
mov qword [rsp + 0x40], rcx
mov r14, qword [rsp + 0x468]
lea rax, [r15 - 2]
add rax, rdi
cmp r13, rax
jae 0x7ff6fb67bdb4
cmp rcx, qword [rsp + 0x38]
jb 0x7ff6fb67bd73
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx - 2]
call fcn.7ff6fb664b10
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
sub rdi, r13
add rdi, 0xfffffffffffffffe
mov byte [rax + rcx], 0x3b
inc qword [rsp + 0x40]
add rdi, r15
je 0x7ff6fb67bdb4
mov r8d, 0xffffffff
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.7ff6fb664b10
lea rdx, [r13 + 2]
mov r8, rdi
mov rcx, rax
call fcn.7ff6fb785c8e
add qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x30]
call fcn.7ff6fb664d20
mov rdi, qword [rsp + 0x478]
mov r13, qword [rsp + 0x470]
mov rcx, rsi
call fcn.7ff6fb67b870
mov rdx, qword [rbx]
mov rcx, rsi
mov r8, qword [rsp + 0x20]
sub rdx, 0x30
call fcn.7ff6fb662a20
mov edx, 0xfffffffe
mov rcx, rsi
call fcn.7ff6fb662010
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.7ff6fb784990
add rsp, 0x480
pop r15
pop r12
pop rsi
pop rbx
pop rbp
ret