Function at 0x14001f0d0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x478
mov r14, rcx
movabs r15, 0x8000000000000000
lea rcx, [rsp + 0x78]
mov r8d, 0xe
call fcn.14001d130
mov rax, qword [rsp + 0x78]
cmp rax, r15
jne 0x14001f175
mov rax, qword [rsp + 0x80]
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x14001f16d
test rcx, rcx
je 0x14001f16d
lea rdi, [rax - 1]
mov rbx, qword [rax - 1]
mov rsi, qword [rax + 7]
mov rcx, rbx
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x14001f15b
cmp qword [rsi + 0x10], 0x11
jb 0x14001f149
mov rbx, qword [rbx - 8]
mov rcx, qword [0x14005db60]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14005db60]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [r14], r15
jmp 0x14001f3f7
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r14
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 2
mov qword [rsp + 0x30], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov esi, 0xffffffff
xor edi, edi
xor r15d, r15d
cmp r8, 0x201
jae 0x14001f1f0
jmp 0x14001f1df
jae 0x14001f2a8
cmp r8, 0x201
jae 0x14001f1f0
mov r12d, 0x200
lea r13, [rsp + 0x78]
mov rbp, r8
jmp 0x14001f21f
sub r8, r15
sub rdi, r15
cmp rdi, r8
jb 0x14001f287
cmp rbx, rsi
mov r15d, 0xffffffff
cmovb r15, rbx
mov qword [rsp + 0x30], r15
mov rdi, rbx
mov r12, r15
mov r13, qword [rsp + 0x48]
mov rbp, r15
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov rcx, qword [rsp + 0x50]
mov rdx, r13
mov r8d, ebp
call qword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov r14d, eax
test eax, eax
jne 0x14001f24d
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14001f366
mov r8d, r14d
cmp rbp, r8
jne 0x14001f1d0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001f40c
add rbp, rbp
cmp rbp, rsi
cmovae rbp, rsi
mov r8, rbp
cmp r8, 0x201
jb 0x14001f1df
jmp 0x14001f1f0
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.140036ae0
mov rbx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x14001f1ff
cmp r12, r8
jb 0x14001f424
lea rcx, [rsp + 0x58]
mov rdx, r13
call fcn.14001a780
cmp qword [rsp + 0x20], 0
mov rsi, qword [rsp + 0x40]
movabs rdi, 0x8000000000000000
je 0x14001f2e9
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x14005db60]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov r15, qword [rsp + 0x38]
cmp qword [rsp + 0x58], rdi
jne 0x14001f3b9
mov qword [rsi], rdi
mov rax, qword [rsp + 0x60]
mov ecx, eax
and ecx, 3
lea rdx, [rcx - 2]
cmp rdx, 2
jb 0x14001f3ca
test rcx, rcx
je 0x14001f3ca
lea r14, [rax - 1]
mov rbx, qword [rax - 1]
mov rsi, qword [rax + 7]
mov rcx, rbx
call qword [rsi]
cmp qword [rsi + 8], 0
je 0x14001f352
cmp qword [rsi + 0x10], 0x11
jb 0x14001f340
mov rbx, qword [rbx - 8]
mov rcx, qword [0x14005db60]
xor edx, edx
mov r8, rbx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rcx, qword [0x14005db60]
xor edx, edx
mov r8, r14
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x14001f3ca
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x60], rax
movabs rdi, 0x8000000000000000
mov qword [rsp + 0x58], rdi
cmp qword [rsp + 0x20], 0
je 0x14001f3a4
mov r8, qword [rsp + 0x28]
mov rcx, qword [0x14005db60]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x38]
cmp qword [rsp + 0x58], rdi
je 0x14001f2f9
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test r15, r15
je 0x14001f3f7
mov rcx, qword [0x14005db60]
xor edx, edx
mov r8, qword [rsp + 0x50]
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.kernel32.dll_HeapFree]
nop
add rsp, 0x478
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.internal_error:_entered_unreachable_codex
lea r8, str.C:Userslucak.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140036440
lea rax, str.C:Userslucak.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrary_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r12
mov r8, rax
call fcn.140036730
int3