Function at 0x14010e0f0
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
lea rcx, [rsp + 0xa8]
call sym._ZN3std3sys7windows7to_u16s5inner17h2c0eb6cb6cd7c0ceE.llvm.7997682821320084952
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14010e259
mov qword [rsp + 0x40], rdi
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor r15d, r15d
mov esi, 0xffffffff
xor r14d, r14d
xor edi, edi
cmp r8, 0x201
jae 0x14010e1b0
jmp 0x14010e18f
jae 0x14010e26f
cmp r8, 0x201
jae 0x14010e1b0
mov r13d, 0x200
lea r12, [rsp + 0xa8]
mov rbp, r8
jmp 0x14010e1f6
sub r8, rdi
sub r14, rdi
cmp r14, r8
jae 0x14010e1d7
lea rcx, [rsp + 0x48]
mov rdx, rdi
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::ha90210d6e50acf13
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov r15, qword [rsp + 0x50]
cmp r15, rsi
mov edi, 0xffffffff
cmovb rdi, r15
mov qword [rsp + 0x58], rdi
mov r14, r15
mov r13, rdi
mov r12, qword [rsp + 0x30]
mov rbp, rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, qword [rsp + 0x38]
mov rdx, r12
mov r8d, ebp
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
test eax, eax
jne 0x14010e220
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x14010e330
mov r8d, ebx
cmp rbp, r8
jne 0x14010e180
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x14010e355
add rbp, rbp
cmp rbp, rsi
cmovae rbp, rsi
mov r8, rbp
cmp r8, 0x201
jb 0x14010e18f
jmp 0x14010e1b0
lea rcx, [rsp + 0xb0]
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h5e3c89d72f40d3dcE.llvm.7997682821320084952
mov byte [rdi + 0x18], 2
jmp 0x14010e2f7
cmp r13, r8
jb 0x14010e36f
lea rcx, [rsp + 0x88]
mov rdx, r12
call sym.std::sys_common::wtf8::Wtf8Buf::from_wide::hf911d984dc21f658
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
test r15, r15
je 0x14010e2bd
add r15, r15
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call sym.__rust_dealloc
cmp byte [rsp + 0x78], 2
jne 0x14010e30e
mov rdi, qword [rsp + 0x40]
mov byte [rdi + 0x18], 2
lea rcx, [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h5e3c89d72f40d3dcE.llvm.7997682821320084952
test rsi, rsi
je 0x14010e2f7
add rsi, rsi
mov r8d, 2
mov rcx, qword [rsp + 0x38]
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
movaps xmm0, xmmword [rsp + 0x60]
movaps xmm1, xmmword [rsp + 0x70]
mov rdi, qword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0x28]
test rsi, rsi
jne 0x14010e2e1
jmp 0x14010e2f7
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x78], 2
test r15, r15
jne 0x14010e2a7
jmp 0x14010e2bd
lea rcx, str.internal_error:_entered_unreachable_codeassertion_failed:_socket___sys::c::INVALID_SOCKET_as_RawSocketlibrary_std_srcoswindowsio_socket.rs
lea r8, str.library_std_src_syswindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::h297b186b0eb73132
jmp 0x14010e384
lea rax, str.library_std_src_syswindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r13
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hdc10f6a9df671f4a
ud2