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

Disassembly:
push ebp
sub esp, 0x324
lea ebp, [esp - 4]
mov eax, dword [0x759e6c]
xor eax, ebp
mov dword [ebp + 0x324], eax
push 8
mov eax, 0x66b2ed
call fcn.006363a5
mov esi, dword [ebp + 0x330]
lea eax, [ebp + 0x11c]
push 0x104
push eax
xor ebx, ebx
mov dword [ebp - 0x14], esi
push str._windir_
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
test eax, eax
jne 0x44a16b
mov edi, 0x70522c
lea ecx, [ebp + 0xe8]
push edi
call fcn.00409ba7
xor esi, esi
lea ecx, [ebp + 0xcc]
inc esi
push str.windirMissing
mov dword [ebp - 4], esi
call fcn.00409ba7
push 0x692970
lea ecx, [ebp + 0x9c]
mov byte [ebp - 4], 2
call fcn.00409ba7
push str.compat
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], 3
call fcn.00409ba7
push edi
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 4
call fcn.00409ba7
push ebx
lea eax, [ebp + 0xe8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 0xcc]
push eax
push ebx
lea eax, [ebp + 0x9c]
push eax
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp + 0xb4]
push eax
call fcn.00456a7b
push ebx
push esi
lea ecx, [ebp + 0xb4]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [ebp + 0x84]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [ebp + 0x9c]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [ebp + 0xcc]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [ebp + 0xe8]
mov byte [ebp - 4], bl
call fcn.0040a0e9
push ebx
push str.failExpandEnvironmentStrings
lea ecx, [ebp + 0x1c]
call fcn.00454a82
push 0x70f0bc
lea eax, [ebp + 0x1c]
push eax
call fcn.00631398
lea eax, [ebp + 0x11c]
push eax
lea ecx, [ebp]
call fcn.004442b1
push str.System32mshta.exe
lea eax, [ebp + 0x100]
mov dword [ebp - 4], 6
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x34]
cmp dword [ebp + 0x118], 8
mov eax, dword [ebp + 0x104]
mov byte [ebp - 4], 7
jae 0x44a1af
lea eax, [ebp + 0x104]
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x44a213
lea eax, [ebp + 0x100]
mov ecx, esi
push eax
call fcn.004441f5
lea ecx, [ebp + 0x100]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 6
call fcn.00444328
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00444328
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x324]
xor ecx, ebp
call fcn.00636364
lea esp, [ebp + 0x328]
pop ebp
ret 4
push str.SysWOW64mshta.exe
lea eax, [ebp + 0xe4]
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x34]
mov byte [ebp - 4], 8
test eax, eax
je 0x44a235
add eax, 4
jmp 0x44a237
mov eax, ebx
push eax
lea ecx, [ebp + 0x104]
call fcn.00422f9e
lea ecx, [ebp + 0xe4]
mov byte [ebp - 4], 7
call fcn.00444328
cmp dword [ebp + 0x118], 8
mov eax, dword [ebp + 0x104]
jae 0x44a267
lea eax, [ebp + 0x104]
push eax
call edi
cmp eax, 0xffffffff
je 0x44a282
lea eax, [ebp + 0x100]
mov ecx, esi
push eax
call fcn.004441f5
jmp 0x44a1cb
mov edi, 0x70522c
lea ecx, [ebp + 0xb4]
push edi
call fcn.00409ba7
push str.mshtaMissing
lea ecx, [ebp + 0x84]
mov byte [ebp - 4], 9
call fcn.00409ba7
push 0x692970
lea ecx, [ebp + 0x9c]
mov byte [ebp - 4], 0xa
call fcn.00409ba7
push str.compat
lea ecx, [ebp + 0xcc]
mov byte [ebp - 4], 0xb
call fcn.00409ba7
push edi
lea ecx, [ebp + 0xe8]
mov byte [ebp - 4], 0xc
call fcn.00409ba7
push ebx
lea eax, [ebp + 0xb4]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp + 0x84]
push eax
push ebx
lea eax, [ebp + 0x9c]
push eax
lea eax, [ebp + 0xcc]
push eax
lea eax, [ebp + 0xe8]
push eax
call fcn.00456a7b
xor esi, esi
lea ecx, [ebp + 0xe8]
push ebx
inc esi
push esi
call fcn.0040a0e9
push ebx
push esi
lea ecx, [ebp + 0xcc]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [ebp + 0x9c]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [ebp + 0x84]
call fcn.0040a0e9
push ebx
push esi
lea ecx, [ebp + 0xb4]
mov byte [ebp - 4], 7
call fcn.0040a0e9
push ebx
push str.mshtaNotFound
jmp 0x44a155