Function at 0x40e6bc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4030c6
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], 0x401f98
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 [0x41d5dc], 0
jne 0x40e73a
push 0x41d5dc
push 0x403cd8
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xf0], 0x41d5dc
jmp 0x40e744
mov dword [ebp - 0xf0], 0x41d5dc
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 0x40e798
push 0x14
push 0x403cc8
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf4], eax
jmp 0x40e79f
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 0x40e7ee
push 0x50
push 0x403f80
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf8], eax
jmp 0x40e7f5
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 0x40f244
mov dword [ebp - 4], 4
and word [ebp - 0x28], 0
mov dword [ebp - 4], 5
push dword [0x41d058]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 1
and dword [ebp - 0x30], 0
jmp 0x40e875
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xd4]
jo 0x40f44f
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xd8]
jg 0x40ec93
mov dword [ebp - 4], 6
cmp dword [0x41d5dc], 0
jne 0x40e8af
push 0x41d5dc
push 0x403cd8
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xfc], 0x41d5dc
jmp 0x40e8b9
mov dword [ebp - 0xfc], 0x41d5dc
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 0x40e90d
push 0x14
push 0x403cc8
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x100], eax
jmp 0x40e914
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 0x40e963
push 0x50
push 0x403f80
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x104], eax
jmp 0x40e96a
and dword [ebp - 0x104], 0
push dword [ebp - 0x34]
push dword [0x41d0c0]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4040a0
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 [0x41d058]
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.0040ccb2
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 0x40ec87
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 [0x41d5dc], 0
jne 0x40ea90
push 0x41d5dc
push 0x403cd8
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x108], 0x41d5dc
jmp 0x40ea9a
mov dword [ebp - 0x108], 0x41d5dc
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 0x40eaee
push 0x14
push 0x403cc8
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x10c], eax
jmp 0x40eaf5
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 0x40eb44
push 0x50
push 0x403f80
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x110], eax
jmp 0x40eb4b
and dword [ebp - 0x110], 0
push dword [ebp - 0x34]
push dword [0x41d0c0]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4040a0
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 [0x41d058]
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 [0x41d180]
push dword [0x41d1b4]
call fcn.004199c1
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 0x40e863
mov dword [ebp - 4], 0xb
movsx eax, word [ebp - 0x28]
test eax, eax
jne 0x40f244
mov dword [ebp - 4], 0xc
cmp dword [0x41d5dc], 0
jne 0x40ecd1
push 0x41d5dc
push 0x403cd8
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x114], 0x41d5dc
jmp 0x40ecdb
mov dword [ebp - 0x114], 0x41d5dc
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 0x40ed2f
push 0x14
push 0x403cc8
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x118], eax
jmp 0x40ed36
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 0x40ed85
push 0x50
push 0x403f80
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x11c], eax
jmp 0x40ed8c
and dword [ebp - 0x11c], 0
push dword [ebp - 0x34]
push dword [0x41d0c0]
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 8
lea eax, [ebp - 0x54]
push eax
call fcn.0040ccb2
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 0x40f022
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 [0x41d5dc], 0
jne 0x40ee63
push 0x41d5dc
push 0x403cd8
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x120], 0x41d5dc
jmp 0x40ee6d
mov dword [ebp - 0x120], 0x41d5dc
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 0x40eec1
push 0x14
push 0x403cc8
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x124], eax
jmp 0x40eec8
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 0x40ef17
push 0x50
push 0x403f80
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x128], eax
jmp 0x40ef1e
and dword [ebp - 0x128], 0
push dword [ebp - 0x34]
push dword [0x41d0c0]
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 [0x41d180]
push dword [0x41d1b4]
call fcn.004199c1
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 0x40f244
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 [0x41d5dc], 0
jne 0x40f0aa
push 0x41d5dc
push 0x403cd8
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x12c], 0x41d5dc
jmp 0x40f0b4
mov dword [ebp - 0x12c], 0x41d5dc
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 0x40f108
push 0x14
push 0x403cc8
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x130], eax
jmp 0x40f10f
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 0x40f15e
push 0x50
push 0x403f80
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x134], eax
jmp 0x40f165
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 [0x41d180]
push dword [0x41d1b4]
call fcn.004199c1
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 [0x41d188]
push dword [0x41d1b8]
call fcn.004199c1
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.00414d97
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x15
push dword [ebp - 0x2c]
call fcn.00417f4b
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x2c]
push eax
call fcn.00418237
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x17
lea eax, [ebp - 0x24]
push eax
call fcn.00419f58
mov dword [ebp - 4], 0x18
call fcn.004046f4
mov dword [ebp - 4], 0x19
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 [0x41d280]
call fcn.004119a2
mov dword [0x41d044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1a
cmp dword [0x41d044], 0xffffffff
je 0x40f365
cmp dword [0x41d044], 0
jne 0x40f3a3
mov dword [ebp - 4], 0x1b
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 [0x41d284]
call fcn.004119a2
mov dword [0x41d044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1d
cmp dword [0x41d044], 0xffffffff
je 0x40f3bc
cmp dword [0x41d044], 0
jne 0x40f3fa
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 [0x41d288]
call fcn.004119a2
mov dword [0x41d044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
push 0x40f440
jmp 0x40f437
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow