Function at 0x408e44
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4043d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xe4
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401280
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0
push 0
push 1
push 8
lea eax, [ebp - 0x58]
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov dword [ebp - 4], 4
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 6
lea eax, [ebp - 0x60]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd0], 0x4008
push 0x37
lea eax, [ebp - 0xd0]
push eax
call sub.MSVBVM60.DLL_rtcDir
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 7
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 8
push dword [ebp - 0x5c]
push 0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x409305
mov dword [ebp - 4], 9
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xa
push 0
call fcn.00405488
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xb
mov esi, dword [ebp - 0x5c]
push 0
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0xc
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xe
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x98], 0x80020004
mov dword [ebp - 0xa0], 0xa
push 0
lea eax, [ebp - 0xa0]
push eax
call sub.MSVBVM60.DLL_rtcDir
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x10
push 0x405560
push 0x40556c
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 8
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaVarMove
mov dword [ebp - 4], 0x11
push dword [ebp - 0x5c]
push 0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x409049
jmp 0x4092f0
mov dword [ebp - 4], 0x14
push 0x405578
push 0x405580
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405588
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x8c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405594
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 8
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x15
push dword [ebp - 0x58]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x409421
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 3
and dword [ebp - 0x98], 0
mov dword [ebp - 0xa0], 2
push 0
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax]
push 0
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xc8], ax
mov dword [ebp - 0xd0], 0xb
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xc0]
push eax
call sub.MSVBVM60.DLL_rtcImmediateIf
lea eax, [ebp - 0xc0]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xd0]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x16
push 0x4055a0
push 0x4055a8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4055b4
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 8
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x70]
call sub.MSVBVM60.DLL___vbaVarMove
lea ecx, [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x17
push 0
push dword [ebp - 0x24]
push 1
push 8
lea eax, [ebp - 0x58]
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x18
push 0x4055c0
push 0x4055cc
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 8
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaVarMove
mov dword [ebp - 4], 0x19
mov esi, dword [ebp - 0x5c]
push dword [ebp - 0x24]
push dword [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0x1a
push 0x4055dc
push 0x4055e8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4055f0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x8c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405578
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4055f8
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 8
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x88]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
jmp 0x408fa8
mov dword [ebp - 4], 0x1c
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1e
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1f
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL___vbaAryCopy
mov dword [ebp - 4], 0x20
push 0
call fcn.00405488
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x21
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x22
push 0
push 0
call fcn.00405540
call sub.MSVBVM60.DLL___vbaSetSystemError
push 0x40940d
jmp 0x4093c6
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x58]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x70]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFreeVar
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow