Function at 0x4ef678
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x47c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x404258
fld qword [0x4040f8]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403788]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x402f4c]
fnstsw ax
sahf
jb 0x4ef704
mov dword [ebp - 0xac], 1
jmp 0x4ef70b
and dword [ebp - 0xac], 0
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax], 0
setge bl
push dword [0x501140]
push 0x43d7ec
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
and eax, dword [ebp - 0xac]
neg eax
sbb eax, eax
neg eax
or ebx, eax
test ebx, ebx
jne 0x4f0182
cmp dword [0x5023f4], 0
jl 0x4ef78c
mov eax, dword [0x5023f4]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4ef762
and dword [ebp - 0xb0], 0
jmp 0x4ef76d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov eax, dword [ecx + eax]
cmp eax, dword [0x5017cc]
jge 0x4ef78c
or word [ebp - 0x3c], 0xffff
cmp word [ebp - 0x3c], 0xffff
jne 0x4ef7be
and dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
call fcn.004cff9f
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x4ef7bc
mov dword [ebp - 0x5c], 1
lea eax, [ebp - 0x5c]
push eax
call fcn.004cff9f
mov dword [ebp - 0x48], eax
jmp 0x4ef7d1
mov dword [ebp - 0x5c], 2
lea eax, [ebp - 0x5c]
push eax
call fcn.004cff9f
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x4f0182
push dword [0x501140]
push 0x43d7ec
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4ef841
fld1
fstp dword [ebp - 0x68]
fld dword [0x40371c]
fstp dword [ebp - 0x64]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x402f4c]
fnstsw ax
sahf
ja 0x4ef89e
mov dword [ebp - 0xb4], 1
jmp 0x4ef8a5
and dword [ebp - 0xb4], 0
fld dword [0x5017d8]
fcomp dword [0x404250]
fnstsw ax
sahf
jb 0x4ef8c2
mov dword [ebp - 0xb8], 1
jmp 0x4ef8c9
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb4]
and eax, dword [ebp - 0xb8]
test eax, eax
jne 0x4ef92b
fld1
fstp dword [ebp - 0x68]
fld dword [0x40371c]
fstp dword [ebp - 0x64]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov eax, dword [0x501400]
sub eax, dword [0x501500]
jo 0x4f49b7
xor ecx, ecx
cmp eax, 0xbb8
setle cl
movzx eax, byte [0x501873]
neg eax
sbb eax, eax
neg eax
or ecx, eax
test ecx, ecx
jne 0x4ef9ac
mov eax, dword [0x501400]
mov dword [0x501500], eax
fld dword [0x40371c]
fstp dword [ebp - 0x64]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00468ab4
jmp 0x4f4987
mov word [ebp - 0x58], 0x69
lea eax, [ebp - 0x58]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4ef9d4
cmp dword [0x5017f8], 0x32
jl 0x4ef9d4
and dword [ebp - 0xbc], 0
jmp 0x4ef9de
mov dword [ebp - 0xbc], 1
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x74]
jo 0x4f49b7
xor eax, eax
cmp ecx, 0xc8
setle al
mov ecx, dword [ebp - 0xbc]
or ecx, eax
test ecx, ecx
jne 0x4efaa8
mov edx, 0x43e0e8
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4efaa8
cmp dword [0x501878], 0
jle 0x4efa59
mov eax, dword [0x501878]
cmp eax, dword [0x5017cc]
je 0x4efa59
push 0x5017cc
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4efa71
and dword [ebp - 0xc0], 0
jmp 0x4efa7c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x74], ecx
jmp 0x4f4987
and dword [ebp - 0x38], 0
mov eax, dword [0x5015e4]
sub eax, 1
jo 0x4f49b7
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 1
and dword [ebp - 0x18], 0
jmp 0x4efadc
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x80]
jo 0x4f49b7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x84]
jg 0x4efbac
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4efb00
and dword [ebp - 0xc4], 0
jmp 0x4efb0b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x402f48]
fnstsw ax
sahf
jae 0x4efba7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4efb41
and dword [ebp - 0xc8], 0
jmp 0x4efb4c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x20], 0
jle 0x4efba7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jae 0x4efb77
and dword [ebp - 0xcc], 0
jmp 0x4efb82
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x74]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x38], 7
jne 0x4efba7
mov eax, dword [ebp - 0x38]
add eax, 1
jo 0x4f49b7
mov dword [ebp - 0x38], eax
jmp 0x4efacd
movzx eax, byte [0x501873]
test eax, eax
jne 0x4efc8b
cmp dword [ebp - 0x38], 2
jge 0x4efc8b
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4023d8]
fnstsw ax
sahf
jbe 0x4efc68
fld1
fstp dword [ebp - 0x68]
fld dword [0x40371c]
fstp dword [ebp - 0x64]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov edx, 0x43df78
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4efca3
and dword [ebp - 0xd0], 0
jmp 0x4efcae
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4efd04
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4efcde
and dword [ebp - 0xd4], 0
jmp 0x4efce9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4f4987
cmp word [ebp - 0x3c], 0xffff
jne 0x4f000c
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4efd27
and dword [ebp - 0xd8], 0
jmp 0x4efd32
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4efd4a
and dword [ebp - 0xdc], 0
jmp 0x4efd55
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
fild dword [ecx + eax + 0x3c]
fstp qword [ebp - 0xe4]
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
fild dword [ecx + eax + 0x40]
fstp qword [ebp - 0xec]
fld qword [ebp - 0xec]
fmul qword [0x404248]
fnstsw ax
test al, 0xd
jne 0x4f49b2
call sub.MSVBVM60.DLL___vbaFpR8
fcomp qword [ebp - 0xe4]
fnstsw ax
sahf
jbe 0x4efe88
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x302
jae 0x4efdc3
and dword [ebp - 0xf0], 0
jmp 0x4efdce
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x74]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x40], 0
jle 0x4efe88
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4041a0]
fnstsw ax
sahf
jbe 0x4efe88
fld1
fstp dword [ebp - 0x68]
fld dword [0x40371c]
fstp dword [ebp - 0x64]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4efea0
and dword [ebp - 0xf4], 0
jmp 0x4efeab
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x14]
fcomp dword [0x402f4c]
fnstsw ax
sahf
jbe 0x4eff7d
fld dword [0x404008]
fstp dword [ebp - 0x5c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x302
jae 0x4efeeb
and dword [ebp - 0xf8], 0
jmp 0x4efef6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4eff0e
and dword [ebp - 0xfc], 0
jmp 0x4eff19
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4eff31
and dword [ebp - 0x100], 0
jmp 0x4eff3c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x74]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0xc]
push eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov edx, 0x433430
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4effc5
mov edx, 0x433450
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f0007
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4effe3
and dword [ebp - 0x104], 0
jmp 0x4effee
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f017d
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x401440]
fnstsw ax
sahf
jbe 0x4f00af
fld1
fstp dword [ebp - 0x68]
fld dword [0x40371c]
fstp dword [ebp - 0x64]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x403020]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f00c9
and dword [ebp - 0x108], 0
jmp 0x4f00d4
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x18]
fcomp dword [0x404008]
fnstsw ax
sahf
jae 0x4f017d
mov edx, 0x433430
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f013b
mov edx, 0x433450
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f017d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f0159
and dword [ebp - 0x10c], 0
jmp 0x4f0164
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jl 0x4f096a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f01a8
and dword [ebp - 0x110], 0
jmp 0x4f01b3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43ba0c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f0374
fld dword [0x5017d4]
fcomp dword [0x40309c]
fnstsw ax
sahf
jae 0x4f030d
fld dword [0x5017d4]
fcomp dword [0x4040e4]
fnstsw ax
sahf
jae 0x4f0205
call fcn.004c052f
jmp 0x4f4987
cmp dword [0x5023f0], 0
jge 0x4f0231
mov edx, 0x43ddd0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f0248
and dword [ebp - 0x114], 0
jmp 0x4f0253
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x40233c]
fnstsw ax
sahf
ja 0x4f0280
mov dword [ebp - 0x118], 1
jmp 0x4f0287
and dword [ebp - 0x118], 0
mov eax, dword [0x5023f0]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f029e
and dword [ebp - 0x11c], 0
jmp 0x4f02a9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x10]
fcomp dword [0x40309c]
fnstsw ax
sahf
jb 0x4f02d3
mov dword [ebp - 0x120], 1
jmp 0x4f02da
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x118]
and eax, dword [ebp - 0x120]
test eax, eax
jne 0x4f030d
mov edx, 0x43ddd0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
fld dword [0x5017d0]
fcomp dword [0x4040e0]
fnstsw ax
sahf
jbe 0x4f0374
fld dword [0x402f08]
fstp dword [ebp - 0x68]
fld dword [0x4038f0]
fstp dword [ebp - 0x64]
fld qword [0x4038a8]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld qword [0x4040d8]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f038e
and dword [ebp - 0x124], 0
jmp 0x4f0399
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x18]
fcomp dword [0x402f4c]
fnstsw ax
sahf
jbe 0x4f04cb
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f03d2
and dword [ebp - 0x128], 0
jmp 0x4f03dd
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x128], eax
push 0x43df98
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
fld dword [0x402eb8]
fstp dword [ebp - 0x5c]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x302
jae 0x4f0435
and dword [ebp - 0x12c], 0
jmp 0x4f0440
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f045a
and dword [ebp - 0x130], 0
jmp 0x4f0465
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f047f
and dword [ebp - 0x134], 0
jmp 0x4f048a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x74]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0xc]
push eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f04e5
and dword [ebp - 0x138], 0
jmp 0x4f04f0
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4f05a6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0526
and dword [ebp - 0x13c], 0
jmp 0x4f0531
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x13c], eax
push 0x43dfb4
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0580
and dword [ebp - 0x140], 0
jmp 0x4f058b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4f4987
and word [ebp - 0x58], 0
mov edx, 0x42ad00
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00465f59
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
and word [ebp - 0x58], 0
mov edx, 0x42add0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00465f59
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f060e
and dword [ebp - 0x144], 0
jmp 0x4f0619
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f0633
and dword [ebp - 0x148], 0
jmp 0x4f063e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d8d0
call sub.MSVBVM60.DLL___vbaStrCmp
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d8c0
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
and esi, eax
test esi, esi
jne 0x4f082a
cmp dword [0x5023f0], 0
jl 0x4f082a
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f06ae
and dword [ebp - 0x14c], 0
jmp 0x4f06b9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x40233c]
fnstsw ax
sahf
jb 0x4f06e6
mov dword [ebp - 0x150], 1
jmp 0x4f06ed
and dword [ebp - 0x150], 0
mov eax, dword [0x5023f0]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f0704
and dword [ebp - 0x154], 0
jmp 0x4f070f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x402e38]
fnstsw ax
sahf
ja 0x4f073c
mov dword [ebp - 0x158], 1
jmp 0x4f0743
and dword [ebp - 0x158], 0
mov eax, dword [ebp - 0x150]
or eax, dword [ebp - 0x158]
test eax, eax
jne 0x4f082a
fld1
fstp dword [ebp - 0x5c]
mov eax, dword [0x5023f0]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jae 0x4f0773
and dword [ebp - 0x15c], 0
jmp 0x4f077e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x15c], eax
mov eax, dword [0x5023f0]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f0795
and dword [ebp - 0x160], 0
jmp 0x4f07a0
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x160], eax
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f07b7
and dword [ebp - 0x164], 0
jmp 0x4f07c2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x74]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
lea eax, [ecx + eax + 0x14]
push eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
lea eax, [ecx + eax + 0xc]
push eax
call fcn.004c06ef
mov edx, 0x43dde0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
fld dword [0x401618]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 0xc]
call fcn.00471bac
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jle 0x4f08db
mov edx, 0x433420
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f0894
mov edx, 0x433410
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f08db
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f08b2
and dword [ebp - 0x168], 0
jmp 0x4f08bd
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov edx, 0x433430
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f0923
mov edx, 0x433450
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f0965
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f0941
and dword [ebp - 0x16c], 0
jmp 0x4f094c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jl 0x4f4987
cmp dword [0x5023f4], 0
jl 0x4f09c7
mov eax, dword [0x5023f4]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f0996
and dword [ebp - 0x170], 0
jmp 0x4f09a1
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov eax, dword [ecx + eax]
cmp eax, dword [0x5017cc]
jle 0x4f09c2
or word [ebp - 0x3c], 0xffff
jmp 0x4f09c7
and word [ebp - 0x3c], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f09e1
and dword [ebp - 0x174], 0
jmp 0x4f09ec
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
jne 0x4f0af1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f0a22
and dword [ebp - 0x178], 0
jmp 0x4f0a2d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x40], 0
jle 0x4f0af1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0a5e
and dword [ebp - 0x17c], 0
jmp 0x4f0a69
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f0a83
and dword [ebp - 0x180], 0
jmp 0x4f0a8e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
fild dword [ecx + eax + 0x3c]
fstp qword [ebp - 0x188]
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
fild dword [ecx + eax + 0x40]
fstp qword [ebp - 0x190]
fld qword [ebp - 0x188]
cmp dword [section..data], 0
jne 0x4f0ad1
fdiv qword [ebp - 0x190]
jmp 0x4f0ae2
push dword [ebp - 0x18c]
push dword [ebp - 0x190]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp dword [ebp - 0x1c]
fnstsw ax
test al, 0xd
jne 0x4f49b2
jmp 0x4f0af6
fld1
fstp dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0b10
and dword [ebp - 0x194], 0
jmp 0x4f0b1b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d8ec
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f0c03
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0b57
and dword [ebp - 0x198], 0
jmp 0x4f0b62
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4f0c03
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0b93
and dword [ebp - 0x19c], 0
jmp 0x4f0b9e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x771
jne 0x4f0bbe
mov eax, dword [0x501400]
mov dword [0x5014b8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0bd8
and dword [ebp - 0x1a0], 0
jmp 0x4f0be3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7af
jne 0x4f0c03
mov eax, dword [0x501400]
mov dword [0x5014bc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0c1d
and dword [ebp - 0x1a4], 0
jmp 0x4f0c28
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43be24
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f0cc3
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0c60
and dword [ebp - 0x1a8], 0
jmp 0x4f0c6b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4f0cc3
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f0c98
and dword [ebp - 0x1ac], 0
jmp 0x4f0ca3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7ad
jne 0x4f0cc3
mov eax, dword [0x501400]
mov dword [0x5014d4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0cdd
and dword [ebp - 0x1b0], 0
jmp 0x4f0ce8
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d90c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f0f34
push 0x5017d4
push 0x5017d8
push 0x5017d0
call fcn.004cfa07
movsx eax, ax
test eax, eax
jne 0x4f0d2f
call fcn.004cfe98
jmp 0x4f4987
mov eax, dword [0x501400]
sub eax, dword [0x501500]
jo 0x4f49b7
cmp eax, 0x1770
jle 0x4f0d7a
mov eax, dword [0x501400]
mov dword [0x501500], eax
fld dword [0x403b30]
fstp dword [ebp - 0x60]
fld dword [0x404128]
fstp dword [ebp - 0x5c]
push 0x5017d4
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00468ab4
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0d94
and dword [ebp - 0x1b4], 0
jmp 0x4f0d9f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4f0dfb
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f0dcc
and dword [ebp - 0x1b8], 0
jmp 0x4f0dd7
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7b4
jne 0x4f0dfb
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x78], ecx
mov eax, dword [0x501400]
sub eax, dword [0x5014c4]
jo 0x4f49b7
cmp eax, 0x190
jl 0x4f0e92
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f0e2d
and dword [ebp - 0x1bc], 0
jmp 0x4f0e38
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4f0e86
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f0e65
and dword [ebp - 0x1c0], 0
jmp 0x4f0e70
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7b4
je 0x4f0e92
mov dword [ebp - 0x1c4], 1
jmp 0x4f0e99
and dword [ebp - 0x1c4], 0
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x78]
jo 0x4f49b7
mov dword [ebp - 0x1c8], ecx
fild dword [ebp - 0x1c8]
fstp qword [ebp - 0x1d0]
fld qword [0x404240]
fmul qword [0x401500]
fnstsw ax
test al, 0xd
jne 0x4f49b2
call sub.MSVBVM60.DLL___vbaFpR8
fcomp qword [ebp - 0x1d0]
fnstsw ax
sahf
ja 0x4f0ef1
mov dword [ebp - 0x1d4], 1
jmp 0x4f0ef8
and dword [ebp - 0x1d4], 0
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x78]
jo 0x4f49b7
xor eax, eax
cmp ecx, 0x8fc
setle al
or eax, dword [ebp - 0x1d4]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x1c4]
and ecx, eax
test ecx, ecx
jne 0x4f0f34
jmp 0x4f2b03
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x74]
jo 0x4f49b7
cmp ecx, 0x64
jle 0x4f148e
cmp dword [0x5023f0], 0
jl 0x4f148e
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f0f75
and dword [ebp - 0x1d8], 0
jmp 0x4f0f80
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x404188]
fnstsw ax
sahf
jbe 0x4f0fad
mov dword [ebp - 0x1dc], 1
jmp 0x4f0fb4
and dword [ebp - 0x1dc], 0
mov eax, dword [0x5023f0]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f0fcb
and dword [ebp - 0x1e0], 0
jmp 0x4f0fd6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x110]
fcomp dword [0x4015a8]
fnstsw ax
sahf
ja 0x4f1003
mov dword [ebp - 0x1e4], 1
jmp 0x4f100a
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x1dc]
or eax, dword [ebp - 0x1e4]
test eax, eax
jne 0x4f105b
mov eax, dword [0x5023f0]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jae 0x4f1031
and dword [ebp - 0x1e8], 0
jmp 0x4f103c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x74]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x4c], 0xd
je 0x4f105b
and dword [ebp - 0x1ec], 0
jmp 0x4f1065
mov dword [ebp - 0x1ec], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4f107f
and dword [ebp - 0x1f0], 0
jmp 0x4f108a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43be24
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x1ec]
or ecx, eax
test ecx, ecx
jne 0x4f148e
mov word [ebp - 0x58], 0x6e
lea eax, [ebp - 0x58]
push eax
push 0x5023f0
call fcn.0049100c
movsx eax, ax
test eax, eax
jne 0x4f1234
cmp word [ebp - 0x3c], 0xffff
jne 0x4f1234
mov edx, 0x431d60
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f1234
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f1125
and dword [ebp - 0x1f4], 0
jmp 0x4f1130
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax]
je 0x4f1188
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f1161
and dword [ebp - 0x1f8], 0
jmp 0x4f116c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
add ecx, eax
push ecx
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f11a0
and dword [ebp - 0x1fc], 0
jmp 0x4f11ab
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f11db
and dword [ebp - 0x200], 0
jmp 0x4f11e6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x200], eax
push 0x431d60
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
push dword [ecx + eax + 0x120]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x74], ecx
jmp 0x4f4987
mov word [ebp - 0x58], 0x83
lea eax, [ebp - 0x58]
push eax
push 0x5023f0
call fcn.0049100c
movsx eax, ax
test eax, eax
jne 0x4f1293
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f1266
and dword [ebp - 0x204], 0
jmp 0x4f1271
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x204], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0xc8
jge 0x4f1293
and dword [ebp - 0x208], 0
jmp 0x4f129d
mov dword [ebp - 0x208], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f12b7
and dword [ebp - 0x20c], 0
jmp 0x4f12c2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x302
jae 0x4f12dc
and dword [ebp - 0x210], 0
jmp 0x4f12e7
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d90c
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
mov esi, dword [ebp - 0x208]
or esi, eax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp - 0x74]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43be24
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
or esi, eax
test esi, esi
jne 0x4f148e
mov edx, 0x4321b4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f148e
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f137f
and dword [ebp - 0x214], 0
jmp 0x4f138a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax]
je 0x4f13e2
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f13bb
and dword [ebp - 0x218], 0
jmp 0x4f13c6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
add ecx, eax
push ecx
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f13fa
and dword [ebp - 0x21c], 0
jmp 0x4f1405
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f1435
and dword [ebp - 0x220], 0
jmp 0x4f1440
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x220], eax
push 0x4321b4
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
push dword [ecx + eax + 0x120]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x74], ecx
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f14a8
and dword [ebp - 0x224], 0
jmp 0x4f14b3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43be24
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4f157c
mov word [ebp - 0x58], 0x6f
lea eax, [ebp - 0x58]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4f157c
mov edx, 0x4321c4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f157c
cmp dword [0x501878], 0
jle 0x4f153b
mov eax, dword [0x501878]
cmp eax, dword [0x5017cc]
je 0x4f153b
push 0x5017cc
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f1553
and dword [ebp - 0x228], 0
jmp 0x4f155e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f1596
and dword [ebp - 0x22c], 0
jmp 0x4f15a1
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [ecx + eax + 0x7c]
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x7c]
push 0x43d8e0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f1684
fld qword [0x4040d0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld dword [0x4040c8]
fstp dword [ebp - 0x5c]
push 0x5017d8
push 0x5017d0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x401440]
fnstsw ax
sahf
jbe 0x4f1651
fld1
fstp dword [ebp - 0x64]
fld qword [0x4040d0]
fchs
fstp dword [ebp - 0x60]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld dword [0x4040c8]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x64]
push eax
push 0x5017d4
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov dword [ebp - 0x5c], 0x15e
lea eax, [ebp - 0x5c]
push eax
call fcn.004b7323
mov edx, 0x43ddf0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
push dword [ebp - 0x7c]
push 0x43d8ec
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f1e24
call fcn.004f8b5f
cmp ax, 0xffff
jne 0x4f16a9
jmp 0x4f4987
mov word [ebp - 0x58], 0x69
lea eax, [ebp - 0x58]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4f176b
cmp dword [0x5017f8], 0x32
jl 0x4f176b
mov edx, 0x43e0e8
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f176b
cmp dword [0x501878], 0
jle 0x4f171c
mov eax, dword [0x501878]
cmp eax, dword [0x5017cc]
je 0x4f171c
push 0x5017cc
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f1734
and dword [ebp - 0x230], 0
jmp 0x4f173f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x74], ecx
jmp 0x4f4987
mov eax, dword [0x501400]
sub eax, dword [0x5014b8]
jo 0x4f49b7
mov dword [ebp - 0x234], eax
fild dword [ebp - 0x234]
fstp qword [ebp - 0x23c]
fld qword [ebp - 0x23c]
cmp dword [section..data], 0
jne 0x4f17a5
fdiv qword [0x401500]
jmp 0x4f17b6
push dword [0x401504]
push dword [0x401500]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp dword [ebp - 0x28]
fnstsw ax
test al, 0xd
jne 0x4f49b2
mov eax, dword [0x501400]
sub eax, dword [0x5014bc]
jo 0x4f49b7
mov dword [ebp - 0x240], eax
fild dword [ebp - 0x240]
fstp qword [ebp - 0x248]
fld qword [ebp - 0x248]
cmp dword [section..data], 0
jne 0x4f17fd
fdiv qword [0x401500]
jmp 0x4f180e
push dword [0x401504]
push dword [0x401500]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp dword [ebp - 0x34]
fnstsw ax
test al, 0xd
jne 0x4f49b2
fld dword [ebp - 0x28]
fcomp dword [0x402f4c]
fnstsw ax
sahf
ja 0x4f1835
mov dword [ebp - 0x24c], 1
jmp 0x4f183c
and dword [ebp - 0x24c], 0
fld dword [ebp - 0x28]
fcomp dword [0x402f48]
fnstsw ax
sahf
jb 0x4f1856
mov dword [ebp - 0x250], 1
jmp 0x4f185d
and dword [ebp - 0x250], 0
fld dword [ebp - 0x34]
fcomp dword [0x402f4c]
fnstsw ax
sahf
ja 0x4f1877
mov dword [ebp - 0x254], 1
jmp 0x4f187e
and dword [ebp - 0x254], 0
fld dword [ebp - 0x34]
fcomp dword [0x402f48]
fnstsw ax
sahf
jb 0x4f1898
mov dword [ebp - 0x258], 1
jmp 0x4f189f
and dword [ebp - 0x258], 0
mov eax, dword [ebp - 0x24c]
or eax, dword [ebp - 0x250]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x254]
or ecx, dword [ebp - 0x258]
neg ecx
sbb ecx, ecx
neg ecx
and eax, ecx
test eax, eax
jne 0x4f18d7
cmp dword [0x5017f8], 0x1e
jl 0x4f18d7
jmp 0x4f4987
fld dword [ebp - 0x28]
fcomp dword [0x403bc4]
fnstsw ax
sahf
ja 0x4f18f1
mov dword [ebp - 0x25c], 1
jmp 0x4f18f8
and dword [ebp - 0x25c], 0
fld dword [ebp - 0x28]
fcomp dword [0x40423c]
fnstsw ax
sahf
jb 0x4f1912
mov dword [ebp - 0x260], 1
jmp 0x4f1919
and dword [ebp - 0x260], 0
fld dword [ebp - 0x34]
fcomp dword [0x404238]
fnstsw ax
sahf
ja 0x4f1933
mov dword [ebp - 0x264], 1
jmp 0x4f193a
and dword [ebp - 0x264], 0
fld dword [ebp - 0x34]
fcomp dword [0x40423c]
fnstsw ax
sahf
jb 0x4f1954
mov dword [ebp - 0x268], 1
jmp 0x4f195b
and dword [ebp - 0x268], 0
mov eax, dword [ebp - 0x25c]
or eax, dword [ebp - 0x260]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x264]
or ecx, dword [ebp - 0x268]
neg ecx
sbb ecx, ecx
neg ecx
and eax, ecx
test eax, eax
jne 0x4f1d78
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [0x5023cc], 0
jne 0x4f1a62
cmp dword [ebp - 0x20], 0
jl 0x4f1a5d
cmp dword [0x5018f4], 0
jle 0x4f1a12
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f19e2
and dword [ebp - 0x26c], 0
jmp 0x4f19ed
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
mov edx, dword [0x5018f4]
cmp edx, dword [ecx + eax + 4]
je 0x4f1a12
call fcn.00483209
jmp 0x4f4987
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f1a34
and dword [ebp - 0x270], 0
jmp 0x4f1a3f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
jmp 0x4f1d78
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f1d78
or word [ebp - 0x50], 0xffff
mov eax, dword [0x5015e4]
sub eax, 1
jo 0x4f49b7
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 1
and dword [ebp - 0x18], 0
jmp 0x4f1ac8
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x88]
jo 0x4f49b7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x8c]
jg 0x4f1cd1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f1aec
and dword [ebp - 0x274], 0
jmp 0x4f1af7
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x4041a0]
fnstsw ax
sahf
jae 0x4f1b57
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f1b2d
and dword [ebp - 0x278], 0
jmp 0x4f1b38
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x38], 2
jne 0x4f1b57
and dword [ebp - 0x27c], 0
jmp 0x4f1b61
mov dword [ebp - 0x27c], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jae 0x4f1b76
and dword [ebp - 0x280], 0
jmp 0x4f1b81
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x74]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x110]
fcomp dword [0x4015a8]
fnstsw ax
sahf
ja 0x4f1bae
mov dword [ebp - 0x284], 1
jmp 0x4f1bb5
and dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x27c]
or eax, dword [ebp - 0x284]
test eax, eax
jne 0x4f1ccc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f1bde
and dword [ebp - 0x288], 0
jmp 0x4f1be9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x84], 0
jne 0x4f1c7b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f1c17
and dword [ebp - 0x28c], 0
jmp 0x4f1c22
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0x1e
jl 0x4f1c7b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f1c4d
and dword [ebp - 0x290], 0
jmp 0x4f1c58
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x290], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x5017cc]
cmp edx, dword [ecx + eax]
jge 0x4f1c79
and word [ebp - 0x50], 0
jmp 0x4f1cd1
jmp 0x4f1ccc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f1c90
and dword [ebp - 0x294], 0
jmp 0x4f1c9b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x294], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501400]
sub edx, dword [ecx + eax + 0x8c]
jo 0x4f49b7
cmp edx, 0x258
jge 0x4f1ccc
and word [ebp - 0x50], 0
jmp 0x4f1cd1
jmp 0x4f1ab6
cmp word [ebp - 0x50], 0xffff
jne 0x4f1d78
cmp dword [0x5018f4], 0
jle 0x4f1d2d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f1cfd
and dword [ebp - 0x298], 0
jmp 0x4f1d08
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x298], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
mov edx, dword [0x5018f4]
cmp edx, dword [ecx + eax + 4]
je 0x4f1d2d
call fcn.00483209
jmp 0x4f4987
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f1d4f
and dword [ebp - 0x29c], 0
jmp 0x4f1d5a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
fld dword [0x402f58]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x501928]
fnstsw ax
sahf
jbe 0x4f1e1f
cmp dword [0x501878], 0
jle 0x4f1db7
mov eax, dword [0x501878]
cmp eax, dword [0x5017cc]
je 0x4f1db7
push 0x5017cc
call fcn.00482432
jmp 0x4f4987
mov edx, 0x43e0f8
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f1e1f
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f1df6
and dword [ebp - 0x2a0], 0
jmp 0x4f1e01
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
jmp 0x4f47ec
push dword [ebp - 0x7c]
push 0x43d91c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4f1e6c
push dword [ebp - 0x7c]
push 0x43d92c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4f1e6c
push dword [ebp - 0x7c]
push 0x43d93c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4f1e6c
push dword [ebp - 0x7c]
push 0x43d8fc
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f28f7
fld dword [0x4040c0]
fstp dword [ebp - 0x60]
fld dword [0x4040bc]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x402e3c]
fnstsw ax
sahf
jbe 0x4f1edf
fld1
fstp dword [ebp - 0x68]
fld dword [0x4038f0]
fstp dword [ebp - 0x64]
fld dword [0x4040c0]
fstp dword [ebp - 0x60]
fld dword [0x4040bc]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
cmp dword [0x5017f8], 0x3c
jge 0x4f1f93
mov word [ebp - 0x58], 0x83
lea eax, [ebp - 0x58]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4f1f93
mov edx, 0x4321b4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f1f93
cmp dword [0x501878], 0
jle 0x4f1f52
mov eax, dword [0x501878]
cmp eax, dword [0x5017cc]
je 0x4f1f52
push 0x5017cc
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f1f6a
and dword [ebp - 0x2a4], 0
jmp 0x4f1f75
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f1fad
and dword [ebp - 0x2a8], 0
jmp 0x4f1fb8
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d8fc
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f1fe2
call fcn.004ec849
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x4f1fe8
mov eax, dword [ebp + 0xc]
or dword [eax], 0xffffffff
mov word [ebp - 0x58], 0x48
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f2008
and dword [ebp - 0x2ac], 0
jmp 0x4f2013
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x58]
push eax
call fcn.0047d297
movsx esi, ax
neg esi
sbb esi, esi
neg esi
mov eax, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [eax], 0
setl bl
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d93c
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
and ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
or esi, ebx
test esi, esi
jne 0x4f2321
cmp dword [0x5023f4], 0
jge 0x4f20d8
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f20d3
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f20aa
and dword [ebp - 0x2b0], 0
jmp 0x4f20b5
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
jmp 0x4f2321
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f2321
mov eax, dword [0x5023f4]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f211a
and dword [ebp - 0x2b4], 0
jmp 0x4f2125
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x110]
fcomp dword [0x4015a8]
fnstsw ax
sahf
jne 0x4f2191
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f2168
and dword [ebp - 0x2b8], 0
jmp 0x4f2173
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [0x5023f4]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f21a8
and dword [ebp - 0x2bc], 0
jmp 0x4f21b3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x84], 0
jne 0x4f2298
mov eax, dword [0x5023f4]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f21e7
and dword [ebp - 0x2c0], 0
jmp 0x4f21f2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0x1e
jl 0x4f2298
mov eax, dword [0x5023f4]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f2223
and dword [ebp - 0x2c4], 0
jmp 0x4f222e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x5017cc]
cmp edx, dword [ecx + eax]
jge 0x4f2293
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f226a
and dword [ebp - 0x2c8], 0
jmp 0x4f2275
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
jmp 0x4f2321
mov eax, dword [0x5023f4]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f22af
and dword [ebp - 0x2cc], 0
jmp 0x4f22ba
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x84], 0xdac
jge 0x4f2321
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f22f8
and dword [ebp - 0x2d0], 0
jmp 0x4f2303
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
cmp dword [0x502404], 0
jl 0x4f24cf
mov word [ebp - 0x58], 0x83
lea eax, [ebp - 0x58]
push eax
push 0x502404
call fcn.0049100c
movsx eax, ax
test eax, eax
jne 0x4f24cf
mov eax, dword [0x502404]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f2364
and dword [ebp - 0x2d4], 0
jmp 0x4f236f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0xc8
jge 0x4f24cf
mov edx, 0x4321b4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f24cf
mov eax, dword [0x502404]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f23ce
and dword [ebp - 0x2d8], 0
jmp 0x4f23d9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax]
je 0x4f2431
mov eax, dword [0x502404]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f240a
and dword [ebp - 0x2dc], 0
jmp 0x4f2415
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2dc], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
add ecx, eax
push ecx
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f2449
and dword [ebp - 0x2e0], 0
jmp 0x4f2454
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
mov eax, dword [0x502404]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f2484
and dword [ebp - 0x2e4], 0
jmp 0x4f248f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2e4], eax
push 0x4321b4
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
push dword [ecx + eax + 0x120]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jl 0x4f2726
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f24f5
and dword [ebp - 0x2e8], 0
jmp 0x4f2500
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4f2558
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f2532
and dword [ebp - 0x2ec], 0
jmp 0x4f253d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4f4987
or dword [ebp - 0x20], 0xffffffff
fld dword [0x4040c0]
fstp dword [ebp - 0x60]
fld dword [0x4040bc]
fstp dword [ebp - 0x5c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f2588
and dword [ebp - 0x2f0], 0
jmp 0x4f2593
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f25ad
and dword [ebp - 0x2f4], 0
jmp 0x4f25b8
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2f4], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x402e3c]
fnstsw ax
sahf
jae 0x4f2691
mov edx, 0x43e104
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f2643
mov edx, 0x4333f0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f266a
mov edx, 0x43e114
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f2691
mov edx, 0x433410
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f26b8
mov edx, 0x433430
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f26df
mov edx, 0x433450
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f2721
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f26fd
and dword [ebp - 0x2f8], 0
jmp 0x4f2708
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
fld dword [0x4040c0]
fstp dword [ebp - 0x60]
fld dword [0x4040bc]
fstp dword [ebp - 0x5c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f2752
and dword [ebp - 0x2fc], 0
jmp 0x4f275d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f2777
and dword [ebp - 0x300], 0
jmp 0x4f2782
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x402e3c]
fnstsw ax
sahf
jbe 0x4f2834
fld dword [0x4040c0]
fstp dword [ebp - 0x60]
fld dword [0x4040bc]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4023d8]
fnstsw ax
sahf
jbe 0x4f2834
fld1
fstp dword [ebp - 0x68]
fld dword [0x4038f0]
fstp dword [ebp - 0x64]
fld dword [0x4040c0]
fstp dword [ebp - 0x60]
fld dword [0x4040bc]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
fld dword [0x4040c0]
fstp dword [ebp - 0x60]
fld dword [0x4040bc]
fstp dword [ebp - 0x5c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f2860
and dword [ebp - 0x304], 0
jmp 0x4f286b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x304], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f2885
and dword [ebp - 0x308], 0
jmp 0x4f2890
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x308], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x402e3c]
fnstsw ax
sahf
jbe 0x4f28f2
mov edx, 0x43de28
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
jmp 0x4f47ec
push dword [ebp - 0x7c]
push 0x43d90c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f3991
push dword [0x501140]
push 0x43d7ec
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4f295a
fld1
fstp dword [ebp - 0x68]
fld dword [0x4033a0]
fstp dword [ebp - 0x64]
fld dword [0x4040a4]
fstp dword [ebp - 0x60]
fld dword [0x4040a0]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
cmp dword [0x5017f8], 0x3c
jge 0x4f2a0e
mov word [ebp - 0x58], 0x83
lea eax, [ebp - 0x58]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4f2a0e
mov edx, 0x4321b4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f2a0e
cmp dword [0x501878], 0
jle 0x4f29cd
mov eax, dword [0x501878]
cmp eax, dword [0x5017cc]
je 0x4f29cd
push 0x5017cc
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f29e5
and dword [ebp - 0x30c], 0
jmp 0x4f29f0
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [0x501400]
sub eax, dword [0x5014c4]
jo 0x4f49b7
cmp eax, 0x190
jl 0x4f2aa5
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f2a40
and dword [ebp - 0x310], 0
jmp 0x4f2a4b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4f2a99
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f2a78
and dword [ebp - 0x314], 0
jmp 0x4f2a83
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x314], eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7b4
je 0x4f2aa5
mov dword [ebp - 0x318], 1
jmp 0x4f2aac
and dword [ebp - 0x318], 0
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x78]
jo 0x4f49b7
xor eax, eax
cmp ecx, 0x960
setle al
mov ecx, dword [0x501534]
mov edx, dword [0x501400]
sub edx, dword [ecx + 0x78]
jo 0x4f49b7
xor ecx, ecx
cmp edx, 0xb54
setge cl
or eax, ecx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x318]
and ecx, eax
test ecx, ecx
jne 0x4f2ef2
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [0x5023cc], 0
jne 0x4f2bdc
cmp dword [ebp - 0x20], 0
jl 0x4f2bd7
cmp dword [0x5018f4], 0
jle 0x4f2b8c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f2b5c
and dword [ebp - 0x31c], 0
jmp 0x4f2b67
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
mov edx, dword [0x5018f4]
cmp edx, dword [ecx + eax + 4]
je 0x4f2b8c
call fcn.00483209
jmp 0x4f4987
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f2bae
and dword [ebp - 0x320], 0
jmp 0x4f2bb9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
jmp 0x4f2ef2
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f2ef2
or word [ebp - 0x50], 0xffff
mov eax, dword [0x5015e4]
sub eax, 1
jo 0x4f49b7
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], 1
and dword [ebp - 0x18], 0
jmp 0x4f2c42
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x90]
jo 0x4f49b7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x94]
jg 0x4f2e4b
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f2c66
and dword [ebp - 0x324], 0
jmp 0x4f2c71
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x324], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x4041a0]
fnstsw ax
sahf
jae 0x4f2cd1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f2ca7
and dword [ebp - 0x328], 0
jmp 0x4f2cb2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x328], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x38], 2
jne 0x4f2cd1
and dword [ebp - 0x32c], 0
jmp 0x4f2cdb
mov dword [ebp - 0x32c], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jae 0x4f2cf0
and dword [ebp - 0x330], 0
jmp 0x4f2cfb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x74]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x110]
fcomp dword [0x4015a8]
fnstsw ax
sahf
ja 0x4f2d28
mov dword [ebp - 0x334], 1
jmp 0x4f2d2f
and dword [ebp - 0x334], 0
mov eax, dword [ebp - 0x32c]
or eax, dword [ebp - 0x334]
test eax, eax
jne 0x4f2e46
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f2d58
and dword [ebp - 0x338], 0
jmp 0x4f2d63
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x84], 0
jne 0x4f2df5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f2d91
and dword [ebp - 0x33c], 0
jmp 0x4f2d9c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0x1e
jl 0x4f2df5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f2dc7
and dword [ebp - 0x340], 0
jmp 0x4f2dd2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x5017cc]
cmp edx, dword [ecx + eax]
jge 0x4f2df3
and word [ebp - 0x50], 0
jmp 0x4f2e4b
jmp 0x4f2e46
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f2e0a
and dword [ebp - 0x344], 0
jmp 0x4f2e15
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501400]
sub edx, dword [ecx + eax + 0x8c]
jo 0x4f49b7
cmp edx, 0x258
jge 0x4f2e46
and word [ebp - 0x50], 0
jmp 0x4f2e4b
jmp 0x4f2c30
cmp word [ebp - 0x50], 0xffff
jne 0x4f2ef2
cmp dword [0x5018f4], 0
jle 0x4f2ea7
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f2e77
and dword [ebp - 0x348], 0
jmp 0x4f2e82
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
mov edx, dword [0x5018f4]
cmp edx, dword [ecx + eax + 4]
je 0x4f2ea7
call fcn.00483209
jmp 0x4f4987
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f2ec9
and dword [ebp - 0x34c], 0
jmp 0x4f2ed4
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x34c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov edx, 0x43de54
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.004721d5
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jl 0x4f3096
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0x302
jae 0x4f2f3b
and dword [ebp - 0x350], 0
jmp 0x4f2f46
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x74]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x18]
fcomp dword [0x401430]
fnstsw ax
sahf
jae 0x4f3096
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f2f7f
and dword [ebp - 0x354], 0
jmp 0x4f2f8a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4f3096
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0x302
jae 0x4f2fbb
and dword [ebp - 0x358], 0
jmp 0x4f2fc6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x70]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7b5
jne 0x4f3096
mov edx, 0x43292c
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f3028
mov edx, 0x43293c
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f304f
mov edx, 0x432918
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f3096
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f306d
and dword [ebp - 0x35c], 0
jmp 0x4f3078
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
or dword [ebp - 0x4c], 0xffffffff
cmp dword [0x5023fc], 0
jl 0x4f316a
mov eax, dword [0x5023fc]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f30be
and dword [ebp - 0x360], 0
jmp 0x4f30c9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x360], eax
mov esi, dword [ebp - 0x6c]
imul esi, esi, 0x124
fld dword [0x5017d4]
fadd dword [0x401440]
fnstsw ax
test al, 0xd
jne 0x4f49b2
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [0x5015d8]
fcomp dword [eax + esi + 0x10]
fnstsw ax
sahf
jae 0x4f3105
mov eax, dword [0x5023fc]
mov dword [ebp - 0x4c], eax
jmp 0x4f316a
cmp dword [0x502408], 0
jl 0x4f316a
mov eax, dword [0x502408]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f3125
and dword [ebp - 0x364], 0
jmp 0x4f3130
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x364], eax
mov esi, dword [ebp - 0x6c]
imul esi, esi, 0x124
fld dword [0x5017d4]
fadd dword [0x401440]
fnstsw ax
test al, 0xd
jne 0x4f49b2
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [0x5015d8]
fcomp dword [eax + esi + 0x10]
fnstsw ax
sahf
jae 0x4f316a
mov eax, dword [0x502408]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x4f330c
mov word [ebp - 0x58], 0x83
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0049100c
movsx eax, ax
test eax, eax
jne 0x4f330c
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f31a7
and dword [ebp - 0x368], 0
jmp 0x4f31b2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x368], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0x186
jge 0x4f330c
mov edx, 0x4321b4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f330c
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f320f
and dword [ebp - 0x36c], 0
jmp 0x4f321a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax]
je 0x4f3270
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f3249
and dword [ebp - 0x370], 0
jmp 0x4f3254
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
add ecx, eax
push ecx
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f3288
and dword [ebp - 0x374], 0
jmp 0x4f3293
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f32c1
and dword [ebp - 0x378], 0
jmp 0x4f32cc
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x378], eax
push 0x4321b4
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
push dword [ecx + eax + 0x120]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
cmp dword [0x5023f0], 0
jl 0x4f34ba
mov word [ebp - 0x58], 0x83
lea eax, [ebp - 0x58]
push eax
push 0x5023f0
call fcn.0049100c
movsx eax, ax
test eax, eax
jne 0x4f34ba
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f334f
and dword [ebp - 0x37c], 0
jmp 0x4f335a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0xc8
jge 0x4f34ba
mov edx, 0x4321b4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f34ba
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f33b9
and dword [ebp - 0x380], 0
jmp 0x4f33c4
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax]
je 0x4f341c
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f33f5
and dword [ebp - 0x384], 0
jmp 0x4f3400
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
add ecx, eax
push ecx
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f3434
and dword [ebp - 0x388], 0
jmp 0x4f343f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f346f
and dword [ebp - 0x38c], 0
jmp 0x4f347a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x38c], eax
push 0x4321b4
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
push dword [ecx + eax + 0x120]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
movsx eax, word [ebp - 0x3c]
test eax, eax
jne 0x4f3635
cmp dword [0x5023e0], 0
jl 0x4f3635
mov word [ebp - 0x58], 0x6e
lea eax, [ebp - 0x58]
push eax
push 0x5023e0
call fcn.0049100c
movsx eax, ax
test eax, eax
jne 0x4f3635
mov edx, 0x431d60
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f3635
mov eax, dword [0x5023e0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f3534
and dword [ebp - 0x390], 0
jmp 0x4f353f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax]
je 0x4f3597
mov eax, dword [0x5023e0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f3570
and dword [ebp - 0x394], 0
jmp 0x4f357b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
add ecx, eax
push ecx
call fcn.00482432
jmp 0x4f4987
mov eax, dword [0x5023e0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f35ae
and dword [ebp - 0x398], 0
jmp 0x4f35b9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x398], eax
push 0x431d60
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
push dword [ecx + eax + 0x120]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f360c
and dword [ebp - 0x39c], 0
jmp 0x4f3617
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
cmp word [ebp - 0x3c], 0xffff
jne 0x4f37af
cmp dword [0x50240c], 0
jl 0x4f37af
mov word [ebp - 0x58], 0x6e
lea eax, [ebp - 0x58]
push eax
push 0x50240c
call fcn.0049100c
movsx eax, ax
test eax, eax
jne 0x4f37af
mov edx, 0x431d60
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f37af
mov eax, dword [0x50240c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f36ae
and dword [ebp - 0x3a0], 0
jmp 0x4f36b9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax]
je 0x4f3711
mov eax, dword [0x50240c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f36ea
and dword [ebp - 0x3a4], 0
jmp 0x4f36f5
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
add ecx, eax
push ecx
call fcn.00482432
jmp 0x4f4987
mov eax, dword [0x50240c]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f3728
and dword [ebp - 0x3a8], 0
jmp 0x4f3733
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3a8], eax
push 0x431d60
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
push dword [ecx + eax + 0x120]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f3786
and dword [ebp - 0x3ac], 0
jmp 0x4f3791
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
push 0x5017d4
push 0x5017d8
push 0x5017d0
call fcn.004cfa07
movsx eax, ax
test eax, eax
jne 0x4f37d4
call fcn.004cfe98
jmp 0x4f4987
fld dword [0x403b30]
fstp dword [ebp - 0x60]
fld dword [0x404128]
fstp dword [ebp - 0x5c]
push 0x5017d8
push 0x5017d0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fstp dword [ebp - 0x3b0]
fld dword [0x402f08]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [ebp - 0x3b0]
fnstsw ax
sahf
jae 0x4f384f
fld dword [0x403ec8]
fstp dword [ebp - 0x64]
fld dword [0x403b30]
fstp dword [ebp - 0x60]
fld dword [0x404128]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004ccb40
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f3869
and dword [ebp - 0x3b4], 0
jmp 0x4f3874
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3b4], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4f38cc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f38a6
and dword [ebp - 0x3b8], 0
jmp 0x4f38b1
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4f4987
fld dword [0x4040c4]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jae 0x4f3902
mov edx, 0x43de04
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
mov edx, 0x433430
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f394a
mov edx, 0x433450
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f398c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f3968
and dword [ebp - 0x3bc], 0
jmp 0x4f3973
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
push dword [ebp - 0x7c]
push 0x43be24
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4f47ec
fld dword [0x404158]
fstp dword [ebp - 0x60]
fld dword [0x404154]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4021a8]
fnstsw ax
sahf
jbe 0x4f3a15
fld dword [0x402f08]
fstp dword [ebp - 0x64]
fld dword [0x404158]
fstp dword [ebp - 0x60]
fld dword [0x404154]
fstp dword [ebp - 0x5c]
lea eax, [ebp - 0x64]
push eax
push 0x5017d4
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004c06ef
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f3a2f
and dword [ebp - 0x3c0], 0
jmp 0x4f3a3a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x18]
fcomp dword [0x402340]
fnstsw ax
sahf
ja 0x4f3a61
mov dword [ebp - 0x3c4], 1
jmp 0x4f3a68
and dword [ebp - 0x3c4], 0
mov eax, dword [0x501400]
sub eax, dword [0x501500]
jo 0x4f49b7
xor ecx, ecx
cmp eax, 0xbb8
setle cl
or ecx, dword [ebp - 0x3c4]
test ecx, ecx
jne 0x4f3ac0
mov eax, dword [0x501400]
mov dword [0x501500], eax
fld dword [0x404158]
fstp dword [ebp - 0x60]
fld dword [0x404154]
fstp dword [ebp - 0x5c]
push 0x5017d4
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00468ab4
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f3ada
and dword [ebp - 0x3c8], 0
jmp 0x4f3ae5
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x18]
fcomp dword [0x402340]
fnstsw ax
sahf
jbe 0x4f3b08
and word [0x5014d8], 0
movsx eax, word [0x5014d8]
test eax, eax
jne 0x4f3b59
mov eax, dword [0x501400]
sub eax, dword [0x5014d0]
jo 0x4f49b7
xor ecx, ecx
cmp eax, 0x258
setl cl
mov eax, dword [0x501400]
sub eax, dword [0x5014d0]
jo 0x4f49b7
xor edx, edx
cmp eax, 0x3e8
setge dl
or ecx, edx
test ecx, ecx
jne 0x4f3b54
or word [ebp - 0x30], 0xffff
jmp 0x4f3c5e
mov eax, dword [0x501400]
sub eax, dword [0x5014d4]
jo 0x4f49b7
mov dword [ebp - 0x3cc], eax
fild dword [ebp - 0x3cc]
fstp qword [ebp - 0x3d4]
fld qword [ebp - 0x3d4]
cmp dword [section..data], 0
jne 0x4f3b93
fdiv qword [0x401500]
jmp 0x4f3ba4
push dword [0x401504]
push dword [0x401500]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4f49b2
call sub.MSVBVM60.DLL___vbaFpR8
fcomp qword [0x4030e0]
fnstsw ax
sahf
jae 0x4f3bca
mov dword [ebp - 0x3d8], 1
jmp 0x4f3bd1
and dword [ebp - 0x3d8], 0
mov eax, dword [0x501400]
sub eax, dword [0x5014d4]
jo 0x4f49b7
mov dword [ebp - 0x3dc], eax
fild dword [ebp - 0x3dc]
fstp qword [ebp - 0x3e4]
fld qword [ebp - 0x3e4]
cmp dword [section..data], 0
jne 0x4f3c0b
fdiv qword [0x401500]
jmp 0x4f3c1c
push dword [0x401504]
push dword [0x401500]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fnstsw ax
test al, 0xd
jne 0x4f49b2
call sub.MSVBVM60.DLL___vbaFpR8
fcomp qword [0x404230]
fnstsw ax
sahf
jb 0x4f3c42
mov dword [ebp - 0x3e8], 1
jmp 0x4f3c49
and dword [ebp - 0x3e8], 0
mov eax, dword [ebp - 0x3d8]
or eax, dword [ebp - 0x3e8]
test eax, eax
jne 0x4f3c5e
or word [ebp - 0x30], 0xffff
mov edx, 0x42c5c8
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0047210d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jge 0x4f3c93
mov eax, dword [0x501400]
mov dword [0x5014f4], eax
mov eax, dword [0x501400]
sub eax, dword [0x5014f4]
jo 0x4f49b7
mov dword [ebp - 0x3ec], eax
fild dword [ebp - 0x3ec]
fstp qword [ebp - 0x3f4]
fld qword [0x404098]
fmul qword [0x401500]
fnstsw ax
test al, 0xd
jne 0x4f49b2
call sub.MSVBVM60.DLL___vbaFpR8
fcomp qword [ebp - 0x3f4]
fnstsw ax
sahf
jbe 0x4f3ce8
mov dword [ebp - 0x3f8], 1
jmp 0x4f3cef
and dword [ebp - 0x3f8], 0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax], 0
setl cl
or ecx, dword [ebp - 0x3f8]
neg ecx
sbb ecx, ecx
neg ecx
mov eax, dword [0x501400]
sub eax, dword [0x5014f4]
jo 0x4f49b7
xor edx, edx
cmp eax, 0x7d0
setge dl
or ecx, edx
test ecx, ecx
jne 0x4f3daf
mov eax, dword [0x501400]
sub eax, dword [0x5014f8]
jo 0x4f49b7
cmp eax, 0x3e8
jle 0x4f3daf
cmp dword [0x5023cc], 0
jne 0x4f3daf
cmp dword [0x5018e0], 0
jne 0x4f3daf
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f3daf
mov edx, 0x43d0f4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.004781b3
movsx eax, ax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f3daf
lea eax, [ebp - 0x20]
push eax
call fcn.00482c1b
mov eax, dword [0x501400]
sub eax, dword [0x5014f4]
jo 0x4f49b7
mov dword [ebp - 0x3fc], eax
fild dword [ebp - 0x3fc]
fstp qword [ebp - 0x404]
fld qword [0x404228]
fmul qword [0x401500]
fnstsw ax
test al, 0xd
jne 0x4f49b2
call sub.MSVBVM60.DLL___vbaFpR8
fcomp qword [ebp - 0x404]
fnstsw ax
sahf
jbe 0x4f3e04
mov dword [ebp - 0x408], 1
jmp 0x4f3e0b
and dword [ebp - 0x408], 0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax], 0
setl cl
or ecx, dword [ebp - 0x408]
test ecx, ecx
jne 0x4f421b
or word [0x5014d8], 0xffff
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [0x5023cc], 0
jne 0x4f3f05
cmp dword [ebp - 0x20], 0
jl 0x4f3f00
cmp dword [0x5018f4], 0
jle 0x4f3eb5
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f3e85
and dword [ebp - 0x40c], 0
jmp 0x4f3e90
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
mov edx, dword [0x5018f4]
cmp edx, dword [ecx + eax + 4]
je 0x4f3eb5
call fcn.00483209
jmp 0x4f4987
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f3ed7
and dword [ebp - 0x410], 0
jmp 0x4f3ee2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
jmp 0x4f421b
mov edx, 0x43d0c0
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f421b
or word [ebp - 0x50], 0xffff
mov eax, dword [0x5015e4]
sub eax, 1
jo 0x4f49b7
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 1
and dword [ebp - 0x18], 0
jmp 0x4f3f6b
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x98]
jo 0x4f49b7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x9c]
jg 0x4f4174
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f3f8f
and dword [ebp - 0x414], 0
jmp 0x4f3f9a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x4041a0]
fnstsw ax
sahf
jae 0x4f3ffa
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f3fd0
and dword [ebp - 0x418], 0
jmp 0x4f3fdb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x38], 2
jne 0x4f3ffa
and dword [ebp - 0x41c], 0
jmp 0x4f4004
mov dword [ebp - 0x41c], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jae 0x4f4019
and dword [ebp - 0x420], 0
jmp 0x4f4024
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x74]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x110]
fcomp dword [0x4015a8]
fnstsw ax
sahf
ja 0x4f4051
mov dword [ebp - 0x424], 1
jmp 0x4f4058
and dword [ebp - 0x424], 0
mov eax, dword [ebp - 0x41c]
or eax, dword [ebp - 0x424]
test eax, eax
jne 0x4f416f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f4081
and dword [ebp - 0x428], 0
jmp 0x4f408c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x84], 0
jne 0x4f411e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f40ba
and dword [ebp - 0x42c], 0
jmp 0x4f40c5
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0x1e
jl 0x4f411e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f40f0
and dword [ebp - 0x430], 0
jmp 0x4f40fb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x5017cc]
cmp edx, dword [ecx + eax]
jge 0x4f411c
and word [ebp - 0x50], 0
jmp 0x4f4174
jmp 0x4f416f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f4133
and dword [ebp - 0x434], 0
jmp 0x4f413e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501400]
sub edx, dword [ecx + eax + 0x8c]
jo 0x4f49b7
cmp edx, 0x258
jge 0x4f416f
and word [ebp - 0x50], 0
jmp 0x4f4174
jmp 0x4f3f59
cmp word [ebp - 0x50], 0xffff
jne 0x4f421b
cmp dword [0x5018f4], 0
jle 0x4f41d0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f41a0
and dword [ebp - 0x438], 0
jmp 0x4f41ab
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
mov edx, dword [0x5018f4]
cmp edx, dword [ecx + eax + 4]
je 0x4f41d0
call fcn.00483209
jmp 0x4f4987
mov eax, dword [0x501400]
mov dword [0x5014f8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f41f2
and dword [ebp - 0x43c], 0
jmp 0x4f41fd
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x43c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jge 0x4f422c
cmp dword [0x5017f8], 0x78
jl 0x4f4239
cmp dword [0x5017f8], 0x1e
jge 0x4f42e0
mov word [ebp - 0x58], 0x83
lea eax, [ebp - 0x58]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4f42e0
mov edx, 0x4321b4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f42e0
cmp dword [0x501878], 0
jle 0x4f429f
mov eax, dword [0x501878]
cmp eax, dword [0x5017cc]
je 0x4f429f
push 0x5017cc
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f42b7
and dword [ebp - 0x440], 0
jmp 0x4f42c2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x440], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jge 0x4f449a
cmp dword [0x5023f0], 0
jl 0x4f449a
mov word [ebp - 0x58], 0x83
lea eax, [ebp - 0x58]
push eax
push 0x5023f0
call fcn.0049100c
movsx eax, ax
test eax, eax
jne 0x4f449a
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f432f
and dword [ebp - 0x444], 0
jmp 0x4f433a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x34], 0xc8
jge 0x4f449a
mov edx, 0x4321b4
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f449a
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f4399
and dword [ebp - 0x448], 0
jmp 0x4f43a4
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax]
je 0x4f43fc
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f43d5
and dword [ebp - 0x44c], 0
jmp 0x4f43e0
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x44c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
add ecx, eax
push ecx
call fcn.00482432
jmp 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f4414
and dword [ebp - 0x450], 0
jmp 0x4f441f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x450], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
mov eax, dword [0x5023f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f444f
and dword [ebp - 0x454], 0
jmp 0x4f445a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x454], eax
push 0x4321b4
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
push dword [ecx + eax + 0x120]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
mov eax, dword [0x501400]
sub eax, dword [0x5014d0]
jo 0x4f49b7
xor ecx, ecx
cmp eax, 0x44c
setle cl
mov eax, dword [0x501400]
sub eax, dword [0x5014d0]
jo 0x4f49b7
xor edx, edx
cmp eax, 0xa8c
setge dl
or ecx, edx
test ecx, ecx
jne 0x4f470c
mov edx, 0x4328e8
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f470c
cmp dword [0x5017e8], 0x320
jle 0x4f470c
fld dword [0x402f60]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x501928]
fnstsw ax
sahf
jbe 0x4f4532
mov dword [ebp - 0x2c], 1
mov eax, dword [0x5015e4]
sub eax, 1
jo 0x4f49b7
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 1
and dword [ebp - 0x18], 0
jmp 0x4f4568
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xa0]
jo 0x4f49b7
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0xa4]
jg 0x4f46a7
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xb
jae 0x4f458c
and dword [ebp - 0x458], 0
jmp 0x4f4597
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x402f4c]
fnstsw ax
sahf
jb 0x4f45c4
mov dword [ebp - 0x45c], 1
jmp 0x4f45cb
and dword [ebp - 0x45c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0xb
jae 0x4f45e0
and dword [ebp - 0x460], 0
jmp 0x4f45eb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x460], eax
mov eax, dword [ebp - 0x70]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x110]
fcomp dword [0x4015a8]
fnstsw ax
sahf
ja 0x4f4618
mov dword [ebp - 0x464], 1
jmp 0x4f461f
and dword [ebp - 0x464], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb
jae 0x4f4634
and dword [ebp - 0x468], 0
jmp 0x4f463f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x468], eax
mov esi, dword [ebp - 0x74]
imul esi, esi, 0x124
fld dword [0x402f60]
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [0x5015d8]
fcomp dword [eax + esi + 0x110]
fnstsw ax
sahf
ja 0x4f4670
mov dword [ebp - 0x46c], 1
jmp 0x4f4677
and dword [ebp - 0x46c], 0
mov eax, dword [ebp - 0x45c]
or eax, dword [ebp - 0x464]
neg eax
sbb eax, eax
neg eax
or eax, dword [ebp - 0x46c]
test eax, eax
jne 0x4f46a2
mov eax, dword [ebp - 0x2c]
add eax, 1
jo 0x4f49b7
mov dword [ebp - 0x2c], eax
jmp 0x4f4556
cmp dword [ebp - 0x2c], 1
jle 0x4f470c
mov edx, 0x43d698
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f46e3
and dword [ebp - 0x470], 0
jmp 0x4f46ee
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f4726
and dword [ebp - 0x474], 0
jmp 0x4f4731
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4f47e7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f4767
and dword [ebp - 0x478], 0
jmp 0x4f4772
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x478], eax
push 0x43dfb4
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f47c1
and dword [ebp - 0x47c], 0
jmp 0x4f47cc
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4f4987
jmp 0x4f4987
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f4806
and dword [ebp - 0x480], 0
jmp 0x4f4811
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4f48c7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f4847
and dword [ebp - 0x484], 0
jmp 0x4f4852
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x484], eax
push 0x43dfb4
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x302
jae 0x4f48a1
and dword [ebp - 0x488], 0
jmp 0x4f48ac
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x6c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4f4987
fld dword [0x4040c4]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jae 0x4f48fd
mov edx, 0x43de04
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4f4987
mov edx, 0x433430
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4f4945
mov edx, 0x433450
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4f4987
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81
jae 0x4f4963
and dword [ebp - 0x48c], 0
jmp 0x4f496e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x6c]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
wait
push 0x4f49a1
jmp 0x4f4998
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
jmp fcn.0040447c
call sub.MSVBVM60.DLL___vbaErrorOverflow