Function at 0x411990
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4043f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x130
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x402238
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 4
mov edx, dword [0x42e18c]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 5
cmp dword [0x42e66c], 0
jne 0x411a4b
push 0x42e66c
push 0x405238
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x108], 0x42e66c
jmp 0x411a55
mov dword [ebp - 0x108], 0x42e66c
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx]
mov dword [ebp - 0xd0], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd0]
push eax
call dword [edx + 0x14]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x411aad
push 0x14
push 0x405228
mov ecx, dword [ebp - 0xd0]
push ecx
mov edx, dword [ebp - 0xd4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x10c], eax
jmp 0x411ab7
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xd8], eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd8]
push ecx
call dword [eax + 0x50]
fnclex
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x411b0a
push 0x50
push 0x405248
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0xdc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x110], eax
jmp 0x411b14
mov dword [ebp - 0x110], 0
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
xor edx, edx
cmp eax, 3
sete dl
neg edx
mov word [ebp - 0xe0], dx
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
movsx eax, word [ebp - 0xe0]
test eax, eax
je 0x412b76
mov dword [ebp - 4], 6
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 7
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 8
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 9
mov ecx, dword [0x42e0b0]
push ecx
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaUbound]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov word [ebp - 0xec], ax
mov word [ebp - 0xe8], 1
mov word [ebp - 0x38], 0
jmp 0x411c0a
mov dx, word [ebp - 0x38]
add dx, word [ebp - 0xe8]
jo 0x4131a6
mov word [ebp - 0x38], dx
mov ax, word [ebp - 0x38]
cmp ax, word [ebp - 0xec]
jg 0x4123fa
mov dword [ebp - 4], 0xa
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xb
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xd
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xe
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0xf
cmp dword [0x42e66c], 0
jne 0x411d00
push 0x42e66c
push 0x405238
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x114], 0x42e66c
jmp 0x411d0a
mov dword [ebp - 0x114], 0x42e66c
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd0]
push edx
call dword [ecx + 0x14]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x411d62
push 0x14
push 0x405228
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x118], eax
jmp 0x411d6c
mov dword [ebp - 0x118], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xd8], edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd8]
push eax
call dword [edx + 0x50]
fnclex
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x411dbf
push 0x50
push 0x405248
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x11c], eax
jmp 0x411dc9
mov dword [ebp - 0x11c], 0
cmp dword [0x42e0b0], 0
je 0x411e29
mov eax, dword [0x42e0b0]
cmp word [eax], 1
jne 0x411e29
movsx ecx, word [ebp - 0x38]
mov edx, dword [0x42e0b0]
sub ecx, dword [edx + 0x14]
mov dword [ebp - 0xe0], ecx
mov eax, dword [0x42e0b0]
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [eax + 0x10]
jae 0x411e0c
mov dword [ebp - 0x120], 0
jmp 0x411e18
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0xe0]
shl edx, 2
mov dword [ebp - 0x124], edx
jmp 0x411e35
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [0x42e0fc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4055b8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov edx, dword [0x42e0b0]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x124]
mov edx, dword [eax + ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 8
lea eax, [ebp - 0x60]
push eax
call fcn.00409580
mov word [ebp - 0xe4], ax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x40]
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx ecx, word [ebp - 0xe4]
test ecx, ecx
je 0x412335
mov dword [ebp - 4], 0x10
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x11
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x12
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x13
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x14
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x15
mov word [ebp - 0x28], 0xffff
mov dword [ebp - 4], 0x16
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x17
push 0
push 5
push 1
push 0
lea edx, [ebp - 0x64]
push edx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 2
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x64]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], 2
lea edx, [ebp - 0x84]
mov ecx, dword [ebp - 0x64]
mov eax, 1
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
cmp dword [0x42e66c], 0
jne 0x412064
push 0x42e66c
push 0x405238
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x128], 0x42e66c
jmp 0x41206e
mov dword [ebp - 0x128], 0x42e66c
mov edx, dword [ebp - 0x128]
mov eax, dword [edx]
mov dword [ebp - 0xd0], eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xd0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [eax + 0x14]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x4120c6
push 0x14
push 0x405228
mov edx, dword [ebp - 0xd0]
push edx
mov eax, dword [ebp - 0xd4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x12c], eax
jmp 0x4120d0
mov dword [ebp - 0x12c], 0
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xd8], ecx
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd8]
push edx
call dword [ecx + 0x50]
fnclex
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x412123
push 0x50
push 0x405248
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x130], eax
jmp 0x41212d
mov dword [ebp - 0x130], 0
cmp dword [0x42e0b0], 0
je 0x41218f
mov edx, dword [0x42e0b0]
cmp word [edx], 1
jne 0x41218f
movsx eax, word [ebp - 0x38]
mov ecx, dword [0x42e0b0]
sub eax, dword [ecx + 0x14]
mov dword [ebp - 0xe0], eax
mov edx, dword [0x42e0b0]
mov eax, dword [ebp - 0xe0]
cmp eax, dword [edx + 0x10]
jae 0x412172
mov dword [ebp - 0x134], 0
jmp 0x41217e
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0xe0]
shl ecx, 2
mov dword [ebp - 0x138], ecx
jmp 0x41219b
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [0x42e0fc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4055b8
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov ecx, dword [0x42e0b0]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x138]
mov ecx, dword [edx + eax]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x64]
mov ecx, 2
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa4], 2
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x64]
mov eax, 3
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb4], 2
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x64]
mov ecx, 4
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xc4], 2
lea edx, [ebp - 0xc4]
mov ecx, dword [ebp - 0x64]
mov eax, 5
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x64]
push edx
mov eax, dword [0x42e034]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00413470
lea edx, [ebp - 0x64]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x40]
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x18
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1d
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x1f
jmp 0x411bf5
mov dword [ebp - 4], 0x20
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x21
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x22
cmp dword [0x42e66c], 0
jne 0x412470
push 0x42e66c
push 0x405238
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x13c], 0x42e66c
jmp 0x41247a
mov dword [ebp - 0x13c], 0x42e66c
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd0]
push edx
call dword [ecx + 0x14]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x4124d2
push 0x14
push 0x405228
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x140], eax
jmp 0x4124dc
mov dword [ebp - 0x140], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xd8], edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd8]
push eax
call dword [edx + 0x50]
fnclex
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x41252f
push 0x50
push 0x405248
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x144], eax
jmp 0x412539
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x40], 0
mov edx, dword [ebp - 0x104]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x23
movsx ecx, word [ebp - 0x28]
test ecx, ecx
jne 0x412b76
mov dword [ebp - 4], 0x24
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x25
cmp dword [0x42e66c], 0
jne 0x4125c5
push 0x42e66c
push 0x405238
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov dword [ebp - 0x148], 0x42e66c
jmp 0x4125cf
mov dword [ebp - 0x148], 0x42e66c
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax]
mov dword [ebp - 0xd0], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xd0]
push edx
call dword [ecx + 0x14]
fnclex
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 0
jge 0x412627
push 0x14
push 0x405228
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x14c], eax
jmp 0x412631
mov dword [ebp - 0x14c], 0
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0xd8], edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xd8]
push eax
call dword [edx + 0x50]
fnclex
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jge 0x412684
push 0x50
push 0x405248
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x150], eax
jmp 0x41268e
mov dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [0x42e0fc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 8
lea edx, [ebp - 0x60]
push edx
call fcn.00409580
mov word [ebp - 0xe0], ax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
movsx eax, word [ebp - 0xe0]
test eax, eax
je 0x412940
mov dword [ebp - 4], 0x26
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x27
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x28
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x29
push 0
push 5
push 1
push 0
lea ecx, [ebp - 0x64]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 2
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x64]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], 2
lea edx, [ebp - 0x84]
mov ecx, dword [ebp - 0x64]
mov eax, 1
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [0x42e0fc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea edx, [ebp - 0x94]
mov ecx, dword [ebp - 0x64]
mov eax, 2
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa4], 2
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x64]
mov ecx, 3
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb4], 2
lea edx, [ebp - 0xb4]
mov ecx, dword [ebp - 0x64]
mov eax, 4
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xc4], 2
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0x64]
mov ecx, 5
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x64]
push ecx
mov edx, dword [0x42e034]
push edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00413470
lea ecx, [ebp - 0x64]
push ecx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x2a
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x2b
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x412b76
mov dword [ebp - 4], 0x2d
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x2e
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x2f
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x30
push 0
push 5
push 1
push 0
lea ecx, [ebp - 0x64]
push ecx
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 2
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0x64]
xor ecx, ecx
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x84], 2
lea edx, [ebp - 0x84]
mov ecx, dword [ebp - 0x64]
mov eax, 1
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x94], 3
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x64]
mov ecx, 2
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa4], 2
lea edx, [ebp - 0xa4]
mov ecx, dword [ebp - 0x64]
mov eax, 3
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb4], 2
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x64]
mov ecx, 4
sub ecx, dword [eax + 0x14]
shl ecx, 4
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xc4], 2
lea edx, [ebp - 0xc4]
mov ecx, dword [ebp - 0x64]
mov eax, 5
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x64]
push edx
mov eax, dword [0x42e034]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.00413470
lea edx, [ebp - 0x64]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 4], 0x31
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x32
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x36
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x37
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x64]
push eax
push 0x10
push 0x880
call dword [sym.imp.MSVBVM60.DLL___vbaRedim]
add esp, 0x1c
mov dword [ebp - 0x6c], 0x7d0
mov dword [ebp - 0x74], 2
lea edx, [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
xor eax, eax
sub eax, dword [ecx + 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0xc]
add ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x64]
push edx
mov eax, dword [0x42e0a8]
push eax
mov ecx, dword [0x42e190]
push ecx
call fcn.00413470
lea edx, [ebp - 0x64]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaErase]
mov dword [ebp - 4], 0x38
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x39
mov word [ebp - 0xc8], 8
lea ecx, [ebp - 0xc8]
push ecx
call fcn.0040a990
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov dword [ebp - 4], 0x3a
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x3b
mov eax, dword [ebp - 0x30]
push eax
call fcn.0040b900
mov dword [ebp - 4], 0x3c
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x3d
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x3e
lea eax, [ebp - 0x30]
push eax
call fcn.0040f150
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x3f
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x40
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x41
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x42
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x43
lea edx, [ebp - 0x24]
push edx
call fcn.00425f20
mov dword [ebp - 4], 0x44
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x45
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x46
call fcn.0040ed20
mov dword [ebp - 4], 0x47
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x48
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x49
mov word [ebp - 0x3c], 0x1f40
mov dword [ebp - 4], 0x4a
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x40]
push edx
movsx eax, word [ebp - 0x3c]
push eax
mov ecx, dword [0x42e2b8]
push ecx
call fcn.00406560
mov dword [0x42e214], eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x4b
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x4c
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x4d
cmp dword [0x42e214], 0xffffffff
je 0x412edf
cmp dword [0x42e214], 0
jne 0x412f22
mov dword [ebp - 4], 0x4e
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x40]
push edx
movsx eax, word [ebp - 0x3c]
push eax
mov ecx, dword [0x42e080]
push ecx
call fcn.00406560
mov dword [0x42e214], eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x50
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x51
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x52
cmp dword [0x42e214], 0xffffffff
je 0x412f85
cmp dword [0x42e214], 0
jne 0x412fc8
mov dword [ebp - 4], 0x53
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x40]
push edx
movsx eax, word [ebp - 0x3c]
push eax
mov ecx, dword [0x42e28c]
push ecx
call fcn.00406560
mov dword [0x42e214], eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x55
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x56
cmp dword [0x42e214], 0xffffffff
je 0x413006
cmp dword [0x42e214], 0
jne 0x413048
mov dword [ebp - 4], 0x57
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x40]
push ecx
movsx edx, word [ebp - 0x3c]
push edx
mov eax, dword [0x42e2d4]
push eax
call fcn.00406560
mov dword [0x42e214], eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x59
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x5a
cmp dword [0x42e214], 0xffffffff
je 0x413086
cmp dword [0x42e214], 0
jne 0x4130c9
mov dword [ebp - 4], 0x5b
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaStrI2]
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x40]
push eax
movsx ecx, word [ebp - 0x3c]
push ecx
mov edx, dword [0x42e2d8]
push edx
call fcn.00406560
mov dword [0x42e214], eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 0x5d
mov dword [ebp - 0xcc], 0
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x5e
mov dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0xcc]
push ecx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x5f
mov dword [ebp - 0xcc], 0
push 0
lea edx, [ebp - 0xcc]
push edx
call fcn.00405164
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x413195
jmp 0x413179
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
int3