Function at 0x405ff0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403586
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xe8
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401390
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
mov dword [ebp - 0xa0], 0x404200
mov dword [ebp - 0xa8], 8
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x64]
push eax
push 0xff
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 4
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x98]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov word [ebp - 0xdc], 0xff
lea eax, [ebp - 0xdc]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 3
lea esi, [ebp - 0xa8]
push 0
push dword [ebp - 0x98]
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 - 0xb0], eax
mov dword [ebp - 0xb8], 3
lea esi, [ebp - 0xb8]
push 1
push dword [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x98]
push eax
push dword [0x420194]
push dword [0x4201b8]
call fcn.0041355c
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x98]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 5
mov dword [ebp - 0xf4], 0x64
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0x2c], 1
jmp 0x4061a8
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xf0]
jo 0x4069d2
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0xf4]
jg 0x406942
mov dword [ebp - 4], 6
mov dword [ebp - 0x5c], 0x67
mov dword [ebp - 0x64], 2
push 2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 7
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 0x4008
push 1
push dword [ebp - 0x4c]
push 0x404200
push 0
call sub.MSVBVM60.DLL___vbaInStr
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
mov dword [ebp - 0xb0], 0x404200
mov dword [ebp - 0xb8], 0x8008
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaVarTstEq
mov word [ebp - 0xec], ax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeVar
movsx eax, word [ebp - 0xec]
test eax, eax
je 0x40626c
jmp 0x406942
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x5c], 0x1b
mov dword [ebp - 0x64], 2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], 0x4008
push 1
push dword [ebp - 0x4c]
push 0x404200
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub eax, 1
jo 0x4069d2
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x64]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0xc
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x98]
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 - 0xa0], eax
mov dword [ebp - 0xa8], 3
lea esi, [ebp - 0xa8]
push 0
push dword [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x98]
push eax
push dword [0x42018c]
push dword [0x4201b8]
call fcn.0041355c
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x98]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xe0], 2
jne 0x406888
mov dword [ebp - 4], 0xd
push 0
push 3
push 1
push 0
lea eax, [ebp - 0x98]
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 - 0xa0], eax
mov dword [ebp - 0xa8], 3
lea esi, [ebp - 0xa8]
push 0
push dword [ebp - 0x98]
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 - 0xb0], eax
mov dword [ebp - 0xb8], 3
lea esi, [ebp - 0xb8]
push 1
push dword [ebp - 0x98]
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 - 0xc0], eax
mov dword [ebp - 0xc8], 3
lea esi, [ebp - 0xc8]
push 2
push dword [ebp - 0x98]
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 - 0xd0], eax
mov dword [ebp - 0xd8], 3
lea esi, [ebp - 0xd8]
push 3
push dword [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x98]
push eax
push dword [0x420190]
push dword [0x4201b8]
call fcn.0041355c
lea eax, [ebp - 0x98]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0xe
fld qword [0x401488]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0xe8]
mov dword [ebp - 4], 0xf
push 0
push 0xca
push 9
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 8
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], 0x10
push dword [ebp - 0x44]
push dword [ebp - 0x48]
fldz
call sub.MSVBVM60.DLL___vbaFpCmpCy
test eax, eax
je 0x40667a
mov dword [ebp - 4], 0x11
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x4065ca
mov dword [ebp - 4], 0x12
lea eax, [ebp - 0x40]
push eax
call fcn.0040ae93
mov dword [ebp - 4], 0x13
push 0x21
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcAnsiValueBstr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x14
push 0
push 0xe8
push 0xb0
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
jmp 0x406644
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x40]
push eax
call fcn.00415e56
mov dword [ebp - 4], 0x17
mov dword [ebp - 0x5c], 0x38
mov dword [ebp - 0x64], 2
push 3
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcRightCharVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x18
mov dword [ebp - 0x5c], 0xa2
mov dword [ebp - 0x64], 2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x5c], 0x3f
mov dword [ebp - 0x64], 2
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcRound
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1c
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x98]
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 - 0xa0], eax
mov dword [ebp - 0xa8], 3
lea esi, [ebp - 0xa8]
push 0
push dword [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x98]
push eax
push dword [0x42018c]
push dword [0x4201b8]
call fcn.0041355c
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0x98]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
cmp dword [ebp - 0xe0], 4
jne 0x406852
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0x5c], 0xe5
mov dword [ebp - 0x64], 2
push 1
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1e
mov eax, dword [ebp + 8]
cmp word [eax], 0xffff
jne 0x4067ef
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x5c], 0x86
mov dword [ebp - 0x64], 2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x20
fld qword [0x401480]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcAtn
fstp qword [ebp - 0xe8]
mov dword [ebp - 4], 0x21
lea eax, [ebp - 0x40]
push eax
call fcn.0040ae93
mov dword [ebp - 4], 0x22
mov dword [ebp - 0x5c], 0x36
mov dword [ebp - 0x64], 2
push 1
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x406852
mov dword [ebp - 4], 0x24
lea eax, [ebp - 0x40]
push eax
call fcn.00415e56
mov dword [ebp - 4], 0x25
mov dword [ebp - 0x5c], 0x8c
mov dword [ebp - 0x64], 2
push 0
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcRound
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x26
fld qword [0x401478]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcCos
fstp qword [ebp - 0xe8]
mov dword [ebp - 4], 0x29
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x64], 2
push 2
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x74]
push eax
call sub.MSVBVM60.DLL_rtcLeftCharVar
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x2b
mov dword [ebp - 0x7c], 0xcf
mov dword [ebp - 0x84], 2
mov dword [ebp - 0x6c], 0x45
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x5c], 0xa
mov dword [ebp - 0x64], 2
push 0
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x94]
push eax
call sub.MSVBVM60.DLL_rtcInStrChar
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x2c
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaLenBstr
mov esi, eax
push 1
push dword [ebp - 0x4c]
push 0x404200
push 0
call sub.MSVBVM60.DLL___vbaInStr
sub esi, eax
jo 0x4069d2
push esi
push dword [ebp - 0x4c]
call sub.MSVBVM60.DLL_rtcRightCharBstr
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x2d
jmp 0x406196
mov dword [ebp - 4], 0x2e
fld qword [0x401470]
push ecx
push ecx
fstp qword [esp]
call sub.MSVBVM60.DLL_rtcExp
fstp qword [ebp - 0xe8]
wait
push 0x4069c1
jmp 0x4069a8
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