Function at 0x411413
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404146
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], 0x4019f8
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 0
call fcn.00406650
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 4
call fcn.00406514
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcCharValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 6
mov dword [ebp - 0x94], 0x406a1c
mov dword [ebp - 0x9c], 8
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaVarCopy
mov dword [ebp - 4], 7
call sub.KERNEL32.DLL_GetVersion
mov dword [ebp - 4], 8
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 2
je 0x41153d
cmp dword [ebp - 0xf8], 3
je 0x411774
cmp dword [ebp - 0xf8], 4
je 0x411b1d
cmp dword [ebp - 0xf8], 5
je 0x4122dd
jmp 0x41292e
mov dword [ebp - 4], 0xa
call fcn.00406514
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xb
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0x270f
mov word [ebp - 0xb8], 1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
mov word [ebp - 0x94], ax
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0xa4], 0x4069cc
mov dword [ebp - 0xac], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0xc
call fcn.00406514
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xd
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0x270f
mov word [ebp - 0xb8], 1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
mov word [ebp - 0x94], ax
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0xa4], 0x4069cc
mov dword [ebp - 0xac], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0xe
call fcn.00406514
call sub.MSVBVM60.DLL___vbaSetSystemError
jmp 0x41292e
mov dword [ebp - 4], 0x10
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcCharValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x11
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0x270f
mov word [ebp - 0xb8], 1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
mov word [ebp - 0x94], ax
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0xa4], 0x4069cc
mov dword [ebp - 0xac], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x12
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0x270f
mov word [ebp - 0xb8], 1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
mov word [ebp - 0x94], ax
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0xa4], 0x4069cc
mov dword [ebp - 0xac], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x13
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call fcn.004065ac
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x14
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0x270f
mov word [ebp - 0xb8], 1
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
mov word [ebp - 0x94], ax
mov dword [ebp - 0x9c], 2
mov dword [ebp - 0xa4], 0x4069cc
mov dword [ebp - 0xac], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x6c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x14
mov dword [ebp - 4], 0x15
and dword [ebp - 0xcc], 0
and dword [ebp - 0xc8], 0
and dword [ebp - 0xc4], 0
and dword [ebp - 0xc0], 0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0
call fcn.0040655c
call sub.MSVBVM60.DLL___vbaSetSystemError
jmp 0x41292e
mov dword [ebp - 4], 0x17
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcOctVarFromVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x18
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x19
and dword [ebp - 0xcc], 0
and dword [ebp - 0xc8], 0
and dword [ebp - 0xc4], 0
and dword [ebp - 0xc0], 0
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0
call fcn.0040655c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1a
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x1b
cmp dword [0x446b40], 0
jne 0x411ded
push 0x446b40
push 0x40668c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0xfc], 0x446b40
jmp 0x411df7
mov dword [ebp - 0xfc], 0x446b40
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
push dword [ebp - 0xd0]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x411e4b
push 0x1c
push 0x40667c
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x100], eax
jmp 0x411e52
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x94], 0x80020004
mov dword [ebp - 0x9c], 0xa
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x9c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
push dword [ebp - 0xd8]
call dword [eax + 0x60]
fnclex
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x411ed7
push 0x60
push 0x40669c
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x104], eax
jmp 0x411ede
and dword [ebp - 0x104], 0
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeObj
mov dword [ebp - 4], 0x1c
call sub.ADVAPI32.DLL_RevertToSelf
mov dword [ebp - 4], 0x1d
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x1e
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcUpperCaseVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1f
cmp dword [0x446b40], 0
jne 0x412078
push 0x446b40
push 0x40668c
call sub.MSVBVM60.DLL___vbaNew2
mov dword [ebp - 0x108], 0x446b40
jmp 0x412082
mov dword [ebp - 0x108], 0x446b40
mov eax, dword [ebp - 0x108]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax]
push dword [ebp - 0xd0]
call dword [eax + 0x1c]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x4120d6
push 0x1c
push 0x40667c
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x10c], eax
jmp 0x4120dd
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x94], 0x80020004
mov dword [ebp - 0x9c], 0xa
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
lea esi, [ebp - 0x9c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
push dword [ebp - 0xd8]
call dword [eax + 0x60]
fnclex
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x412162
push 0x60
push 0x40669c
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
call sub.MSVBVM60.DLL___vbaHresultCheckObj
mov dword [ebp - 0x110], eax
jmp 0x412169
and dword [ebp - 0x110], 0
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x3c]
call sub.MSVBVM60.DLL___vbaFreeObj
mov dword [ebp - 4], 0x20
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x21
call sub.GDI32.DLL_GdiGetBatchLimit
mov dword [ebp - 4], 0x22
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcOctVarFromVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x41292e
mov dword [ebp - 4], 0x24
call fcn.00406514
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x25
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x26
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcOctVarFromVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x27
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x28
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x29
push 0
call sub.MSVBVM60.DLL___vbaStrI2
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL_rtcCharValueBstr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x2a
call sub.GDI32.DLL_GdiGetBatchLimit
mov dword [ebp - 4], 0x2b
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x2c
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcOctVarFromVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x2d
call sub.KERNEL32.DLL_GetVersion
mov dword [ebp - 4], 0x2e
mov word [ebp - 0xb4], 0xf
mov word [ebp - 0xb0], 5
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc0], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xc0]
push eax
call fcn.0040bdb4
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], 8
mov word [ebp - 0xbc], 0xf
mov word [ebp - 0xb8], 5
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00429c38
movsx eax, ax
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040bdb4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 8
mov dword [ebp - 0x94], 0x4069cc
mov dword [ebp - 0x9c], 8
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
call sub.MSVBVM60.DLL___vbaVarCat
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeStr
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0x18
mov dword [ebp - 4], 0x2f
call fcn.00406514
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x31
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call sub.MSVBVM60.DLL_rtcOctVarFromVar
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
push 0x4129b3
jmp 0x4129aa
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaFreeVar
ret