Function at 0x41f5b4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404646
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xcc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402d78
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
push 0x11
push 0x406628
lea eax, [ebp - 0x50]
push eax
call sub.MSVBVM60.DLL___vbaAryConstruct2
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0x40635c
push 0x4072bc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4072c8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x70]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4072d4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4072e0
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 8
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x6c]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov dword [ebp - 4], 4
mov edx, dword [0x434184]
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 5
call fcn.00405c8c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 6
and dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0x201
jae 0x41f6e6
and dword [ebp - 0xec], 0
jmp 0x41f6f1
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0xd4]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 7
call fcn.00405c8c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 8
call fcn.00405c8c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 9
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x88]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
and dword [ebp - 0x90], 0
mov dword [ebp - 0x98], 3
lea esi, [ebp - 0x98]
push 0
push dword [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x28]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 0x4003
lea esi, [ebp - 0xa8]
push 1
push dword [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarZero
lea eax, [ebp + 8]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xb8], 0x4003
lea esi, [ebp - 0xb8]
push 2
push dword [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarZero
and word [ebp - 0xcc], 0
lea eax, [ebp - 0xcc]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xc8], 3
lea esi, [ebp - 0xc8]
push 3
push dword [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x24]
push dword [0x43402c]
call fcn.00419307
lea eax, [ebp - 0x88]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0xa
call fcn.00405c8c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 0x2011
lea eax, [ebp - 0x50]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 0x6011
push 1
lea eax, [ebp - 0x98]
push eax
call sub.MSVBVM60.DLL___vbaStrVarCopy
mov edx, eax
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x406620
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x41f9c8
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x84]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x84]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0xc
push 0x406114
push 0x406314
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4072f0
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 8
lea edx, [ebp - 0x84]
lea ecx, [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaVarMove
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeStr
push 0x41f9b4
jmp 0x41f984
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x50]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0xd0]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaFreeVar
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow