Function at 0x140004d60
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._ZN3std3sys3pal7windows7to_u16s5inner17h061608515dc22956E.llvm.12857077654368372277
mov rax, qword [rsp + 0xa8]
cmp rax, rsi
jne 0x140004daf
lea rcx, [rsp + 0xb0]
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h169a66b91825197bE.llvm.12857077654368372277
mov qword [rdi], rsi
jmp 0x140004fe3
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 0x140004e40
jmp 0x140004e1f
jae 0x140004ef5
cmp r8, 0x201
jae 0x140004e40
mov esi, 0x200
lea rbp, [rsp + 0xa8]
mov r12, r8
jmp 0x140004e87
sub r8, r13
sub rdi, r13
cmp rdi, r8
jae 0x140004e67
lea rcx, [rsp + 0x30]
mov rdx, r13
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h14c7d7b0ae0947f0
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 0x140004eb1
call fcn.1400a21b8
test eax, eax
jne 0x140004f73
mov r8d, ebx
cmp r12, r8
jne 0x140004e10
call fcn.1400a21b8
cmp eax, 0x7a
jne 0x140004ffa
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
mov r14d, 0xffffffff
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140004e1f
jmp 0x140004e40
cmp rsi, r8
jb 0x140005014
lea rcx, [rsp + 0x88]
mov rdx, rbp
mov rsi, qword [rsp + 0x28]
call sym.std::sys_common::wtf8::Wtf8Buf::from_wide::h291f248259eaa4f4
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 0x140004f59
mov rcx, qword [rsp + 0x38]
add rdx, rdx
mov r8d, 2
call sym.__rust_dealloc
cmp qword [rsp + 0x60], rbx
je 0x140004fbb
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
jmp 0x140004fc8
call fcn.1400a21b8
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 0x140004fb1
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._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h169a66b91825197bE.llvm.12857077654368372277
test rsi, rsi
je 0x140004fe3
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, str.internal_error:_entered_unreachable_codeoverflow_when_adding_duration_to_instant_Users_elyzianfields_.rustup_toolchains_nightly_aarch64_apple_darwin_lib_rustlib_src_rust_library_std_src_time.rs
lea r8, str._Users_elyzianfields_.rustup_toolchains_nightly_aarch64_apple_darwin_lib_rustlib_src_rust_library_std_src_sys_pal_windows_mod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h467566c8418d2e96
jmp 0x140005029
lea rax, str._Users_elyzianfields_.rustup_toolchains_nightly_aarch64_apple_darwin_lib_rustlib_src_rust_library_std_src_sys_pal_windows_mod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hc473902aa46132a2
ud2