Function at 0x1400e8730
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
movaps xmmword [rsp + 0x1a0], xmm6
movzx eax, byte [rdx + 0x18]
mov r8, qword [rdx + 0x10]
test al, al
jne 0x1400e8763
test r8, r8
jne 0x1400e8763
xor eax, eax
jmp 0x1400e8c94
mov qword [rsp + 0x150], rcx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x60], 0
test al, al
jne 0x1400e88ed
mov qword [rsp + 0x140], rdx
mov qword [rsp + 0x148], r8
call sub.KERNEL32.dll_GetEnvironmentStringsW
test rax, rax
je 0x1400e8d82
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rax
lea rbx, [rsp + 0x68]
lea r14, [rsp + 0xc0]
lea r15, [rsp + 0x30]
lea r13, [rsp + 0xf0]
nop dword [rax]
mov rcx, rbx
lea rdx, [rsp + 0xe8]
call sym.__std::sys::windows::os::EnvIterator_as_core::iter::traits::iterator::Iterator_::next::h6cca533eb025e39d
cmp byte [rsp + 0x80], 2
je 0x1400e88d0
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
movups xmm6, xmmword [rsp + 0x78]
mov rdi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x90]
mov rax, qword [rsp + 0x78]
add rax, r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rax
mov word [rsp + 0x40], 0
mov rcx, r14
mov rdx, r15
call sym._ZN98__LT_alloc..vec..Vec_LT_T_GT__u20_as_u20_alloc..vec..spec_from_iter..SpecFromIter_LT_T_C_I_GT__GT_9from_iter17hafc6e9faea
mov qword [rsp + 0x108], r12
mov qword [rsp + 0x110], rsi
movups xmmword [rsp + 0x118], xmm6
movups xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0xf0], xmm0
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x98]
movups xmm0, xmmword [rax]
lea rax, [rsp + 0x40]
movups xmmword [rax], xmm0
mov rcx, r14
lea rdx, [rsp + 0x50]
mov r8, r13
mov r9, r15
call sym.alloc::collections::btree::map::BTreeMap_K_V_A_::insert::hab2db07c7302a149
cmp byte [rsp + 0xd8], 2
je 0x1400e87d0
mov rdx, qword [rsp + 0xc8]
test rdx, rdx
je 0x1400e87d0
mov rcx, qword [rsp + 0xc0]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1400e87d0
mov rcx, qword [rsp + 0xe0]
call fcn.140165454
mov r8, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x140]
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
xor edx, edx
test rax, rax
cmove r8, rax
setne dl
mov qword [rsp + 0xf0], rdx
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rcx
mov qword [rsp + 0x110], rdx
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rcx
mov qword [rsp + 0x130], r8
lea rcx, [rsp + 0xf0]
call sym._ZN108__LT_alloc..collections..btree..map..Iter_LT_K_C_V_GT__u20_as_u20_core..iter..traits..iterator..Iterator_GT_4next17he115
mov rbp, rax
test rax, rax
je 0x1400e8c75
mov r13, rdx
cmp byte [rdx + 0x18], 2
jne 0x1400e8a10
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400e8950
mov rdi, qword [rsp + 0x58]
lea r9, [rsi + 0x168]
movzx r14d, word [rsi + 0x3d2]
imul r15, r14, 0x38
mov rbx, 0xffffffffffffffff
nop
test r15, r15
je 0x1400e89f0
lea r12, [r9 + 0x38]
mov rcx, qword [rbp]
mov edx, dword [rbp + 0x10]
mov r8, qword [r9]
mov r9d, dword [r9 + 0x10]
mov dword [rsp + 0x20], 1
call sub.KERNEL32.dll_CompareStringOrdinal
inc rbx
add r15, 0xffffffffffffffc8
mov r9, r12
cmp eax, 3
je 0x1400e89a0
cmp eax, 1
jne 0x1400e8a50
sub rdi, 1
jae 0x1400e89fd
jmp 0x1400e8950
mov rbx, r14
sub rdi, 1
jb 0x1400e8950
mov rsi, qword [rsi + rbx*8 + 0x3d8]
jmp 0x1400e8985
mov rdi, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x28]
test rsi, rsi
je 0x1400e8b13
js 0x1400e8d43
mov rax, qword [0x1401a3298]
movzx eax, byte [rax]
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
mov rbx, rax
test rax, rax
jne 0x1400e8b18
jmp 0x1400e8d31
cmp eax, 2
jne 0x1400e8cb6
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x68]
lea rdx, [rsp + 0x30]
call sym.alloc::collections::btree::map::entry::OccupiedEntry_K_V_A_::remove_kv::h607396f3edf7a8e5
cmp byte [rsp + 0x98], 2
je 0x1400e8950
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xa8]
movzx ebp, byte [rsp + 0xb8]
test rdx, rdx
je 0x1400e8ad1
mov rcx, qword [rsp + 0x80]
mov r8d, 1
call sym.__rust_dealloc
test r15, r15
je 0x1400e8aea
add r15, r15
mov r8d, 2
mov rcx, rbx
mov rdx, r15
call sym.__rust_dealloc
cmp bpl, 2
je 0x1400e8950
test rdi, rdi
je 0x1400e8950
mov r8d, 1
mov rcx, rsi
mov rdx, rdi
call sym.__rust_dealloc
jmp 0x1400e8950
mov ebx, 1
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call sym.memcpy
movzx r14d, byte [rbp + 0x30]
mov rdi, qword [rbp]
mov r15, qword [rbp + 0x10]
mov ebp, 2
test r15, r15
je 0x1400e8b80
mov rax, r15
shr rax, 0x3e
jne 0x1400e8d4d
mov r12, r15
add r12, r15
je 0x1400e8b80
mov rax, qword [0x1401a3298]
movzx eax, byte [rax]
mov edx, 2
mov rcx, r12
call sym.__rust_alloc
test rax, rax
je 0x1400e8d73
mov rbp, rax
jmp 0x1400e8b83
xor r12d, r12d
mov rcx, rbp
mov rdx, rdi
mov r8, r12
call sym.memcpy
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov byte [rsp + 0x98], r14b
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov rdi, qword [r13]
mov rsi, qword [r13 + 0x10]
test rsi, rsi
je 0x1400e8bf7
js 0x1400e8d69
mov rax, qword [0x1401a3298]
movzx eax, byte [rax]
mov edx, 1
mov rcx, rsi
call sym.__rust_alloc
mov rbx, rax
test rax, rax
jne 0x1400e8bfc
jmp 0x1400e8d57
mov ebx, 1
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call sym.memcpy
movzx eax, byte [r13 + 0x18]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x48], al
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x68]
lea r9, [rsp + 0x30]
call sym.alloc::collections::btree::map::BTreeMap_K_V_A_::insert::hab2db07c7302a149
cmp byte [rsp + 0xd8], 2
je 0x1400e8950
mov rdx, qword [rsp + 0xc8]
test rdx, rdx
je 0x1400e8950
mov rcx, qword [rsp + 0xc0]
mov r8d, 1
call sym.__rust_dealloc
jmp 0x1400e8950
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x150]
mov qword [rcx + 0x18], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rcx + 8], xmm0
mov eax, 1
mov qword [rcx], rax
mov rax, rcx
movaps xmm6, xmmword [rsp + 0x1a0]
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::h92c8fb225a0334bf]
mov qword [rsp + 0x38], rax
lea rax, [0x140189118]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rdx, str.library_std_src_syswindowsprocess.rs
lea rcx, [rsp + 0x68]
call sym.core::panicking::panic_fmt::hd016798b7a4db8ba
jmp 0x1400e8dfb
mov ecx, 1
mov rdx, rsi
call sym.alloc::alloc::handle_alloc_error::h8e8b408db101c68d
jmp 0x1400e8dfb
call sym.alloc::raw_vec::capacity_overflow::haa41492991ace0dc
jmp 0x1400e8dfb
call sym.alloc::raw_vec::capacity_overflow::haa41492991ace0dc
jmp 0x1400e8dfb
mov ecx, 1
mov rdx, rsi
call sym.alloc::alloc::handle_alloc_error::h8e8b408db101c68d
jmp 0x1400e8dfb
call sym.alloc::raw_vec::capacity_overflow::haa41492991ace0dc
jmp 0x1400e8dfb
mov ecx, 2
mov rdx, r12
call sym.alloc::alloc::handle_alloc_error::h8e8b408db101c68d
jmp 0x1400e8dfb
call sub.KERNEL32.dll_GetLastError
shl rax, 0x20
or rax, 2
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0xf0], rax
lea rax, [sym.__std::io::error::Error_as_core::fmt::Display_::fmt::h92c8fb225a0334bf]
mov qword [rsp + 0xf8], rax
lea rax, str.failure_getting_env_string_from_OS:
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x88], 0
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rdx, str.library_std_src_syswindowsos.rs
lea rcx, [rsp + 0x68]
call sym.core::panicking::panic_fmt::hd016798b7a4db8ba
ud2