Function at 0x422eb8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4038a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x17c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x403120
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
movsx eax, word [0x42e178]
test eax, eax
jne 0x423f07
mov dword [ebp - 4], 4
mov dword [ebp - 0x94], 0xb
mov dword [ebp - 4], 5
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 6
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM60.DLL_rtcFileLen
mov dword [ebp - 0xe8], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 0x94]
push 0xffffffffffffffff
push 0x120
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 8
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 9
mov dword [ebp - 0x154], 0x4055ac
mov dword [ebp - 0x15c], 8
lea edx, [ebp - 0x15c]
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0xe8]
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x138]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xa
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xb
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push eax
push 0
call sub.MSVBVM60.DLL___vbaGet3
mov dword [ebp - 4], 0xc
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0xd
push dword [0x42e024]
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x180], ax
lea eax, [ebp - 0x180]
push eax
call fcn.0041f6aa
mov edx, eax
lea ecx, [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0xe
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xf
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x10
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xcc]
push dword [0x42e024]
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x154], 0x42e024
mov dword [ebp - 0x15c], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x12
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0xcc]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x14
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x15
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x108]
push dword [ebp - 0x64]
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x16
mov edx, 0x4051e8
lea ecx, [ebp - 0xb0]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0x17
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x18
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x19
push dword [ebp - 0xb0]
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x180], ax
lea eax, [ebp - 0x180]
push eax
call fcn.0041f6aa
mov edx, eax
lea ecx, [ebp - 0xd0]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x1a
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x154], 0x4051e8
mov dword [ebp - 0x15c], 8
lea edx, [ebp - 0x15c]
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x138]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x1c
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x1d
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1e
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xd0]
push dword [ebp - 0xb0]
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x1f
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x20
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x21
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x22
push 0x4067a0
push 0x4067ac
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4067bc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405d10
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x120]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405f28
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x138], 8
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov dword [ebp - 4], 0x23
push 0x4067c8
push 0x405be0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4067d4
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405544
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x120]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405cc8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x124]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405f28
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x138], 8
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0xa4]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
mov dword [ebp - 4], 0x24
push 0x405218
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x180], ax
lea eax, [ebp - 0x180]
push eax
call fcn.0041f6aa
mov edx, eax
lea ecx, [ebp - 0xa8]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x25
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x26
mov dword [ebp - 0x154], 0x405218
mov dword [ebp - 0x15c], 8
lea edx, [ebp - 0x15c]
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x58]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x138]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x27
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x54]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x28
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x29
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2a
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xa8]
push 0x405218
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x2b
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2c
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2d
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x2e
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2f
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x30
push 0x40522c
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x180], ax
lea eax, [ebp - 0x180]
push eax
call fcn.0041f6aa
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x31
mov dword [ebp - 0x154], 0x40522c
mov dword [ebp - 0x15c], 8
lea edx, [ebp - 0x15c]
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x138]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x32
lea eax, [ebp - 0x24]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x10c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x33
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x24]
push 0x40522c
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x34
push 0x405c0c
push 0x405eec
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40554c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4067e0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x120]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4067ec
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x124]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4067f8
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x138], 8
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x74]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 4
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x14
mov dword [ebp - 4], 0x35
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x10c]
push dword [ebp - 0x60]
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x36
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x37
push 0x405200
call sub.MSVBVM60.DLL___vbaLenBstr
mov word [ebp - 0x180], ax
lea eax, [ebp - 0x180]
push eax
call fcn.0041f6aa
mov edx, eax
lea ecx, [ebp - 0xec]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x38
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x39
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3a
mov dword [ebp - 0x154], 0x405200
mov dword [ebp - 0x15c], 8
lea edx, [ebp - 0x15c]
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x148]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x138]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x3b
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3c
lea eax, [ebp - 0xec]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x15c], 0x4008
push 0
push 0x40
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0x138]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xd4]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0x138]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x3d
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xec]
push 0x405200
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x3e
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3f
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0xd4]
push dword [ebp - 0x110]
push dword [ebp - 0x90]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x90]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x40
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x41
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x42
push dword [ebp - 0xcc]
push dword [0x42e0c4]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x42e0c8
call fcn.0041146d
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x43
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x44
mov dword [ebp - 0x94], 0xc
mov dword [ebp - 4], 0x45
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp - 0x94]
push 0xffffffffffffffff
push 0x220
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 0x46
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x47
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push eax
push 0
call sub.MSVBVM60.DLL___vbaPut3
mov dword [ebp - 4], 0x48
push 0x405544
push 0x405cfc
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x406808
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405574
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x120]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x406814
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x138], 8
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 3
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x10
mov dword [ebp - 4], 0x49
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0x4a
mov dword [ebp - 0x94], 0xd
mov dword [ebp - 4], 0x4b
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4c
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4d
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4e
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp - 0x94]
push 0xffffffffffffffff
push 0x220
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 0x4f
mov dword [ebp - 0x188], 0x65a
mov dword [ebp - 0x184], 1
and dword [ebp - 0x114], 0
jmp 0x423cb9
mov eax, dword [ebp - 0x114]
add eax, dword [ebp - 0x184]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0x188]
jg 0x423e14
mov dword [ebp - 4], 0x50
push 0x406698
push 0x406820
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405ac0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x4059d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x120]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40554c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x124]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405ec0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x128]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40682c
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x138], 8
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0xe4]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x18
mov dword [ebp - 4], 0x51
mov ax, word [ebp - 0x94]
mov word [ebp - 0xc4], ax
mov dword [ebp - 4], 0x52
push dword [ebp - 0xc4]
mov eax, dword [0x42e18c]
add eax, dword [ebp - 0x114]
push eax
mov eax, dword [0x42e0c8]
mov ecx, dword [ebp - 0x114]
sub ecx, dword [eax + 0x14]
mov eax, dword [0x42e0c8]
mov eax, dword [eax + 0xc]
add eax, ecx
push eax
push 1
call sub.MSVBVM60.DLL___vbaPut4
mov dword [ebp - 4], 0x53
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x54
jmp 0x423ca7
mov dword [ebp - 4], 0x55
push dword [ebp - 0x94]
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0x56
push 0x405da8
push 0x4059d8
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40554c
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x11c]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405d10
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x120]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405a88
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x124]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x405ec0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x128]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x40549c
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x138], 8
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0xc0]
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 5
call sub.MSVBVM60.DLL___vbaFreeStrList
add esp, 0x18
jmp 0x424131
mov dword [ebp - 4], 0x58
push 0
call fcn.004054b8
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x59
push 0
push 2
push 1
push 0
lea eax, [ebp - 0x14c]
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 - 0x154], eax
mov dword [ebp - 0x15c], 3
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 0x14c]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x14c]
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 - 0x164], eax
mov dword [ebp - 0x16c], 3
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 0x14c]
push 1
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x174], 0
mov dword [ebp - 0x17c], 0xb
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0x14c]
push 2
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x14c]
push eax
push dword [0x42e118]
push dword [0x42e144]
call fcn.00427666
lea eax, [ebp - 0x14c]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x5a
push 0x405604
push 0x405ac0
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x406838
call sub.MSVBVM60.DLL___vbaStrCat
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x138], 8
lea edx, [ebp - 0x138]
lea ecx, [ebp - 0x100]
call sub.MSVBVM60.DLL___vbaVarMove
lea ecx, [ebp - 0x118]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x5b
push 0
push 1
push 1
push 0
lea eax, [ebp - 0x14c]
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 - 0x154], eax
mov dword [ebp - 0x15c], 3
lea edx, [ebp - 0x15c]
mov eax, dword [ebp - 0x14c]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0x164], 0
mov dword [ebp - 0x16c], 3
lea edx, [ebp - 0x16c]
mov eax, dword [ebp - 0x14c]
push 1
pop ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 0xc]
add ecx, eax
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0x14c]
push eax
push dword [0x42e038]
push dword [0x42e144]
call fcn.00427666
lea eax, [ebp - 0x14c]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x5d
or word [0x42e178], 0xffff
mov dword [ebp - 4], 0x5e
push 0
call fcn.0040544c
call sub.MSVBVM60.DLL___vbaSetSystemError
push 0x4242f8
jmp 0x4241ae
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x28]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x48]
call sub.MSVBVM60.DLL___vbaFreeVar
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 - 0x84]
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 - 0xa4]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0xa8]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xac]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xb0]
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 - 0xcc]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xd0]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xd4]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0xe4]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0xec]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x100]
call sub.MSVBVM60.DLL___vbaFreeVar
lea ecx, [ebp - 0x108]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x10c]
call sub.MSVBVM60.DLL___vbaFreeStr
lea ecx, [ebp - 0x110]
call sub.MSVBVM60.DLL___vbaFreeStr
ret