Function at 0x404450
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1001c
call fcn.004220f0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x8000
lea eax, [ebp - 0x10008]
mov dword [ebp - 0x10018], edx
push eax
push str.VIRTUAL_ENV
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4044eb
mov esi, dword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchCombineEx]
lea eax, [ebp - 0x10008]
push 1
push str.Scripts
push eax
push 0x8000
push eax
call esi
test eax, eax
js 0x4044eb
push 1
push dword [edi + 0x14]
lea eax, [ebp - 0x10008]
push eax
push 0x8000
push eax
call esi
test eax, eax
js 0x4044eb
lea eax, [ebp - 0x10008]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4044fe
lea eax, [ebp - 0x10008]
push eax
push str.Python_executable__s_missing_from_virtual_env_n
call fcn.00401130
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004065bc
mov esp, ebp
pop ebp
ret
push 0x30
call fcn.004153ae
mov esi, eax
add esp, 4
test esi, esi
je 0x4046c0
push 0x30
push 0
push esi
call fcn.00407660
lea ebx, [esi + 0xc]
add esp, 0xc
test ebx, ebx
je 0x4046b7
lea eax, [esi + 0x10]
test eax, eax
je 0x4046ad
mov dword [eax], 0
lea eax, [esi + 0x28]
mov byte [esi + 0x2c], 1
mov dword [esi + 0x14], 0x14
test eax, eax
jne 0x404555
lea edi, [eax + 0x68]
jmp 0x40462b
push 0x7fff
push str.Active_venv
call fcn.00409b44
mov dword [ebp - 0x1000c], eax
inc eax
mov dword [ebp - 0x10010], eax
lea ecx, [eax + eax]
push ecx
call fcn.004153ae
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40458b
lea edi, [eax + 0x68]
jmp 0x40462b
push dword [ebp - 0x1000c]
push str.Active_venv
push dword [ebp - 0x10010]
push edi
call fcn.00415487
mov dword [esi + 0x28], edi
add esp, 0x10
lea edi, [esi + 0x1c]
test edi, edi
jne 0x4045b6
mov edi, 0x68
jmp 0x40462b
lea eax, [ebp - 0x10008]
push 0x7fff
push eax
call fcn.00409b44
mov dword [ebp - 0x10010], eax
inc eax
mov dword [ebp - 0x1000c], eax
lea ecx, [eax + eax]
push ecx
call fcn.004153ae
add esp, 0xc
mov dword [ebp - 0x10014], eax
test eax, eax
jne 0x4045ef
lea edi, [eax + 0x68]
jmp 0x40462b
push dword [ebp - 0x10010]
lea ecx, [ebp - 0x10008]
push ecx
push dword [ebp - 0x1000c]
push eax
call fcn.00415487
mov eax, dword [ebp - 0x10014]
xor edx, edx
mov ecx, dword [ebp - 0x10018]
push esi
mov dword [edi], eax
call fcn.004033d0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4044eb
push dword [ebx]
call fcn.004152cb
add esp, 4
push dword [esi + 0x10]
call fcn.004152cb
add esp, 4
push dword [esi + 0x18]
call fcn.004152cb
add esp, 4
push dword [esi + 0x1c]
call fcn.004152cb
add esp, 4
push dword [esi + 0x20]
call fcn.004152cb
add esp, 4
push dword [esi + 0x28]
call fcn.004152cb
mov ecx, dword [esi]
add esp, 4
call fcn.00403220
mov ecx, dword [esi + 4]
mov dword [esi], 0
call fcn.00403220
push esi
mov dword [esi + 4], 0
call fcn.004152cb
add esp, 4
cmp edi, 0x6e
je 0x4044eb
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004065bc
mov esp, ebp
pop ebp
ret
push dword [ebx]
call fcn.004152cb
add esp, 4
push esi
call fcn.004152cb
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x68
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004065bc
mov esp, ebp
pop ebp
ret