Function at 0x42be8f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402488
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
call sub.MSVBVM60.DLL___vbaStrCopy
cmp word [0x44f092], si
je 0x42bf31
push dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
push dword [ebp - 0x2c]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL___vbaStrToUnicode
push 1
shr edi, 0xa
pop ebx
and edi, ebx
lea ecx, [ebp - 0x2c]
neg edi
call sub.MSVBVM60.DLL___vbaFreeStr
cmp di, si
je 0x42bf34
or dword [ebp - 0x14], 0xffffffff
jmp 0x42c67d
push 1
pop ebx
cmp word [0x44f0a0], si
je 0x42bf91
push dword [ebp - 0x18]
call fcn.0042122b
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x44], 8
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x6c], 0x40cd2c
mov dword [ebp - 0x74], 0x8008
call sub.MSVBVM60.DLL___vbaVarTstEq
mov di, ax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
cmp di, si
jne 0x42bf28
cmp word [0x44f096], si
je 0x42bfb0
push 0x40cd44
push dword [ebp - 0x18]
call 0x42c6e9
test ax, ax
jne 0x42bf28
cmp word [0x44f09a], si
je 0x42c0a3
mov eax, dword [0x44f15c]
push dword [eax]
mov edi, 0x409cd0
push edi
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x42c037
call fcn.004235b7
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov ecx, dword [0x44f15c]
mov edx, eax
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x44f15c]
push dword [eax]
call fcn.004234c5
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov ecx, dword [0x44f15c]
mov edx, eax
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x44f15c]
push dword [eax]
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, dword [0x44f15c]
mov dword [ecx + 4], eax
mov eax, dword [0x44f15c]
push ebx
push dword [ebp - 0x18]
push dword [eax]
push ebx
call sub.MSVBVM60.DLL___vbaInStr
cmp eax, ebx
jne 0x42c0ac
push ebx
push dword [ebp - 0x18]
call fcn.004233c2
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov eax, dword [0x44f15c]
push dword [eax]
call fcn.004233c2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push ebx
call sub.MSVBVM60.DLL___vbaInStr
mov esi, eax
dec esi
lea eax, [ebp - 0x30]
push eax
neg esi
sbb esi, esi
lea eax, [ebp - 0x2c]
push eax
inc esi
push 2
neg esi
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
test si, si
je 0x42c0aa
jmp 0x42bf28
mov edi, 0x409cd0
jmp 0x42c0ac
xor esi, esi
cmp word [0x44f098], si
je 0x42c0f7
push 0x40cd7c
push dword [ebp - 0x18]
call 0x42c6e9
test ax, ax
jne 0x42bf28
push 0x40cd94
push dword [ebp - 0x18]
call 0x42c6e9
test ax, ax
jne 0x42bf28
push 0x40cdac
push dword [ebp - 0x18]
call 0x42c6e9
test ax, ax
jne 0x42bf28
cmp word [0x44f09c], si
je 0x42c1f2
mov eax, dword [0x44f15c]
push dword [eax + 8]
push edi
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x42c183
call fcn.004235b7
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, dword [ebp - 0x34]
push 0x40cdcc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], esi
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call fcn.0041fe41
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [0x44f15c]
lea ecx, [eax + 8]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
mov eax, dword [0x44f15c]
add esp, 0x10
push dword [eax + 8]
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, dword [0x44f15c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x44f15c]
push ebx
push dword [ebp - 0x18]
push dword [eax + 8]
push ebx
call sub.MSVBVM60.DLL___vbaInStr
cmp eax, ebx
jne 0x42c1f2
push ebx
push dword [ebp - 0x18]
call fcn.004233c2
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov eax, dword [0x44f15c]
push dword [eax + 8]
call fcn.004233c2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push ebx
call sub.MSVBVM60.DLL___vbaInStr
mov esi, eax
dec esi
lea eax, [ebp - 0x30]
push eax
neg esi
sbb esi, esi
lea eax, [ebp - 0x2c]
push eax
inc esi
push 2
neg esi
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
test si, si
jne 0x42bf28
xor esi, esi
cmp word [0x44f09e], si
je 0x42c67a
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push dword [eax]
push edi
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x42c588
push 0x26
call fcn.00424048
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x40cdd8
push dword [ebp - 0x1c]
call fcn.0041fe41
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrMove
push 0x40cdf4
push dword [ebp - 0x1c]
call fcn.0041fe41
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push dword [ebp - 0x1c]
call fcn.00422dd9
test ax, ax
jne 0x42c2b8
mov eax, dword [0x44f15c]
add eax, 0x20
push eax
push ebx
call sub.MSVBVM60.DLL___vbaUbound
mov esi, eax
mov eax, dword [0x44f15c]
add eax, 0x20
push eax
push ebx
call sub.MSVBVM60.DLL___vbaLbound
mov edi, eax
cmp edi, esi
jg 0x42c678
cmp edi, 4
jb 0x42c297
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
mov edx, 0x40bcb8
lea ecx, [eax + edi*4]
call sub.MSVBVM60.DLL___vbaStrCopy
mov eax, ebx
add eax, edi
jo 0x42c6e4
jmp 0x42c283
push dword [ebp - 0x24]
mov esi, 0x40ce18
push edi
push 0x40ce30
push esi
call fcn.004380a3
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [0x44f15c]
mov ecx, dword [eax + 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x24]
push edi
push 0x40ce54
push esi
call fcn.004380a3
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [0x44f15c]
mov ecx, dword [eax + 0x2c]
add ecx, 4
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x24]
push edi
push 0x40ce78
push esi
call fcn.004380a3
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [0x44f15c]
mov ecx, dword [eax + 0x2c]
add ecx, 8
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
push dword [ebp - 0x24]
push edi
push 0x40ccc4
push esi
call fcn.004380a3
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [0x44f15c]
mov ecx, dword [eax + 0x2c]
add ecx, 0xc
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x44f15c]
add eax, 0x20
push eax
push ebx
call sub.MSVBVM60.DLL___vbaUbound
mov dword [ebp - 0x90], eax
mov eax, dword [0x44f15c]
add eax, 0x20
push eax
push ebx
call sub.MSVBVM60.DLL___vbaLbound
mov esi, eax
cmp esi, dword [ebp - 0x90]
jg 0x42c403
cmp esi, 4
jb 0x42c3be
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push dword [eax + esi*4]
push edi
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x42c3f6
cmp esi, 4
jb 0x42c3dd
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov ecx, dword [eax + 0x2c]
mov eax, esi
shl eax, 2
mov edx, 0x40bcb8
add ecx, eax
call sub.MSVBVM60.DLL___vbaStrCopy
push 1
pop eax
add eax, esi
jo 0x42c6e4
jmp 0x42c3aa
call fcn.00424164
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
push dword [ebp - 0x1c]
call fcn.004240c7
mov eax, dword [0x44f15c]
add eax, 0x20
push eax
push ebx
call sub.MSVBVM60.DLL___vbaUbound
mov dword [ebp - 0x98], eax
mov eax, dword [0x44f15c]
add eax, 0x20
push eax
push ebx
call sub.MSVBVM60.DLL___vbaLbound
cmp eax, dword [ebp - 0x98]
mov dword [ebp - 0x28], eax
jg 0x42c57e
cmp eax, 4
jb 0x42c457
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [ebp - 0x28]
mov esi, eax
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
shl esi, 2
push dword [eax + esi]
push 0x40bcb8
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x42c56d
cmp dword [ebp - 0x28], 4
jb 0x42c492
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
cmp dword [ebp - 0x28], 4
jb 0x42c492
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push dword [eax + esi]
call fcn.00423749
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [0x44f15c]
mov ecx, dword [eax + 0x2c]
add ecx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x28], 4
jb 0x42c4d0
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push dword [eax + esi]
push edi
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x42c52e
cmp dword [ebp - 0x28], 4
jb 0x42c4fb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
cmp dword [ebp - 0x28], 4
jb 0x42c4fb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push dword [eax + esi]
call fcn.004234c5
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov eax, dword [0x44f15c]
mov ecx, dword [eax + 0x2c]
add ecx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x28], 4
jb 0x42c539
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push dword [eax + esi]
push edi
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x42c56d
cmp dword [ebp - 0x28], 4
jb 0x42c559
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov ecx, dword [eax + 0x2c]
mov edx, 0x40bcb8
add ecx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
push 1
pop eax
add eax, dword [ebp - 0x28]
jo 0x42c6e4
jmp 0x42c43e
push dword [ebp - 0x20]
call fcn.004240c7
xor esi, esi
mov eax, dword [0x44f15c]
add eax, 0x20
push eax
push ebx
call sub.MSVBVM60.DLL___vbaUbound
mov dword [ebp - 0xa0], eax
mov eax, dword [0x44f15c]
add eax, 0x20
push eax
push ebx
call sub.MSVBVM60.DLL___vbaLbound
mov edi, eax
cmp edi, dword [ebp - 0xa0]
jg 0x42c67a
cmp edi, 4
jb 0x42c5c4
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push dword [eax + edi*4]
push 0x40bcb8
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x42c668
cmp edi, 4
jb 0x42c5eb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push ebx
push dword [ebp - 0x18]
push dword [eax + edi*4]
push ebx
call sub.MSVBVM60.DLL___vbaInStr
cmp eax, ebx
jne 0x42c668
cmp edi, 4
jb 0x42c60e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
push ebx
push dword [ebp - 0x18]
call fcn.004233c2
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov eax, dword [0x44f15c]
mov eax, dword [eax + 0x2c]
push dword [eax + edi*4]
call fcn.004233c2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push ebx
call sub.MSVBVM60.DLL___vbaInStr
mov esi, eax
dec esi
lea eax, [ebp - 0x30]
push eax
neg esi
sbb esi, esi
lea eax, [ebp - 0x2c]
push eax
inc esi
push 2
neg esi
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
test si, si
jne 0x42bf28
push 1
pop eax
add eax, edi
jo 0x42c6e4
mov edi, eax
xor esi, esi
jmp 0x42c5ae
xor esi, esi
mov dword [ebp - 0x14], esi
push 0x42c6cf
jmp 0x42c6ae
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow
push ebp
mov ebp, esp
push ecx
push ecx
push 0x403ab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402498
mov edx, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
call sub.MSVBVM60.DLL___vbaStrCopy
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrCopy
push 1
push dword [ebp - 0x14]
mov edi, 0x40a460
push edi
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 1
call sub.MSVBVM60.DLL___vbaInStr
mov esi, eax
sub esi, 3
neg esi
sbb esi, esi
inc esi
lea ecx, [ebp - 0x20]
neg esi
call sub.MSVBVM60.DLL___vbaFreeStr
cmp si, bx
je 0x42c7e4
push 1
push dword [ebp - 0x14]
call fcn.004233c2
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push edi
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push edi
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 1
call sub.MSVBVM60.DLL___vbaInStr
mov esi, eax
lea eax, [ebp - 0x28]
push eax
sub esi, 3
lea eax, [ebp - 0x24]
push eax
neg esi
sbb esi, esi
lea eax, [ebp - 0x20]
push eax
inc esi
push 3
neg esi
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
cmp si, bx
je 0x42c7e4
or dword [ebp - 0x18], 0xffffffff
jmp 0x42c7e7
mov dword [ebp - 0x18], ebx
push 0x42c816
jmp 0x42c805
lea ecx, [ebp - 0x14]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret