Function at 0x409114
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x9c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401338
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
push 0x11
push 0x405878
lea eax, [ebp - 0x4c]
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 0
push 0
call fcn.00405550
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 4
push 0
call fcn.004054b4
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
mov eax, dword [0x42d0ec]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 8
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaVarCopy
mov dword [ebp - 4], 6
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x78]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x201
jae 0x409204
and dword [ebp - 0xbc], 0
jmp 0x40920f
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0xa4]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 3
lea esi, [ebp - 0x88]
push 0
push dword [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
mov word [ebp - 0x9c], 0x200
lea eax, [ebp - 0x9c]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 3
lea esi, [ebp - 0x98]
push 1
push dword [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x78]
push eax
push dword [0x42d050]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaStrVarVal
push eax
call fcn.00422d48
lea eax, [ebp - 0x78]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 7
push 0
call fcn.004054b4
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], 0x2011
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x98], 0x6011
push 1
lea eax, [ebp - 0x88]
push eax
call sub.MSVBVM60.DLL___vbaStrVarCopy
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405570
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x409414
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 9
push 0x405578
push 0x4053c8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4053d0
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 8
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaVarMove
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeStr
push 0x409402
jmp 0x4093da
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa0]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeVar
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow