Function at 0x40749a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x404076
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xfc
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401348
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
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 4
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 5
movsx eax, word [0x424028]
test eax, eax
jne 0x4086e1
mov dword [ebp - 4], 6
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 7
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 8
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 9
mov dword [ebp - 0x64], 0xb
mov dword [ebp - 4], 0xa
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xb
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM60.DLL_rtcFileLen
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xc
mov eax, dword [ebp + 8]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
push 0xffffffffffffffff
push 0x120
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 0xd
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0xe
mov dword [ebp - 0xd4], 0x405080
mov dword [ebp - 0xdc], 8
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaVarDup
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x88]
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL_rtcStringVar
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xb8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0xf
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x10
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
lea eax, [ebp - 0x60]
push eax
push 0
call sub.MSVBVM60.DLL___vbaGet3
mov dword [ebp - 4], 0x12
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x13
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x14
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x15
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0x16
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x17
push dword [0x4241fc]
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x100]
push eax
call fcn.00412f1c
mov edx, eax
lea ecx, [ebp - 0x7c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x18
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x19
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x7c]
push dword [0x4241fc]
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x1a
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1b
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0xd4], 0x4241fc
mov dword [ebp - 0xdc], 0x4008
push 0
push 0x40
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x1d
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1e
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x1f
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x20
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], 0x4008
push 0
push 0x40
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x98]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x21
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x22
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x98]
push dword [ebp - 0x44]
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x23
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x24
mov edx, 0x404e7c
lea ecx, [ebp - 0x70]
call sub.MSVBVM60.DLL___vbaStrCopy
mov dword [ebp - 4], 0x25
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x26
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x27
push dword [ebp - 0x70]
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x100]
push eax
call fcn.00412f1c
mov edx, eax
lea ecx, [ebp - 0x80]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x28
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x29
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2a
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2b
mov dword [ebp - 0xd4], 0x404e7c
mov dword [ebp - 0xdc], 8
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x50]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xb8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x2c
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2d
lea eax, [ebp - 0x80]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], 0x4008
push 0
push 0x40
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x4c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x2e
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x2f
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x30
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x31
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x80]
push dword [ebp - 0x70]
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x32
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x33
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x34
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x35
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x36
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x37
push 0x404e68
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x100]
push eax
call fcn.00412f1c
mov edx, eax
lea ecx, [ebp - 0x68]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x38
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x39
mov dword [ebp - 0xd4], 0x404e68
mov dword [ebp - 0xdc], 8
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x38]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xb8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x3a
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3b
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3c
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3d
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x3e
lea eax, [ebp - 0x68]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], 0x4008
push 0
push 0x40
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x34]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x3f
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x40
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x41
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x42
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x68]
push 0x404e68
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x43
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x44
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x45
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x46
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x47
push 0x404e50
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x100]
push eax
call fcn.00412f1c
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x48
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x49
mov dword [ebp - 0xd4], 0x404e50
mov dword [ebp - 0xdc], 8
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x40]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xb8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x4a
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4b
lea eax, [ebp - 0x24]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], 0x4008
push 0
push 0x40
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x9c]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x4c
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4d
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x4e
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x24]
push 0x404e50
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x4f
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x50
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x9c]
push dword [ebp - 0x40]
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x51
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x52
push 0x404e3c
call sub.MSVBVM60.DLL___vbaLenBstr
mov ecx, eax
call sub.MSVBVM60.DLL___vbaI2I4
mov word [ebp - 0x100], ax
lea eax, [ebp - 0x100]
push eax
call fcn.00412f1c
mov edx, eax
lea ecx, [ebp - 0x8c]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x53
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x54
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x55
mov dword [ebp - 0xd4], 0x404e3c
mov dword [ebp - 0xdc], 8
lea edx, [ebp - 0xdc]
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaVarDup
push 0
push 0x40
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xc8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0xa0]
call sub.MSVBVM60.DLL___vbaStrMove
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xb8]
push eax
push 2
call sub.MSVBVM60.DLL___vbaFreeVarList
add esp, 0xc
mov dword [ebp - 4], 0x56
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x57
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x58
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x59
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x5a
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xdc], 0x4008
push 0
push 0x40
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL_rtcStrConvVar2
lea eax, [ebp - 0xb8]
push eax
call sub.MSVBVM60.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x84]
call sub.MSVBVM60.DLL___vbaStrMove
lea ecx, [ebp - 0xb8]
call sub.MSVBVM60.DLL___vbaFreeVar
mov dword [ebp - 4], 0x5b
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x5c
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x8c]
push 0x404e3c
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x5d
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x5e
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x5f
push 0
push 0xffffffffffffffff
push 1
push dword [ebp - 0x84]
push dword [ebp - 0xa0]
push dword [ebp - 0x60]
call sub.MSVBVM60.DLL_rtcReplace
mov edx, eax
lea ecx, [ebp - 0x60]
call sub.MSVBVM60.DLL___vbaStrMove
mov dword [ebp - 4], 0x60
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x61
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x62
push dword [ebp - 0x7c]
push dword [0x424284]
call sub.MSVBVM60.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0xa8]
call sub.MSVBVM60.DLL___vbaStrMove
push eax
push 0x424288
call fcn.00418627
lea ecx, [ebp - 0xa8]
call sub.MSVBVM60.DLL___vbaFreeStr
mov dword [ebp - 4], 0x63
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x64
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x65
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x66
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x67
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x68
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x69
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x6a
mov dword [ebp - 0x64], 0xc
mov dword [ebp - 4], 0x6b
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x6c
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x6d
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x6e
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x6f
mov eax, dword [ebp + 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
push 0xffffffffffffffff
push 0x220
call sub.MSVBVM60.DLL___vbaFileOpen
mov dword [ebp - 4], 0x70
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x71
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
lea eax, [ebp - 0x60]
push eax
push 0
call sub.MSVBVM60.DLL___vbaPut3
mov dword [ebp - 4], 0x72
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x73
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x74
mov ecx, dword [ebp - 0x64]
call sub.MSVBVM60.DLL___vbaI2I4
push eax
call sub.MSVBVM60.DLL___vbaFileClose
mov dword [ebp - 4], 0x75
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x76
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x77
mov dword [ebp - 0x64], 0xd
mov dword [ebp - 4], 0x78
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x79
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
mov dword [ebp - 4], 0x8a
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x8b
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x8c
push 0
push 2
push 1
push 0
lea eax, [ebp - 0xcc]
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 - 0xd4], eax
mov dword [ebp - 0xdc], 3
lea esi, [ebp - 0xdc]
push 0
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
mov eax, dword [ebp + 0xc]
push dword [eax]
call sub.MSVBVM60.DLL_VarPtr
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 3
lea esi, [ebp - 0xec]
push 1
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0xf4], 0
mov dword [ebp - 0xfc], 0xb
lea esi, [ebp - 0xfc]
push 2
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0xcc]
push eax
push dword [0x424078]
push dword [0x4240b8]
call fcn.0041e965
lea eax, [ebp - 0xcc]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase
mov dword [ebp - 4], 0x8d
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x8e
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x8f
xor cx, cx
call sub.MSVBVM60.DLL___vbaUI1I2
push eax
call fcn.0040500c
call sub.MSVBVM60.DLL___vbaSetSystemError
mov dword [ebp - 4], 0x90
push 0
push 1
push 1
push 0
lea eax, [ebp - 0xcc]
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 - 0xd4], eax
mov dword [ebp - 0xdc], 3
lea esi, [ebp - 0xdc]
push 0
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
and dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 3
lea esi, [ebp - 0xec]
push 1
push dword [ebp - 0xcc]
call sub.MSVBVM60.DLL___vbaDerefAry1
mov ecx, eax
mov edx, esi
call sub.MSVBVM60.DLL___vbaVarMove
lea eax, [ebp - 0xcc]
push eax
push dword [0x424210]
push dword [0x4240b8]
call fcn.0041e965
lea eax, [ebp - 0xcc]
push eax
push 0
call sub.MSVBVM60.DLL___vbaErase