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

Disassembly:
push ebp
sub esp, 0x38c
lea ebp, [esp - 4]
mov eax, dword [0x7bb3e8]
xor eax, ebp
mov dword [ebp + 0x38c], eax
push 4
mov eax, 0x6acc74
call fcn.00652366
mov esi, dword [ebp + 0x398]
lea eax, [ebp + 0x184]
push 0x104
push eax
xor edi, edi
push str._windir_
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
test eax, eax
jne 0x448a2a
mov esi, 0x756a0c
lea ecx, [ebp + 0x150]
push esi
call fcn.0040f49f
push str.windirMissing
lea ecx, [ebp + 0xec]
mov dword [ebp - 4], edi
call fcn.0040f49f
xor ebx, ebx
lea ecx, [ebp + 0x104]
inc ebx
push 0x6dacd8
mov byte [ebp - 4], bl
call fcn.0040f49f
push str.compat
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 2
call fcn.0040f49f
push esi
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 3
call fcn.0040f49f
push edi
lea eax, [ebp + 0x150]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp + 0xec]
push eax
push edi
lea eax, [ebp + 0x104]
push eax
lea eax, [ebp + 0x11c]
push eax
lea eax, [ebp + 0x134]
push eax
call fcn.00455b16
push edi
push ebx
lea ecx, [ebp + 0x134]
call fcn.0040facf
push edi
push ebx
lea ecx, [ebp + 0x11c]
call fcn.0040facf
push edi
push ebx
lea ecx, [ebp + 0x104]
call fcn.0040facf
push edi
push ebx
lea ecx, [ebp + 0xec]
call fcn.0040facf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x150]
push edi
push ebx
call fcn.0040facf
push edi
push str.failExpandEnvironmentStrings
lea ecx, [ebp + 0x84]
call fcn.00453beb
push 0x7625d4
lea eax, [ebp + 0x84]
push eax
call fcn.0066a234
lea eax, [ebp + 0x184]
push eax
lea ecx, [ebp]
call fcn.00442f07
push str.System32mshta.exe
lea eax, [ebp + 0x168]
mov dword [ebp - 4], 5
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x34]
cmp dword [ebp + 0x180], 8
mov eax, dword [ebp + 0x16c]
mov byte [ebp - 4], 6
jae 0x448a6e
lea eax, [ebp + 0x16c]
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x448ac4
lea eax, [ebp + 0x168]
mov ecx, esi
push eax
call fcn.00442e23
lea ecx, [ebp + 0x168]
call fcn.00442f8c
lea ecx, [ebp]
call fcn.00442f8c
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 + 0x38c]
xor ecx, ebp
call fcn.0065231e
lea esp, [ebp + 0x390]
pop ebp
ret 4
push str.SysWOW64mshta.exe
lea eax, [ebp + 0x14c]
push eax
mov eax, dword [ebp]
lea ecx, [ebp]
call dword [eax + 0x34]
mov byte [ebp - 4], 7
test eax, eax
je 0x448ae6
add eax, 4
jmp 0x448ae8
xor eax, eax
push eax
lea ecx, [ebp + 0x16c]
call fcn.00428217
lea ecx, [ebp + 0x14c]
mov byte [ebp - 4], 6
call fcn.00442f8c
cmp dword [ebp + 0x180], 8
mov eax, dword [ebp + 0x16c]
jae 0x448b18
lea eax, [ebp + 0x16c]
push eax
call edi
cmp eax, 0xffffffff
jne 0x448a7c
mov esi, 0x756a0c
lea ecx, [ebp + 0x134]
push esi
call fcn.0040f49f
push str.mshtaMissing
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 8
call fcn.0040f49f
push 0x6dacd8
lea ecx, [ebp + 0x104]
mov byte [ebp - 4], 9
call fcn.0040f49f
push str.compat
lea ecx, [ebp + 0xec]
mov byte [ebp - 4], 0xa
call fcn.0040f49f
push esi
lea ecx, [ebp + 0x150]
mov byte [ebp - 4], 0xb
call fcn.0040f49f
xor esi, esi
mov byte [ebp - 4], 0xc
push esi
lea eax, [ebp + 0x134]
push eax
lea eax, [ebp + 0x11c]
push eax
push esi
lea eax, [ebp + 0x104]
push eax
lea eax, [ebp + 0xec]
push eax
lea eax, [ebp + 0x150]
push eax
call fcn.00455b16
xor ebx, ebx
lea ecx, [ebp + 0x150]
push esi
inc ebx
push ebx
call fcn.0040facf
push esi
push ebx
lea ecx, [ebp + 0xec]
call fcn.0040facf
push esi
push ebx
lea ecx, [ebp + 0x104]
call fcn.0040facf
push esi
push ebx
lea ecx, [ebp + 0x11c]
call fcn.0040facf
push esi
push ebx
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 6
call fcn.0040facf
push esi
push str.mshtaNotFound
lea ecx, [ebp + 0x1c]
call fcn.00453beb
push 0x7625d4
lea eax, [ebp + 0x1c]
jmp 0x448a24