Function at 0x413720
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403856
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x160
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401e38
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 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 4
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 5
movsx eax, word [0x43017c]
test eax, eax
jne 0x41483f
mov dword [ebp - 4], 6
mov dword [ebp - 0x84], 0xb
mov dword [ebp - 4], 7
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM60.DLL_rtcFileLen
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 8
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x84]
push 0xffffffffffffffff
push 0x120
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 9
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x138], 0x405dbc
mov dword [ebp - 0x140], 8
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0xd8]
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xb
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0xc
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0xd
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
push eax
push 0
call sub.MSVBVM60.DLL___vbaGet3
mov dword [ebp - 4], 0xe
push dword [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0xf
push dword [0x430258]
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x164], ax
lea eax, [ebp - 0x164]
push eax
call fcn.0041025e
mov edx, eax
lea ecx, [ebp - 0xbc]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x10
push 0x405dc4
push 0x405dd0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405868
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x11c], 8
lea edx, [ebp - 0x11c]
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaVarMove
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x11
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xbc]
push dword [0x430258]
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x12
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x13
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x14
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x138], 0x430258
mov dword [ebp - 0x140], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x16
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x17
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x18
lea eax, [ebp - 0xbc]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xe8]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x19
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1a
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xe8]
push dword [ebp - 0x44]
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x1b
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x1c
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1d
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x1e
mov edx, 0x40557c
lea ecx, [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0x1f
push dword [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x164], ax
lea eax, [ebp - 0x164]
push eax
call fcn.0041025e
mov edx, eax
lea ecx, [ebp - 0xd0]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x20
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x21
mov dword [ebp - 0x138], 0x40557c
mov dword [ebp - 0x140], 8
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x22
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x23
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x24
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x25
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xd0]
push dword [ebp - 0xa0]
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x26
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x27
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x28
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x29
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x2a
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x2b
push 0x405554
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x164], ax
lea eax, [ebp - 0x164]
push eax
call fcn.0041025e
mov edx, eax
lea ecx, [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0x138], 0x405554
mov dword [ebp - 0x140], 8
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x2d
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x2e
lea eax, [ebp - 0x98]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x2f
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x98]
push 0x405554
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x30
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x31
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x32
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x33
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x34
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x35
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x36
push 0x405568
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x164], ax
lea eax, [ebp - 0x164]
push eax
call fcn.0041025e
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x37
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x38
mov dword [ebp - 0x138], 0x405568
mov dword [ebp - 0x140], 8
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x39
lea eax, [ebp - 0x24]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xfc]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x3a
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x24]
push 0x405568
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x3b
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3c
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xfc]
push dword [ebp - 0x40]
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x3d
push 0x405540
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x164], ax
lea eax, [ebp - 0x164]
push eax
call fcn.0041025e
mov edx, eax
lea ecx, [ebp - 0xdc]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x3e
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3f
mov dword [ebp - 0x138], 0x405540
mov dword [ebp - 0x140], 8
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x12c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x100]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x11c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x40
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x41
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x11c]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xd4]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x42
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x43
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x44
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x45
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xdc]
push 0x405540
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x46
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xd4]
push dword [ebp - 0x100]
push dword [ebp - 0x80]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x47
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaVarCopy
mov dword [ebp - 4], 0x48
push dword [ebp - 0xbc]
push dword [0x4300c8]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4300cc
call fcn.0040b22a
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x49
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4a
push 0
call fcn.00405740
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4b
push 0x4055d4
lea eax, [ebp - 0x10c]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.004057e0
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x4c
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 4], 0x4d
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp - 0x84]
push 0xffffffffffffffff
push 0x220
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 0x4e
push 0x405ddc
push 0x405df0
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x11c], 8
lea edx, [ebp - 0x11c]
lea ecx, [ebp - 0xb4]
call sub.MSVBVM60.DLL___vbaVarMove
mov dword [ebp - 4], 0x4f
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
push eax
push 0
call sub.MSVBVM60.DLL___vbaPut3
mov dword [ebp - 4], 0x50
push dword [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0x51
mov dword [ebp - 0x84], 0xd
mov dword [ebp - 4], 0x52
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x53
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp - 0x84]
push 0xffffffffffffffff
push 0x220
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 0x54
push 0x4055d4
lea eax, [ebp - 0x108]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00405798
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x55
mov dword [ebp - 0x16c], 0x65a
mov dword [ebp - 0x168], 1
and dword [ebp - 0x104], 0
jmp 0x4147a8
mov eax, dword [ebp - 0x104]
add eax, dword [ebp - 0x168]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x16c]
jg 0x414828
mov dword [ebp - 4], 0x56
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaVarCopy
mov dword [ebp - 4], 0x57
mov ax, word [ebp - 0x84]
mov word [ebp - 0xa4], ax
mov dword [ebp - 4], 0x58
push dword [ebp - 0xa4]
mov eax, dword [0x430190]
add eax, dword [ebp - 0x104]
push eax
mov eax, dword [0x4300cc]
mov ecx, dword [ebp - 0x104]
sub ecx, dword [eax + 0x14]
mov eax, dword [0x4300cc]
mov eax, dword [eax + 0xc]
add eax, ecx
push eax
push 1
call sub.MSVBVM60.DLL___vbaPut4
mov dword [ebp - 4], 0x59
jmp 0x414796
mov dword [ebp - 4], 0x5a
push dword [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFileClose
jmp 0x4149fc
mov dword [ebp - 4], 0x5c
push 0
push 2
push 1
push 0
lea eax, [ebp - 0x130]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 3
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x130]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [ebp + 0xc]
push dword [eax]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x150], 3
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 0x130]
push 1
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x158], 0
mov dword [ebp - 0x160], 0xb
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 0x130]
push 2
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x130]
push eax
push dword [0x43011c]
push dword [0x430148]
call fcn.00417874
lea eax, [ebp - 0x130]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x5d
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x130]
push eax
push 0x10
push 0x880
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
mov eax, dword [ebp + 0xc]
push dword [eax]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x140], 3
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x130]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x148], 0
mov dword [ebp - 0x150], 3
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 0x130]
push 1
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x130]
push eax
push dword [0x43026c]
push dword [0x430148]
call fcn.00417874
lea eax, [ebp - 0x130]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x5f
or word [0x43017c], 0xffff
push 0x414b87
jmp 0x414a51
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x2c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x30]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x78]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xb4]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xbc]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0xd0]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xd4]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xdc]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xe8]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0xfc]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x100]
call sub.MSVBVM60.DLL___vbaFreeStr
ret