Function at 0x1400252f0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rdi, rcx
movabs rsi, 0x8000000000000000
lea rcx, [rsp + 0xa8]
call sym.std::sys::pal::windows::to_u16s::inner::h4c9a51427fa9952c
mov rax, qword [rsp + 0xa8]
cmp rax, rsi
jne 0x14002533f
lea rcx, [rsp + 0xb0]
call sym.core::ptr::drop_in_place_std::io::error::Error_::ha5de4730a10cc339
mov qword [rdi], rsi
jmp 0x140025573
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 2
mov qword [rsp + 0x40], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x58], rax
xor r15d, r15d
mov r14d, 0xffffffff
xor edi, edi
xor r13d, r13d
cmp r8, 0x201
jae 0x1400253d0
jmp 0x1400253af
jae 0x140025485
cmp r8, 0x201
jae 0x1400253d0
mov esi, 0x200
lea rbp, [rsp + 0xa8]
mov r12, r8
jmp 0x140025417
sub r8, r13
sub rdi, r13
cmp rdi, r8
jae 0x1400253f7
lea rcx, [rsp + 0x30]
mov rdx, r13
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h652bddeb65308e11
mov r15, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
cmp r15, r14
mov r13d, 0xffffffff
cmovb r13, r15
mov qword [rsp + 0x40], r13
mov rdi, r15
mov rsi, r13
mov rbp, qword [rsp + 0x58]
mov r12, r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
mov r8d, r12d
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
test eax, eax
jne 0x140025441
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140025503
mov r8d, ebx
cmp r12, r8
jne 0x1400253a0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14002558a
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
mov r14d, 0xffffffff
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x1400253af
jmp 0x1400253d0
cmp rsi, r8
jb 0x1400255a4
lea rcx, [rsp + 0x88]
mov rdx, rbp
mov rsi, qword [rsp + 0x28]
call sym.__std::ffi::os_str::OsString_as_std::os::windows::ffi::OsStringExt_::from_wide::hbf8b2f0179ef5cb6
mov rdi, qword [rsp + 0x50]
movabs rbx, 0x8000000000000000
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x1400254e9
mov rcx, qword [rsp + 0x38]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
cmp qword [rsp + 0x60], rbx
je 0x14002554b
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
jmp 0x140025558
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x68], rax
movabs rbx, 0x8000000000000000
mov qword [rsp + 0x60], rbx
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140025541
mov rcx, qword [rsp + 0x38]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x50]
mov qword [rdi], rbx
lea rcx, [rsp + 0x68]
call sym.core::ptr::drop_in_place_std::io::error::Error_::ha5de4730a10cc339
test rsi, rsi
je 0x140025573
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x48]
mov rdx, rsi
call sym.__rust_dealloc
mov rax, rdi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x141278d88]
lea r8, [0x14127d6a8]
mov edx, 0x28
call sym.core::panicking::panic::hef3431a3c19424e4
jmp 0x1400255b9
lea rax, [0x14127d690]
mov rcx, r8
mov rdx, rsi
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::h89faa5dda92f1452
ud2