Function at 0x14001f610
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140099080]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov qword [rbp - 0x21], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], 0
mov qword [rbp + 0x3f], 0xf
mov byte [rbp + 0x27], 0
lea rcx, str.LLAMA_CACHE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14001f69b
lea rcx, str.LLAMA_CACHE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001f680
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.14000b560
jmp 0x14001f805
lea rcx, str.LOCALAPPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14001f6b0
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.14000b560
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.1400064f0
mov rbx, rax
mov qword [rbp - 0x21], rax
mov rdx, qword [rax + 0x18]
cmp rdx, 0xf
jbe 0x14001f6e7
mov rax, qword [rax]
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + rax - 1], 0x5c
je 0x14001f726
cmp rcx, rdx
jae 0x14001f713
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14001f70b
mov rax, qword [rbx]
mov word [rax + rcx], 0x5c
jmp 0x14001f726
mov r9b, 0x5c
xor r8d, r8d
mov edx, 1
mov rcx, rbx
call fcn.140004c40
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 9], xmm0
movups xmm0, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x21], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14001f78a
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f781
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f781
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073530
movups xmm0, xmmword [rbp - 0x21]
movups xmm1, xmmword [rbp - 9]
movups xmmword [rbp + 0x27], xmm1
movups xmmword [rbp + 0x37], xmm0
movq rcx, xmm0
psrldq xmm0, 8
movq rdx, xmm0
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x14001f7e4
lea rax, [rcx + 9]
mov qword [rbp + 0x37], rax
lea rbx, [rbp + 0x27]
cmp rdx, 0xf
cmova rbx, qword [rbp + 0x27]
add rbx, rcx
mov r8d, 9
lea rdx, str.llama.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 9], 0
jmp 0x14001f805
mov qword [rsp + 0x20], 9
lea r9, str.llama.cpp
xor r8d, r8d
mov edx, 9
lea rcx, [rbp + 0x27]
call fcn.140004db0
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.1400064f0
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.14001c6a0
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x14001f860
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f85b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f85b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073530
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400736b0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret