Function at 0x40afbe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403576
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], 0x401998
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 [0x41f6a0], 0
jne 0x40b03c
push 0x41f6a0
push 0x404dfc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xf0], 0x41f6a0
jmp 0x40b046
mov dword [ebp - 0xf0], 0x41f6a0
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 0x40b09a
push 0x14
push 0x40479c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf4], eax
jmp 0x40b0a1
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 0x40b0f0
push 0x50
push 0x404e0c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf8], eax
jmp 0x40b0f7
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 0x40bb46
mov dword [ebp - 4], 4
and word [ebp - 0x28], 0
mov dword [ebp - 4], 5
push dword [0x41f084]
push 1
call sub.MSVBVM60.DLL___vbaUbound
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 1
and dword [ebp - 0x30], 0
jmp 0x40b177
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xd4]
jo 0x40bd6d
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xd8]
jg 0x40b595
mov dword [ebp - 4], 6
cmp dword [0x41f6a0], 0
jne 0x40b1b1
push 0x41f6a0
push 0x404dfc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xfc], 0x41f6a0
jmp 0x40b1bb
mov dword [ebp - 0xfc], 0x41f6a0
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 0x40b20f
push 0x14
push 0x40479c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x100], eax
jmp 0x40b216
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 0x40b265
push 0x50
push 0x404e0c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x104], eax
jmp 0x40b26c
and dword [ebp - 0x104], 0
push dword [ebp - 0x34]
push dword [0x41f0ec]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x404e60
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 [0x41f084]
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.00409759
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 0x40b589
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 [0x41f6a0], 0
jne 0x40b392
push 0x41f6a0
push 0x404dfc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x108], 0x41f6a0
jmp 0x40b39c
mov dword [ebp - 0x108], 0x41f6a0
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 0x40b3f0
push 0x14
push 0x40479c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x10c], eax
jmp 0x40b3f7
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 0x40b446
push 0x50
push 0x404e0c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x110], eax
jmp 0x40b44d
and dword [ebp - 0x110], 0
push dword [ebp - 0x34]
push dword [0x41f0ec]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x404e60
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 [0x41f084]
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 [0x41f1ac]
push dword [0x41f1e0]
call fcn.0041bb5b
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 0x40b165
mov dword [ebp - 4], 0xb
movsx eax, word [ebp - 0x28]
test eax, eax
jne 0x40bb46
mov dword [ebp - 4], 0xc
cmp dword [0x41f6a0], 0
jne 0x40b5d3
push 0x41f6a0
push 0x404dfc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x114], 0x41f6a0
jmp 0x40b5dd
mov dword [ebp - 0x114], 0x41f6a0
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 0x40b631
push 0x14
push 0x40479c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x118], eax
jmp 0x40b638
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 0x40b687
push 0x50
push 0x404e0c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x11c], eax
jmp 0x40b68e
and dword [ebp - 0x11c], 0
push dword [ebp - 0x34]
push dword [0x41f0ec]
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 8
lea eax, [ebp - 0x54]
push eax
call fcn.00409759
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 0x40b924
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 [0x41f6a0], 0
jne 0x40b765
push 0x41f6a0
push 0x404dfc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x120], 0x41f6a0
jmp 0x40b76f
mov dword [ebp - 0x120], 0x41f6a0
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 0x40b7c3
push 0x14
push 0x40479c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x124], eax
jmp 0x40b7ca
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 0x40b819
push 0x50
push 0x404e0c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x128], eax
jmp 0x40b820
and dword [ebp - 0x128], 0
push dword [ebp - 0x34]
push dword [0x41f0ec]
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 [0x41f1ac]
push dword [0x41f1e0]
call fcn.0041bb5b
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 0x40bb46
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 [0x41f6a0], 0
jne 0x40b9ac
push 0x41f6a0
push 0x404dfc
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x12c], 0x41f6a0
jmp 0x40b9b6
mov dword [ebp - 0x12c], 0x41f6a0
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 0x40ba0a
push 0x14
push 0x40479c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x130], eax
jmp 0x40ba11
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 0x40ba60
push 0x50
push 0x404e0c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x134], eax
jmp 0x40ba67
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 [0x41f1ac]
push dword [0x41f1e0]
call fcn.0041bb5b
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 [0x41f1b4]
push dword [0x41f1e4]
call fcn.0041bb5b
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.0041797b
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x15
mov word [ebp - 0xbc], 0x1458
lea eax, [ebp - 0xbc]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 4], 0x16
push dword [ebp - 0x2c]
call fcn.0041a9fa
mov dword [ebp - 4], 0x17
lea eax, [ebp - 0x2c]
push eax
call fcn.0041ad1c
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x18
lea eax, [ebp - 0x24]
push eax
call fcn.0041c73a
mov dword [ebp - 4], 0x19
call fcn.0040742b
mov dword [ebp - 4], 0x1a
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 [0x41f2ac]
call fcn.0040e244
mov dword [0x41f070], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1b
cmp dword [0x41f070], 0xffffffff
je 0x40bc83
cmp dword [0x41f070], 0
jne 0x40bcc1
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 [0x41f2b0]
call fcn.0040e244
mov dword [0x41f070], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1e
cmp dword [0x41f070], 0xffffffff
je 0x40bcda
cmp dword [0x41f070], 0
jne 0x40bd18
mov dword [ebp - 4], 0x1f
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 [0x41f2b4]
call fcn.0040e244
mov dword [0x41f070], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
push 0x40bd5e
jmp 0x40bd55
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow