Function at 0x1000ab80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10016b50
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], ecx
lea ecx, [ebp - 0x458]
push eax
call fcn.100144e0
add esp, 4
mov eax, dword [ebp - 0x458]
cmp eax, 0x80000000
jne 0x1000abec
lea ecx, [ebp - 0x458]
call fcn.100099f0
mov dword [edi], 0x80000000
jmp 0x1000add1
mov ecx, dword [ebp - 0x454]
mov edi, 0x200
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x38], ecx
cmp edi, 0x201
jae 0x1000ac50
jmp 0x1000ac3e
jbe 0x1000acd9
cmp edi, 0x201
jae 0x1000ac50
mov dword [ebp - 0x24], 0x200
lea ebx, [ebp - 0x458]
mov esi, edi
jmp 0x1000ac81
mov esi, dword [ebp - 0x48]
sub edi, esi
je 0x1000ac75
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x30]
mov edx, esi
push edi
call fcn.10048a70
add esp, 4
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x48], esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push esi
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x1000aca8
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x1000ad45
cmp edi, esi
jne 0x1000ac30
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000adfa
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x1000ac3e
jmp 0x1000ac50
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], 2
cmp edi, eax
ja 0x1000ae17
lea eax, [ebp - 0x58]
push edi
push ebx
push eax
call fcn.1000dcb0
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x54]
movq xmm0, qword [ebp - 0x50]
test eax, eax
je 0x1000ad25
add eax, eax
push 2
push eax
push dword [ebp - 0x2c]
movdqu xmmword [ebp - 0x48], xmm0
call fcn.100054e0
movdqu xmm0, xmmword [ebp - 0x48]
add esp, 0xc
mov edi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x1000ade7
movd esi, xmm0
cmp bl, 3
mov dword [edi], 0x80000000
je 0x1000ad74
jmp 0x1000adba
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1000ad64
add eax, eax
push 2
push eax
push dword [ebp - 0x2c]
call fcn.100054e0
add esp, 0xc
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp bl, 3
mov dword [edi], 0x80000000
jne 0x1000adba
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x20], eax
push eax
mov dword [ebp - 0x48], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx + 4]
test eax, eax
je 0x1000ada8
push dword [ecx + 8]
push eax
push dword [ebp - 0x20]
call fcn.100054e0
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x24]
call fcn.100054e0
add esp, 0xc
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x1000add1
add eax, eax
push 2
push eax
push dword [ebp - 0x38]
call fcn.100054e0
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x44c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [edi], esi
mov dword [edi + 4], ebx
movq qword [edi + 8], xmm0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x1000adc1
jmp 0x1000add1
mov dword [ebp - 0x10], 2
push 0x10054a2c
push 0x28
push str.internal_error:_entered_unreachable_code_rustc_ab5bda1aa70f707014e2e691e43bc37a8819252alibrary_alloc_src_vecmod.rsl1
call fcn.10049640
add esp, 0xc
jmp 0x1000ae26
push 0x10054a1c
push eax
push edi
call fcn.10049950
add esp, 0xc
ud2