Function at 0x140037b00
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_u16s5inner17h012bd72fba547a21E.llvm.11506732742244318735
mov rax, qword [rsp + 0xa8]
cmp rax, rsi
jne 0x140037b4f
lea rcx, [rsp + 0xb0]
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h14cde6b578e19753E.llvm.11506732742244318735
mov qword [rdi], rsi
jmp 0x140037d1a
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x58], 0
mov r8d, 0x200
mov eax, 2
mov qword [rsp + 0x30], rax
xor r15d, r15d
mov edi, 0xffffffff
xor r14d, r14d
xor esi, esi
cmp r8, 0x201
jae 0x140037be0
jmp 0x140037bbf
jae 0x140037c89
cmp r8, 0x201
jae 0x140037be0
mov r13d, 0x200
lea r12, [rsp + 0xa8]
mov rbp, r8
jmp 0x140037c26
sub r8, rsi
sub r14, rsi
cmp r14, r8
jae 0x140037c07
lea rcx, [rsp + 0x48]
mov rdx, rsi
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h51d69f985e1537f9
mov r15, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
cmp r15, rdi
mov esi, 0xffffffff
cmovb rsi, r15
mov qword [rsp + 0x58], rsi
mov r14, r15
mov r13, rsi
mov r12, qword [rsp + 0x30]
mov rbp, rsi
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 0x140037c50
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x140037d4e
mov r8d, ebx
cmp rbp, r8
jne 0x140037bb0
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x7a
jne 0x140037d82
add rbp, rbp
cmp rbp, rdi
cmovae rbp, rdi
mov r8, rbp
cmp r8, 0x201
jb 0x140037bbf
jmp 0x140037be0
cmp r13, r8
jb 0x140037d9c
lea rcx, [rsp + 0x88]
mov rdx, r12
call sym.std::sys_common::wtf8::Wtf8Buf::from_wide::h1951e04b76830527
movabs rsi, 0x8000000000000000
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
mov rdi, qword [rsp + 0x40]
test r15, r15
je 0x140037ce6
add r15, r15
mov r8d, 2
mov rcx, qword [rsp + 0x30]
mov rdx, r15
call sym.__rust_dealloc
cmp qword [rsp + 0x60], rsi
jne 0x140037d31
mov qword [rdi], rsi
lea rcx, [rsp + 0x68]
mov rsi, qword [rsp + 0x28]
call sym._ZN4core3ptr42drop_in_place_LT_std..io..error..Error_GT_17h14cde6b578e19753E.llvm.11506732742244318735
test rsi, rsi
je 0x140037d1a
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]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
mov rsi, qword [rsp + 0x28]
test rsi, rsi
jne 0x140037d04
jmp 0x140037d1a
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x68], rax
movabs rsi, 0x8000000000000000
mov qword [rsp + 0x60], rsi
mov rdi, qword [rsp + 0x40]
test r15, r15
jne 0x140037cd0
jmp 0x140037ce6
lea rcx, str.internal_error:_entered_unreachable_codeA_HandleOrNull_could_not_be_converted_to_a_handle_because_it_was_nullA_HandleOrInvalid_could_not_be_converted_to_a_handle_because_it_was_INVALID_HANDLE_VALUEBorrowedHandlehandle
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call sym.core::panicking::panic::hd174330580e7869e
jmp 0x140037db1
lea rax, str.library_std_src_syspalwindowsmod.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::h28c5568a35fadd59
ud2