Function at 0x412159
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4035a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x154
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401ea8
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 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 4
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
movsx eax, word [0x42717c]
test eax, eax
jne 0x41312d
mov dword [ebp - 4], 6
mov dword [ebp - 0x84], 0xb
mov dword [ebp - 4], 7
push 0x404df0
lea eax, [ebp - 0xfc]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d7c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 8
push 0x404df0
lea eax, [ebp - 0xfc]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d7c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 9
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM60.DLL_rtcFileLen
mov dword [ebp - 0xa8], eax
mov dword [ebp - 4], 0xa
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], 0xb
mov dword [ebp - 0x12c], 0x4053e8
mov dword [ebp - 0x134], 8
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0xa8]
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xc
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xd
call fcn.00404cac
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xe
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
push eax
push 0
call sub.MSVBVM60.DLL___vbaGet3
mov dword [ebp - 4], 0xf
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x10
push dword [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0x11
push dword [0x427258]
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x158], ax
lea eax, [ebp - 0x158]
push eax
call fcn.0040ecf8
mov edx, eax
lea ecx, [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x12
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x9c]
push dword [0x427258]
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], 0x13
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x14
push 0x404df0
lea eax, [ebp - 0xfc]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d7c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x12c], 0x427258
mov dword [ebp - 0x134], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x16
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x17
push 0x404df0
lea eax, [ebp - 0xfc]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d7c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x18
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xc8]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x19
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xc8]
push dword [ebp - 0x54]
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], 0x1a
mov edx, 0x404ad4
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0x1b
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x158], ax
lea eax, [ebp - 0x158]
push eax
call fcn.0040ecf8
mov edx, eax
lea ecx, [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x12c], 0x404ad4
mov dword [ebp - 0x134], 8
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1d
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1e
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x5c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x1f
push 0x4053f0
push 0x4053f8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405240
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0xfc]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405348
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x100]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40531c
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x110], 8
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0xe8]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov dword [ebp - 4], 0x20
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xa0]
push dword [ebp - 0x90]
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], 0x21
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x22
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], 0x23
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x24
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x25
push 0x404aa4
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x158], ax
lea eax, [ebp - 0x158]
push eax
call fcn.0040ecf8
mov edx, eax
lea ecx, [ebp - 0x88]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x26
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x27
mov dword [ebp - 0x12c], 0x404aa4
mov dword [ebp - 0x134], 8
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x28
lea eax, [ebp - 0x88]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x29
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x88]
push 0x404aa4
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], 0x2a
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x44]
push dword [ebp - 0x48]
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], 0x2b
push 0x405400
push 0x405338
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x110], 8
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0xc0]
call sub.MSVBVM60.DLL___vbaVarMove
mov dword [ebp - 4], 0x2c
push 0x404ab8
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x158], ax
lea eax, [ebp - 0x158]
push eax
call fcn.0040ecf8
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x2d
mov dword [ebp - 0x12c], 0x404ab8
mov dword [ebp - 0x134], 8
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x2e
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2f
lea eax, [ebp - 0x24]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xec]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x30
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x24]
push 0x404ab8
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], 0x31
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x32
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x33
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xec]
push dword [ebp - 0x50]
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 0x404a8c
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x158], ax
lea eax, [ebp - 0x158]
push eax
call fcn.0040ecf8
mov edx, eax
lea ecx, [ebp - 0xac]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x35
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x36
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x37
mov dword [ebp - 0x12c], 0x404a8c
mov dword [ebp - 0x134], 8
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x120]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xf0]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x38
lea eax, [ebp - 0xac]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x110]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xa4]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x39
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x3a
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xac]
push 0x404a8c
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 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x3c
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xa4]
push dword [ebp - 0xf0]
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
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3e
push 0x404df0
lea eax, [ebp - 0xfc]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d7c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x3f
call fcn.00404cac
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x40
call fcn.00404cac
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x41
push dword [ebp - 0x9c]
push dword [0x4270c8]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4270cc
call fcn.0040967f
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x42
push 0x404e8c
push 0x405348
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x404e8c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0xfc]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405410
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x110], 8
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x43
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 4], 0x44
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x45
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], 0x46
call fcn.00404cac
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x47
push dword [ebp - 0x84]
lea eax, [ebp - 0x80]
push eax
push 0
call sub.MSVBVM60.DLL___vbaPut3
mov dword [ebp - 4], 0x48
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x49
push dword [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0x4a
push 0x404df0
lea eax, [ebp - 0xfc]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d7c
call sub.MSVBVM60.DLL___vbaSetSystemError
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0xf8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0xc
mov dword [ebp - 4], 0x4b
call fcn.00404c68
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4c
call fcn.00404cac
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4d
mov dword [ebp - 0x84], 0xd
mov dword [ebp - 4], 0x4e
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], 0x4f
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x50
mov dword [ebp - 0x160], 0x65a
mov dword [ebp - 0x15c], 1
and dword [ebp - 0xf4], 0
jmp 0x413099
mov eax, dword [ebp - 0xf4]
add eax, dword [ebp - 0x15c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
cmp eax, dword [ebp - 0x160]
jg 0x413116
mov dword [ebp - 4], 0x51
mov ax, word [ebp - 0x84]
mov word [ebp - 0x94], ax
mov dword [ebp - 4], 0x52
push dword [ebp - 0x94]
mov eax, dword [0x427190]
add eax, dword [ebp - 0xf4]
push eax
mov eax, dword [0x4270cc]
mov ecx, dword [ebp - 0xf4]
sub ecx, dword [eax + 0x14]
mov eax, dword [0x4270cc]
mov eax, dword [eax + 0xc]
add eax, ecx
push eax
push 1
call sub.MSVBVM60.DLL___vbaPut4
mov dword [ebp - 4], 0x53
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xd8]
call sub.MSVBVM60.DLL___vbaVarCopy
mov dword [ebp - 4], 0x54
jmp 0x413087
mov dword [ebp - 4], 0x55
push dword [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaFileClose
jmp 0x413329
mov dword [ebp - 4], 0x57
push 0x404df0
lea eax, [ebp - 0xf8]
push eax
call sub.MSVBVM60.DLL___vbaStrToAnsi
push eax
call fcn.00404d08
call sub.MSVBVM60.DLL___vbaSetSystemError
lea ecx, [ebp - 0xf8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x58
push 0
push 2
push 1
push 0
lea eax, [ebp - 0x124]
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 - 0x12c], eax
mov dword [ebp - 0x134], 3
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0x124]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x124]
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 - 0x13c], eax
mov dword [ebp - 0x144], 3
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x124]
push 1
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x14c], 0
mov dword [ebp - 0x154], 0xb
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 0x124]
push 2
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x124]
push eax
push dword [0x42711c]
push dword [0x427148]
call fcn.004160cc
lea eax, [ebp - 0x124]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x59
call fcn.00404cac
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x5a
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x124]
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 - 0x12c], eax
mov dword [ebp - 0x134], 3
lea edx, [ebp - 0x134]
mov eax, dword [ebp - 0x124]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x13c], 0
mov dword [ebp - 0x144], 3
lea edx, [ebp - 0x144]
mov eax, dword [ebp - 0x124]
push 1
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x124]
push eax
push dword [0x42726c]
push dword [0x427148]
call fcn.004160cc
lea eax, [ebp - 0x124]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x5c
or word [0x42717c], 0xffff
push 0x4134b0
jmp 0x413385
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 - 0x40]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaFreeStr
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 - 0x88]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x8c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaFreeStr
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 - 0xa4]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xac]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xc0]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0xc8]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xd8]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0xe8]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0xec]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xf0]
call sub.MSVBVM60.DLL___vbaFreeStr
ret