Function at 0x61e847b9
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x80], 0
mov esi, dword [eax + 0xc]
add eax, 8
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 8]
call sym._fts5TripCursors
mov eax, dword [ebx]
mov edx, dword [eax + 8]
and edx, 0x1f
movzx edi, byte [edx + 0x61e96ae0]
cmp edi, 5
jne 0x61e84f7d
mov edx, dword [esi + 0xc]
mov ecx, dword [ebx + edx*4 + 8]
mov edx, dword [ecx + 8]
and edx, 0x1f
cmp byte [edx + 0x61e96ae0], 5
je 0x61e84f7d
mov dword [esp], ecx
call sym.sqlite3.dll_sqlite3_value_text
cmp dword [esi + 0x20], 0
mov edi, eax
je 0x61e84879
mov dword [esp + 4], eax
mov dword [esp], str.delete
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e84879
mov eax, dword [ebx + 4]
xor ecx, ecx
mov edx, dword [eax + 8]
and edx, 0x1f
cmp byte [edx + 0x61e96ae0], 1
jne 0x61e84871
call sym._sqlite3VdbeIntValue
mov esi, dword [ebp + 8]
add ebx, 8
mov ecx, edx
mov edx, eax
mov esi, dword [esi + 0x14]
mov dword [esp], ebx
mov eax, esi
mov dword [ebp - 0x90], esi
call sym._sqlite3Fts5StorageDelete
mov ecx, eax
mov dword [ebp - 0x80], ecx
jmp 0x61e85a67
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x7c], 0
mov ebx, dword [ebx + eax*4 + 0xc]
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov dword [esp + 4], edi
mov dword [esp], str.delete_all
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e848c1
cmp dword [esi + 0x20], 0
jne 0x61e848b1
mov dword [esp + 4], str.delete_all_may_only_be_used_with_a_contentless_or_external_content_fts5_table
jmp 0x61e848e7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call sym._sqlite3Fts5StorageDeleteAll
jmp 0x61e8500f
mov dword [esp + 4], edi
mov dword [esp], str.rebuild
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e84adb
cmp dword [esi + 0x20], 1
jne 0x61e848fc
mov dword [esp + 4], str.rebuild_may_not_be_used_with_a_contentless_fts5_table
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fts5SetVtabError
mov eax, 1
jmp 0x61e8500f
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x38]
mov ecx, 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov edi, edx
mov dword [ebp - 0x40], 0
mov ebx, dword [esi + 0x14]
mov esi, dword [ebx]
mov dword [ebp - 0x60], 0
rep stosd dword es:[edi], eax
mov eax, ebx
mov dword [ebp - 0x38], ebx
call sym._sqlite3Fts5StorageDeleteAll
test eax, eax
mov dword [ebp - 0x54], eax
jne 0x61e8494c
mov edx, 1
mov eax, ebx
call sym._fts5StorageLoadTotals
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x61e8496b
lea ecx, [ebp - 0x60]
mov dword [esp], 0
mov edx, 0xa
mov eax, ebx
call sym._fts5StorageGetStmt
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x61e84995
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
cmp dword [ebp - 0x54], 0
jne 0x61e84ad3
mov eax, ebx
call sym._fts5StorageSaveTotals
mov dword [ebp - 0x54], eax
jmp 0x61e84ad3
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x61e84971
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int64
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x44], 0
mov dword [esp], edx
mov dword [esp + 4], ecx
xor edx, edx
call sym._sqlite3Fts5IndexBeginWrite
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
test edx, edx
jne 0x61e84a97
mov eax, dword [ebp - 0x34]
cmp eax, dword [esi + 0xc]
jge 0x61e84a97
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x30], 0
cmp byte [edx + eax], 0
jne 0x61e84a61
inc eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_bytes
mov edi, eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_text
lea ecx, [ebp - 0x38]
mov dword [esp + 8], sym._fts5StorageInsertCallback
mov dword [esp], edi
mov edx, 4
mov dword [esp + 4], ecx
mov ecx, eax
mov eax, esi
call sym._sqlite3Fts5Tokenize
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x48]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
lea eax, [ebp - 0x54]
call sym._sqlite3Fts5BufferAppendVarint
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebx + 0x18]
mov ecx, edx
sar ecx, 0x1f
add dword [edi + eax*8], edx
adc dword [edi + eax*8 + 4], ecx
inc eax
mov dword [ebp - 0x34], eax
jmp 0x61e849f2
add dword [ebx + 0x10], 1
adc dword [ebx + 0x14], 0
test edx, edx
jne 0x61e8496b
mov edx, dword [ebx]
xor eax, eax
cmp dword [edx + 0x2c], 0
je 0x61e84968
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, ebx
call sym._fts5StorageInsertDocsize.part.531
jmp 0x61e84968
mov eax, dword [ebp - 0x54]
jmp 0x61e8500f
mov dword [esp + 4], edi
mov dword [esp], str.optimize
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e84b84
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x48], 0
mov eax, ebx
call sym._fts5IndexFlush
mov eax, ebx
call sym._fts5StructureRead
mov esi, eax
lea eax, [ebx + 0x50]
call sym._fts5StructureInvalidate.isra.232
test esi, esi
je 0x61e84b2b
mov edx, esi
mov eax, ebx
call sym._fts5IndexOptimizeStruct
mov dword [ebp - 0x48], eax
mov eax, esi
xor edi, edi
call sym._fts5StructureRelease
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x61e84c1e
imul esi, edi, 0xc
cmp dword [eax + esi + 0x1c], 0
jne 0x61e84b6c
inc edi
jmp 0x61e84b3f
cmp dword [edx + esi + 0x1c], 0
jle 0x61e84b75
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x48]
mov ecx, edi
mov dword [ebp - 0x38], 0x3e8
mov dword [esp], eax
mov eax, ebx
call sym._fts5IndexMergeLevel
cmp dword [ebx + 0x24], 0
mov edx, dword [ebp - 0x48]
je 0x61e84b4c
mov eax, ebx
call sym._fts5StructureWrite
mov eax, dword [ebp - 0x48]
jmp 0x61e84c19
mov dword [esp + 4], edi
mov dword [esp], str.merge
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e84c2d
mov dword [esp], ebx
call sym.sqlite3.dll_sqlite3_value_int
mov esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov ebx, dword [eax + 4]
mov eax, ebx
call sym._fts5StructureRead
test eax, eax
mov dword [ebp - 0x38], eax
je 0x61e84c1e
mov eax, dword [ebx]
mov edi, dword [eax + 0x50]
lea eax, [ebx + 0x50]
call sym._fts5StructureInvalidate.isra.232
test esi, esi
jns 0x61e84bec
mov edx, dword [ebp - 0x38]
mov eax, ebx
neg esi
call sym._fts5IndexOptimizeStruct
mov edi, eax
mov eax, dword [ebp - 0x38]
call sym._fts5StructureRelease
mov dword [ebp - 0x38], edi
mov edi, 2
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x61e84c16
cmp dword [eax + 0x14], 0
je 0x61e84c16
lea edx, [ebp - 0x38]
mov dword [esp], edi
mov ecx, esi
mov eax, ebx
call sym._fts5IndexMerge
test eax, eax
je 0x61e84c16
mov edx, dword [ebp - 0x38]
mov eax, ebx
call sym._fts5StructureWrite
mov eax, dword [ebp - 0x38]
call sym._fts5StructureRelease
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x24], 0
jmp 0x61e8500f
mov dword [esp + 4], edi
mov dword [esp], 0x61e93c32
call sym.sqlite3.dll_sqlite3_stricmp
test eax, eax
jne 0x61e84f12
mov esi, dword [ebp + 8]
mov ecx, 8
mov esi, dword [esi + 0x14]
mov ebx, dword [esi]
mov dword [ebp - 0x90], esi
lea esi, [ebp - 0x38]
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
imul eax, dword [ebx + 0xc], 0xc
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_malloc
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
mov eax, 7
je 0x61e8500f
mov eax, dword [ebx + 0xc]
mov edi, dword [ebp - 0x98]
mov edx, 0xa
lea ecx, [eax*8]
xor eax, eax
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x78]
mov dword [esp], 0
mov dword [ebp - 0xa0], edi
call sym._fts5StorageGetStmt
test eax, eax
mov dword [ebp - 0x94], eax
jne 0x61e85017
mov dword [ebp - 0xa4], esi
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x61e84e5b
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int64
mov dword [ebp - 0x2c], 0
cmp dword [ebx + 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jne 0x61e84d2c
xor edi, edi
cmp dword [ebx + 0x30], 1
jne 0x61e84d50
lea eax, [ebp - 0x48]
mov edx, 0x800
mov dword [ebp - 0x48], 0
call sym._sqlite3Fts5MallocZero
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
jmp 0x61e84d50
mov esi, dword [ebp - 0xa0]
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 0x90]
mov dword [esp], esi
call sym._sqlite3Fts5StorageDocsize
test eax, eax
mov edi, eax
jne 0x61e84e3e
jmp 0x61e84d08
xor esi, esi
test edi, edi
jne 0x61e84e3e
cmp esi, dword [ebx + 0xc]
jge 0x61e84e3e
mov eax, dword [ebx + 0x14]
cmp byte [eax + esi], 0
jne 0x61e84e38
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0
cmp dword [ebx + 0x30], 2
je 0x61e84dd8
mov eax, dword [ebp - 0x78]
lea edi, [esi + 1]
mov dword [esp + 4], edi
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_bytes
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 4], edi
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_text
mov edi, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov ecx, eax
mov dword [esp + 8], sym._fts5StorageIntegrityCallback
mov eax, ebx
mov dword [esp + 4], edi
mov dword [esp], edx
mov edx, 4
call sym._sqlite3Fts5Tokenize
test eax, eax
mov edi, eax
je 0x61e84df8
jmp 0x61e84e12
lea eax, [ebp - 0x48]
mov edx, 0x800
mov dword [ebp - 0x48], 0
call sym._sqlite3Fts5MallocZero
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x61e84e12
jmp 0x61e84d80
cmp dword [ebx + 0x2c], 0
je 0x61e84e12
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + esi*4]
cmp dword [ebp - 0x2c], eax
mov eax, 0x10b
cmovne edi, eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x98]
cdq
add dword [ecx + esi*8], eax
adc dword [ecx + esi*8 + 4], edx
cmp dword [ebx + 0x30], 2
jne 0x61e84e38
mov eax, dword [ebp - 0x20]
call sym._sqlite3Fts5TermsetFree
mov dword [ebp - 0x20], 0
inc esi
jmp 0x61e84d52
mov eax, dword [ebp - 0x20]
call sym._sqlite3Fts5TermsetFree
test edi, edi
mov dword [ebp - 0x20], 0
je 0x61e84cce
mov dword [ebp - 0x94], edi
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_reset
cmp dword [ebp - 0x94], 0
jne 0x61e85017
test eax, eax
jne 0x61e84ef3
mov eax, dword [ebp - 0x90]
xor edx, edx
call sym._fts5StorageLoadTotals
xor edx, edx
test eax, eax
jne 0x61e84ef3
cmp edx, dword [ebx + 0xc]
jge 0x61e84ebe
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x98]
mov ecx, dword [esi + 0x18]
mov edi, dword [edi + edx*8 + 4]
cmp dword [ecx + edx*8 + 4], edi
mov esi, dword [ecx + edx*8]
jne 0x61e84eb6
mov edi, dword [ebp - 0x98]
cmp esi, dword [edi + edx*8]
je 0x61e84ebb
mov eax, 0x10b
inc edx
jmp 0x61e84e86
cmp dword [ebx + 0x20], 0
jne 0x61e85046
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x48]
mov edx, str.content
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [eax]
call sym._fts5StorageCount.isra.532.constprop.588
test eax, eax
je 0x61e85022
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
mov eax, dword [ebp - 0x90]
jmp 0x61e8500f
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x10]
mov eax, esi
call sym._fts5StructureRead
call sym._fts5StructureRelease
mov eax, dword [esi + 0x24]
mov dword [esi + 0x24], 0
test eax, eax
jne 0x61e8500f
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x7c]
mov ecx, ebx
mov eax, dword [eax + 0xc]
mov dword [esp], edx
mov edx, edi
call sym._sqlite3Fts5ConfigSetValue
test eax, eax
jne 0x61e8500f
cmp dword [ebp - 0x7c], 0
mov eax, 1
jne 0x61e8500f
mov eax, dword [ebp + 8]
mov ecx, ebx
mov edx, edi
mov eax, dword [eax + 0x14]
mov dword [esp], 0
call sym._sqlite3Fts5StorageConfigValue
jmp 0x61e8500f
cmp dword [esi + 0x20], 0
mov ecx, 4
jne 0x61e84f95
mov edx, dword [esi]
movzx edx, byte [edx + 0x4a]
movzx ecx, byte [edx + 0x61e955ff]
dec edi
jne 0x61e84fe2
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x20], 1
jne 0x61e85981
cmp dword [ebp + 0xc], 1
mov edx, dword [esi + 8]
mov ecx, str.DELETE_from
mov eax, str.UPDATE
mov dword [esp], str.cannot__s_contentless_fts5_table:__s
mov dword [esp + 8], edx
cmovle eax, ecx
mov dword [esp + 4], eax
call sym.sqlite3.dll_sqlite3_mprintf
mov edi, dword [ebp + 8]
mov dword [ebp - 0x80], 1
mov dword [edi + 8], eax
jmp 0x61e85a67
cmp dword [ebp + 0xc], 1
jne 0x61e85929
call sym._sqlite3VdbeIntValue
mov edi, dword [ebp + 8]
mov ecx, edx
mov edx, eax
mov edi, dword [edi + 0x14]
mov dword [esp], 0
mov eax, edi
mov dword [ebp - 0x90], edi
call sym._sqlite3Fts5StorageDelete
mov dword [ebp - 0x80], eax
jmp 0x61e85a67
mov eax, dword [ebp - 0x94]
jmp 0x61e84ef3
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x90]
cmp dword [esi + 0x14], edi
mov eax, dword [eax + 0x10]
jne 0x61e850e9
cmp eax, dword [ebp - 0x48]
jne 0x61e850e9
cmp dword [ebx + 0x2c], 0
jne 0x61e8509e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x90]
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0xc0], eax
mov eax, edi
call sym._fts5StructureRead
test eax, eax
mov dword [ebp - 0xa4], eax
jne 0x61e8514c
jmp 0x61e850f3
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x48]
mov edx, str.docsize
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [eax]
call sym._fts5StorageCount.isra.532.constprop.588
test eax, eax
jne 0x61e84ef3
mov esi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x90]
cmp dword [esi + 0x14], ebx
mov eax, dword [eax + 0x10]
jne 0x61e850e9
cmp eax, dword [ebp - 0x48]
je 0x61e8504c
mov eax, 0x10b
jmp 0x61e84ef3
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0xa4]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov ecx, 0x20
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov eax, edi
mov dword [esp], 0
call sym._fts5MultiIterNew
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
jmp 0x61e856d6
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], 0
add eax, 0x1c
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa4]
mov ebx, dword [ebp - 0xbc]
cmp ebx, dword [eax + 0x14]
jge 0x61e850f3
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0xac]
cmp ebx, dword [eax]
jge 0x61e855fd
imul eax, dword [ebp - 0xac], 0xc
mov esi, dword [ebp - 0xb0]
add eax, dword [esi + 4]
mov dword [ebp - 0x90], eax
mov esi, dword [ebp - 0x90]
mov eax, dword [edi]
mov dword [ebp - 0x74], 0
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x61e855f2
lea esi, [ebx - 1]
mov ebx, dword [ebp - 0x90]
mov dword [ebp - 0xc8], esi
mov esi, dword [ebp - 0x90]
mov edx, dword [ebx]
mov esi, dword [esi + 8]
mov dword [esp + 0xc], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x94], esi
mov dword [esp + 8], edx
mov eax, dword [eax + 4]
mov dword [esp], str.SELECT_segid__term___pgno__1____pgno1__FROM__Q._q_idx_WHERE_segid_d
mov dword [esp + 4], eax
call sym.sqlite3.dll_sqlite3_mprintf
lea edx, [ebp - 0x74]
mov ecx, eax
mov eax, edi
call sym._fts5IndexPrepareStmt
cmp dword [edi + 0x24], 0
je 0x61e85235
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_finalize
cmp dword [edi + 0x24], 0
jne 0x61e855f2
mov dword [edi + 0x24], eax
jmp 0x61e855f2
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x61e85218
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_bytes
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_text
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 2
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 4], 3
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_column_int
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0xa0]
cmp esi, dword [eax + 4]
jl 0x61e85212
mov ecx, dword [ebp - 0xa0]
mov edx, dword [eax]
mov eax, 0
mov ebx, ecx
shl edx, 5
sar ebx, 0x1f
add eax, ecx
adc edx, ebx
mov ecx, edx
mov edx, eax
mov eax, edi
call sym._fts5DataRead
test eax, eax
mov ebx, eax
je 0x61e85218
mov eax, dword [eax + 8]
cmp dword [ebx + 4], eax
jg 0x61e85300
mov dword [edi + 0x24], 0x10b
jmp 0x61e854fb
mov eax, ebx
call sym._fts5LeafFirstTermOff
mov dword [ebp - 0xb8], eax
mov eax, dword [ebx]
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
add edx, ecx
movzx edx, dx
cmp dword [ebp - 0xb8], edx
jle 0x61e85373
add eax, dword [ebp - 0xb8]
lea edx, [ebp - 0x70]
call sym._sqlite3Fts5GetVarint32
mov esi, dword [ebp - 0x70]
cmp dword [ebp - 0xa8], esi
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xcc]
cmovg edx, esi
add eax, dword [ebp - 0xb8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
add eax, dword [ebx]
mov dword [esp], eax
call sym._memcmp
sub esi, dword [ebp - 0xa8]
test eax, eax
cmove eax, esi
test eax, eax
jns 0x61e8537a
mov dword [edi + 0x24], 0x10b
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
xor esi, esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebx + 4]
jge 0x61e854eb
cmp dword [edi + 0x24], 0
jne 0x61e854eb
mov eax, dword [ebp - 0xa8]
add eax, dword [ebx]
lea edx, [ebp - 0x6c]
call sym._sqlite3Fts5GetVarint32
add dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x6c]
add esi, eax
cmp esi, dword [ebx + 8]
jge 0x61e854cb
cmp eax, esi
mov eax, dword [ebx]
jne 0x61e85423
lea edx, [ebp - 0x64]
add eax, esi
call sym._sqlite3Fts5GetVarint32
mov ecx, dword [ebp - 0x64]
lea edx, [esi + eax]
lea eax, [edx + ecx]
cmp eax, dword [ebx + 8]
jg 0x61e854cb
add edx, dword [ebx]
lea eax, [edi + 0x24]
mov dword [esp], edx
lea edx, [ebp - 0x54]
call sym._sqlite3Fts5BufferSet
jmp 0x61e854d2
lea edx, [ebp - 0x68]
add eax, esi
call sym._sqlite3Fts5GetVarint32
add eax, esi
lea edx, [ebp - 0x64]
mov dword [ebp - 0xb8], eax
add eax, dword [ebx]
call sym._sqlite3Fts5GetVarint32
mov edx, dword [ebp - 0x68]
cmp dword [ebp - 0x50], edx
jl 0x61e8545d
add eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xb8], eax
add eax, ecx
cmp eax, dword [ebx + 8]
jle 0x61e85466
mov dword [edi + 0x24], 0x10b
jmp 0x61e8547f
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0xb8]
lea eax, [edi + 0x24]
add edx, dword [ebx]
mov dword [esp], edx
lea edx, [ebp - 0x54]
call sym._sqlite3Fts5BufferAppendBlob
cmp dword [edi + 0x24], 0
jne 0x61e854d2
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
cmp edx, ecx
mov eax, ecx
mov dword [ebp - 0xcc], ecx
cmovle eax, edx
mov dword [ebp - 0xb8], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call sym._memcmp
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xb8]
sub ecx, edx
test eax, eax
cmove eax, ecx
test eax, eax
jg 0x61e854d2
mov dword [edi + 0x24], 0x10b
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea eax, [edi + 0x24]
mov dword [esp], edx
lea edx, [ebp - 0x48]
call sym._sqlite3Fts5BufferSet
jmp 0x61e853af
lea eax, [ebp - 0x54]
call sym._sqlite3Fts5BufferFree
lea eax, [ebp - 0x48]
call sym._sqlite3Fts5BufferFree
mov dword [esp], ebx
call sym.sqlite3.dll_sqlite3_free
cmp dword [edi + 0x24], 0
jne 0x61e85218
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
inc eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xc8], eax
sar eax, 0x1f
mov dword [ebp - 0xc4], eax
cmp dword [edi + 0x24], 0
jne 0x61e85218
mov ebx, dword [ebp - 0xa8]
cmp dword [ebp - 0xa0], ebx
jle 0x61e856e8
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
mov eax, 0
mov ebx, eax
mov eax, dword [ebp - 0xc8]
mov ecx, ebx
shl edx, 5
add eax, dword [ebp - 0xb8]
mov esi, edx
mov edx, dword [ebp - 0xc4]
adc edx, dword [ebp - 0xb4]
mov ebx, esi
add ecx, eax
mov eax, edi
adc ebx, edx
mov edx, ecx
mov ecx, ebx
call sym._fts5DataRead
test eax, eax
je 0x61e855d1
mov ebx, dword [eax + 4]
cmp dword [eax + 8], ebx
jge 0x61e855ab
mov dword [edi + 0x24], 0x10b
mov esi, dword [ebp - 0xa8]
cmp dword [ebp - 0x94], esi
jge 0x61e855d1
mov ecx, dword [eax]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edx, 8
add dx, cx
je 0x61e855d1
mov dword [edi + 0x24], 0x10b
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
inc dword [ebp - 0xa8]
add dword [ebp - 0xb8], 1
adc dword [ebp - 0xb4], 0
jmp 0x61e8553d
inc dword [ebp - 0xac]
jmp 0x61e85184
inc dword [ebp - 0xbc]
add dword [ebp - 0xb0], 0xc
jmp 0x61e85165
cmp byte [eax + 0x10], 0
jne 0x61e858d7
mov edx, dword [eax + 0x48]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x54], 0
movzx edx, word [edx + 4]
imul edx, edx, 0x58
cmp dword [ebp - 0xc0], 1
lea ecx, [eax + edx]
mov ebx, dword [ecx + 0x98]
mov esi, dword [ecx + 0x9c]
mov dword [ebp - 0xa0], ebx
mov ebx, dword [ecx + 0x90]
mov dword [ebp - 0x9c], esi
mov esi, dword [ecx + 0x8c]
mov dword [ebp - 0xa8], ebx
jne 0x61e85863
mov edx, eax
xor eax, eax
call sym._fts5MultiIterIsEmpty.isra.237
test eax, eax
jne 0x61e856bb
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x9c]
xor ecx, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa0]
call sym._sqlite3Fts5IndexEntryCksum
xor dword [ebp - 0x90], eax
xor dword [ebp - 0x94], edx
mov edx, dword [ebp - 0x64]
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 4], 0
mov eax, edi
call sym._fts5MultiIterNext
cmp dword [edi + 0x24], 0
mov eax, dword [ebp - 0x64]
je 0x61e8560f
jmp 0x61e858d7
cmp dword [ebp - 0xd0], 0
je 0x61e85749
mov eax, dword [ebp - 0x90]
xor edx, edx
mov esi, dword [eax]
mov eax, dword [ebp - 0xa0]
mov ecx, esi
mov dword [esp], eax
mov eax, edi
call sym._fts5DlidxIterInit
mov ebx, eax
mov eax, 0
mov edx, esi
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
shl edx, 5
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa8], eax
cmp dword [edi + 0x24], 0
jne 0x61e85769
cmp dword [ebx + 0x10], 0
je 0x61e85772
jmp 0x61e85769
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc8], eax
jmp 0x61e85212
mov eax, ebx
call sym._fts5DlidxIterFree
jmp 0x61e85758
mov eax, dword [ebp - 0xa8]
inc eax
cdq
mov dword [ebp - 0x94], eax
add eax, dword [ebp - 0xb8]
adc edx, dword [ebp - 0xb4]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov eax, dword [ebx + 0x18]
cmp dword [ebp - 0x94], eax
mov dword [ebp - 0xa8], eax
jge 0x61e857f6
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
mov eax, edi
call sym._fts5DataRead
test eax, eax
je 0x61e857e0
mov ecx, dword [eax]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edx, 8
add dx, cx
je 0x61e857d8
mov dword [edi + 0x24], 0x10b
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
inc dword [ebp - 0x94]
add dword [ebp - 0xc8], 1
adc dword [ebp - 0xc4], 0
jmp 0x61e85798
cdq
add eax, dword [ebp - 0xb8]
adc edx, dword [ebp - 0xb4]
mov ecx, edx
mov edx, eax
mov eax, edi
call sym._fts5DataRead
test eax, eax
mov esi, eax
je 0x61e85853
mov ecx, dword [eax]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
add eax, edx
movzx eax, ax
cmp eax, dword [esi + 8]
jge 0x61e85844
lea edx, [ebp - 0x48]
add eax, ecx
call sym._sqlite3Fts5GetVarint
mov ecx, dword [ebp - 0x44]
cmp dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x20]
jne 0x61e85844
cmp eax, dword [ebp - 0x48]
je 0x61e8584b
mov dword [edi + 0x24], 0x10b
mov dword [esp], esi
call sym.sqlite3.dll_sqlite3_free
xor ecx, ecx
mov edx, ebx
mov eax, edi
call sym._fts5DlidxIterNextR
jmp 0x61e8573b
lea edx, [eax + edx + 0x50]
lea eax, [ebp - 0x60]
xor ecx, ecx
mov dword [ebp - 0x5c], 0
mov dword [esp], eax
mov eax, edi
call sym._fts5SegiterPoslist
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x5c]
lea ecx, [ebp - 0x54]
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
call sym._sqlite3Fts5PoslistNext64
test eax, eax
jne 0x61e856bb
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x9c]
mov dword [esp + 8], esi
mov dword [esp + 4], 0xffffffff
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov eax, dword [ebp - 0xa0]
call sym._sqlite3Fts5IndexEntryCksum
xor dword [ebp - 0x90], eax
xor dword [ebp - 0x94], edx
jmp 0x61e8587d
call sym._fts5MultiIterFree
cmp dword [edi + 0x24], 0
je 0x61e85904
mov eax, dword [ebp - 0xa4]
call sym._fts5StructureRelease
lea eax, [ebp - 0x60]
call sym._sqlite3Fts5BufferFree
mov eax, dword [edi + 0x24]
mov dword [edi + 0x24], 0
jmp 0x61e84ef3
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd8]
xor edx, dword [ebp - 0x90]
xor eax, dword [ebp - 0x94]
or edx, eax
je 0x61e858e2
mov dword [edi + 0x24], 0x10b
jmp 0x61e858e2
cmp ecx, 5
jne 0x61e85966
mov eax, dword [ebx + 4]
mov edx, dword [eax + 8]
and edx, 0x1f
cmp byte [edx + 0x61e96ae0], 1
jne 0x61e85966
call sym._sqlite3VdbeIntValue
mov edi, dword [ebp + 8]
mov ecx, edx
mov edx, eax
mov esi, dword [edi + 0x14]
mov dword [esp], 0
mov dword [ebp - 0x90], esi
mov eax, esi
call sym._sqlite3Fts5StorageDelete
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov ecx, ebx
lea edx, [eax + 0x14]
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
lea eax, [ebp - 0x80]
call sym._fts5StorageInsert.isra.533
jmp 0x61e85a67
cmp dword [ebp + 0xc], 1
je 0x61e84fec
mov dword [ebp - 0x98], ecx
call sym._sqlite3VdbeIntValue
mov dword [ebp - 0x90], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x94], edx
call sym._sqlite3VdbeIntValue
cmp edx, dword [ebp - 0x94]
mov edi, eax
mov eax, dword [ebp + 8]
mov esi, edx
mov ecx, dword [ebp - 0x98]
mov eax, dword [eax + 0x14]
jne 0x61e859ce
cmp edi, dword [ebp - 0x90]
je 0x61e85a57
cmp ecx, 5
jne 0x61e859fe
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
mov dword [esp], 0
call sym._sqlite3Fts5StorageDelete
test eax, eax
mov dword [ebp - 0x80], eax
jne 0x61e85966
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
jmp 0x61e85a57
mov ecx, dword [ebp + 0x14]
mov edx, ebx
call sym._sqlite3Fts5StorageContentInsert
test eax, eax
mov dword [ebp - 0x80], eax
jne 0x61e85a30
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
mov eax, dword [eax + 0x14]
mov dword [esp], 0
call sym._sqlite3Fts5StorageDelete
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x61e85a67
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov edx, ebx
mov esi, dword [edi]
mov edi, dword [edi + 4]
mov eax, dword [eax + 0x14]
mov dword [esp], esi
mov dword [esp + 4], edi
call sym._sqlite3Fts5StorageIndexInsert
jmp 0x61e8500f
mov dword [esp], 0
mov edx, edi
mov ecx, esi
jmp 0x61e8595e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x60], 0
mov eax, dword [ebp - 0x80]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret