Function at 0x100c64e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x438
mov esi, ecx
lea ecx, [ebp - 0x444]
push dword [ebp + 8]
call dbg.inner
add esp, 4
mov eax, dword [ebp - 0x444]
cmp eax, 0x80000000
jne 0x100c6522
lea ecx, [ebp - 0x444]
call dbg.drop_in_place<core::result::Result<alloc::vec::Vec<u16, alloc::alloc::Global>, std::io::error::Error>>
mov dword [esi], 0x80000000
jmp 0x100c66b8
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x20], esi
mov esi, 0x200
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], ecx
cmp esi, 0x201
jae 0x100c6590
jmp 0x100c657e
jbe 0x100c6618
cmp esi, 0x201
jae 0x100c6590
mov dword [ebp - 0x28], 0x200
lea edi, [ebp - 0x444]
mov ebx, esi
jmp 0x100c65c4
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
sub esi, ebx
sub eax, ebx
cmp eax, esi
jae 0x100c65b5
mov edx, ebx
lea ecx, [ebp - 0x34]
push esi
call dbg.do_reserve_and_handle<core::mem::maybe_uninit::MaybeUninit<u16>, alloc::alloc::Global>
add esp, 4
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], ebx
push 0
call sub.kernel32.dll_SetLastError
push ebx
push edi
push dword [ebp - 0x1c]
call sub.kernel32.dll_GetEnvironmentVariableW
mov esi, eax
test eax, eax
jne 0x100c65e8
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x100c66c3
cmp esi, ebx
jne 0x100c6570
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x100c66e0
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x100c657e
jmp 0x100c6590
mov edx, dword [ebp - 0x28]
cmp esi, edx
ja 0x100c66f9
mov edx, edi
lea ecx, [ebp - 0x44]
push esi
call dbg.from_wide
add esp, 4
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], 0
je 0x100c6653
mov ecx, dword [ebp - 0x18]
mov edx, 2
call sym.___rust_dealloc
cmp edi, 0x80000000
jne 0x100c6694
mov eax, dword [ebp - 0x20]
cmp bl, 3
mov dword [eax], 0x80000000
jne 0x100c66a5
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov eax, dword [edi]
push ebx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x100c6686
mov edx, dword [edi + 8]
mov ecx, ebx
call sym.___rust_dealloc
mov ecx, esi
mov edx, 4
call sym.___rust_dealloc
jmp 0x100c66a5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
cmp dword [ebp - 0x24], 0
je 0x100c66b8
mov ecx, dword [ebp - 0x1c]
mov edx, 2
call sym.___rust_dealloc
add esp, 0x438
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
mov edi, 0x80000000
call sub.kernel32.dll_GetLastError
mov esi, eax
cmp dword [ebp - 0x14], 0
jne 0x100c6646
jmp 0x100c6653
mov edx, 0x28
mov ecx, 0x101c43f6
push 0x101c2e3c
call dbg.panic
add esp, 4
jmp 0x100c6708
mov ecx, esi
push 0x101c2e2c
call dbg.slice_end_index_len_fail
add esp, 4
ud2