Function at 0x4d232d
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, 0x8c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x404010
fld dword [0x5017d0]
fcomp dword [0x403040]
fnstsw ax
sahf
jbe 0x4d2376
mov dword [ebp - 0x78], 1
jmp 0x4d237a
and dword [ebp - 0x78], 0
call fcn.004c413d
xor ecx, ecx
cmp ax, 0xffff
setne cl
or ecx, dword [ebp - 0x78]
test ecx, ecx
jne 0x4d2394
jmp 0x4d2dbc
or word [ebp - 0x24], 0xffff
mov eax, dword [0x5015e4]
sub eax, 1
jo 0x4d2de6
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 1
and dword [ebp - 0x14], 0
jmp 0x4d23c6
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x60]
jo 0x4d2de6
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x64]
jg 0x4d2415
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xb
jae 0x4d23e0
and dword [ebp - 0x7c], 0
jmp 0x4d23e8
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x54]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov edx, dword [0x501400]
sub edx, dword [ecx + eax + 0x78]
jo 0x4d2de6
cmp edx, 0x64
jge 0x4d2413
or word [ebp - 0x30], 0xffff
jmp 0x4d2415
jmp 0x4d23b7
mov eax, dword [0x5017fc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 4
je 0x4d242e
jmp 0x4d2688
push 1
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d2de6
push eax
push 1
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld dword [eax]
fstp dword [ebp - 0x1c]
push 1
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d2de6
push eax
push 1
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld dword [eax + 8]
fstp dword [ebp - 0x28]
push 1
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d2de6
push eax
push 1
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld dword [eax + 4]
fstp dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4021a8]
fnstsw ax
sahf
jbe 0x4d253a
fld dword [0x402f08]
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004c06ef
cmp dword [0x502200], 1
jne 0x4d2535
mov edx, 0x43d94c
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
mov eax, dword [0x501400]
mov dword [0x5014dc], eax
cmp word [ebp - 0x30], 0xffff
jne 0x4d2665
fld dword [0x401440]
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046a566
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4d262e
cmp dword [0x501754], 0
je 0x4d2595
and dword [0x501754], 0
mov eax, dword [0x501400]
mov dword [0x501758], eax
call fcn.0048f046
movzx ax, byte [0x501882]
cmp ax, 1
jne 0x4d260e
mov eax, dword [0x502210]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x108]
jo 0x4d2de6
cmp ecx, 0xc8
jle 0x4d260c
mov eax, dword [0x502210]
mov ecx, dword [0x501400]
mov dword [eax + 0x108], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x302
jae 0x4d25eb
and dword [ebp - 0x84], 0
jmp 0x4d25f6
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x54]
imul eax, eax, 0x34
mov ecx, dword [0x502028]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482ed3
jmp 0x4d262c
mov edx, 0x43d95c
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2663
mov eax, dword [0x5017cc]
cmp eax, dword [0x5019c4]
jne 0x4d2645
call 0x4d2deb
jmp 0x4d2dbc
mov edx, 0x43d96c
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2683
mov edx, 0x43d980
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
cmp dword [0x5017fc], 9
jne 0x4d27be
mov edx, 0x43d0f4
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.004781b3
xor ecx, ecx
test ax, ax
setge cl
neg ecx
mov word [ebp - 0x54], cx
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0x54]
test eax, eax
je 0x4d27be
or word [ebp - 0x20], 0xffff
mov eax, dword [0x5015e4]
sub eax, 1
jo 0x4d2de6
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], 1
and dword [ebp - 0x14], 0
jmp 0x4d26ff
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x6c]
jo 0x4d2de6
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x70]
jg 0x4d27be
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xb
jae 0x4d2720
and dword [ebp - 0x88], 0
jmp 0x4d272b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x54]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp dword [ecx + eax + 0x38], 9
jne 0x4d27b9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xb
jae 0x4d2756
and dword [ebp - 0x8c], 0
jmp 0x4d2761
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x58]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
mov eax, dword [ecx + eax]
cmp eax, dword [0x5017cc]
jle 0x4d27b9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xb
jae 0x4d2790
and dword [ebp - 0x90], 0
jmp 0x4d279b
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x5c]
imul eax, eax, 0x124
mov ecx, dword [0x5015d8]
cmp word [ecx + eax + 0x7c], 0xffff
jne 0x4d27b9
and word [ebp - 0x20], 0
jmp 0x4d27be
jmp 0x4d26f0
mov dword [ebp - 0x44], 5
lea eax, [ebp - 0x44]
push eax
call fcn.004b7501
test eax, eax
jge 0x4d2caa
cmp word [ebp - 0x20], 0xffff
jne 0x4d2caa
cmp dword [0x5017fc], 9
jne 0x4d2caa
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d2de6
push eax
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld dword [eax]
fstp dword [ebp - 0x1c]
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d2de6
push eax
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld dword [eax + 8]
fstp dword [ebp - 0x28]
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d2de6
push eax
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaDerefAry1
fld dword [eax + 4]
fstp dword [ebp - 0x34]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4021a8]
fnstsw ax
sahf
jbe 0x4d2b5c
mov edx, 0x43d99c
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.0046ed05
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
fld dword [0x5017d8]
fcomp dword [0x403070]
fnstsw ax
sahf
ja 0x4d28fb
cmp dword [0x502200], 2
je 0x4d28fb
mov dword [ebp - 0x94], 1
jmp 0x4d2902
and dword [ebp - 0x94], 0
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 2
jo 0x4d2de6
xor ecx, ecx
cmp dword [0x502204], eax
setge cl
mov eax, dword [ebp - 0x94]
or eax, ecx
test eax, eax
jne 0x4d2b12
mov edx, 0x43d0f4
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.004781b3
movsx eax, ax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
cmp dword [0x502204], 1
jg 0x4d2a82
mov word [ebp - 0x40], 0x75
lea eax, [ebp - 0x40]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4d29a6
cmp dword [ebp - 0x2c], 0
jge 0x4d29a6
mov edx, 0x43d9b0
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
cmp dword [ebp - 0x18], 0
jge 0x4d29cf
mov edx, 0x43d9c8
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
cmp dword [0x5018e0], 0
je 0x4d29fb
mov edx, 0x43d9e4
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
fld qword [0x403240]
fchs
fstp dword [ebp - 0x50]
fnstsw ax
test al, 0xd
jne 0x4d2de1
fld dword [0x40400c]
fstp dword [ebp - 0x4c]
fld qword [0x403238]
fchs
fstp dword [ebp - 0x48]
fnstsw ax
test al, 0xd
jne 0x4d2de1
fld dword [0x4031e8]
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004c3fde
fstp dword [ebp - 0x38]
fld dword [ebp - 0x38]
fcomp dword [0x4015a8]
fnstsw ax
sahf
jne 0x4d2a80
mov edx, 0x43d6fc
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
jmp 0x4d2ab5
mov word [ebp - 0x40], 0x4c
lea eax, [ebp - 0x40]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4d2ab5
cmp dword [ebp - 0x18], 0
jl 0x4d2ab5
cmp dword [0x5018e0], 0
jne 0x4d2ab5
lea eax, [ebp - 0x18]
push eax
call fcn.00482c1b
jmp 0x4d2dbc
mov word [ebp - 0x40], 0x75
lea eax, [ebp - 0x40]
push eax
call fcn.0047d297
movsx eax, ax
test eax, eax
jne 0x4d2b12
cmp dword [ebp - 0x2c], 0
jl 0x4d2b12
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x81
jae 0x4d2ae9
and dword [ebp - 0x98], 0
jmp 0x4d2af4
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x54]
imul eax, eax, 0xac
mov ecx, dword [0x502100]
lea eax, [ecx + eax + 4]
push eax
call fcn.0046900f
jmp 0x4d2dbc
fld dword [0x402f08]
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004c06ef
cmp dword [0x502200], 2
jne 0x4d2b57
mov edx, 0x43d94c
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
mov eax, dword [0x501400]
mov dword [0x5014dc], eax
cmp word [ebp - 0x30], 0xffff
jne 0x4d2c87
fld dword [0x401440]
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0046a566
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4d2c50
cmp dword [0x501754], 0
je 0x4d2bb7
and dword [0x501754], 0
mov eax, dword [0x501400]
mov dword [0x501758], eax
call fcn.0048f046
movzx ax, byte [0x501882]
cmp ax, 1
jne 0x4d2c30
mov eax, dword [0x502210]
mov ecx, dword [0x501400]
sub ecx, dword [eax + 0x108]
jo 0x4d2de6
cmp ecx, 0xc8
jle 0x4d2c2e
mov eax, dword [0x502210]
mov ecx, dword [0x501400]
mov dword [eax + 0x108], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x302
jae 0x4d2c0d
and dword [ebp - 0x9c], 0
jmp 0x4d2c18
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x54]
imul eax, eax, 0x34
mov ecx, dword [0x502028]
lea eax, [ecx + eax + 0x20]
push eax
call fcn.00482ed3
jmp 0x4d2c4e
mov edx, 0x43d95c
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2c85
mov eax, dword [0x5017cc]
cmp eax, dword [0x5019c4]
jne 0x4d2c67
call 0x4d2deb
jmp 0x4d2dbc
mov edx, 0x43d96c
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2ca5
mov edx, 0x43d980
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
cmp dword [0x5017fc], 7
jne 0x4d2ce0
call fcn.004c01a4
cmp ax, 0xffff
jne 0x4d2cc3
jmp 0x4d2dbc
fld dword [0x404008]
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x44]
push eax
call fcn.004bda9d
cmp ax, 0xffff
jne 0x4d2ce0
jmp 0x4d2dbc
fld qword [0x404000]
fchs
fstp dword [ebp - 0x48]
fnstsw ax
test al, 0xd
jne 0x4d2de1
fld dword [0x403ff8]
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x5017d8
push 0x5017d0
call fcn.00481083
call sub.MSVBVM60.DLL___vbaFpR4
fcomp dword [0x4023d8]
fnstsw ax
sahf
jbe 0x4d2d8a
fld dword [0x402f08]
fstp dword [ebp - 0x50]
fld dword [0x402fe8]
fstp dword [ebp - 0x4c]
fld qword [0x403190]
fchs
fstp dword [ebp - 0x48]
fnstsw ax
test al, 0xd
jne 0x4d2de1
fld dword [0x403ff8]
fstp dword [ebp - 0x44]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.004c06ef
mov edx, 0x43d9f8
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
jmp 0x4d2dbc
mov eax, dword [0x5017cc]
cmp eax, dword [0x5019c4]
jne 0x4d2d9e
call 0x4d2deb
jmp 0x4d2dbc
mov edx, 0x43da10
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x3c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
wait
push 0x4d2dce
jmp 0x4d2dcd
ret
jmp fcn.0040447c
call sub.MSVBVM60.DLL___vbaErrorOverflow
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x28
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x404020
fld dword [0x401440]
fstp dword [ebp - 0x30]
push dword [0x5021dc]
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push 1
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [0x5021dc]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push 1
push dword [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
lea eax, [ebp - 0x30]
push eax
push 1
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d306f
push eax
push dword [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaDerefAry1
add eax, 8
push eax
push 1
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d306f
push eax
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
call fcn.0046a566
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4d2fc2
fld dword [0x401440]
fstp dword [ebp - 0x30]
push dword [0x5021dc]
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push 2
push dword [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push dword [0x5021dc]
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
push 2
push dword [ebp - 0x20]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
lea eax, [ebp - 0x30]
push eax
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d306f
push eax
push dword [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaDerefAry1
add eax, 8
push eax
push 2
push dword [0x5021dc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov eax, dword [eax + 4]
sub eax, 1
jo 0x4d306f
push eax
push dword [ebp - 0x1c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push eax
call fcn.0046a566
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x20]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x24]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4d2fe9
cmp dword [0x501754], 0
je 0x4d2fe7
and dword [0x501754], 0
mov eax, dword [0x501400]
mov dword [0x501758], eax
call fcn.0048f046
jmp 0x4d302a
mov dword [0x501754], 3
mov eax, dword [0x501400]
mov dword [0x501758], eax
mov eax, dword [0x501400]
mov dword [0x501530], eax
call fcn.0048f046
mov edx, 0x43da24
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrCopy
lea eax, [ebp - 0x2c]
push eax
call fcn.00480c34
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
wait
push 0x4d3060
jmp 0x4d305f
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow