Function at 0x45088a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x404d96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x70
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401840
mov dword [ebp - 0x68], 0x400038
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1100], eax
mov dword [0x4f1014], 0xb33b6c
mov dword [ebp - 0x68], 0xb33b6c
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1018], eax
mov eax, dword [0x4f1018]
add eax, 0x20
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f101c], eax
mov eax, dword [0x4f1018]
add eax, 0x1c
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1020], eax
push 0x4f1034
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x6c], eax
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
push eax
push 8
push dword [ebp - 0x6c]
mov eax, dword [0x4f1020]
add eax, 0x110
jo 0x45121c
push eax
push dword [0x4f1404]
call fcn.0040eedc
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [0x4f1020]
add eax, 0xd0
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
dec eax
dec eax
neg eax
sbb eax, eax
inc eax
neg eax
mov word [0x4f1010], ax
mov eax, dword [0x4f1020]
add eax, 0x18
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 8
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1024], eax
call fcn.0044f3d2
mov eax, dword [0x4f1018]
add eax, 0x4b4
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x68], 0xb440b8
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
add eax, dword [ebp - 0x1c]
jo 0x45121c
mov dword [0x4f10b8], eax
mov dword [ebp - 0x4c], 0x412844
mov dword [ebp - 0x54], 8
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x34]
push eax
fild dword [0x4f10b8]
fstp qword [ebp - 0x7c]
fld qword [ebp - 0x7c]
push ecx
push ecx
fstp qword [esp]
push 0x41283c
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL_rtcDateAdd
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push 1
push dword [ebp - 0x18]
push 0x41128c
push 0
call sub.MSVBVM60.DLL___vbaInStr
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x450b66
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0x4008
mov eax, dword [ebp - 0x1c]
sub eax, 1
jo 0x45121c
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x4f10bc
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x34], 2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0x4008
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 1
jo 0x45121c
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL_rtcMidCharVar
lea eax, [ebp - 0x44]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x4f10c0
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x450bd6
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcGetDateVar
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x4f10bc
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcGetTimeVar
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x4f10c0
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0x4008
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcGetYear
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [0x4f10c4], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0x4008
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcGetMonthOfYear
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [0x4f10c8], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0x4008
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcGetDayOfMonth
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [0x4f10cc], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0x4008
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcGetHourOfDay
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [0x4f10d0], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0x4008
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcGetMinuteOfHour
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [0x4f10d4], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
lea eax, [ebp - 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 0x4008
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_rtcGetSecondOfMinute
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaI4Var
mov dword [0x4f10d8], eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
mov eax, dword [0x4f101c]
add eax, 0x158
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f10dc], eax
mov eax, dword [0x4f101c]
add eax, 0x170
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f10e0], eax
mov eax, dword [0x4f1020]
add eax, 0x34
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1054], eax
mov eax, dword [0x4f1054]
add eax, 0x474
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f111c], eax
mov eax, dword [0x4f1020]
add eax, 0x2c
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
test eax, eax
je 0x450d9e
and word [0x4f1010], 0
cmp dword [0x4f1054], 0
jne 0x450daf
and word [0x4f1010], 0
mov eax, dword [0x4f1020]
add eax, 0x1c
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1044], eax
mov eax, dword [0x4f1044]
add eax, 0x60
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [ebp - 0x20], eax
mov eax, dword [0x4f1044]
add eax, 0x60
jo 0x45121c
add eax, 8
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
neg eax
sbb eax, eax
neg eax
neg eax
mov word [0x4f113c], ax
cmp dword [ebp - 0x20], 0
jne 0x450e2a
and word [0x4f1010], 0
movsx eax, word [0x4f1010]
test eax, eax
jne 0x450e3a
jmp 0x4511e1
mov eax, dword [ebp - 0x20]
add eax, 0x40
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1138], eax
cmp dword [0x4f1138], 0
jle 0x450e70
push 0x4f1138
call fcn.004556aa
mov word [0x4f1120], ax
mov eax, dword [ebp - 0x20]
add eax, 4
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x6c], 0xc
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004366c0
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov edx, eax
mov ecx, 0x4f1140
call sub.MSVBVM60.DLL___vbaStrCopy
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
push 0x4f112c
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x6c], eax
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
push eax
push 0xc
push dword [ebp - 0x6c]
mov eax, dword [0x4f1044]
add eax, 0x7c
jo 0x45121c
push eax
push dword [0x4f1404]
call fcn.0040eedc
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [0x4f1044]
add eax, 0x20
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1048], eax
mov eax, dword [0x4f1044]
add eax, 0x24
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f104c], eax
mov eax, dword [0x4f1044]
add eax, 0x28
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1050], eax
mov eax, dword [0x4f1054]
add eax, 0xd84
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1058], eax
mov eax, dword [0x4f1054]
add eax, 0x728
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f109c], eax
mov eax, dword [0x4f1054]
add eax, 0xd78
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1070], eax
mov eax, dword [0x4f1054]
add eax, 0xce8
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f105c], eax
mov eax, dword [0x4f1054]
add eax, 0xfa0
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1060], eax
mov eax, dword [0x4f1054]
add eax, 0xd98
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1064], eax
mov eax, dword [0x4f1054]
add eax, 0xdc8
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1068], eax
mov eax, dword [0x4f1054]
add eax, 0xd24
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f1074], eax
mov eax, dword [0x4f1054]
add eax, 0xcec
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f106c], eax
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 9
jae 0x451094
and dword [ebp - 0x80], 0
jmp 0x45109c
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
lea eax, [eax*4 + 0x4f1078]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x6c], eax
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x68]
push eax
push 0x20
push dword [ebp - 0x6c]
mov eax, dword [0x4f1054]
add eax, 0xd00
jo 0x45121c
push eax
push dword [0x4f1404]
call fcn.0040eedc
call sub.MSVBVM60.DLL___vbaSetSystemError
mov eax, dword [0x4f1054]
add eax, 0xd88
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f10a0], eax
mov eax, dword [0x4f1054]
add eax, 0xd30
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f10a4], eax
mov eax, dword [0x4f1054]
add eax, 0xd34
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f10a8], eax
mov eax, dword [0x4f1054]
add eax, 0xd38
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f10ac], eax
mov eax, dword [0x4f1054]
add eax, 0xd3c
jo 0x45121c
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436a3d
mov dword [0x4f10b0], eax
call fcn.0046e7fb
call fcn.0043ec4c
call fcn.0044333f
call fcn.0043b06d
call fcn.0043b551
call fcn.0044e2a0
call fcn.004492aa
call fcn.0043bb3c
call fcn.00440171
push 0x4f1868
call fcn.004411af
call fcn.0044d78d
call fcn.0044ae71
cmp dword [0x4f1868], 3
jne 0x4511d3
call fcn.0048c3e9
jmp 0x4511e1
cmp dword [0x4f1868], 9
jne 0x4511e1
call fcn.0048c8ee
wait
push 0x45120d
jmp 0x451204
lea ecx, [ebp - 0x18]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow