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

Disassembly:
push ebp
sub esp, 0x38c
lea ebp, [esp - 4]
mov eax, dword [0x7990a8]
xor eax, ebp
mov dword [ebp + 0x38c], eax
push 4
mov eax, 0x695907
call fcn.00637b86
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 0x44b9c6
mov esi, 0x73938c
lea ecx, [ebp + 0x150]
push esi
call fcn.0040d4cf
push str.windirMissing
lea ecx, [ebp + 0xec]
mov dword [ebp - 4], edi
call fcn.0040d4cf
xor ebx, ebx
lea ecx, [ebp + 0x104]
inc ebx
push 0x6c0b48
mov byte [ebp - 4], bl
call fcn.0040d4cf
push str.compat
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 2
call fcn.0040d4cf
push esi
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 3
call fcn.0040d4cf
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.00457abb
push edi
push ebx
lea ecx, [ebp + 0x134]
call fcn.0040daff
push edi
push ebx
lea ecx, [ebp + 0x11c]
call fcn.0040daff
push edi
push ebx
lea ecx, [ebp + 0x104]
call fcn.0040daff
push edi
push ebx
lea ecx, [ebp + 0xec]
call fcn.0040daff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x150]
push edi
push ebx
call fcn.0040daff
push edi
push str.failExpandEnvironmentStrings
lea ecx, [ebp + 0x84]
call fcn.00455b8b
push 0x74575c
lea eax, [ebp + 0x84]
push eax
call fcn.0064fa34
lea eax, [ebp + 0x184]
push eax
lea ecx, [ebp]
call fcn.00446021
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 0x44ba0a
lea eax, [ebp + 0x16c]
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
push eax
call edi
cmp eax, 0xffffffff
je 0x44ba60
lea eax, [ebp + 0x168]
mov ecx, esi
push eax
call fcn.00445f3d
lea ecx, [ebp + 0x168]
call fcn.004460a6
lea ecx, [ebp]
call fcn.004460a6
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.00637b3e
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 0x44ba82
add eax, 4
jmp 0x44ba84
xor eax, eax
push eax
lea ecx, [ebp + 0x16c]
call fcn.00426283
lea ecx, [ebp + 0x14c]
mov byte [ebp - 4], 6
call fcn.004460a6
cmp dword [ebp + 0x180], 8
mov eax, dword [ebp + 0x16c]
jae 0x44bab4
lea eax, [ebp + 0x16c]
push eax
call edi
cmp eax, 0xffffffff
jne 0x44ba18
mov esi, 0x73938c
lea ecx, [ebp + 0x134]
push esi
call fcn.0040d4cf
push str.mshtaMissing
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 8
call fcn.0040d4cf
push 0x6c0b48
lea ecx, [ebp + 0x104]
mov byte [ebp - 4], 9
call fcn.0040d4cf
push str.compat
lea ecx, [ebp + 0xec]
mov byte [ebp - 4], 0xa
call fcn.0040d4cf
push esi
lea ecx, [ebp + 0x150]
mov byte [ebp - 4], 0xb
call fcn.0040d4cf
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.00457abb
xor ebx, ebx
lea ecx, [ebp + 0x150]
push esi
inc ebx
push ebx
call fcn.0040daff
push esi
push ebx
lea ecx, [ebp + 0xec]
call fcn.0040daff
push esi
push ebx
lea ecx, [ebp + 0x104]
call fcn.0040daff
push esi
push ebx
lea ecx, [ebp + 0x11c]
call fcn.0040daff
push esi
push ebx
lea ecx, [ebp + 0x134]
mov byte [ebp - 4], 6
call fcn.0040daff
push esi
push str.mshtaNotFound
lea ecx, [ebp + 0x1c]
call fcn.00455b8b
push 0x74575c
lea eax, [ebp + 0x1c]
jmp 0x44b9c0