Function at 0x42baa5
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x4037c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x70
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402880
and word [ebp - 0x5c], 0
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x38], 3
mov edx, 0x409f0c
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
mov edx, 0x409ef4
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c0
call fcn.00430b14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaFreeVar
mov word [ebp - 0x5c], 0x32
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x38], 3
mov edx, 0x406e30
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
mov edx, 0x409ef4
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c0
call fcn.00430b14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaFreeVar
mov word [ebp - 0x5c], 0x64
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x38], 3
mov edx, 0x406838
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
mov edx, 0x409ef4
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c0
call fcn.00430b14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaFreeVar
mov word [ebp - 0x5c], 0x32
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x38], 3
mov edx, 0x406674
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
mov edx, 0x409ef4
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c0
call fcn.00430b14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaFreeVar
and word [ebp - 0x5c], 0
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x38], 3
mov edx, 0x406f88
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
mov edx, 0x409ef4
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c0
call fcn.00430b14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaFreeVar
mov word [ebp - 0x5c], 3
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x38], 3
mov edx, 0x406fb4
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
mov edx, 0x409ef4
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c0
call fcn.00430b14
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea ecx, [ebp - 0x38]
call sub.MSVBVM50.DLL___vbaFreeVar
and word [ebp - 0x60], 0
or word [ebp - 0x5c], 0xffff
mov edx, 0x409f2c
lea ecx, [ebp - 0x24]
call sub.MSVBVM50.DLL___vbaStrCopy
mov edx, 0x409f18
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrCopy
mov edx, 0x409ef4
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4410c0
call fcn.0042fbb1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 3
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0x10
mov edx, 0x409f40
lea ecx, [ebp - 0x18]
call sub.MSVBVM50.DLL___vbaStrCopy
lea eax, [ebp - 0x18]
push eax
push 0x4410c0
lea eax, [ebp - 0x14]
push eax
call fcn.004144ef
movsx eax, ax
test eax, eax
jne 0x42c09a
lea eax, [ebp - 0x14]
push eax
call fcn.0041304c
mov dword [ebp - 0x50], 5
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x40], 0x406e94
mov dword [ebp - 0x48], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x58]
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 - 0x48]
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 - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0x128]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x42be23
push 0x128
push 0x406b60
push dword [ebp - 0x14]
push dword [ebp - 0x64]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x6c], eax
jmp 0x42be27
and dword [ebp - 0x6c], 0
mov dword [ebp - 0x50], 0x409f8c
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x40], 0x406e30
mov dword [ebp - 0x48], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x58]
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 - 0x48]
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 - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0x128]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x42be96
push 0x128
push 0x406b60
push dword [ebp - 0x14]
push dword [ebp - 0x64]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x70], eax
jmp 0x42be9a
and dword [ebp - 0x70], 0
mov dword [ebp - 0x50], 0x409fa8
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x40], 0x406838
mov dword [ebp - 0x48], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x58]
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 - 0x48]
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 - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0x128]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x42bf09
push 0x128
push 0x406b60
push dword [ebp - 0x14]
push dword [ebp - 0x64]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x74], eax
jmp 0x42bf0d
and dword [ebp - 0x74], 0
mov dword [ebp - 0x50], 0x409fe8
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x40], 0x406674
mov dword [ebp - 0x48], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x58]
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 - 0x48]
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 - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0x128]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x42bf7c
push 0x128
push 0x406b60
push dword [ebp - 0x14]
push dword [ebp - 0x64]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x78], eax
jmp 0x42bf80
and dword [ebp - 0x78], 0
mov dword [ebp - 0x50], 0xa
mov dword [ebp - 0x58], 2
mov dword [ebp - 0x40], 0x406f88
mov dword [ebp - 0x48], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x58]
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 - 0x48]
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 - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0x128]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x42bfef
push 0x128
push 0x406b60
push dword [ebp - 0x14]
push dword [ebp - 0x64]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x7c], eax
jmp 0x42bff3
and dword [ebp - 0x7c], 0
mov dword [ebp - 0x50], 0x40a004
mov dword [ebp - 0x58], 8
mov dword [ebp - 0x40], 0x406fb4
mov dword [ebp - 0x48], 8
push 0x10
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
lea esi, [ebp - 0x58]
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 - 0x48]
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 - 0x14]
mov eax, dword [eax]
push dword [ebp - 0x14]
call dword [eax + 0x128]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jge 0x42c062
push 0x128
push 0x406b60
push dword [ebp - 0x14]
push dword [ebp - 0x64]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x80], eax
jmp 0x42c066
and dword [ebp - 0x80], 0
push dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push eax
call sub.MSVBVM50.DLL___vbaObjSetAddref
lea eax, [ebp - 0x28]
push eax
call fcn.00412d52
push 0x406b60
push dword [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaCastObj
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MSVBVM50.DLL___vbaObjSet
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaFreeObj
push 0x42c0d9
jmp 0x42c0c8
lea ecx, [ebp - 0x14]
call sub.MSVBVM50.DLL___vbaFreeObj
lea ecx, [ebp - 0x18]
call sub.MSVBVM50.DLL___vbaFreeStr
ret