Function at 0x4ecc73
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, 0x230
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x404218
fld dword [0x404100]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x501904]
fnstsw ax
sahf
je 0x4ecce1
fld dword [0x404100]
fstp dword [ebp - 0x5c]
mov eax, dword [0x501054]
add eax, 0x4f4
jo 0x4ef673
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0046566f
call fcn.0046b872
cmp ax, 0xffff
jne 0x4eccf1
jmp 0x4ef638
fld qword [0x4040f8]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld qword [0x403788]
fchs
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x402f4c]
fnstsw ax
sahf
jb 0x4ecd4e
mov dword [ebp - 0xa0], 1
jmp 0x4ecd55
and dword [ebp - 0xa0], 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 - 0xa0]
neg eax
sbb eax, eax
neg eax
or ebx, eax
test ebx, ebx
jne 0x4ed012
mov dword [ebp - 0x58], 2
lea eax, [ebp - 0x58]
push eax
call fcn.004cff9f
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x4ed012
push dword [0x501140]
push 0x43d7ec
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4ece0f
fld1
fstp dword [ebp - 0x64]
fld dword [0x40371c]
fstp dword [ebp - 0x60]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld qword [0x403020]
fchs
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c06ef
jmp 0x4ef638
mov eax, dword [0x501400]
sub eax, dword [0x501500]
jo 0x4ef673
cmp eax, 0xbb8
jle 0x4ece7a
mov eax, dword [0x501400]
mov dword [0x501500], eax
fld dword [0x40371c]
fstp dword [ebp - 0x60]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld qword [0x403020]
fchs
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00468ab4
jmp 0x4ef638
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld qword [0x403020]
fchs
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4023d8]
fnstsw ax
sahf
jbe 0x4ecf1d
fld1
fstp dword [ebp - 0x64]
fld dword [0x40371c]
fstp dword [ebp - 0x60]
fld qword [0x4040f0]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld qword [0x403020]
fchs
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c06ef
jmp 0x4ef638
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ecf35
and dword [ebp - 0xa4], 0
jmp 0x4ecf40
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa4], eax
mov esi, dword [ebp - 0x78]
shl esi, 7
fld dword [0x4040e8]
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [0x501b58]
fcomp dword [eax + esi + 0x18]
fnstsw ax
sahf
jbe 0x4ecfef
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ecf7b
and dword [ebp - 0xa8], 0
jmp 0x4ecf86
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4ecfdc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ecfb6
and dword [ebp - 0xac], 0
jmp 0x4ecfc1
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4ef638
cmp dword [0x5018fc], 3
je 0x4ecfea
call fcn.0048319e
jmp 0x4ef638
mov edx, 0x43ddbc
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jl 0x4ed943
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed038
and dword [ebp - 0xb0], 0
jmp 0x4ed043
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43ba0c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4ed204
fld dword [0x5017d4]
fcomp dword [0x40309c]
fnstsw ax
sahf
jae 0x4ed19d
fld dword [0x5017d4]
fcomp dword [0x4040e4]
fnstsw ax
sahf
jae 0x4ed095
call fcn.004c052f
jmp 0x4ef638
cmp dword [0x5023f0], 0
jge 0x4ed0c1
mov edx, 0x43ddd0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov eax, dword [0x5023f0]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xb
jae 0x4ed0d8
and dword [ebp - 0xb4], 0
jmp 0x4ed0e3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x40233c]
fnstsw ax
sahf
ja 0x4ed110
mov dword [ebp - 0xb8], 1
jmp 0x4ed117
and dword [ebp - 0xb8], 0
mov eax, dword [0x5023f0]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xb
jae 0x4ed12e
and dword [ebp - 0xbc], 0
jmp 0x4ed139
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x7c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x10]
fcomp dword [0x40309c]
fnstsw ax
sahf
jb 0x4ed163
mov dword [ebp - 0xc0], 1
jmp 0x4ed16a
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xb8]
and eax, dword [ebp - 0xc0]
test eax, eax
jne 0x4ed19d
mov edx, 0x43ddd0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
fld dword [0x5017d0]
fcomp dword [0x4040e0]
fnstsw ax
sahf
jbe 0x4ed204
fld dword [0x402f08]
fstp dword [ebp - 0x64]
fld dword [0x4038f0]
fstp dword [ebp - 0x60]
fld qword [0x4038a8]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld qword [0x4040d8]
fchs
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c06ef
jmp 0x4ef638
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed21e
and dword [ebp - 0xc4], 0
jmp 0x4ed229
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d880
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4ed382
and word [0x50151c], 0
mov eax, dword [0x5015e4]
sub eax, 1
jo 0x4ef673
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 1
and dword [ebp - 0x18], 0
jmp 0x4ed289
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x94]
jo 0x4ef673
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x98]
jg 0x4ed354
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xb
jae 0x4ed2ad
and dword [ebp - 0xc8], 0
jmp 0x4ed2b8
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x7c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x402f48]
fnstsw ax
sahf
jae 0x4ed34f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xb
jae 0x4ed2ee
and dword [ebp - 0xcc], 0
jmp 0x4ed2f9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x20], 0
jle 0x4ed34f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xb
jae 0x4ed324
and dword [ebp - 0xd0], 0
jmp 0x4ed32f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x80]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x38], 7
jne 0x4ed34f
or word [0x50151c], 0xffff
jmp 0x4ed354
jmp 0x4ed277
movsx eax, word [0x50151c]
test eax, eax
jne 0x4ed382
mov edx, 0x43e098
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
and word [ebp - 0x54], 0
mov edx, 0x42ad00
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00465f59
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
and word [ebp - 0x54], 0
mov edx, 0x42add0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00465f59
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
mov word [ebp - 0x54], 0xba
lea eax, [ebp - 0x54]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4ed44e
mov edx, 0x43e0ac
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ed44e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ed425
and dword [ebp - 0xd4], 0
jmp 0x4ed430
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed468
and dword [ebp - 0xd8], 0
jmp 0x4ed473
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xd8], eax
mov eax, dword [0x501400]
sub eax, dword [0x501508]
jo 0x4ef673
xor ebx, ebx
cmp eax, 0xbb8
setle bl
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43ba0c
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
or ebx, eax
test ebx, ebx
jne 0x4ed584
mov dword [ebp - 0x38], 0x80020004
mov dword [ebp - 0x40], 0xa
lea eax, [ebp - 0x40]
push eax
call sub.MSVBVM60.DLL_rtcRandomNext
fstp dword [ebp - 0x58]
fld1
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fmul dword [ebp - 0x58]
fmul qword [0x4023c8]
fmul qword [0x402cd0]
fstp dword [ebp - 0x14]
fnstsw ax
test al, 0xd
jne 0x4ef66e
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeVar
mov eax, dword [0x501400]
mov dword [0x501508], eax
fld dword [ebp - 0x14]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSin
fstp qword [ebp - 0x6c]
fld dword [ebp - 0x14]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0x74]
fld dword [0x5017d4]
fsub dword [0x401440]
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld dword [0x5017d0]
fadd qword [ebp - 0x6c]
fadd qword [ebp - 0x74]
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
lea eax, [ebp - 0x5c]
push eax
push 0x5017d8
lea eax, [ebp - 0x58]
push eax
call fcn.00468ab4
push 0x3e8
call fcn.004293d4
call sub.MSVBVM60.DLL___vbaSetSystemError
jmp 0x4ef638
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed59e
and dword [ebp - 0xdc], 0
jmp 0x4ed5a9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ed5c3
and dword [ebp - 0xe0], 0
jmp 0x4ed5ce
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x78]
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 - 0x7c]
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 0x4ed7ba
cmp dword [0x5023f0], 0
jl 0x4ed7ba
mov eax, dword [0x5023f0]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xb
jae 0x4ed63e
and dword [ebp - 0xe4], 0
jmp 0x4ed649
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x40233c]
fnstsw ax
sahf
jb 0x4ed676
mov dword [ebp - 0xe8], 1
jmp 0x4ed67d
and dword [ebp - 0xe8], 0
mov eax, dword [0x5023f0]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xb
jae 0x4ed694
and dword [ebp - 0xec], 0
jmp 0x4ed69f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x7c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
fld dword [ecx + eax + 0x11c]
fcomp dword [0x401618]
fnstsw ax
sahf
ja 0x4ed6cc
mov dword [ebp - 0xf0], 1
jmp 0x4ed6d3
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xe8]
or eax, dword [ebp - 0xf0]
test eax, eax
jne 0x4ed7ba
fld1
fstp dword [ebp - 0x58]
mov eax, dword [0x5023f0]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0xb
jae 0x4ed703
and dword [ebp - 0xf4], 0
jmp 0x4ed70e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xf4], eax
mov eax, dword [0x5023f0]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0xb
jae 0x4ed725
and dword [ebp - 0xf8], 0
jmp 0x4ed730
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xf8], eax
mov eax, dword [0x5023f0]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0xb
jae 0x4ed747
and dword [ebp - 0xfc], 0
jmp 0x4ed752
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x80]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x7c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
lea eax, [ecx + eax + 0x14]
push eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
lea eax, [ecx + eax + 0xc]
push eax
call fcn.004c06ef
mov edx, 0x43dde0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed7d4
and dword [ebp - 0x100], 0
jmp 0x4ed7df
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x14]
fcomp dword [0x4014f8]
fnstsw ax
sahf
jbe 0x4ed8b3
fld1
fstp dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x302
jae 0x4ed81d
and dword [ebp - 0x104], 0
jmp 0x4ed828
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ed842
and dword [ebp - 0x108], 0
jmp 0x4ed84d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed867
and dword [ebp - 0x10c], 0
jmp 0x4ed872
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x80]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0xc]
push eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.004c06ef
jmp 0x4ef638
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed8cd
and dword [ebp - 0x110], 0
jmp 0x4ed8d8
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4ed930
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed90a
and dword [ebp - 0x114], 0
jmp 0x4ed915
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4ef638
cmp dword [0x5018fc], 3
je 0x4ed93e
call fcn.0048319e
jmp 0x4ef638
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jl 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed969
and dword [ebp - 0x118], 0
jmp 0x4ed974
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
jne 0x4eda79
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ed9aa
and dword [ebp - 0x11c], 0
jmp 0x4ed9b5
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x40], 0
jle 0x4eda79
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ed9e6
and dword [ebp - 0x120], 0
jmp 0x4ed9f1
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x120], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4eda0b
and dword [ebp - 0x124], 0
jmp 0x4eda16
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
fild dword [ecx + eax + 0x3c]
fstp qword [ebp - 0x12c]
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
fild dword [ecx + eax + 0x40]
fstp qword [ebp - 0x134]
fld qword [ebp - 0x12c]
cmp dword [section..data], 0
jne 0x4eda59
fdiv qword [ebp - 0x134]
jmp 0x4eda6a
push dword [ebp - 0x130]
push dword [ebp - 0x134]
call sub.MSVBVM60.DLL__adj_fdiv_m64
fstp dword [ebp - 0x1c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
jmp 0x4eda7e
fld1
fstp dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eda98
and dword [ebp - 0x138], 0
jmp 0x4edaa3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d90c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4edae6
push 0x5017d4
push 0x5017d8
push 0x5017d0
call fcn.004cfa07
movsx eax, ax
test eax, eax
jne 0x4edae6
call fcn.004cfe98
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4edb00
and dword [ebp - 0x13c], 0
jmp 0x4edb0b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x13c], 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
test eax, eax
jne 0x4edba6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4edb43
and dword [ebp - 0x140], 0
jmp 0x4edb4e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4edba6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4edb7b
and dword [ebp - 0x144], 0
jmp 0x4edb86
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7ad
jne 0x4edba6
mov eax, dword [0x501400]
mov dword [0x501518], eax
mov word [ebp - 0x54], 0xba
lea eax, [ebp - 0x54]
push eax
call fcn.0047d297
movsx eax, ax
neg eax
sbb eax, eax
neg eax
mov ecx, dword [0x501534]
mov edx, dword [0x501400]
sub edx, dword [ecx + 0x70]
jo 0x4ef673
xor ecx, ecx
cmp edx, 0x64
setle cl
or eax, ecx
test eax, eax
jne 0x4edc57
mov edx, 0x43e0ac
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4edc57
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x70], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4edc2e
and dword [ebp - 0x148], 0
jmp 0x4edc39
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4edc71
and dword [ebp - 0x14c], 0
jmp 0x4edc7c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [ecx + eax + 0x7c]
lea ecx, [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaStrCopy
push dword [ebp - 0x88]
push 0x43d8e0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4edd65
fld qword [0x4040d0]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld dword [0x4040c8]
fstp dword [ebp - 0x58]
push 0x5017d8
push 0x5017d0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x401440]
fnstsw ax
sahf
jbe 0x4edd32
fld1
fstp dword [ebp - 0x60]
fld qword [0x4040d0]
fchs
fstp dword [ebp - 0x5c]
fnstsw ax
test al, 0xd
jne 0x4ef66e
fld dword [0x4040c8]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x60]
push eax
push 0x5017d4
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c06ef
jmp 0x4ef638
mov dword [ebp - 0x58], 0x15e
lea eax, [ebp - 0x58]
push eax
call fcn.004b7323
mov edx, 0x43ddf0
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
push dword [ebp - 0x88]
push 0x43d8ec
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4ee10e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4edd97
and dword [ebp - 0x150], 0
jmp 0x4edda2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4eddfa
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eddd4
and dword [ebp - 0x154], 0
jmp 0x4edddf
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ede14
and dword [ebp - 0x158], 0
jmp 0x4ede1f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x18]
fcomp dword [0x4023dc]
fnstsw ax
sahf
jbe 0x4edf1e
and word [ebp - 0x54], 0
mov edx, 0x42b324
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00465f59
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
fld dword [0x403ea4]
fstp dword [ebp - 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x302
jae 0x4ede88
and dword [ebp - 0x15c], 0
jmp 0x4ede93
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4edead
and dword [ebp - 0x160], 0
jmp 0x4edeb8
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eded2
and dword [ebp - 0x164], 0
jmp 0x4ededd
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x80]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0xc]
push eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.004c06ef
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4edf38
and dword [ebp - 0x168], 0
jmp 0x4edf43
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x18]
fcomp dword [0x401440]
fnstsw ax
sahf
ja 0x4edf85
or word [ebp - 0x54], 0xffff
mov edx, 0x42b324
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00465f59
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4edf9f
and dword [ebp - 0x16c], 0
jmp 0x4edfaa
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x16c], eax
mov esi, dword [ebp - 0x78]
shl esi, 7
fld dword [0x403ec8]
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [0x501b58]
fcomp dword [eax + esi + 0x18]
fnstsw ax
sahf
jae 0x4ee044
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4edfe3
and dword [ebp - 0x170], 0
jmp 0x4edfee
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee008
and dword [ebp - 0x174], 0
jmp 0x4ee013
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x174], eax
push 0x5017d4
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.00468ab4
jmp 0x4ef638
fld dword [0x4040c4]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jae 0x4ee07a
mov edx, 0x43de04
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov edx, 0x43292c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4ee0c2
mov edx, 0x43293c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ee109
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ee0e0
and dword [ebp - 0x178], 0
jmp 0x4ee0eb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
jmp 0x4ef430
push dword [ebp - 0x88]
push 0x43d91c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4ee162
push dword [ebp - 0x88]
push 0x43d92c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4ee162
push dword [ebp - 0x88]
push 0x43d93c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x4ee162
push dword [ebp - 0x88]
push 0x43d8fc
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4ee87f
fld dword [0x4040c0]
fstp dword [ebp - 0x5c]
fld dword [0x4040bc]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x401618]
fnstsw ax
sahf
jbe 0x4ee1d5
fld1
fstp dword [ebp - 0x64]
fld dword [0x4038f0]
fstp dword [ebp - 0x60]
fld dword [0x4040c0]
fstp dword [ebp - 0x5c]
fld dword [0x4040bc]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c06ef
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee1ef
and dword [ebp - 0x17c], 0
jmp 0x4ee1fa
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
push dword [ecx + eax + 0x7c]
push 0x43d8fc
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4ee222
call fcn.004ec849
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jl 0x4ee47b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee248
and dword [ebp - 0x180], 0
jmp 0x4ee253
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4ee2ab
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee285
and dword [ebp - 0x184], 0
jmp 0x4ee290
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4ef638
fld dword [0x4040c0]
fstp dword [ebp - 0x5c]
fld dword [0x4040bc]
fstp dword [ebp - 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ee2d7
and dword [ebp - 0x188], 0
jmp 0x4ee2e2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee2fc
and dword [ebp - 0x18c], 0
jmp 0x4ee307
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x78]
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 0x4ee468
mov edx, 0x43292c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4ee392
mov edx, 0x43293c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ee3d9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ee3b0
and dword [ebp - 0x190], 0
jmp 0x4ee3bb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
mov edx, 0x432d20
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4ee421
mov edx, 0x43e0bc
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ee468
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ee43f
and dword [ebp - 0x194], 0
jmp 0x4ee44a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
cmp dword [0x5018fc], 3
je 0x4ee476
call fcn.0048319e
jmp 0x4ef638
fld dword [0x4040c0]
fstp dword [ebp - 0x5c]
fld dword [0x4040bc]
fstp dword [ebp - 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ee4a7
and dword [ebp - 0x198], 0
jmp 0x4ee4b2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x198], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee4cc
and dword [ebp - 0x19c], 0
jmp 0x4ee4d7
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4023dc]
fnstsw ax
sahf
jbe 0x4ee58d
fld dword [0x4040c0]
fstp dword [ebp - 0x5c]
fld dword [0x4040bc]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4021a8]
fnstsw ax
sahf
jbe 0x4ee58d
fld dword [0x402f08]
fstp dword [ebp - 0x64]
fld dword [0x4038f0]
fstp dword [ebp - 0x60]
fld dword [0x4040c0]
fstp dword [ebp - 0x5c]
fld dword [0x4040bc]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c06ef
jmp 0x4ef638
fld dword [0x4040c0]
fstp dword [ebp - 0x5c]
fld dword [0x4040bc]
fstp dword [ebp - 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ee5b9
and dword [ebp - 0x1a0], 0
jmp 0x4ee5c4
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee5de
and dword [ebp - 0x1a4], 0
jmp 0x4ee5e9
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x78]
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 0x4ee64b
mov edx, 0x43de28
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee665
and dword [ebp - 0x1a8], 0
jmp 0x4ee670
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4ee6c8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee6a2
and dword [ebp - 0x1ac], 0
jmp 0x4ee6ad
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee6e2
and dword [ebp - 0x1b0], 0
jmp 0x4ee6ed
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1b0], eax
mov esi, dword [ebp - 0x78]
shl esi, 7
fld dword [0x4040b8]
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [0x501b58]
fcomp dword [eax + esi + 0x18]
fnstsw ax
sahf
jae 0x4ee7eb
fld dword [0x4023dc]
fstp dword [ebp - 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ee733
and dword [ebp - 0x1b4], 0
jmp 0x4ee73e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee758
and dword [ebp - 0x1b8], 0
jmp 0x4ee763
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x58]
push eax
push 0x5017d8
push 0x5017d0
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x10]
push eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.004812e7
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x28]
push eax
push 8
call sub.MSVBVM60.DLL___vbaCopyBytes
push 0x5017d4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00468ab4
mov edx, 0x43de38
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov edx, 0x43292c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4ee833
mov edx, 0x43293c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ee87a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ee851
and dword [ebp - 0x1bc], 0
jmp 0x4ee85c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
jmp 0x4ef430
push dword [ebp - 0x88]
push 0x43d90c
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4eeecc
mov edx, 0x43de54
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.004721d5
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jl 0x4eea3b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x302
jae 0x4ee8e0
and dword [ebp - 0x1c0], 0
jmp 0x4ee8eb
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x80]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x18]
fcomp dword [0x401430]
fnstsw ax
sahf
jae 0x4eea3b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ee924
and dword [ebp - 0x1c4], 0
jmp 0x4ee92f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4eea3b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ee960
and dword [ebp - 0x1c8], 0
jmp 0x4ee96b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7b5
jne 0x4eea3b
mov edx, 0x43292c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4ee9cd
mov edx, 0x43293c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4ee9f4
mov edx, 0x432918
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4eea3b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4eea12
and dword [ebp - 0x1cc], 0
jmp 0x4eea1d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
push 0x5017d4
push 0x5017d8
push 0x5017d0
call fcn.004cfa07
movsx eax, ax
test eax, eax
jne 0x4eea60
call fcn.004cfe98
jmp 0x4ef638
fld dword [0x4040a4]
fstp dword [ebp - 0x5c]
fld dword [0x4040a0]
fstp dword [ebp - 0x58]
push 0x5017d8
push 0x5017d0
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x401618]
fnstsw ax
sahf
jbe 0x4eeaca
fld dword [0x403ec8]
fstp dword [ebp - 0x60]
fld dword [0x4040a4]
fstp dword [ebp - 0x5c]
fld dword [0x4040a0]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004ccb40
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eeae4
and dword [ebp - 0x1d0], 0
jmp 0x4eeaef
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1d0], eax
mov esi, dword [ebp - 0x78]
shl esi, 7
fld dword [0x4040a4]
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [0x501b58]
fcomp dword [eax + esi + 0x10]
fnstsw ax
sahf
jae 0x4eebec
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eeb2c
and dword [ebp - 0x1d4], 0
jmp 0x4eeb37
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x10]
fcomp dword [0x5017d8]
fnstsw ax
sahf
jae 0x4eebe7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4eeb70
and dword [ebp - 0x1d8], 0
jmp 0x4eeb7b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x10]
fsub dword [0x401440]
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eebb8
and dword [ebp - 0x1dc], 0
jmp 0x4eebc3
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1dc], eax
push 0x5017d4
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.00468ab4
jmp 0x4ef638
jmp 0x4eecf9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eec06
and dword [ebp - 0x1e0], 0
jmp 0x4eec11
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x10]
fadd dword [0x401430]
fnstsw ax
test al, 0xd
jne 0x4ef66e
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x5017d8]
fnstsw ax
sahf
jbe 0x4eecd6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4eec5f
and dword [ebp - 0x1e4], 0
jmp 0x4eec6a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
fld dword [ecx + eax + 0x10]
fadd dword [0x402e40]
fstp dword [ebp - 0x58]
fnstsw ax
test al, 0xd
jne 0x4ef66e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eeca7
and dword [ebp - 0x1e8], 0
jmp 0x4eecb2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1e8], eax
push 0x5017d4
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 8]
push eax
call fcn.00468ab4
jmp 0x4ef638
mov edx, 0x43de64
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eed13
and dword [ebp - 0x1ec], 0
jmp 0x4eed1e
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4eed76
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4eed50
and dword [ebp - 0x1f0], 0
jmp 0x4eed5b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4ef638
fld dword [0x4040c4]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jae 0x4eedac
mov edx, 0x43de04
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov word [ebp - 0x54], 0x68
lea eax, [ebp - 0x54]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4eee2a
mov edx, 0x43e0cc
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4eee2a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4eee01
and dword [ebp - 0x1f4], 0
jmp 0x4eee0c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1f4], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
mov edx, 0x43292c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4eee72
mov edx, 0x43293c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4eeeb9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4eee90
and dword [ebp - 0x1f8], 0
jmp 0x4eee9b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
cmp dword [0x5018fc], 3
je 0x4eeec7
call fcn.0048319e
jmp 0x4ef638
push dword [ebp - 0x88]
push 0x43be24
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4ef430
mov edx, 0x42c5c8
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0047210d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jge 0x4eef19
mov eax, dword [0x501400]
mov dword [0x5014f4], eax
mov eax, dword [0x501400]
sub eax, dword [0x5014f4]
jo 0x4ef673
mov dword [ebp - 0x1fc], eax
fild dword [ebp - 0x1fc]
fstp qword [ebp - 0x204]
fld qword [0x404098]
fmul qword [0x401500]
fnstsw ax
test al, 0xd
jne 0x4ef66e
call sub.MSVBVM60.DLL___vbaFpR8
fcomp qword [ebp - 0x204]
fnstsw ax
sahf
jbe 0x4eef6e
mov dword [ebp - 0x208], 1
jmp 0x4eef75
and dword [ebp - 0x208], 0
mov eax, dword [ebp + 0xc]
xor ecx, ecx
cmp dword [eax], 0
setl cl
or ecx, dword [ebp - 0x208]
neg ecx
sbb ecx, ecx
neg ecx
mov eax, dword [0x501400]
sub eax, dword [0x5014f4]
jo 0x4ef673
xor edx, edx
cmp eax, 0x7d0
setge dl
or ecx, edx
test ecx, ecx
jne 0x4eefbd
call fcn.004f94bc
cmp ax, 0xffff
jne 0x4eefbd
jmp 0x4ef638
fld dword [0x404090]
fstp dword [ebp - 0x5c]
fld dword [0x40408c]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fstp dword [ebp - 0x20c]
fld dword [0x402f08]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [ebp - 0x20c]
fnstsw ax
sahf
jae 0x4ef03d
fld dword [0x403ec8]
fstp dword [ebp - 0x60]
fld dword [0x404090]
fstp dword [ebp - 0x5c]
fld dword [0x40408c]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x60]
push eax
push 0x5017d4
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c06ef
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ef057
and dword [ebp - 0x210], 0
jmp 0x4ef062
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
mov edx, dword [0x501878]
cmp edx, dword [ecx + eax + 0x20]
je 0x4ef0ba
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ef094
and dword [ebp - 0x214], 0
jmp 0x4ef09f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482432
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ef0d4
and dword [ebp - 0x218], 0
jmp 0x4ef0df
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x218], eax
mov esi, dword [ebp - 0x7c]
shl esi, 7
fld dword [0x4040e8]
call sub.MSVBVM60.DLL___vbaFpR4
mov eax, dword [0x501b58]
fcomp dword [eax + esi + 0x18]
fnstsw ax
sahf
jbe 0x4ef225
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ef11c
and dword [ebp - 0x21c], 0
jmp 0x4ef127
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4ef225
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x302
jae 0x4ef158
and dword [ebp - 0x220], 0
jmp 0x4ef163
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x80]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7ab
je 0x4ef1bd
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x302
jae 0x4ef199
and dword [ebp - 0x224], 0
jmp 0x4ef1a4
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 0x84]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0x7ac
jne 0x4ef225
mov edx, 0x43e0dc
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ef225
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ef1fc
and dword [ebp - 0x228], 0
jmp 0x4ef207
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
fld dword [0x404088]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jae 0x4ef25b
mov edx, 0x43de04
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov word [ebp - 0x54], 0x68
lea eax, [ebp - 0x54]
push eax
call fcn.0047d297
movsx eax, ax
neg eax
sbb eax, eax
neg eax
mov ecx, dword [0x501534]
mov edx, dword [0x501400]
sub edx, dword [ecx + 0x68]
jo 0x4ef673
xor ecx, ecx
cmp edx, 0x64
setle cl
or eax, ecx
test eax, eax
jne 0x4ef30c
mov edx, 0x43e0cc
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ef30c
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x68], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ef2e3
and dword [ebp - 0x22c], 0
jmp 0x4ef2ee
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x6c]
jo 0x4ef673
cmp ecx, 0x3e8
jle 0x4ef36c
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x6c], ecx
fld dword [0x403ec8]
fstp dword [ebp - 0x60]
fld dword [0x404090]
fstp dword [ebp - 0x5c]
fld dword [0x40408c]
fstp dword [ebp - 0x58]
lea eax, [ebp - 0x60]
push eax
push 0x5017d4
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004c06ef
jmp 0x4ef638
movzx ax, byte [0x501601]
cmp ax, 1
jne 0x4ef40d
mov edx, 0x43292c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jge 0x4ef3c6
mov edx, 0x43293c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ef40d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ef3e4
and dword [ebp - 0x230], 0
jmp 0x4ef3ef
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
cmp dword [0x5018fc], 3
je 0x4ef41d
call fcn.0048319e
jmp 0x4ef42b
mov eax, dword [0x501534]
mov ecx, dword [0x501400]
mov dword [eax + 0x6c], ecx
jmp 0x4ef638
fld dword [0x4040c4]
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [ebp - 0x1c]
fnstsw ax
sahf
jae 0x4ef466
mov edx, 0x43de04
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x302
jae 0x4ef480
and dword [ebp - 0x234], 0
jmp 0x4ef48b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x78]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x48], 3
jne 0x4ef54b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x302
jae 0x4ef4bc
and dword [ebp - 0x238], 0
jmp 0x4ef4c7
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x7c]
shl eax, 7
mov ecx, dword [0x501b58]
cmp dword [ecx + eax + 0x74], 0
je 0x4ef54b
cmp dword [0x5017f8], 0xa
jl 0x4ef54b
mov edx, 0x43e0dc
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ef54b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ef522
and dword [ebp - 0x23c], 0
jmp 0x4ef52d
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
mov eax, dword [0x501400]
sub eax, dword [0x5014bc]
jo 0x4ef673
cmp eax, 0x3e8
jge 0x4ef5af
cmp dword [0x5017f8], 0xc8
jl 0x4ef5af
cmp dword [0x5018fc], 3
jne 0x4ef58c
push 0x5017d4
push 0x5017d8
push 0x5017d0
call fcn.00468ab4
mov edx, 0x43de18
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4ef638
mov word [ebp - 0x54], 0x68
lea eax, [ebp - 0x54]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4ef62a
mov edx, 0x43e0cc
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x30]
push eax
call fcn.0046ed05
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [ebp - 0x20], 0
jl 0x4ef62a
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0x81
jae 0x4ef604
and dword [ebp - 0x240], 0
jmp 0x4ef60f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x78]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4ef638
cmp dword [0x5018fc], 3
je 0x4ef638
call fcn.0048319e
wait
push 0x4ef65d
jmp 0x4ef651
lea ecx, [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
jmp fcn.0040447c
call sub.MSVBVM60.DLL___vbaErrorOverflow