Function at 0x408f54
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xd4
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 - 0x50]
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 - 0x48]
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov dword [ebp - 4], 4
push 0
call fcn.004055c4
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
lea eax, [ebp - 0x50]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc0], 0x4008
push 0x37
lea eax, [ebp - 0xc0]
push eax
call sub.MSVBVM60.DLL_rtcDir
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 6
push 0
push 0
call fcn.00405660
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 7
push 0
call fcn.004055c4
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 8
push 0
call fcn.004055c4
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 9
push dword [ebp - 0x4c]
push 0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
je 0x409406
mov dword [ebp - 4], 0xa
push 0
push 0
call fcn.00405660
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xb
push 0
push 0
call fcn.00405660
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xc
mov esi, dword [ebp - 0x4c]
push 0
push dword [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0xd
push 0
call fcn.004055c4
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xf
push 0x4054b8
push 0x405970
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405978
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405980
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 8
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x88], 0x80020004
mov dword [ebp - 0x90], 0xa
push 0
lea eax, [ebp - 0x90]
push eax
call sub.MSVBVM60.DLL_rtcDir
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x11
push 0
push 0
call fcn.00405660
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x12
push dword [ebp - 0x4c]
push 0
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x4091a4
jmp 0x4093f1
mov dword [ebp - 4], 0x15
push 0x40598c
push 0x405994
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059a0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059a8
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 8
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x16
push dword [ebp - 0x48]
push 1
call sub.MSVBVM60.DLL___vbaUbound
add eax, 1
jo 0x409558
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 3
and dword [ebp - 0x88], 0
mov dword [ebp - 0x90], 2
push 0
push dword [ebp - 0x48]
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 - 0xb8], ax
mov dword [ebp - 0xc0], 0xb
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
call sub.MSVBVM60.DLL_rtcImmediateIf
lea eax, [ebp - 0xb0]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xc0]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x17
push 0
push 0
call fcn.00405660
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x18
push 0
call fcn.004055c4
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x19
push 0
push 0
call fcn.00405660
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1a
push 0
push dword [ebp - 0x34]
push 1
push 8
lea eax, [ebp - 0x48]
push eax
push 4
push 0x180
call sub.MSVBVM60.DLL___vbaRedimPreserve
add esp, 0x1c
mov dword [ebp - 4], 0x1b
push 0
push 0
call fcn.00405660
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1c
mov esi, dword [ebp - 0x4c]
push dword [ebp - 0x34]
push dword [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0x1d
push 0x4059b4
push 0x4059b4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059bc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059c8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059d0
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 8
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
jmp 0x4090c7
mov dword [ebp - 4], 0x1f
push 0
push 0
call fcn.00405660
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x21
push 0
call fcn.004055c4
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x22
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaAryCopy
mov dword [ebp - 4], 0x23
push 0x4059d8
push 0x4059e0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059e8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059f0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059f8
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 8
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
push 0x409544
jmp 0x409508
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x48]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaFreeVar
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow