Function at 0x40f4c1
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xf0
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401fc8
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
fld qword [0x4020a0]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0xf0]
mov dword [ebp - 4], 4
push 0
push 0xffffffffffffffff
push 1
push 0xec
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x8b
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0xb2
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
mov dword [ebp - 4], 5
mov dword [ebp - 0xa8], 0x404368
mov dword [ebp - 0xb0], 8
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x6c]
push eax
push 0xff
call sub.MSVBVM60.DLL_rtcStringBstr
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 6
push 0
push 1
push 1
push 0
lea eax, [ebp - 0xa0]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov word [ebp - 0xe4], 0xff
lea eax, [ebp - 0xe4]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 3
lea esi, [ebp - 0xb0]
push 0
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc0], 3
lea esi, [ebp - 0xc0]
push 1
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0xa0]
push eax
push dword [0x420194]
push dword [0x4201b8]
call fcn.0041c574
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xa0]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 7
mov dword [ebp - 0xfc], 0x64
mov dword [ebp - 0xf8], 1
mov dword [ebp - 0x2c], 1
jmp 0x40f6f4
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xf8]
jo 0x40ff12
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xfc]
jg 0x40fe97
mov dword [ebp - 4], 8
push 1
push dword [ebp - 0x4c]
push 0x404368
push 0
call sub.MSVBVM60.DLL___vbaInStr
push eax
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_rtcLeftCharBstr
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x404368
call sub.MSVBVM60.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0xf4], ax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
movsx eax, word [ebp - 0xf4]
test eax, eax
je 0x40f75f
jmp 0x40fe97
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x84], 0xe7
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x74], 0xea
mov dword [ebp - 0x7c], 2
mov dword [ebp - 0x64], 3
mov dword [ebp - 0x6c], 2
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0xc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 0x4008
push 1
push dword [ebp - 0x4c]
push 0x404368
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x40ff12
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0xd
push 0
push 0
push 1
push 0
lea eax, [ebp - 0xa0]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 3
lea esi, [ebp - 0xb0]
push 0
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0xa0]
push eax
push dword [0x42018c]
push dword [0x4201b8]
call fcn.0041c574
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xa0]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xe8], 2
jne 0x40fd5b
mov dword [ebp - 4], 0xe
push 0
push 3
push 1
push 0
lea eax, [ebp - 0xa0]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 3
lea esi, [ebp - 0xb0]
push 0
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc0], 3
lea esi, [ebp - 0xc0]
push 1
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xd0], 3
lea esi, [ebp - 0xd0]
push 2
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x48]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe0], 3
lea esi, [ebp - 0xe0]
push 3
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0xa0]
push eax
push dword [0x420190]
push dword [0x4201b8]
call fcn.0041c574
lea eax, [ebp - 0xa0]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0xf
push dword [ebp - 0x44]
push dword [ebp - 0x48]
fldz
call sub.MSVBVM60.DLL___vbaFpCmpCy
test eax, eax
je 0x40fb14
mov dword [ebp - 4], 0x10
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x40fa24
mov dword [ebp - 4], 0x11
lea eax, [ebp - 0x40]
push eax
call fcn.0041402b
jmp 0x40fb14
mov dword [ebp - 4], 0x13
mov dword [ebp - 0x84], 0xe4
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x74], 0x1d
mov dword [ebp - 0x7c], 2
mov dword [ebp - 0x64], 3
mov dword [ebp - 0x6c], 2
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x14
push 0
push 0xffffffffffffffff
push 1
push 5
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x3f
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x26
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
mov dword [ebp - 4], 0x15
lea eax, [ebp - 0x40]
push eax
call fcn.00404c1d
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x84], 0xeb
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x74], 0x14
mov dword [ebp - 0x7c], 2
mov dword [ebp - 0x64], 0xa
mov dword [ebp - 0x6c], 2
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x64], 0x27
mov dword [ebp - 0x6c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL_rtcLowerCaseVar
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1a
push 0
push 0xb1
push 0xf4
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 7
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcInStrRev
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x1b
push 0
push 0
push 1
push 0
lea eax, [ebp - 0xa0]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
push dword [ebp - 0x40]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 3
lea esi, [ebp - 0xb0]
push 0
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0xa0]
push eax
push dword [0x42018c]
push dword [0x4201b8]
call fcn.0041c574
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xa0]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xe8], 4
jne 0x40fd5b
mov dword [ebp - 4], 0x1c
fld qword [0x402098]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0xf0]
mov dword [ebp - 4], 0x1d
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x40fcd9
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 0x40]
push eax
call fcn.0041402b
jmp 0x40fce9
mov dword [ebp - 4], 0x20
lea eax, [ebp - 0x40]
push eax
call fcn.00404c1d
mov dword [ebp - 4], 0x22
push 0
push 0xffffffffffffffff
push 1
push 0xbe
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x46
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0xcc
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
mov dword [ebp - 4], 0x25
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 0x4008
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaLenBstr
mov esi, eax
push 1
push dword [ebp - 0x4c]
push 0x404368
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub esi, eax
jo 0x40ff12
push esi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x6c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x26
fld qword [0x402090]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcSin
fstp qword [ebp - 0xf0]
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x84], 0x3c
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x74], 0x10
mov dword [ebp - 0x7c], 2
mov dword [ebp - 0x64], 9
mov dword [ebp - 0x6c], 2
push 0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x28
mov dword [ebp - 0x64], 0x77
mov dword [ebp - 0x6c], 2
push 1
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x29
jmp 0x40f6e2
wait
push 0x40ff01
jmp 0x40fee8
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaFreeStr
ret
call sub.MSVBVM60.DLL___vbaErrorOverflow