Function at 0x4081e4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4044c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x78
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401278
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call sub.MSVBVM60.DLL___vbaOnError
mov dword [ebp - 4], 3
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405a5c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 4
mov eax, dword [ebp + 8]
movsx eax, word [eax]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x28], 1
jmp 0x4082a6
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x80]
jo 0x408587
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x84]
jg 0x408477
mov dword [ebp - 4], 5
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405a5c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 6
push dword [0x437074]
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x78], ax
mov word [ebp - 0x74], 1
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040cfc7
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x58], 0x437074
mov dword [ebp - 0x60], 0x4008
lea eax, [ebp - 0x40]
push eax
movsx eax, word [ebp - 0x7c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.MSVBVM60.DLL_rtcMidCharVar
push dword [ebp - 0x24]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarVal
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseBstr
mov edx, eax
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 7
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405a5c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 8
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405a5c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 9
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405a5c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0xa
jmp 0x408297
mov dword [ebp - 4], 0xb
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405a5c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0xc
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405a5c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0xd
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405a5c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
push 0x408573
jmp 0x408572
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow