Function at 0x415a24
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404e46
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x98
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4012d8
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.004089f8
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
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.004089f8
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], 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.004089f8
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 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.004089f8
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], 7
mov eax, dword [ebp + 8]
movsx eax, word [eax]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x28], 1
jmp 0x415bab
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0xa0]
jo 0x415ded
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0xa4]
jg 0x415d53
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.004089f8
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 dword [0x456074]
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x98], ax
mov word [ebp - 0x94], 1
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0041aa68
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], 8
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], 2
lea eax, [ebp - 0x40]
push eax
movsx eax, word [ebp - 0x9c]
push eax
push dword [0x456074]
call sub.MSVBVM60.DLL_rtcMidCharBstr
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], 8
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x60]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0xa
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.004089f8
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], 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.004089f8
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
jmp 0x415b99
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.004089f8
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 0x415dd9
jmp 0x415dd8
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow