Function at 0x428a10
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], 0x433ad0
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.00432020
add esp, 4
mov ecx, dword [ebp - 0x458]
mov eax, ecx
neg eax
jno 0x428ace
cmp byte [ebp - 0x454], 3
jne 0x428ac3
mov eax, dword [ebp - 0x450]
mov ecx, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
mov eax, dword [eax]
mov dword [ebp - 0x24], ecx
test eax, eax
je 0x428a9a
mov dword [ebp - 0x10], 0
push dword [ebp - 0x24]
call eax
mov edi, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 4]
test eax, eax
je 0x428ab4
push dword [edx + 8]
push eax
push ecx
call fcn.00421250
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x20]
call fcn.00421250
add esp, 0xc
mov dword [edi], 0x80000000
jmp 0x428cbc
mov eax, dword [ebp - 0x454]
mov edi, 0x200
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x28], 2
mov dword [ebp - 0x24], eax
cmp edi, 0x201
jae 0x428b30
jmp 0x428b1e
jbe 0x428bbd
cmp edi, 0x201
jae 0x428b30
mov dword [ebp - 0x20], 0x200
lea ebx, [ebp - 0x458]
mov esi, edi
jmp 0x428b65
mov esi, dword [ebp - 0x48]
sub edi, esi
je 0x428b59
mov dword [ebp - 0x10], 3
lea ecx, [ebp - 0x34]
mov edx, esi
push 2
push 2
push edi
call fcn.0047b3a0
add esp, 0xc
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x48], esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x428b8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x428c27
cmp edi, esi
jne 0x428b10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x428ce5
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x428b1e
jmp 0x428b30
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
cmp edi, eax
ja 0x428d02
lea eax, [ebp - 0x58]
push edi
push ebx
push eax
call fcn.0042adc0
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x54]
movq xmm0, qword [ebp - 0x50]
test eax, eax
je 0x428c09
add eax, eax
push 2
push eax
push dword [ebp - 0x30]
movdqu xmmword [ebp - 0x48], xmm0
call fcn.00421250
movdqu xmm0, xmmword [ebp - 0x48]
add esp, 0xc
mov edi, dword [ebp + 8]
mov eax, esi
neg eax
jno 0x428cd2
movd esi, xmm0
cmp bl, 3
mov dword [edi], 0x80000000
je 0x428c56
jmp 0x428ca5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x428c46
add eax, eax
push 2
push eax
push dword [ebp - 0x30]
call fcn.00421250
add esp, 0xc
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp bl, 3
mov dword [edi], 0x80000000
jne 0x428ca5
mov eax, dword [esi]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
test eax, eax
je 0x428c7c
mov dword [ebp - 0x10], 2
push dword [ebp - 0x48]
call eax
mov edi, dword [ebp + 8]
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 4]
test eax, eax
je 0x428c96
push dword [edx + 8]
push eax
push ecx
call fcn.00421250
add esp, 0xc
push 4
push 0xc
push dword [ebp - 0x28]
call fcn.00421250
add esp, 0xc
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x428cbc
add eax, eax
push 2
push eax
push dword [ebp - 0x24]
call fcn.00421250
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 - 0x38]
test eax, eax
jne 0x428cac
jmp 0x428cbc
mov dword [ebp - 0x10], 3
push 0x4844fc
push 0x28
push str.internal_error:_entered_unreachable_code_rustc_2c93fabd98d2c183bcb3afed1f7d51b2517ac5edlibrary_alloc_src_vecmod.rs
call fcn.0047c070
add esp, 0xc
jmp 0x428d11
push 0x4844ec
push eax
push edi
call fcn.0047c380
add esp, 0xc
ud2