Function at 0x40cccf
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4037f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xe0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401878
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
push 0x11
push 0x405450
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL___vbaAryConstruct2
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
mov eax, dword [0x42b234]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 8
lea edx, [ebp - 0xac]
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaVarCopy
mov dword [ebp - 4], 4
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x201
jae 0x40cd7f
and dword [ebp - 0x100], 0
jmp 0x40cd8a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0xe8]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 5
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x9c]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
and dword [ebp - 0xa4], 0
mov dword [ebp - 0xac], 3
lea esi, [ebp - 0xac]
push 0
push dword [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x48]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xbc], 0x4003
lea esi, [ebp - 0xbc]
push 1
push dword [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarZero
lea eax, [ebp + 8]
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xcc], 0x4003
lea esi, [ebp - 0xcc]
push 2
push dword [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarZero
and word [ebp - 0xe0], 0
lea eax, [ebp - 0xe0]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], 3
lea esi, [ebp - 0xdc]
push 3
push dword [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x78]
push eax
call sub.MSVBVM60.DLL___vbaStrVarVal
push eax
push dword [0x42b06c]
call fcn.00408834
lea eax, [ebp - 0x9c]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 6
push 0x4053dc
push 0x4053e8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4053f0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4053fc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4052dc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405408
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405410
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x18
mov dword [ebp - 4], 7
lea eax, [ebp - 0x60]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xac], 0x2011
lea eax, [ebp - 0x60]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xbc], 0x6011
push 1
lea eax, [ebp - 0xac]
push eax
call sub.MSVBVM60.DLL___vbaStrVarCopy
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405418
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x40d170
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x98]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x98]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 8
push 0x405410
push 0x405420
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40542c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405434
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405440
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4050b8
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 8
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
push 0x40d15c
jmp 0x40d12c
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x60]
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0xe4]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaFreeVar
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow