Function at 0x61e7fafd
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
xor edi, edi
mov esi, edx
sub esp, 0x9c
cmp dword [eax + 0x24], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jne 0x61e7fb42
test ebx, ebx
jns 0x61e7fb34
cmp dword [eax + 0xc], 0
setne al
movzx eax, al
add eax, dword [esi + 0x10]
mov edi, eax
jmp 0x61e7fb42
imul eax, ebx, 0xc
mov edi, edx
add eax, esi
cmp dword [eax + 0x1c], edx
cmovle edi, dword [eax + 0x1c]
mov eax, dword [ebp - 0x3c]
mov edx, edi
call sym._fts5MultiIterAlloc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp + 0x1c]
test ecx, ecx
mov dword [eax], ecx
je 0x61e804cd
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x1c], esi
and eax, 2
mov dword [ebp - 0x64], eax
setne al
movzx eax, al
mov dword [ecx + 0x38], eax
mov eax, dword [ebp - 0x44]
shr eax, 4
and eax, 1
mov byte [ecx + 0x3c], al
mov eax, dword [ebp + 8]
mov dword [ecx + 0x2c], eax
inc dword [esi]
test byte [ebp - 0x44], 0x20
jne 0x61e7fb9b
mov eax, dword [ebp - 0x3c]
mov edx, ecx
add eax, 0x24
call sym._fts5IterSetOutputCb
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
je 0x61e7fbc2
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x61e8048d
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x44], eax
lea ebx, [eax - 1]
jmp 0x61e803c9
test ebx, ebx
jns 0x61e8037b
imul eax, dword [esi + 0x14], 0xc
mov dword [ebp - 0x50], 0
lea eax, [esi + eax + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x61e7fd99
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
add eax, 0x50
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x48], eax
je 0x61e7fc14
test byte [ebp - 0x44], 8
je 0x61e7fc5d
lea eax, [ebx + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, ebx
call sym._fts5HashEntrySort
mov edi, dword [ebp - 0x3c]
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esp], edx
lea edx, [ebp - 0x1c]
call sym._sqlite3Fts5HashScanEntry
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
test edi, edi
je 0x61e7fcf8
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x61e7fcf8
mov eax, dword [ebp - 0x40]
or dword [eax + 0x54], 1
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
lea edx, [eax - 1]
mov eax, 0xd
test edx, edx
js 0x61e7fc8e
mov ecx, dword [ebp + 0xc]
lea edi, [eax*8]
movzx ecx, byte [ecx + edx]
dec edx
xor ecx, edi
xor eax, ecx
jmp 0x61e7fc75
xor edx, edx
div dword [ebp - 0x4c]
mov eax, dword [ebx + 0x14]
mov edi, dword [eax + edx*4]
test edi, edi
je 0x61e7fcef
lea eax, [edi + 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [edi + 0x28]
mov dword [esp], eax
call sym._memcmp
test eax, eax
jne 0x61e7fcca
mov eax, dword [ebp + 0x10]
cmp byte [edi + eax + 0x28], 0
je 0x61e7fcce
mov edi, dword [edi]
jmp 0x61e7fc99
mov eax, ebx
mov edx, edi
call sym._fts5HashAddPoslistSize.isra.311
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 0x28]
lea eax, [eax + ecx + 1]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x10]
sub eax, 0x29
sub eax, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], 0
je 0x61e7fd87
mov eax, dword [ebp - 0x3c]
lea ebx, [eax + 0x24]
mov eax, dword [ebp - 0x40]
lea edx, [eax + 0x8c]
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, ebx
call sym._sqlite3Fts5BufferSet
mov eax, ebx
mov edx, 0xc
call sym._sqlite3Fts5MallocZero
test eax, eax
mov ebx, eax
mov dword [ebp - 0x50], 1
je 0x61e7fd99
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
mov dword [ebx + 8], edx
mov dword [ebx + 4], edx
lea edx, [edi + 0x98]
mov dword [ebx], eax
mov dword [edi + 0x5c], ebx
call sym._sqlite3Fts5GetVarint
mov edi, dword [ebp - 0x40]
movzx eax, al
cmp dword [ebp - 0x64], 0
mov dword [edi + 0x64], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x78], eax
je 0x61e7fd7c
or dword [edi + 0x54], 2
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
call sym._fts5SegIterReverseInitPage
jmp 0x61e7fd87
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
call sym._fts5SegIterLoadNPos
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
call sym._fts5SegIterSetNext.isra.232
mov dword [ebp - 0x50], 1
lea eax, [esi + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
and eax, 8
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x54], esi
jae 0x61e7fba4
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x68], eax
dec eax
mov dword [ebp - 0x58], eax
imul eax, dword [ebp - 0x50], 0x58
lea esi, [esi + eax + 0x50]
imul eax, dword [ebp - 0x58], 0xc
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x58], 0
js 0x61e80362
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x70]
add ebx, dword [eax + 8]
cmp dword [ebp + 0xc], 0
jne 0x61e7fdfd
mov eax, dword [ebp - 0x3c]
mov ecx, esi
mov edx, ebx
call sym._fts5SegIterInit
jmp 0x61e80353
xor eax, eax
mov ecx, 0x16
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi], ebx
cmp dword [eax + 0x3c], 0
jne 0x61e7fe3e
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov dword [esp + 8], edx
mov eax, dword [eax + 4]
mov dword [esp], str.SELECT_pgno_FROM__q._q_idx_WHERE_segid__AND_term___ORDER_BY_term_DESC_LIMIT_1
mov dword [esp + 4], eax
call sym.sqlite3.dll_sqlite3_mprintf
mov edi, dword [ebp - 0x3c]
mov ecx, eax
lea edx, [edi + 0x3c]
mov eax, edi
call sym._fts5IndexPrepareStmt
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x61e80353
mov edi, dword [eax + 0x3c]
mov eax, dword [ebx]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], edi
call sym.sqlite3.dll_sqlite3_bind_int
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 4], 2
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
call sym.sqlite3.dll_sqlite3_bind_blob
mov dword [esp], edi
call sym.sqlite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x61e7feb3
mov dword [esp + 4], 0
mov dword [esp], edi
call sym.sqlite3.dll_sqlite3_column_int
mov edx, eax
and eax, 1
sar edx, 1
mov dword [ebp - 0x60], eax
jmp 0x61e7febf
mov dword [ebp - 0x60], 0
mov edx, 1
mov dword [esp], edi
mov dword [ebp - 0x44], edx
call sym.sqlite3.dll_sqlite3_reset
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x24], eax
mov dword [esp + 4], 2
mov dword [esp], edi
call sym.sqlite3.dll_sqlite3_bind_null
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x44]
cmp eax, edx
jle 0x61e7fef3
mov edx, eax
mov dword [ebp - 0x60], 0
lea eax, [edx - 1]
mov edx, esi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x3c]
call sym._fts5SegIterNextPage
mov eax, dword [esi + 0xc]
test eax, eax
je 0x61e80139
mov edi, dword [eax]
mov ebx, dword [eax + 8]
lea edx, [ebp - 0x20]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x4c], eax
lea eax, [edi + ebx]
call sym._sqlite3Fts5GetVarint32
mov edx, dword [ebp - 0x20]
cmp dword [ebp - 0x4c], edx
mov dword [ebp - 0x2c], edx
jl 0x61e8001a
add eax, ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
jmp 0x61e7ff70
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [edi + edx]
movzx ebx, byte [eax]
test bl, bl
mov dword [ebp - 0x28], ebx
jns 0x61e7ff70
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x28]
call sym._sqlite3Fts5GetVarint32
add dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
lea eax, [edi + edx]
movzx ebx, byte [eax]
test bl, bl
mov dword [ebp - 0x24], ebx
jns 0x61e7ff94
mov dword [ebp - 0x2c], edx
lea edx, [ebp - 0x24]
call sym._sqlite3Fts5GetVarint32
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x28], eax
jl 0x61e804a0
jne 0x61e7ffed
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x48]
sub ebx, eax
mov eax, dword [ebp - 0x2c]
cmp ebx, ecx
cmovg ebx, ecx
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x88], ebx
xor eax, eax
mov ebx, dword [ebp - 0x78]
mov dword [ebp - 0x80], edx
add ebx, edi
cmp dword [ebp - 0x88], eax
jle 0x61e7ffde
mov edx, dword [ebp - 0x80]
mov dl, byte [edx + eax]
cmp byte [ebx + eax], dl
je 0x61e80029
add dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x48]
cmp dword [ebp + 0x10], ebx
je 0x61e8002c
cmp ecx, eax
jg 0x61e80036
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], ebx
jle 0x61e804c1
lea edx, [ebp - 0x28]
mov eax, ebx
add eax, edi
call sym._sqlite3Fts5GetVarint32
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x20]
add dword [ebp - 0x44], eax
cmp dword [ebp - 0x4c], edx
mov dword [ebp - 0x20], edx
jg 0x61e7ff4f
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
jmp 0x61e80139
inc eax
jmp 0x61e7ffcb
cmp ecx, eax
jne 0x61e804a0
jmp 0x61e800b5
mov edx, dword [ebp - 0x78]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x48]
add edx, edi
mov cl, byte [ebx + ecx]
cmp byte [edx + eax], cl
jbe 0x61e7ffed
jmp 0x61e804a0
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
mov eax, dword [ebp - 0x3c]
mov edx, esi
call sym._fts5SegIterNextPage
mov eax, dword [esi + 0xc]
test eax, eax
je 0x61e80139
mov ebx, dword [eax + 8]
cmp ebx, dword [eax + 4]
jge 0x61e80058
mov edi, dword [eax]
lea edx, [ebp - 0x2c]
lea eax, [edi + ebx]
call sym._sqlite3Fts5GetVarint32
mov edx, dword [ebp - 0x2c]
cmp edx, 3
jle 0x61e8004e
mov ecx, dword [esi + 0xc]
cmp edx, dword [ecx + 8]
jge 0x61e8004e
add eax, ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x4c], eax
lea eax, [edi + edx]
lea edx, [ebp - 0x24]
call sym._sqlite3Fts5GetVarint32
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
lea edx, [esi + 0x3c]
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x3c]
lea ebx, [eax + 0x24]
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, ebx
call sym._sqlite3Fts5BufferSet
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
lea edx, [esi + 0x3c]
add eax, edi
mov dword [esp], eax
mov eax, ebx
call sym._sqlite3Fts5BufferAppendBlob
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], ebx
jg 0x61e80106
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
inc eax
jmp 0x61e8011c
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x1c]
add eax, edi
call sym._sqlite3Fts5GetVarint32
add dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x44]
mov edx, esi
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x3c]
call sym._fts5SegIterLoadRowid
mov eax, dword [ebp - 0x3c]
mov edx, esi
call sym._fts5SegIterLoadNPos
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x6c]
or edi, dword [eax + 0x24]
jne 0x61e80349
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, eax
or edx, 1
test ecx, ecx
mov dword [esi + 4], edx
je 0x61e80349
cmp dword [ebp - 0x64], 0
je 0x61e801a5
or eax, 3
cmp dword [ebp - 0x60], 0
mov dword [esi + 4], eax
jne 0x61e801af
mov eax, dword [esi + 0x38]
test eax, eax
je 0x61e801e3
mov edi, dword [eax + 0x18]
mov eax, dword [esi]
mov edx, dword [eax]
mov eax, 0
mov ecx, eax
mov eax, edi
shl edx, 5
mov ebx, edx
cdq
add ecx, edi
mov eax, dword [ebp - 0x3c]
adc ebx, edx
mov edx, ecx
mov ecx, ebx
call sym._fts5DataRead
mov dword [ebp - 0x44], eax
jmp 0x61e802e4
cmp dword [ebp - 0x60], 0
je 0x61e80349
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x1c]
and edx, 2
cmp eax, dword [esi + 8]
jne 0x61e801c5
mov edi, dword [ecx + 8]
cmp dword [esi + 0x28], edi
jl 0x61e801d7
mov ecx, dword [esi]
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx]
call sym._fts5DlidxIterInit
mov dword [esi + 0x38], eax
cmp dword [ebp - 0x64], 0
je 0x61e80349
jmp 0x61e80170
mov edx, dword [esi + 8]
cmp dword [esi + 0x1c], edx
mov eax, 4
mov ecx, dword [esi + 0xc]
jne 0x61e801f6
mov eax, dword [esi + 0x20]
mov edi, dword [ecx]
lea ebx, [eax + 9]
inc eax
cmp byte [edi + eax - 1], 0
jns 0x61e80207
cmp ebx, eax
jg 0x61e801fb
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 8]
cmp dword [esi + 0x28], eax
jl 0x61e8033f
mov eax, dword [esi]
mov dword [ebp - 0x60], 0
xor edi, edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], eax
lea eax, [edx + 1]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x88], eax
sar eax, 0x1f
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x61e802e4
mov eax, dword [ebp - 0x4c]
mov ebx, dword [ebp - 0x48]
cmp ebx, dword [eax + 8]
jg 0x61e802e4
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov eax, 0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x78]
shl edx, 5
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x84]
adc edx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x74]
add ecx, eax
mov eax, dword [ebp - 0x3c]
adc ebx, edx
mov edx, ecx
mov ecx, ebx
call sym._fts5DataRead
test eax, eax
je 0x61e802d4
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
movzx edx, byte [ecx]
movzx ecx, byte [ecx + 1]
mov dword [ebp - 0x78], ebx
mov ebx, dword [eax + 4]
shl edx, 8
add dx, cx
je 0x61e802c7
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
mov eax, edx
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
cmp dword [ebp - 0x78], ebx
jl 0x61e802e4
inc dword [ebp - 0x48]
add dword [ebp - 0x60], 1
adc dword [ebp - 0x5c], 0
jmp 0x61e80247
cmp dword [ebp - 0x44], 0
je 0x61e8033f
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
mov eax, dword [ebp - 0x44]
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [eax]
movzx edx, byte [eax]
mov ecx, edx
movzx edx, byte [eax + 1]
shl ecx, 8
add edx, ecx
movzx edi, dx
lea edx, [esi + 0x48]
add eax, edi
call sym._sqlite3Fts5GetVarint
movzx eax, al
add eax, edi
mov edi, dword [ebp - 0x44]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
cmp dword [edi + 8], eax
jl 0x61e80334
inc eax
jmp 0x61e8033c
mov eax, dword [ebp - 0x44]
call sym._fts5LeafFirstTermOff
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x3c]
mov edx, esi
call sym._fts5SegIterReverseInitPage
mov eax, dword [ebp - 0x3c]
mov edx, esi
call sym._fts5SegIterSetNext.isra.232
dec dword [ebp - 0x58]
add esi, 0x58
sub dword [ebp - 0x70], 0xc
jmp 0x61e7fdd3
cmp dword [ebp - 0x68], 0
mov eax, 0
cmovns eax, dword [ebp - 0x68]
add dword [ebp - 0x54], 0xc
add dword [ebp - 0x50], eax
jmp 0x61e7fda8
lea eax, [edi - 1]
imul ebx, ebx, 0xc
mov dword [ebp - 0x44], eax
imul eax, edi, 0xc
add ebx, esi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0x50]
sub dword [ebp - 0x48], 0xc
cmp dword [ebp - 0x44], 0
js 0x61e7fba4
mov edx, dword [ebp - 0x48]
add edx, dword [ebx + 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x3c]
add edi, 0x58
call sym._fts5SegIterInit
dec dword [ebp - 0x44]
jmp 0x61e80392
mov eax, dword [ebp - 0x40]
mov edx, ebx
call sym._fts5MultiIterDoCompare
test eax, eax
mov esi, eax
jne 0x61e803cf
dec ebx
test ebx, ebx
jg 0x61e803b8
jmp 0x61e8040d
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x61e803fb
mov edi, dword [ebp - 0x40]
mov dword [esp + 8], 0
imul eax, esi, 0x58
lea edx, [edi + eax + 0x50]
mov edi, dword [ebp - 0x3c]
mov dword [esp + 4], edx
mov dword [esp], edi
mov edi, dword [ebp - 0x40]
call dword [edi + eax + 0x68]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov ecx, esi
mov dword [esp], ebx
call sym._fts5MultiIterAdvanced
jmp 0x61e803c8
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov edi, dword [eax + 0x48]
movzx eax, word [edi + 4]
imul eax, eax, 0x58
add eax, dword [ebp - 0x40]
mov ebx, dword [eax + 0x5c]
test ebx, ebx
sete byte [esi + 0x10]
cmp byte [esi + 0x3c], 0
mov edx, dword [eax + 0x9c]
mov eax, dword [eax + 0x98]
mov dword [esi + 0x44], edx
mov dword [esi + 0x40], eax
je 0x61e8046f
mov eax, dword [ebp - 0x3c]
mov edx, esi
mov eax, dword [eax + 0x24]
call sym._fts5MultiIterIsEmpty.isra.234
test eax, eax
je 0x61e8046f
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 4], 0
mov edx, esi
call sym._fts5MultiIterNext
jmp 0x61e804cd
test ebx, ebx
je 0x61e804cd
movzx eax, word [edi + 4]
mov esi, dword [ebp - 0x40]
mov dword [esp], esi
imul eax, eax, 0x58
lea eax, [esi + eax + 0x50]
mov dword [esp + 4], eax
call dword [esi + 0x30]
jmp 0x61e804cd
mov eax, dword [ebp - 0x40]
call sym._fts5MultiIterFree
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x61e804cd
cmp dword [ebp - 0x6c], 0
jne 0x61e800b5
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
mov dword [esi + 0xc], 0
jmp 0x61e80139
cmp dword [ebp - 0x6c], 0
jne 0x61e80058
jmp 0x61e804aa
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret