Function at 0x61e72553
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
sub esp, 0x9c
cmp dword [eax + 0x24], 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x48], ecx
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
jne 0x61e7259d
test ebx, ebx
jns 0x61e7258e
cmp dword [eax + 0xc], 0
mov edi, dword [ebp - 0x44]
setne al
movzx eax, al
add eax, dword [edi + 0x10]
mov edi, eax
jmp 0x61e7259d
imul eax, ebx, 0xc
add eax, dword [ebp - 0x44]
mov edi, edx
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 esi, dword [ebp - 0x40]
mov eax, dword [ebp + 0x1c]
test esi, esi
mov dword [eax], esi
je 0x61e72f18
mov eax, dword [ebp - 0x48]
mov ecx, esi
and eax, 2
mov dword [ebp - 0x64], eax
setne al
movzx eax, al
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x48]
shr eax, 4
and eax, 1
mov byte [esi + 0x3c], al
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x2c], eax
inc dword [esi]
test byte [ebp - 0x48], 0x20
jne 0x61e725fb
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 0x61e72622
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x61e72ed8
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x44], eax
lea ebx, [eax - 1]
jmp 0x61e72e14
test ebx, ebx
jns 0x61e72dcc
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x50], 0
imul eax, dword [eax + 0x14], 0xc
lea eax, [edi + eax + 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov ebx, dword [eax + 0xc]
test ebx, ebx
je 0x61e727f7
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 - 0x4c], eax
je 0x61e7267a
test byte [ebp - 0x48], 8
je 0x61e726c7
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 0x61e72756
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, ecx
not esi
mov ecx, esi
dec ecx
jmp 0x61e72756
mov eax, dword [ebp - 0x40]
mov esi, dword [ebx + 0xc]
or dword [eax + 0x54], 1
mov eax, dword [ebp + 0x10]
lea edx, [eax - 1]
mov eax, 0xd
test edx, edx
js 0x61e726f5
mov ecx, dword [ebp + 0xc]
lea edi, [eax*8]
movzx ecx, byte [ecx + edx]
dec edx
xor ecx, edi
xor eax, ecx
jmp 0x61e726dc
xor edx, edx
div esi
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x61e7274d
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [esi + 0x28]
mov dword [esp], eax
call sym._memcmp
test eax, eax
jne 0x61e7272a
mov eax, dword [ebp + 0x10]
cmp byte [esi + eax + 0x28], 0
je 0x61e7272e
mov esi, dword [esi]
jmp 0x61e726ff
mov eax, ebx
mov edx, esi
call sym._fts5HashAddPoslistSize.isra.318
mov eax, dword [ebp + 0x10]
lea eax, [esi + eax + 0x29]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x10]
sub eax, 0x29
sub eax, dword [ebp + 0x10]
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 0x61e727e5
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 0x61e727f7
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 0x61e727da
or dword [edi + 0x54], 2
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
call sym._fts5SegIterReverseInitPage
jmp 0x61e727e5
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
call sym._fts5SegIterLoadNPos
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x3c]
call sym._fts5SegIterSetNext.isra.235
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x44]
add eax, 0x18
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
and eax, 8
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x54], esi
jae 0x61e72604
mov eax, dword [ebp - 0x54]
mov edi, 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, [edi + eax + 0x50]
imul eax, dword [ebp - 0x58], 0xc
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x58], 0
js 0x61e72db3
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x70]
add ebx, dword [eax + 8]
cmp dword [ebp + 0xc], 0
jne 0x61e7285e
mov eax, dword [ebp - 0x3c]
mov ecx, esi
mov edx, ebx
call sym._fts5SegIterInit
jmp 0x61e72da4
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 0x61e7289f
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 0x61e72da4
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 0x61e72914
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 0x61e72920
mov dword [ebp - 0x60], 0
mov edx, 1
mov dword [esp], edi
mov dword [ebp - 0x44], edx
call sym.sqlite3.dll_sqlite3_reset
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 4]
cmp eax, edx
jle 0x61e72944
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 0x61e72b8a
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 0x61e72a6b
add eax, ebx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], eax
jmp 0x61e729c1
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 0x61e729c1
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 0x61e729e5
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 0x61e72eeb
jne 0x61e72a3e
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 0x61e72a2f
mov edx, dword [ebp - 0x80]
mov dl, byte [edx + eax]
cmp byte [ebx + eax], dl
je 0x61e72a7a
add dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x48]
cmp dword [ebp + 0x10], ebx
je 0x61e72a7d
cmp ecx, eax
jg 0x61e72a87
mov ebx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], ebx
jle 0x61e72f0c
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 0x61e729a0
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x24], 0x10b
jmp 0x61e72b8a
inc eax
jmp 0x61e72a1c
cmp ecx, eax
jne 0x61e72eeb
jmp 0x61e72b06
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 0x61e72a3e
jmp 0x61e72eeb
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 0x61e72b8a
mov ebx, dword [eax + 8]
cmp ebx, dword [eax + 4]
jge 0x61e72aa9
mov edi, dword [eax]
lea edx, [ebp - 0x2c]
lea eax, [edi + ebx]
call sym._sqlite3Fts5GetVarint32
mov edx, dword [ebp - 0x2c]
cmp edx, 3
jle 0x61e72a9f
mov ecx, dword [esi + 0xc]
cmp edx, dword [ecx + 8]
jge 0x61e72a9f
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 ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x4c], ecx
jg 0x61e72b57
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 4]
inc eax
jmp 0x61e72b6d
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 0x61e72d9a
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 0x61e72d9a
cmp dword [ebp - 0x64], 0
je 0x61e72bf6
or eax, 3
cmp dword [ebp - 0x60], 0
mov dword [esi + 4], eax
jne 0x61e72c00
mov eax, dword [esi + 0x38]
test eax, eax
je 0x61e72c34
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 0x61e72d35
cmp dword [ebp - 0x60], 0
je 0x61e72d9a
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x1c]
and edx, 2
cmp eax, dword [esi + 8]
jne 0x61e72c16
mov edi, dword [ecx + 8]
cmp dword [esi + 0x28], edi
jl 0x61e72c28
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 0x61e72d9a
jmp 0x61e72bc1
mov edx, dword [esi + 8]
cmp dword [esi + 0x1c], edx
mov eax, 4
mov ecx, dword [esi + 0xc]
jne 0x61e72c47
mov eax, dword [esi + 0x20]
mov edi, dword [ecx]
lea ebx, [eax + 9]
inc eax
cmp byte [edi + eax - 1], 0
jns 0x61e72c58
cmp ebx, eax
jg 0x61e72c4c
mov dword [esi + 0x14], eax
mov eax, dword [ecx + 8]
cmp dword [esi + 0x28], eax
jl 0x61e72d90
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 0x61e72d35
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax + 8]
jg 0x61e72d35
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 0x61e72d25
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 0x61e72d18
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 0x61e72d35
inc dword [ebp - 0x48]
add dword [ebp - 0x60], 1
adc dword [ebp - 0x5c], 0
jmp 0x61e72c98
cmp dword [ebp - 0x44], 0
je 0x61e72d90
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 0x61e72d85
inc eax
jmp 0x61e72d8d
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.235
dec dword [ebp - 0x58]
add esi, 0x58
sub dword [ebp - 0x70], 0xc
jmp 0x61e72834
cmp dword [ebp - 0x68], 0
mov eax, 0
cmovns eax, dword [ebp - 0x68]
add dword [ebp - 0x54], 0xc
add dword [ebp - 0x50], eax
jmp 0x61e72809
imul eax, edi, 0xc
lea esi, [edi - 1]
imul ebx, ebx, 0xc
add ebx, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0x50]
sub dword [ebp - 0x48], 0xc
test esi, esi
js 0x61e72604
mov edx, dword [ebp - 0x48]
add edx, dword [ebx + 0x20]
mov ecx, edi
mov eax, dword [ebp - 0x3c]
dec esi
add edi, 0x58
call sym._fts5SegIterInit
jmp 0x61e72de1
mov eax, dword [ebp - 0x40]
mov edx, ebx
call sym._fts5MultiIterDoCompare
test eax, eax
mov esi, eax
jne 0x61e72e1a
dec ebx
test ebx, ebx
jg 0x61e72e03
jmp 0x61e72e58
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x24], 0
jne 0x61e72e46
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 0x61e72e13
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 0x61e72eba
mov eax, dword [ebp - 0x3c]
mov edx, esi
mov eax, dword [eax + 0x24]
call sym._fts5MultiIterIsEmpty.isra.237
test eax, eax
je 0x61e72eba
mov eax, dword [ebp - 0x3c]
mov dword [esp], 0
xor ecx, ecx
mov dword [esp + 4], 0
mov edx, esi
call sym._fts5MultiIterNext
jmp 0x61e72f18
test ebx, ebx
je 0x61e72f18
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 0x61e72f18
mov eax, dword [ebp - 0x40]
call sym._fts5MultiIterFree
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0
jmp 0x61e72f18
cmp dword [ebp - 0x6c], 0
jne 0x61e72b06
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call sym.sqlite3.dll_sqlite3_free
mov dword [esi + 0xc], 0
jmp 0x61e72b8a
cmp dword [ebp - 0x6c], 0
jne 0x61e72aa9
jmp 0x61e72ef5
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret