Function at 0x4150eb
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4037c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x104
call sub.MSVBVM50.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x4017f0
mov eax, dword [ebp + 8]
push dword [eax]
push 0x40820c
call sub.MSVBVM50.DLL___vbaStrCmp
test eax, eax
jne 0x415133
call sub.MSVBVM50.DLL___vbaStopExe
mov eax, dword [ebp + 8]
push dword [eax]
push 0x406a8c
call sub.MSVBVM50.DLL___vbaStrCmp
test eax, eax
je 0x4162b5
push 0x408248
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x406e8c
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0xd4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4151b5
push 0xd4
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xa4], eax
jmp 0x4151bc
and dword [ebp - 0xa4], 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0x5c]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415208
push 0x5c
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xa8], eax
jmp 0x41520f
and dword [ebp - 0xa8], 0
movsx eax, word [ebp - 0x78]
test eax, eax
je 0x4161a2
push 0x40826c
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x406e8c
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrMove
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaFreeStr
push 2
pop ecx
call sub.MSVBVM50.DLL___vbaI2I4
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c4
lea eax, [ebp - 0x18]
push eax
call fcn.00412b30
lea eax, [ebp - 0x18]
push eax
call fcn.00414092
movsx eax, ax
test eax, eax
jne 0x41560f
lea eax, [ebp - 0x18]
push eax
call fcn.0041304c
mov dword [ebp - 0x6c], 0x4063c4
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x406cf0
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415302
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xac], eax
jmp 0x415309
and dword [ebp - 0xac], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4082c8
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x41537c
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xb0], eax
jmp 0x415383
and dword [ebp - 0xb0], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4082d4
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4153f6
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xb4], eax
jmp 0x4153fd
and dword [ebp - 0xb4], 0
mov dword [ebp - 0x6c], 0x4082e0
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4074a8
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x41546f
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xb8], eax
jmp 0x415476
and dword [ebp - 0xb8], 0
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x5c], 0x4082f4
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4154e5
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xbc], eax
jmp 0x4154ec
and dword [ebp - 0xbc], 0
mov dword [ebp - 0x6c], 0x408300
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x408308
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x41555e
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xc0], eax
jmp 0x415565
and dword [ebp - 0xc0], 0
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0xb
mov dword [ebp - 0x5c], 0x408314
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4155d4
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xc4], eax
jmp 0x4155db
and dword [ebp - 0xc4], 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM50.DLL___vbaObjSetAddref
lea eax, [ebp - 0x30]
push eax
call fcn.00412d52
push 0x406b60
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaCastObj
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM50.DLL___vbaObjSet
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaFreeObj
push 0x408324
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x406e8c
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrMove
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaFreeStr
push 2
pop ecx
call sub.MSVBVM50.DLL___vbaI2I4
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c4
lea eax, [ebp - 0x18]
push eax
call fcn.00412b30
lea eax, [ebp - 0x18]
push eax
call fcn.00414092
movsx eax, ax
test eax, eax
jne 0x415a15
lea eax, [ebp - 0x18]
push eax
call fcn.0041304c
mov dword [ebp - 0x6c], 0x408380
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x406cf0
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4156f6
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xc8], eax
jmp 0x4156fd
and dword [ebp - 0xc8], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4082c8
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415770
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xcc], eax
jmp 0x415777
and dword [ebp - 0xcc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4082d4
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4157ea
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xd0], eax
jmp 0x4157f1
and dword [ebp - 0xd0], 0
mov dword [ebp - 0x6c], 0x4082e0
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4074a8
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415863
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xd4], eax
jmp 0x41586a
and dword [ebp - 0xd4], 0
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x5c], 0x4082f4
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4158d9
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xd8], eax
jmp 0x4158e0
and dword [ebp - 0xd8], 0
mov dword [ebp - 0x6c], 0x408300
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x408308
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415952
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xdc], eax
jmp 0x415959
and dword [ebp - 0xdc], 0
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0xb
mov dword [ebp - 0x5c], 0x408314
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4159c8
push 0x128
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xe0], eax
jmp 0x4159cf
and dword [ebp - 0xe0], 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM50.DLL___vbaObjSetAddref
lea eax, [ebp - 0x30]
push eax
call fcn.00412d52
push 0x406b60
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaCastObj
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM50.DLL___vbaObjSet
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaFreeObj
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea ecx, [ebp - 0x24]
call sub.MSVBVM50.DLL___vbaStrCopy
jmp 0x415b1e
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0xb4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415a4d
push 0xb4
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xe4], eax
jmp 0x415a54
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x5c], 0x4082d4
mov dword [ebp - 0x64], 8
lea eax, [ebp - 0x34]
push eax
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
push dword [ebp - 0x84]
call dword [eax + 0x30]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jge 0x415ac0
push 0x30
push 0x406b70
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xe8], eax
jmp 0x415ac7
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x98], eax
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 9
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00410dbf
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM50.DLL___vbaStrMove
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaFreeObj
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0xc
push dword [0x4410d0]
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x8c]
call sub.MSVBVM50.DLL___vbaStrMove
push dword [ebp - 0x8c]
push 0x4063c4
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x78], ax
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaFreeStr
movsx eax, word [ebp - 0x78]
test eax, eax
jne 0x415bac
push dword [ebp - 0x8c]
push 0x408380
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
inc eax
neg eax
mov word [ebp - 0x7c], ax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM50.DLL___vbaFreeStr
movsx eax, word [ebp - 0x7c]
test eax, eax
je 0x415bb1
jmp 0x415f75
push 0x4410cc
call fcn.0041304c
mov eax, dword [0x4410d0]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x406cf0
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415c36
push 0x128
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xec], eax
jmp 0x415c3d
and dword [ebp - 0xec], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4082c8
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415cb8
push 0x128
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf0], eax
jmp 0x415cbf
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4082d4
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415d38
push 0x128
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf4], eax
jmp 0x415d3f
and dword [ebp - 0xf4], 0
mov dword [ebp - 0x6c], 0x4082e0
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x4074a8
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415db9
push 0x128
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xf8], eax
jmp 0x415dc0
and dword [ebp - 0xf8], 0
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x5c], 0x4082f4
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415e37
push 0x128
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0xfc], eax
jmp 0x415e3e
and dword [ebp - 0xfc], 0
mov dword [ebp - 0x6c], 0x408300
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x5c], 0x408308
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415eb8
push 0x128
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x100], eax
jmp 0x415ebf
and dword [ebp - 0x100], 0
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0xb
mov dword [ebp - 0x5c], 0x408314
mov dword [ebp - 0x64], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x74]
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 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0x128]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x415f36
push 0x128
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x104], eax
jmp 0x415f3d
and dword [ebp - 0x104], 0
push dword [0x4410cc]
lea eax, [ebp - 0x30]
push eax
call sub.MSVBVM50.DLL___vbaObjSetAddref
lea eax, [ebp - 0x30]
push eax
call fcn.00412d52
push 0x406b60
push dword [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaCastObj
push eax
push 0x4410cc
call sub.MSVBVM50.DLL___vbaObjSet
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaFreeObj
push dword [0x4410d0]
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x4063c4
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x2c]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
neg eax
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
movsx eax, word [ebp - 0x80]
test eax, eax
je 0x416155
push 0x408324
mov eax, dword [ebp + 8]
push dword [eax]
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x406e8c
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrMove
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaFreeStr
push 2
pop ecx
call sub.MSVBVM50.DLL___vbaI2I4
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c4
lea eax, [ebp - 0x18]
push eax
call fcn.00412b30
lea eax, [ebp - 0x18]
push eax
call fcn.00414092
movsx eax, ax
test eax, eax
je 0x416146
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0xb4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x416073
push 0xb4
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x108], eax
jmp 0x41607a
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x5c], 0x4082d4
mov dword [ebp - 0x64], 8
lea eax, [ebp - 0x34]
push eax
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
push dword [ebp - 0x84]
call dword [eax + 0x30]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jge 0x4160e6
push 0x30
push 0x406b70
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x10c], eax
jmp 0x4160ed
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x9c], eax
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 9
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00410dbf
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrMove
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaFreeObj
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x416153
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
jmp 0x416162
mov eax, dword [ebp + 8]
mov edx, dword [eax]
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push dword [ebp - 0x18]
call dword [eax + 0xc4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x416196
push 0xc4
push 0x406b60
push dword [ebp - 0x18]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x110], eax
jmp 0x41619d
and dword [ebp - 0x110], 0
jmp 0x4162b3
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x4410cc]
mov eax, dword [eax]
push dword [0x4410cc]
call dword [eax + 0xb4]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x4161e2
push 0xb4
push 0x406b60
push dword [0x4410cc]
push dword [ebp - 0x80]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x114], eax
jmp 0x4161e9
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x5c], 0x4082d4
mov dword [ebp - 0x64], 8
lea eax, [ebp - 0x34]
push eax
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x64]
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]
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
push dword [ebp - 0x84]
call dword [eax + 0x30]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jge 0x416255
push 0x30
push 0x406b70
push dword [ebp - 0x84]
push dword [ebp - 0x88]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x118], eax
jmp 0x41625c
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa0], eax
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 9
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00410dbf
lea eax, [ebp - 0x54]
push eax
call sub.MSVBVM50.DLL___vbaStrVarMove
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrMove
lea ecx, [ebp - 0x30]
call sub.MSVBVM50.DLL___vbaFreeObj
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeVarList
add esp, 0xc
jmp 0x4162c2
mov edx, 0x406a8c
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
push 0x416336
jmp 0x416312
lea ecx, [ebp - 0x8c]
call sub.MSVBVM50.DLL___vbaFreeStr
lea ecx, [ebp - 0x18]
call sub.MSVBVM50.DLL___vbaFreeObj
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaFreeStr
lea ecx, [ebp - 0x24]
call sub.MSVBVM50.DLL___vbaFreeStr
ret