Function at 0x41dc50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x450
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4229d0
mov eax, dword [ebp + 8]
mov edi, ecx
lea ecx, [ebp - 0x18]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], ecx
lea ecx, [ebp - 0x45c]
push eax
call fcn.00419e60
add esp, 4
mov eax, dword [ebp - 0x45c]
cmp eax, 0x80000000
jne 0x41dcb8
lea ecx, [ebp - 0x45c]
call fcn.0041a130
mov dword [edi], 0x80000000
jmp 0x41de88
mov ecx, dword [ebp - 0x458]
mov dword [ebp - 0x38], edi
mov edi, 0x200
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x34], ecx
cmp edi, 0x201
jae 0x41dd20
jmp 0x41dd0e
jbe 0x41dda9
cmp edi, 0x201
jae 0x41dd20
mov dword [ebp - 0x24], 0x200
lea ebx, [ebp - 0x45c]
mov esi, edi
jmp 0x41dd51
mov esi, dword [ebp - 0x4c]
sub edi, esi
je 0x41dd45
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x30]
mov edx, esi
push edi
call fcn.00442010
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 - 0x4c], esi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push ebx
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
test eax, eax
jne 0x41dd78
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41de06
cmp edi, esi
jne 0x41dd00
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41dec8
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x41dd0e
jmp 0x41dd20
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 2
cmp edi, edx
ja 0x41dee8
lea ecx, [ebp - 0x5c]
mov edx, ebx
push edi
call fcn.0041c1e0
add esp, 4
mov esi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x58]
movq xmm0, qword [ebp - 0x54]
cmp dword [ebp - 0x30], 0
je 0x41ddf5
push dword [ebp - 0x2c]
push 0
push dword [0x456a58]
movdqu xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
cmp esi, 0x80000000
jne 0x41de67
movd esi, xmm0
jmp 0x41de2a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x30], 0
mov esi, eax
je 0x41de25
push dword [ebp - 0x2c]
push 0
push dword [0x456a58]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x38]
xor ebx, ebx
cmp bl, 3
mov dword [eax], 0x80000000
jne 0x41de71
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 - 0x4c], ecx
call dword [ecx]
add esp, 4
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x24]
cmp dword [eax + 4], 0
je 0x41deb1
cmp dword [eax + 8], 9
jae 0x41de9c
mov eax, dword [ebp - 0x20]
jmp 0x41dea2
mov dword [eax], esi
mov dword [eax + 4], ebx
movq qword [eax + 8], xmm0
cmp dword [ebp - 0x3c], 0
je 0x41de88
push dword [ebp - 0x34]
push 0
push dword [0x456a58]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x450
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov eax, dword [eax - 4]
push eax
push 0
push dword [0x456a58]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
push dword [0x456a58]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp - 0x3c], 0
jne 0x41de77
jmp 0x41de88
mov dword [ebp - 0x10], 2
mov ecx, str.internal_error:_entered_unreachable_code_rustc_a4472498d7e88041f6206faf4503eb1f246fd427library_alloc_src_vecmod.rs_feD
mov edx, 0x28
push 0x447d50
call fcn.004415a0
add esp, 4
jmp 0x41def7
mov ecx, edi
push 0x447d40
call fcn.00441590
add esp, 4
ud2