Function at 0x405983
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402ed6
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], 0x4013c8
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 [0x41a674], 0
jne 0x405a01
push 0x41a674
push 0x403a2c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xf0], 0x41a674
jmp 0x405a0b
mov dword [ebp - 0xf0], 0x41a674
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 0x405a5f
push 0x14
push 0x403a1c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf4], eax
jmp 0x405a66
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 0x405ab5
push 0x50
push 0x403a3c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf8], eax
jmp 0x405abc
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 0x40650b
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 0x405b3c
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0xd4]
jo 0x406740
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0xd8]
jg 0x405f5a
mov dword [ebp - 4], 6
cmp dword [0x41a674], 0
jne 0x405b76
push 0x41a674
push 0x403a2c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xfc], 0x41a674
jmp 0x405b80
mov dword [ebp - 0xfc], 0x41a674
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 0x405bd4
push 0x14
push 0x403a1c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x100], eax
jmp 0x405bdb
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 0x405c2a
push 0x50
push 0x403a3c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x104], eax
jmp 0x405c31
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 0x403a50
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.00404514
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 0x405f4e
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 [0x41a674], 0
jne 0x405d57
push 0x41a674
push 0x403a2c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x108], 0x41a674
jmp 0x405d61
mov dword [ebp - 0x108], 0x41a674
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 0x405db5
push 0x14
push 0x403a1c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x10c], eax
jmp 0x405dbc
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 0x405e0b
push 0x50
push 0x403a3c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x110], eax
jmp 0x405e12
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 0x403a50
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.0040fe20
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 0x405b2a
mov dword [ebp - 4], 0xb
movsx eax, word [ebp - 0x28]
test eax, eax
jne 0x40650b
mov dword [ebp - 4], 0xc
cmp dword [0x41a674], 0
jne 0x405f98
push 0x41a674
push 0x403a2c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x114], 0x41a674
jmp 0x405fa2
mov dword [ebp - 0x114], 0x41a674
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 0x405ff6
push 0x14
push 0x403a1c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x118], eax
jmp 0x405ffd
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 0x40604c
push 0x50
push 0x403a3c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x11c], eax
jmp 0x406053
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.00404514
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 0x4062e9
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 [0x41a674], 0
jne 0x40612a
push 0x41a674
push 0x403a2c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x120], 0x41a674
jmp 0x406134
mov dword [ebp - 0x120], 0x41a674
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 0x406188
push 0x14
push 0x403a1c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x124], eax
jmp 0x40618f
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 0x4061de
push 0x50
push 0x403a3c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x128], eax
jmp 0x4061e5
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.0040fe20
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 0x40650b
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 [0x41a674], 0
jne 0x406371
push 0x41a674
push 0x403a2c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x12c], 0x41a674
jmp 0x40637b
mov dword [ebp - 0x12c], 0x41a674
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 0x4063cf
push 0x14
push 0x403a1c
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x130], eax
jmp 0x4063d6
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 0x406425
push 0x50
push 0x403a3c
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x134], eax
jmp 0x40642c
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.0040fe20
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.0040fe20
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.0040b8f8
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x15
push dword [ebp - 0x2c]
call fcn.0040e53a
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x2c]
push eax
call fcn.0040e765
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x17
lea eax, [ebp - 0x24]
push eax
call fcn.0041015c
mov dword [ebp - 4], 0x18
push 0x45
push 0xb
call fcn.00403980
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x19
call fcn.00411ce3
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 [0x41a280]
call fcn.0040886c
mov dword [0x41a044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1b
cmp dword [0x41a044], 0xffffffff
je 0x406641
cmp dword [0x41a044], 0
jne 0x40667f
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 [0x41a284]
call fcn.0040886c
mov dword [0x41a044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1e
push 0x50
push 0x53
call fcn.00403980
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1f
cmp dword [0x41a044], 0xffffffff
je 0x4066ad
cmp dword [0x41a044], 0
jne 0x4066eb
mov dword [ebp - 4], 0x20
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.0040886c
mov dword [0x41a044], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
push 0x406731
jmp 0x406728
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow