Function at 0x51abc0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x43c
mov esi, ecx
lea ecx, [ebp - 0x448]
push dword [ebp + 8]
call dbg.inner
add esp, 4
mov eax, dword [ebp - 0x448]
test eax, eax
mov dword [ebp - 0x20], eax
je 0x51acec
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x24], esi
mov esi, 0x200
xor ebx, ebx
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], eax
cmp esi, 0x201
jae 0x51ac60
jmp 0x51ac41
mov ebx, dword [ebp - 0x14]
jbe 0x51ad00
cmp esi, 0x201
jae 0x51ac60
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x448]
mov dword [ebp - 0x2c], 0x200
mov ebx, esi
jmp 0x51ac91
mov eax, dword [ebp - 0x10]
sub esi, ebx
sub eax, ebx
cmp eax, esi
jae 0x51ac82
mov edx, ebx
lea ecx, [ebp - 0x38]
push esi
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
add esp, 4
mov eax, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
push 0
call sub.kernel32.dll_SetLastError
push ebx
push edi
push dword [ebp - 0x20]
call sub.kernel32.dll_GetEnvironmentVariableW
mov esi, eax
test eax, eax
jne 0x51acb5
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x51adde
cmp esi, ebx
jne 0x51ac30
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x51adf8
lea esi, [ebx + ebx]
test ebx, ebx
mov ebx, dword [ebp - 0x14]
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x51ac41
jmp 0x51ac60
lea ecx, [ebp - 0x448]
call dbg.drop_in_place<core::result::Result<alloc::vec::Vec<u16, alloc::alloc::Global>, std::io::error::Error>>
mov byte [esi + 0xc], 2
jmp 0x51add3
mov edx, dword [ebp - 0x2c]
cmp esi, edx
ja 0x51ae11
mov edx, edi
lea ecx, [ebp - 0x48]
push esi
call dbg.from_wide
add esp, 4
mov eax, dword [ebp - 0x40]
movzx edx, word [ebp - 0x3b]
movzx ecx, byte [ebp - 0x39]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
movzx ebx, byte [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov word [ebp - 0x1c], dx
mov byte [ebp - 0x1a], cl
cmp dword [ebp - 0x14], 0
je 0x51ad4e
push dword [ebp - 0x18]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
cmp bl, 2
jne 0x51ad9e
mov eax, dword [ebp - 0x24]
mov byte [eax + 0xc], 2
mov eax, esi
cmp al, 3
jne 0x51adbd
mov eax, edi
mov edi, dword [edi]
mov ebx, dword [eax + 4]
mov esi, eax
mov eax, dword [ebx]
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x51ad8e
cmp dword [ebx + 8], 9
jb 0x51ad80
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
push esi
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
jmp 0x51adbd
movzx eax, word [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov bh, byte [ebp - 0x1a]
mov edx, dword [ebp - 0x10]
mov word [ecx + 0xd], ax
mov byte [ecx + 0xf], bh
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edx
mov byte [ecx + 0xc], bl
cmp dword [ebp - 0x28], 0
je 0x51add3
push dword [ebp - 0x20]
push 0
push dword [0x5da100]
call sub.kernel32.dll_HeapFree
add esp, 0x43c
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
mov bl, 2
call sub.kernel32.dll_GetLastError
mov edi, eax
cmp dword [ebp - 0x14], 0
jne 0x51ad3e
jmp 0x51ad4e
mov edx, 0x28
mov ecx, str.internal_error:_entered_unreachable_codeC:UsersTEST.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rayon_core_1.11.0_srcjob.rs
push 0x5bc2ac
call dbg.panic
add esp, 4
jmp 0x51ae20
mov ecx, esi
push 0x5bc2bc
call dbg.slice_end_index_len_fail
add esp, 4
ud2