Function at 0x405931
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402eb6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x114
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4013a8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
cmp dword [0x41a650], 0
jne 0x4059af
push 0x41a650
push 0x403ad0
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xf0], 0x41a650
jmp 0x4059b9
mov dword [ebp - 0xf0], 0x41a650
mov eax, dword [ebp - 0xf0]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
push dword [ebp - 0xc0]
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jge 0x405a0d
push 0x14
push 0x403ac0
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf4], eax
jmp 0x405a14
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
push dword [ebp - 0xc8]
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x405a63
push 0x50
push 0x403ae0
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf8], eax
jmp 0x405a6a
and dword [ebp - 0xf8], 0
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaLenBstr
sub eax, 3
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xd0], ax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeObj
movsx eax, word [ebp - 0xd0]
test eax, eax
je 0x4064b9
mov dword [ebp - 4], 4
and word [ebp - 0x28], 0
mov dword [ebp - 4], 5
push dword [0x41a058]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 1
and dword [ebp - 0x30], 0
jmp 0x405aea
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xd4]
jo 0x406703
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xd8]
jg 0x405f08
mov dword [ebp - 4], 6
cmp dword [0x41a650], 0
jne 0x405b24
push 0x41a650
push 0x403ad0
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xfc], 0x41a650
jmp 0x405b2e
mov dword [ebp - 0xfc], 0x41a650
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
push dword [ebp - 0xc0]
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jge 0x405b82
push 0x14
push 0x403ac0
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x100], eax
jmp 0x405b89
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
push dword [ebp - 0xc8]
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x405bd8
push 0x50
push 0x403ae0
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x104], eax
jmp 0x405bdf
and dword [ebp - 0x104], 0
push dword [ebp - 0x34]
push dword [0x41a0c0]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403af4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x30]
push dword [0x41a058]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 8
lea eax, [ebp - 0x54]
push eax
call fcn.00404544
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeVar
movsx eax, word [ebp - 0xd0]
test eax, eax
je 0x405efc
mov dword [ebp - 4], 7
or word [ebp - 0x28], 0xffff
mov dword [ebp - 4], 8
push 0
push 5
push 1
push 0
lea eax, [ebp - 0x58]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
and dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 2
lea esi, [ebp - 0x68]
push 0
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 2
lea esi, [ebp - 0x78]
push 1
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
cmp dword [0x41a650], 0
jne 0x405d05
push 0x41a650
push 0x403ad0
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x108], 0x41a650
jmp 0x405d0f
mov dword [ebp - 0x108], 0x41a650
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
push dword [ebp - 0xc0]
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jge 0x405d63
push 0x14
push 0x403ac0
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x10c], eax
jmp 0x405d6a
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
push dword [ebp - 0xc8]
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x405db9
push 0x50
push 0x403ae0
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x110], eax
jmp 0x405dc0
and dword [ebp - 0x110], 0
push dword [ebp - 0x34]
push dword [0x41a0c0]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x403af4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push dword [ebp - 0x30]
push dword [0x41a058]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
lea esi, [ebp - 0x88]
push 2
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x90], 0
mov dword [ebp - 0x98], 2
lea esi, [ebp - 0x98]
push 3
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 2
lea esi, [ebp - 0xa8]
push 4
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xb8], 2
lea esi, [ebp - 0xb8]
push 5
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x58]
push eax
push dword [0x41a180]
push dword [0x41a1b4]
call fcn.0040fca2
lea eax, [ebp - 0x58]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeObj
mov dword [ebp - 4], 0xa
jmp 0x405ad8
mov dword [ebp - 4], 0xb
movsx eax, word [ebp - 0x28]
test eax, eax
jne 0x4064b9
mov dword [ebp - 4], 0xc
cmp dword [0x41a650], 0
jne 0x405f46
push 0x41a650
push 0x403ad0
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x114], 0x41a650
jmp 0x405f50
mov dword [ebp - 0x114], 0x41a650
mov eax, dword [ebp - 0x114]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
push dword [ebp - 0xc0]
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jge 0x405fa4
push 0x14
push 0x403ac0
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x118], eax
jmp 0x405fab
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
push dword [ebp - 0xc8]
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x405ffa
push 0x50
push 0x403ae0
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x11c], eax
jmp 0x406001
and dword [ebp - 0x11c], 0
push dword [ebp - 0x34]
push dword [0x41a0c0]
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 8
lea eax, [ebp - 0x54]
push eax
call fcn.00404544
mov word [ebp - 0xd0], ax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeObj
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeVar
movsx eax, word [ebp - 0xd0]
test eax, eax
je 0x406297
mov dword [ebp - 4], 0xd
push 0
push 5
push 1
push 0
lea eax, [ebp - 0x58]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
and dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 2
lea esi, [ebp - 0x68]
push 0
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 2
lea esi, [ebp - 0x78]
push 1
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
cmp dword [0x41a650], 0
jne 0x4060d8
push 0x41a650
push 0x403ad0
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x120], 0x41a650
jmp 0x4060e2
mov dword [ebp - 0x120], 0x41a650
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
push dword [ebp - 0xc0]
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jge 0x406136
push 0x14
push 0x403ac0
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x124], eax
jmp 0x40613d
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
push dword [ebp - 0xc8]
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x40618c
push 0x50
push 0x403ae0
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x128], eax
jmp 0x406193
and dword [ebp - 0x128], 0
push dword [ebp - 0x34]
push dword [0x41a0c0]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
lea esi, [ebp - 0x88]
push 2
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x90], 0
mov dword [ebp - 0x98], 2
lea esi, [ebp - 0x98]
push 3
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 2
lea esi, [ebp - 0xa8]
push 4
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xb8], 2
lea esi, [ebp - 0xb8]
push 5
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x58]
push eax
push dword [0x41a180]
push dword [0x41a1b4]
call fcn.0040fca2
lea eax, [ebp - 0x58]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeObj
jmp 0x4064b9
mov dword [ebp - 4], 0xf
push 0
push 5
push 1
push 0
lea eax, [ebp - 0x58]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
and dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 2
lea esi, [ebp - 0x68]
push 0
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x70], 0
mov dword [ebp - 0x78], 2
lea esi, [ebp - 0x78]
push 1
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
cmp dword [0x41a650], 0
jne 0x40631f
push 0x41a650
push 0x403ad0
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x12c], 0x41a650
jmp 0x406329
mov dword [ebp - 0x12c], 0x41a650
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
push dword [ebp - 0xc0]
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jge 0x40637d
push 0x14
push 0x403ac0
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x130], eax
jmp 0x406384
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
push dword [ebp - 0xc8]
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jge 0x4063d3
push 0x50
push 0x403ae0
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x134], eax
jmp 0x4063da
and dword [ebp - 0x134], 0
push dword [ebp - 0x34]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
lea esi, [ebp - 0x88]
push 2
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x90], 0
mov dword [ebp - 0x98], 2
lea esi, [ebp - 0x98]
push 3
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0xa0], 0
mov dword [ebp - 0xa8], 2
lea esi, [ebp - 0xa8]
push 4
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
mov dword [ebp - 0xb0], 1
mov dword [ebp - 0xb8], 2
lea esi, [ebp - 0xb8]
push 5
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x58]
push eax
push dword [0x41a180]
push dword [0x41a1b4]
call fcn.0040fca2
lea eax, [ebp - 0x58]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeObj
mov dword [ebp - 4], 0x13
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x58]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov dword [ebp - 0x60], 0x7d0
mov dword [ebp - 0x68], 2
lea esi, [ebp - 0x68]
push 0
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x58]
push eax
push dword [0x41a188]
push dword [0x41a1b8]
call fcn.0040fca2
lea eax, [ebp - 0x58]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x14
mov word [ebp - 0xbc], 8
lea eax, [ebp - 0xbc]
push eax
call fcn.0040b805
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x15
push dword [ebp - 0x2c]
call fcn.0040e485
mov dword [ebp - 4], 0x16
push 0x29
push 5
call fcn.00403a24
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x17
lea eax, [ebp - 0x2c]
push eax
call fcn.0040e69b
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x18
push 0x14
push 0x53
call fcn.00403a24
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x19
push 9
push 0x25
call fcn.00403a24
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1a
lea eax, [ebp - 0x24]
push eax
call fcn.0041001d
mov dword [ebp - 4], 0x1b
call fcn.00411b7a
mov dword [ebp - 4], 0x1c
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
push 0x1f40
push dword [0x41a280]
call fcn.004087f4
mov dword [0x41a044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1d
cmp dword [0x41a044], 0xffffffff
je 0x406619
cmp dword [0x41a044], 0
jne 0x406657
mov dword [ebp - 4], 0x1e
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
push 0x1f40
push dword [0x41a284]
call fcn.004087f4
mov dword [0x41a044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x20
cmp dword [0x41a044], 0xffffffff
je 0x406670
cmp dword [0x41a044], 0
jne 0x4066ae
mov dword [ebp - 4], 0x21
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push eax
push 0x1f40
push dword [0x41a288]
call fcn.004087f4
mov dword [0x41a044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
push 0x4066f4
jmp 0x4066eb
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow