Function at 0x665d1ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov ebp, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
test ebp, ebp
je 0x665d1c40
test edx, edx
mov ebx, eax
mov esi, edx
je case.0x665d1be4.82
movzx edi, byte [edx]
mov eax, edi
sub eax, 0x13
cmp al, 0x8c
ja case.0x665d1be4.2
movzx eax, al
jmp dword [eax*4 + str.p__fP__f]
mov edx, dword [edx + 0xc]
mov ecx, dword [esp + 0x28]
mov eax, ebx
call sym._sqlite3ExprCodeTarget
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x58]
test edx, edx
jne 0x665d1c30
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
test edx, edx
je 0x665d1c1d
mov eax, ebx
call sym._sqlite3ReleaseTempReg.part.166
add esp, 0xcc
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call sym._sqlite3ReleaseTempReg.part.166
jmp 0x665d1c0a
add esp, 0xcc
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x1c]
test eax, eax
js 0x665d27e0
movsx ecx, word [esi + 0x20]
mov edx, dword [esi + 0x2c]
movzx esi, byte [esi + 0x26]
mov edi, dword [esp + 0x28]
mov dword [esp], eax
mov eax, ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
call sym._sqlite3ExprCodeGetColumn
mov dword [esp + 0x28], eax
jmp 0x665d1c02
mov edi, dword [esp + 0x28]
mov edx, dword [edx + 0xc]
mov eax, ebx
mov ecx, edi
call sym._sqlite3ExprCodeTarget
cmp edi, eax
je 0x665d1caf
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp], edi
mov edx, 0x22
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov eax, dword [esi + 8]
xor edx, edx
call sym._sqlite3AffinityType
mov edi, dword [esp + 0x28]
movsx eax, al
mov dword [esp + 4], 0
mov dword [esp], eax
mov edx, 0x28
mov eax, ebp
mov ecx, edi
call sym._sqlite3VdbeAddOp3
mov ecx, 1
mov edx, edi
mov eax, ebx
call sym._sqlite3ExprCacheRemove
jmp 0x665d1c02
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x58]
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x5c]
mov ebp, eax
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], 0x20
mov esi, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, ebx
mov dword [esp + 4], ebp
mov dword [esp], edi
mov dword [esp + 0xc], esi
call sym._codeCompare
jmp 0x665d1c02
mov edx, dword [edx + 0x28]
test edx, edx
je 0x665d2a9e
movsx eax, word [esi + 0x22]
shl eax, 4
add eax, dword [edx + 0x28]
mov esi, dword [eax + 8]
jmp 0x665d1c1d
test byte [edx + 5], 0x40
mov eax, dword [ebx]
mov dword [esp + 0x3c], eax
movzx eax, byte [eax + 0x3e]
jne 0x665d2820
mov edi, dword [edx + 0x14]
test edi, edi
mov dword [esp + 0x30], edi
je 0x665d2b6a
mov edi, dword [edi]
mov dword [esp + 0x2c], edi
mov edi, dword [esi + 8]
test edi, edi
je 0x665d299e
cmp byte [edi], 0
je 0x665d299e
mov edx, edi
nop
add edx, 1
cmp byte [edx], 0
jne 0x665d1da0
sub edx, edi
and edx, 0x3fffffff
mov dword [esp + 0x38], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov edx, edi
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], 0
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
call sym._sqlite3FindFunction
test eax, eax
mov dword [esp + 0x34], eax
je 0x665d29b7
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x665d29b7
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 2]
test ah, 2
jne 0x665d2901
test ah, 4
jne 0x665d29e0
mov edx, dword [esp + 0x2c]
test edx, edx
jle 0x665d2af7
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], esi
xor eax, eax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
xor edi, edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], 0
mov ebx, eax
mov dword [esp + 0x40], 0
lea esi, [esi]
cmp edi, 0x1f
jle 0x665d2b3a
test byte [esi + 2], 0x20
je 0x665d1e5b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x665d2a45
add edi, 1
add ebx, 0x18
cmp ebp, edi
jne 0x665d1e40
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x665d2aba
mov edi, dword [esp + 0x40]
test edi, edi
je 0x665d29f9
mov eax, dword [ebx + 0x48]
mov byte [esp + 0x44], 0
lea edi, [eax + 1]
add eax, dword [esp + 0x2c]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 2]
test al, 0xc0
je 0x665d1ec4
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov ecx, dword [edx]
movzx edx, byte [ecx]
add edx, 0x66
and edx, 0xfd
jne 0x665d1ec4
and eax, 0xffffffc0
mov byte [ecx + 0x26], al
add dword [ebx + 0x64], 1
mov edx, dword [esp + 0x30]
mov ecx, edi
mov dword [esp], 3
mov eax, ebx
call sym._sqlite3ExprCodeExprList
mov eax, ebx
call sym._sqlite3ExprCachePop
cmp dword [esp + 0x2c], 1
jle 0x665d2a61
test byte [esi + 4], 0x80
jne 0x665d2a70
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
call sym._sqlite3VtabOverloadFunction
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
test byte [eax + 2], 0x20
je 0x665d1f60
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x665d2b22
xor ecx, ecx
mov edx, 0x24
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x38]
mov edx, eax
mov dword [esp], 0xfffffffc
mov eax, ebp
call sym._sqlite3VdbeChangeP4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov edx, 1
mov dword [esp], edi
mov dword [esp + 4], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x34]
mov edx, eax
mov dword [esp], 0xfffffffb
mov eax, ebp
call sym._sqlite3VdbeChangeP4
mov eax, dword [ebp + 4]
test eax, eax
je 0x665d1fa5
mov edx, dword [ebp + 0x20]
movzx ecx, byte [esp + 0x2c]
lea edx, [edx + edx*4]
mov byte [eax + edx*4 - 0x11], cl
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x665d1c02
cmp byte [esp + 0x44], 0
je 0x665d1c02
mov ecx, esi
mov edx, edi
mov eax, ebx
call sym._sqlite3ExprCacheRemove
cmp esi, dword [ebx + 0x38]
jle 0x665d1c02
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], edi
jmp 0x665d1c02
movsx ecx, word [edx + 0x20]
mov eax, dword [esp + 0x28]
mov edx, 0x1f
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov eax, dword [esi + 8]
cmp byte [eax + 1], 0
je 0x665d1c02
movsx edx, word [esi + 0x20]
mov eax, dword [ebx + 0x1d8]
mov ecx, dword [eax + edx*4 - 4]
mov dword [esp], 0xfffffffe
mov edx, 0xffffffff
mov eax, ebp
call sym._sqlite3VdbeChangeP4
jmp 0x665d1c02
mov eax, dword [edx + 8]
mov edx, eax
add edx, 2
je 0x665d29ab
cmp byte [eax + 2], 0
je 0x665d29ab
mov eax, edx
lea esi, [esi]
add eax, 1
cmp byte [eax], 0
jne 0x665d2050
sub eax, edx
and eax, 0x3fffffff
lea ecx, [eax - 1]
mov esi, ecx
shr esi, 0x1f
add esi, ecx
sar esi, 1
mov eax, dword [ebp]
call sym._sqlite3HexToBlob
mov edi, eax
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [esp + 4], 0
mov edx, 0x1e
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov dword [esp], 0xffffffff
mov edx, eax
mov ecx, edi
mov eax, ebp
call sym._sqlite3VdbeChangeP4
jmp 0x665d1c02
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 8]
xor ecx, ecx
mov dword [esp], eax
mov eax, ebp
call sym._codeReal
jmp 0x665d1c02
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp], eax
mov eax, ebx
call sym._codeInteger
jmp 0x665d1c02
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x58]
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x5c]
mov ebp, eax
mov eax, ebx
call sym._sqlite3ExprCodeTemp
xor ecx, ecx
cmp edi, 0x49
mov edx, dword [esi + 0xc]
sete cl
mov edi, ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x10], 0xa0
add edi, 0x4e
jmp 0x665d1d1c
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x58]
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov esi, dword [esp + 0x28]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x2c]
mov ecx, eax
mov dword [esp], esi
mov edx, edi
mov eax, ebp
call sym._sqlite3VdbeAddOp3
jmp 0x665d1c02
mov edi, dword [edx + 0x2c]
movsx eax, word [edi + 0x22]
add eax, 1
imul eax, dword [edx + 0x1c]
movsx edx, word [edx + 0x20]
mov dword [esp + 4], 0
lea ecx, [eax + edx + 1]
mov eax, dword [esp + 0x28]
mov edx, 0x84
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
movsx eax, word [esi + 0x20]
test ax, ax
js 0x665d1c02
mov edx, dword [edi + 4]
lea eax, [eax + eax*2]
lea eax, [edx + eax*8]
cmp byte [eax + 0x15], 0x45
jne 0x665d1c02
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], 0
mov edx, 0x27
mov dword [esp], 0
mov eax, ebp
call sym._sqlite3VdbeAddOp3
jmp 0x665d1c02
mov ecx, dword [ebx + 0x19c]
test ecx, ecx
je 0x665d2ae0
movsx ecx, byte [edx + 1]
cmp cl, 2
je 0x665d28ce
cmp cl, 4
je 0x665d28b0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edx, 0x713
mov eax, dword [esi + 8]
mov dword [esp], eax
mov eax, ebx
call sym._sqlite3HaltConstraint
jmp 0x665d1c02
mov eax, dword [ebp + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov edi, eax
mov dword [esp + 4], 0
mov eax, ebp
mov dword [esp], edx
mov edx, 0x1c
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov eax, ebx
mov dword [esp], edi
call sym._sqlite3ExprCodeIN
mov edx, dword [esp + 0x28]
mov ecx, 1
mov dword [esp + 4], 0
mov eax, ebp
mov dword [esp], edx
mov edx, 0x19
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x18]
xor ecx, 0xffffffff
js 0x665d22ac
mov edx, dword [eax + 0x70]
test edx, edx
je 0x665d22ac
mov esi, dword [ebp + 0x20]
mov dword [edx + ecx*4], esi
mov esi, dword [ebp + 0x20]
mov ecx, dword [esp + 0x28]
lea edx, [esi - 1]
mov dword [eax + 0x58], edx
mov dword [esp + 4], 0
mov edx, 0x25
mov dword [esp], 0
mov eax, ebp
call sym._sqlite3VdbeAddOp3
xor edi, 0xffffffff
mov edx, dword [ebp + 0x18]
js 0x665d22e9
mov eax, dword [edx + 0x70]
test eax, eax
je 0x665d22e9
mov ecx, dword [ebp + 0x20]
mov dword [eax + edi*4], ecx
mov eax, dword [ebp + 0x20]
sub eax, 1
mov dword [edx + 0x58], eax
jmp 0x665d1c02
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x58]
mov edx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [edi]
mov esi, eax
mov dword [esp + 0x38], eax
mov eax, ebx
call sym._sqlite3ExprCodeTemp
lea ecx, [esp + 0x5c]
mov dword [esp + 0x34], eax
mov edx, esi
mov eax, ebx
call sym._sqlite3ExprCodeTemp
movzx edx, byte [ebx + 0x13]
test dl, dl
jne 0x665d2861
mov esi, dword [ebx + 0x48]
add esi, 1
mov dword [esp + 0x2c], esi
add esi, 1
mov dword [ebx + 0x48], esi
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], 0x20
mov dword [esp], 0x53
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, ebx
call sym._codeCompare
mov edx, dword [esp + 0x5c]
mov edi, dword [edi + 0x18]
test edx, edx
jne 0x665d2890
lea ecx, [esp + 0x5c]
mov edx, edi
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov ecx, edi
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], 0x20
mov dword [esp + 0xc], esi
mov dword [esp], 0x51
mov dword [esp + 4], eax
mov eax, ebx
call sym._codeCompare
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov edx, 0x48
mov dword [esp], esi
mov dword [esp + 4], eax
mov ecx, edi
mov eax, ebp
call sym._sqlite3VdbeAddOp3
test edi, edi
jne 0x665d28a0
test esi, esi
je 0x665d1c02
mov edx, esi
mov eax, ebx
call sym._sqlite3ReleaseTempReg.part.166
jmp 0x665d1c02
mov eax, dword [esp + 0x28]
mov esi, dword [edx + 8]
xor ecx, ecx
mov dword [esp + 4], 0
mov edx, 0x61
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov dword [esp], 0
mov edx, eax
mov ecx, esi
mov eax, ebp
call sym._sqlite3VdbeChangeP4
jmp 0x665d1c02
mov esi, dword [edx + 0x1c]
jmp 0x665d1c1d
mov dword [esp], 0
xor ecx, ecx
mov eax, ebx
call sym._sqlite3CodeSubselect
mov dword [esp + 0x28], eax
jmp 0x665d1c02
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x58]
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov dword [esp + 4], 0
mov esi, dword [esp + 0x28]
jmp 0x665d214f
mov edx, dword [edx + 0xc]
movzx eax, byte [edx]
cmp al, 0x84
je 0x665d2a2d
cmp al, 0x85
je 0x665d28e6
lea ecx, [esp + 0x58]
lea edx, [esp + 0x60]
mov eax, ebx
mov byte [esp + 0x60], 0x84
mov dword [esp + 0x64], 0x4400
mov dword [esp + 0x68], 0
call sym._sqlite3ExprCodeTemp
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x5c]
mov edi, eax
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov esi, dword [esp + 0x28]
mov ecx, eax
mov dword [esp], edi
mov edx, 0x5a
mov eax, ebp
mov dword [esp + 4], esi
call sym._sqlite3VdbeAddOp3
jmp 0x665d1c02
mov eax, dword [edx + 0x28]
movsx edx, word [edx + 0x22]
cmp byte [eax], 0
lea ecx, [edx + edx*2]
mov edx, dword [eax + 0x1c]
lea edx, [edx + ecx*8]
jne 0x665d2835
mov esi, dword [edx + 0x10]
jmp 0x665d1c1d
mov eax, dword [esp + 0x28]
mov ecx, 1
mov edx, 0x19
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x58]
mov eax, ebx
call sym._sqlite3ExprCodeTemp
mov edx, edi
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov esi, eax
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 4], 0
mov edx, 0x19
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov eax, dword [ebp + 0x20]
cmp esi, eax
jae 0x665d259b
lea edx, [esi + esi*4]
mov esi, dword [ebp + 4]
lea edx, [esi + edx*4]
mov dword [edx + 8], eax
mov edx, dword [ebp + 0x18]
sub eax, 1
mov dword [edx + 0x58], eax
jmp 0x665d1c02
mov eax, dword [esi + 0x14]
mov dword [esp + 0x44], eax
mov edi, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x30], 0
test eax, eax
mov dword [esp + 0x3c], eax
mov edx, eax
je 0x665d2692
mov eax, dword [eax]
lea ecx, [esp + 0x58]
mov dword [esp + 0x60], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x7c], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x84], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, ebx
call sym._sqlite3ExprCodeTemp
movzx edx, byte [esp + 0x60]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x60]
and dword [esp + 0x64], 0xffffefff
mov byte [esp + 0x60], 0x9f
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
mov byte [esp + 0x90], 0x4f
mov dword [esp + 0x58], 0
mov byte [esp + 0x86], dl
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
sub eax, 1
test eax, eax
mov dword [esp + 0x38], eax
jle 0x665d2782
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], 0
jmp 0x665d273b
mov edx, dword [edi]
mov dword [esp + 0xa0], edx
call sym._sqlite3VdbeMakeLabel.isra.428
mov edx, dword [esp + 0x30]
mov ecx, eax
mov esi, eax
mov dword [esp], 0x10
mov eax, ebx
call sym._sqlite3ExprIfFalse
mov edx, dword [edi + 0x18]
mov ecx, dword [esp + 0x28]
mov eax, ebx
call sym._sqlite3ExprCode
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov edx, 0x10
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov eax, ebx
call sym._sqlite3ExprCachePop
xor esi, 0xffffffff
mov eax, dword [ebp + 0x18]
js 0x665d2720
mov edx, dword [eax + 0x70]
test edx, edx
je 0x665d2720
mov ecx, dword [ebp + 0x20]
mov dword [edx + esi*4], ecx
mov ecx, dword [ebp + 0x20]
add dword [esp + 0x2c], 2
add edi, 0x30
lea edx, [ecx - 1]
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x38], ecx
mov dword [eax + 0x58], edx
jle 0x665d2782
mov esi, dword [esp + 0x3c]
add dword [ebx + 0x64], 1
test esi, esi
jne 0x665d26b5
mov ecx, dword [edi]
mov dword [esp + 0x30], ecx
jmp 0x665d26be
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x1c
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
jmp 0x665d1c02
test byte [esp + 0x40], 1
je 0x665d2800
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
add dword [ebx + 0x64], 1
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*2]
shl eax, 3
add eax, dword [edi + 4]
mov edx, dword [eax - 0x18]
mov eax, ebx
call sym._sqlite3ExprCode
mov eax, ebx
call sym._sqlite3ExprCachePop
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 0x18]
xor eax, 0xffffffff
js 0x665d22e9
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x665d22e9
mov esi, dword [ebp + 0x20]
mov dword [ecx + eax*4], esi
jmp 0x665d22e9
mov edx, dword [ebx + 0x5c]
test edx, edx
jle 0x665d29d8
movsx eax, word [esi + 0x20]
lea esi, [eax + edx]
jmp 0x665d1c1d
mov eax, dword [esp + 0x28]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x1c
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
jmp 0x665d27b3
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
jmp 0x665d1d89
cmp byte [eax + 1], 0
je case.0x665d1be4.135
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [edx + 0xc]
mov edx, 0x2f
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
jmp 0x665d1c02
lea ecx, [edx - 1]
movzx esi, cl
mov byte [ebx + 0x13], cl
test cl, cl
mov esi, dword [ebx + esi*4 + 0x18]
mov dword [esp + 0x2c], esi
je 0x665d2b32
sub edx, 2
mov byte [ebx + 0x13], dl
movzx edx, dl
mov esi, dword [ebx + edx*4 + 0x18]
jmp 0x665d234f
mov eax, ebx
call sym._sqlite3ReleaseTempReg.part.166
jmp 0x665d2390
mov edx, dword [esp + 0x2c]
mov eax, ebx
call sym._sqlite3ReleaseTempReg.part.166
jmp 0x665d23ee
mov esi, dword [esi + 8]
xor ecx, ecx
mov dword [esp + 4], 0
mov dword [esp], 4
mov edx, 0x18
jmp 0x665d241d
mov eax, dword [ebx + 0x198]
test eax, eax
cmove eax, ebx
mov byte [eax + 0x15], 1
movsx ecx, byte [edx + 1]
jmp 0x665d21fb
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 8]
mov ecx, 1
mov dword [esp], eax
mov eax, ebp
call sym._codeReal
jmp 0x665d1c02
mov eax, dword [ebp + 0x18]
mov esi, 1
call sym._sqlite3VdbeMakeLabel.isra.428
mov edi, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov eax, ebx
call sym._sqlite3ExprCode
cmp dword [esp + 0x2c], 1
jle 0x665d22d4
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x28]
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x34]
mov ecx, ebp
mov edx, 0x4d
mov dword [esp + 4], 0
mov dword [esp], edi
call sym._sqlite3VdbeAddOp3
mov ecx, 1
mov edx, ebp
mov eax, ebx
call sym._sqlite3ExprCacheRemove
mov ecx, dword [esp + 0x30]
lea eax, [esi + esi*2]
add dword [ebx + 0x64], 1
add esi, 1
shl eax, 3
add eax, dword [ecx + 4]
mov ecx, ebp
mov edx, dword [eax]
mov eax, ebx
call sym._sqlite3ExprCode
mov eax, ebx
call sym._sqlite3ExprCachePop
cmp dword [esp + 0x2c], esi
jne 0x665d2940
mov ebp, dword [esp + 0x34]
jmp 0x665d22d4
mov dword [esp + 0x38], 0
jmp 0x665d1db4
xor esi, esi
mov ecx, 0xffffffff
jmp 0x665d206b
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov dword [esp + 4], str.unknown_function:__.s__
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._sqlite3ErrorMsg
jmp 0x665d1c02
mov eax, dword [ebx + 0x60]
jmp 0x665d1c5b
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov eax, ebx
call sym._sqlite3ExprCode
jmp 0x665d1c02
mov eax, dword [esp + 0x34]
movzx eax, word [eax + 2]
mov edx, dword [ebx + 0x38]
mov ecx, dword [esp + 0x2c]
cmp ecx, edx
jg 0x665d2a7f
mov edi, dword [ebx + 0x3c]
sub edx, dword [esp + 0x2c]
mov byte [esp + 0x44], 1
mov dword [esp + 0x40], 0
add ecx, edi
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x38], edx
jmp 0x665d1ea3
mov eax, dword [esp + 0x28]
mov ecx, 1
mov dword [esp], eax
mov eax, ebx
call sym._codeInteger
jmp 0x665d1c02
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov edx, dword [eax + ebx]
mov eax, dword [esp + 0x44]
call sym._sqlite3ExprCollSeq
mov dword [esp + 0x38], eax
jmp 0x665d1e5b
jne 0x665d1f19
jmp 0x665d1ef8
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x18]
jmp 0x665d1f01
mov edx, dword [ebx + 0x48]
mov byte [esp + 0x44], 1
mov dword [esp + 0x40], 0
lea edi, [edx + 1]
add edx, dword [esp + 0x2c]
mov dword [ebx + 0x48], edx
jmp 0x665d1ea3
mov eax, dword [esi + 8]
mov dword [esp + 4], str.misuse_of_aggregate:__s__
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym._sqlite3ErrorMsg
jmp 0x665d1c02
mov eax, dword [esp + 0x40]
test eax, eax
sete byte [esp + 0x44]
xor edi, edi
cmp dword [esp + 0x2c], 1
jg 0x665d1eee
jmp 0x665d1ef8
mov dword [esp + 4], str.RAISE___may_only_be_used_within_a_trigger_program
mov dword [esp], ebx
xor esi, esi
call sym._sqlite3ErrorMsg
jmp 0x665d1c1d
mov edx, dword [esp + 0x30]
mov dword [esp + 0x38], 0
test edx, edx
jne 0x665d2a01
xor edi, edi
test al, 0x20
mov byte [esp + 0x44], 1
mov dword [esp + 0x40], 0
je 0x665d1f60
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
jmp 0x665d1f2f
mov esi, dword [ebx + 0x48]
jmp 0x665d2349
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov edx, 1
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx]
call sym._exprIsConst
test eax, eax
je 0x665d1e49
mov eax, 1
mov ecx, edi
shl eax, cl
or dword [esp + 0x40], eax
jmp 0x665d1e49
mov dword [esp + 0x2c], 0
jmp 0x665d1d89