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

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x8c
mov ebp, dword [edi + 8]
mov eax, dword [esp + 0xb0]
cmp dword [esp + 0xac], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xb4]
setne byte [esp + 0x71]
test ebp, ebp
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x3c]
mov byte [esp + 0x73], al
mov al, byte [esp + 0x24]
mov byte [esp + 0x5f], al
mov eax, dword [edi]
mov dword [esp + 0x4c], eax
jne 0x66616fe0
mov eax, edi
call sym._sqlite3GetVdbe.part.430
mov ebp, eax
mov eax, dword [esp + 0x20]
movsx eax, word [eax + 0x22]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
test byte [eax + 0x2a], 0x20
je 0x66617023
mov eax, dword [eax + 8]
mov dword [esp + 0x28], eax
test eax, eax
je 0x66617bce
mov dl, byte [eax + 0x34]
and edx, 3
cmp dl, 2
je 0x66617015
mov eax, dword [eax + 0x14]
jmp 0x66616ffd
mov dword [esp + 0x28], eax
movzx eax, word [eax + 0x2e]
mov dword [esp + 0x34], eax
jmp 0x66617033
mov dword [esp + 0x34], 1
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x2c], 0
inc eax
mov dword [esp + 0x50], eax
mov esi, eax
movzx eax, byte [esp + 0x5f]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x2c], ecx
jge 0x666171cf
movsx eax, word [edi + 0x20]
cmp dword [esp + 0x2c], eax
je 0x666171c5
imul ebx, dword [esp + 0x2c], 0x18
mov eax, dword [edi + 4]
add eax, ebx
movzx edx, byte [eax + 0x14]
test edx, edx
je 0x666171c5
cmp byte [esp + 0x5f], 0xa
je 0x66617099
mov edx, dword [esp + 0x44]
jmp 0x6661709e
cmp edx, 0xa
je 0x666170f3
cmp edx, 5
jne 0x666170af
cmp dword [eax + 4], 0
jne 0x66617177
jmp 0x666170f3
cmp edx, 2
je 0x666170f3
jg 0x666170c0
cmp edx, 1
je 0x6661710d
jmp 0x66617177
cmp edx, 3
je 0x6661710d
cmp edx, 4
jne 0x66617177
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 0
mov ecx, esi
mov edx, 0x4c
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
jmp 0x666171c5
mov eax, dword [esp + 0x30]
mov edx, 2
mov eax, dword [eax + 0x198]
test eax, eax
cmove eax, dword [esp + 0x30]
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [esp + 0x38], edx
mov eax, dword [eax + ebx]
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [esp + 4], str._s._s
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym._sqlite3MPrintf
mov edx, dword [esp + 0x38]
mov ebx, eax
mov ecx, 0x513
mov dword [esp + 4], esi
mov eax, ebp
mov dword [esp], edx
mov edx, 0x17
call sym._sqlite3VdbeAddOp3
mov dword [esp], 0xffffffff
mov edx, eax
mov ecx, ebx
mov eax, ebp
call sym._sqlite3VdbeChangeP4
mov eax, dword [ebp + 4]
test eax, eax
je 0x666171c5
imul edx, dword [ebp + 0x20], 0x14
mov byte [eax + edx - 0x11], 1
jmp 0x666171c5
mov ecx, esi
mov edx, 0x4d
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov dword [esp + 0x38], eax
mov eax, dword [edi + 4]
mov ecx, esi
mov edx, dword [eax + ebx + 4]
mov eax, dword [esp + 0x30]
call sym._sqlite3ExprCode
mov eax, dword [ebp + 0x20]
cmp dword [esp + 0x38], eax
jae 0x666171be
imul ebx, dword [esp + 0x38], 0x14
add ebx, dword [ebp + 4]
mov dword [ebx + 8], eax
mov edx, dword [ebp + 0x18]
dec eax
mov dword [edx + 0x58], eax
inc dword [esp + 0x2c]
inc esi
jmp 0x6661705a
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
mov esi, dword [eax + 0x18]
test esi, esi
jne 0x6661720d
cmp byte [esp + 0x3c], 0
je 0x666171f0
cmp dword [esp + 0x28], 0
je 0x6661730e
mov dword [esp + 0x44], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0x666175d5
mov eax, dword [esp + 0x4c]
test byte [eax + 0x19], 0x20
jne 0x666171de
mov eax, dword [esp + 0x50]
cmp byte [esp + 0x24], 0xa
mov ebx, 2
mov dword [esp + 0x2c], 0
mov dword [edi + 0x5c], eax
movzx eax, byte [esp + 0x24]
cmovne ebx, eax
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi]
jge 0x666171de
mov eax, dword [ebp + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
mov dword [esp + 0x30], eax
imul eax, dword [esp + 0x2c], 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [eax + ecx]
mov ecx, dword [esp + 0x30]
mov eax, edi
mov dword [esp], 0x10
call sym._sqlite3ExprIfTrue
cmp ebx, 4
jne 0x66617298
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x10
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
jmp 0x666172d9
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + ecx + 4]
test eax, eax
jne 0x666172ad
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, 2
cmp ebx, 5
mov dword [esp], eax
cmove ebx, ecx
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov ecx, ebx
mov edx, 0x113
mov eax, edi
call sym._sqlite3HaltConstraint
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
xor eax, 0xffffffff
js 0x666172fa
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x70]
test ecx, ecx
je 0x666172fa
mov edx, dword [ebp + 0x20]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + 0x20]
mov ecx, dword [esp + 0x38]
inc dword [esp + 0x2c]
dec eax
mov dword [ecx + 0x58], eax
jmp 0x66617238
mov eax, dword [ebp + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
cmp byte [esp + 0x24], 0xa
mov esi, eax
je 0x66617326
movzx ebx, byte [esp + 0x24]
jmp 0x66617337
mov eax, dword [esp + 0x20]
movzx ebx, byte [eax + 0x2b]
cmp ebx, 0xa
je 0x666173d0
cmp dword [esp + 0xac], 0
je 0x66617372
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov edx, 0x4f
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov eax, dword [ebp + 4]
test eax, eax
je 0x66617372
imul edx, dword [ebp + 0x20], 0x14
mov byte [eax + edx - 0x11], 0x90
cmp ebx, 5
jne 0x666173e3
cmp byte [esp + 0x24], 5
je 0x666173e3
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
test eax, eax
je 0x666173c1
mov bl, byte [eax + 0x32]
lea edx, [ebx - 3]
cmp dl, 1
ja 0x666173bc
mov dword [esp + 4], 0
mov dword [esp], 0
xor ecx, ecx
mov edx, 0x10
mov eax, ebp
mov ebx, 5
call sym._sqlite3VdbeAddOp3
mov dword [esp + 0x38], eax
jmp 0x666173eb
mov eax, dword [eax + 0x14]
jmp 0x66617385
mov ebx, 5
mov dword [esp + 0x38], 0
jmp 0x666173eb
cmp dword [esp + 0xac], 0
mov ebx, 2
jne 0x66617341
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa0]
mov edx, 0x46
mov dword [esp], esi
mov dword [esp + 4], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
cmp ebx, 4
je 0x66617544
jg 0x6661741e
cmp ebx, 1
jge 0x66617428
jmp 0x66617423
cmp ebx, 5
je 0x66617442
mov ebx, 2
mov ecx, dword [esp + 0x20]
mov edx, ebx
mov eax, edi
call sym._sqlite3RowidConstraint
mov dword [esp + 0x3c], 0
jmp 0x6661756c
mov eax, dword [esp + 0x4c]
test byte [eax + 0x1a], 4
jne 0x6661746c
mov dword [esp], 0
mov edx, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [edi]
call sym._sqlite3FkRequired.isra.181
test eax, eax
je 0x666174f5
xor eax, eax
jmp 0x6661748f
mov edx, dword [esp + 0x20]
mov dword [esp + 4], 0
mov ecx, 0x6d
mov dword [esp], 0
mov eax, edi
call sym._sqlite3TriggersExist
test eax, eax
je 0x6661744c
mov edx, dword [edi + 0x198]
mov ebx, dword [esp + 0xa8]
mov ecx, eax
mov eax, edi
test edx, edx
cmove edx, edi
mov byte [edx + 0x14], 1
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa4]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp], ebx
call sym._sqlite3GenerateRowDelete
mov dword [esp + 0x3c], 1
jmp 0x6661756c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], 1
cmp dword [eax + 8], 0
je 0x6661756c
mov eax, dword [edi + 0x198]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x20]
test eax, eax
cmove eax, edi
mov byte [eax + 0x14], 1
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, edi
call sym._sqlite3GenerateRowIndexDelete
mov dword [esp + 0x3c], 1
jmp 0x6661756c
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x10
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov dword [esp + 0x3c], 0
xor esi, 0xffffffff
mov eax, dword [ebp + 0x18]
js 0x66617581
mov edx, dword [eax + 0x70]
test edx, edx
je 0x66617581
mov ecx, dword [ebp + 0x20]
mov dword [edx + esi*4], ecx
mov esi, dword [ebp + 0x20]
cmp dword [esp + 0x38], 0
mov dword [esp + 0x44], 0
lea edx, [esi - 1]
mov dword [eax + 0x58], edx
je 0x666175d5
xor ecx, ecx
mov dword [esp + 4], 0
mov dword [esp], 0
mov edx, 0x10
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x20]
cmp dword [esp + 0x38], eax
jae 0x666175ce
imul edx, dword [esp + 0x38], 0x14
add edx, dword [ebp + 4]
mov dword [edx + 8], eax
mov edx, dword [ebp + 0x18]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x20]
mov byte [esp + 0x70], 0
mov ebx, dword [eax + 8]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa4]
mov esi, ebx
mov dword [esp + 0x58], eax
movsx eax, word [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xac]
inc eax
mov dword [esp + 0x78], eax
test esi, esi
je 0x66617b76
mov eax, dword [esp + 0x54]
cmp dword [eax], 0
je 0x66617b65
cmp byte [esp + 0x70], 0
jne 0x66617643
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
mov eax, ebp
call sym._sqlite3TableAffinity
mov byte [esp + 0x70], 1
mov eax, dword [ebp + 0x18]
call sym._sqlite3VdbeMakeLabel.isra.428
cmp dword [esi + 0x24], 0
mov dword [esp + 0x40], eax
je 0x66617697
mov eax, dword [esp + 0x54]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x1c
mov eax, dword [eax]
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x50]
mov edx, dword [esi + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x5c], eax
mov dword [esp], 0x10
mov eax, edi
call sym._sqlite3ExprIfFalse
mov dword [edi + 0x5c], 0
movzx edx, word [esi + 0x30]
mov eax, dword [edi + 0x38]
cmp edx, eax
jg 0x666176b6
mov ecx, dword [edi + 0x3c]
sub eax, edx
mov dword [edi + 0x38], eax
mov dword [esp + 0x24], ecx
lea ecx, [ecx + edx]
mov dword [edi + 0x3c], ecx
jmp 0x666176c5
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, edx
mov dword [edi + 0x48], eax
mov dword [esp + 0x24], ecx
xor ebx, ebx
movzx eax, word [esi + 0x30]
cmp ebx, eax
jge 0x6661773c
mov eax, dword [esi + 4]
movsx eax, word [eax + ebx*2]
test eax, eax
js 0x666176f1
mov ecx, dword [esp + 0x20]
movsx edx, word [ecx + 0x20]
mov ecx, dword [esp + 0xa8]
lea ecx, [eax + ecx + 1]
cmp eax, edx
jne 0x66617714
mov eax, dword [esp + 0x24]
add eax, ebx
cmp dword [esp + 0x48], eax
je 0x66617735
cmp dword [esi + 0x24], 0
mov edx, 0xffffffff
mov ecx, dword [esp + 0xa8]
cmovne eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], 0
mov edx, 0x22
add eax, ebx
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x48]
inc ebx
mov dword [esp + 0x48], eax
jmp 0x666176c7
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
mov dword [esp], eax
mov eax, ebp
mov dword [esp + 4], edx
mov edx, 0x31
call sym._sqlite3VdbeAddOp3
movzx ecx, word [esi + 0x30]
mov edx, dword [esp + 0x24]
mov eax, edi
call sym._sqlite3ExprCacheRemove
cmp esi, dword [esp + 0x28]
sete byte [esp + 0x72]
cmp byte [esp + 0x73], 0
sete al
test byte [esp + 0x71], al
je 0x66617786
cmp byte [esp + 0x72], 0
jne 0x666177b2
movzx eax, byte [esi + 0x32]
test eax, eax
mov dword [esp + 0x30], eax
jne 0x666177d9
movzx ebx, word [esi + 0x30]
mov edx, dword [esp + 0x24]
mov eax, edi
mov ecx, ebx
call sym._sqlite3ExprCacheRemove
cmp ebx, dword [edi + 0x38]
jle 0x666177b2
mov eax, dword [esp + 0x24]
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x18]
xor ecx, 0xffffffff
js 0x666177cb
mov edx, dword [eax + 0x70]
test edx, edx
je 0x666177cb
mov ebx, dword [ebp + 0x20]
mov dword [edx + ecx*4], ebx
mov ebx, dword [ebp + 0x20]
lea edx, [ebx - 1]
mov dword [eax + 0x58], edx
jmp 0x66617b65
cmp byte [esp + 0x5f], 0xa
je 0x666177eb
movzx eax, byte [esp + 0x5f]
mov dword [esp + 0x30], eax
jmp 0x666177fe
cmp dword [esp + 0x30], 0xa
mov eax, 2
cmovne eax, dword [esp + 0x30]
mov dword [esp + 0x30], eax
movzx eax, word [esi + 0x2e]
mov ecx, dword [esp + 0x58]
mov edx, 0x43
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp4Int
cmp esi, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
je 0x66617866
mov eax, dword [edi + 0x38]
cmp dword [esp + 0x34], eax
jg 0x66617855
mov ebx, dword [edi + 0x3c]
mov edx, dword [esp + 0x34]
sub eax, dword [esp + 0x34]
add edx, ebx
mov dword [esp + 0x2c], ebx
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], eax
jmp 0x66617866
mov eax, dword [edi + 0x48]
lea ecx, [eax + 1]
add eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov dword [edi + 0x48], eax
cmp dword [esp + 0x30], 5
je 0x66617878
cmp byte [esp + 0x71], 0
je 0x66617a20
mov eax, dword [esp + 0x20]
test byte [eax + 0x2a], 0x20
jne 0x666178ea
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov edx, 0x70
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
cmp dword [esp + 0xac], 0
je 0x66617a20
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x2c]
mov edx, 0x4f
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov eax, dword [ebp + 4]
test eax, eax
je 0x66617a20
imul edx, dword [ebp + 0x20], 0x14
mov byte [eax + edx - 0x11], 0x90
jmp 0x66617a20
xor ebx, ebx
cmp esi, dword [esp + 0x28]
jne 0x6661796e
cmp dword [esp + 0xac], 0
je 0x66617a20
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x64], 0x4e
movzx eax, word [eax + 0x2e]
add eax, dword [ebp + 0x20]
mov dword [esp + 0x60], eax
mov al, byte [esi + 0x34]
mov esi, dword [esp + 0x28]
and eax, 3
cmp al, 2
mov eax, dword [esp + 0x2c]
cmove eax, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x68], eax
jmp 0x66617a10
mov edx, dword [esi + 4]
cmp cx, word [edx + eax*2]
je 0x6661794e
inc eax
cmp eax, dword [esp + 0x60]
jl 0x6661793b
or eax, 0xffffffff
mov ecx, dword [esp + 0x2c]
cwde
mov dword [esp], eax
mov eax, ebp
lea edx, [ecx + ebx]
mov ecx, dword [esp + 0x58]
inc ebx
mov dword [esp + 4], edx
mov edx, 0x2f
call sym._sqlite3VdbeAddOp3
mov eax, dword [esp + 0x28]
movzx eax, word [eax + 0x2e]
cmp ebx, eax
jge 0x666178f2
mov eax, dword [esp + 0x28]
movzx edx, word [esi + 0x30]
mov eax, dword [eax + 4]
mov dword [esp + 0x60], edx
mov cx, word [eax + ebx*2]
xor eax, eax
jmp 0x66617945
mov eax, dword [esi + 0x20]
mov edx, dword [eax + ebx*4]
mov eax, edi
call sym._sqlite3LocateCollSeq
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x60]
movsx ecx, word [eax + ebx*2]
movzx eax, word [esi + 0x2e]
dec eax
cmp ebx, eax
mov eax, 0x4f
cmovne eax, dword [esp + 0x64]
cmove edx, dword [esp + 0x40]
add ecx, dword [esp + 0x78]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x60], edx
mov dword [esp], edx
mov edx, dword [esp + 0x64]
add eax, ebx
mov dword [esp + 4], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov ecx, dword [esp + 0x6c]
mov edx, eax
mov dword [esp], 0xfffffffc
mov eax, ebp
call sym._sqlite3VdbeChangeP4
mov eax, dword [ebp + 4]
test eax, eax
je 0x66617a0f
imul edx, dword [ebp + 0x20], 0x14
mov byte [eax + edx - 0x11], 0x90
inc ebx
movzx eax, word [esi + 0x2e]
cmp ebx, eax
jl 0x66617995
mov esi, dword [esp + 0x7c]
cmp dword [esp + 0x30], 1
jl 0x66617a6c
cmp dword [esp + 0x30], 3
jle 0x66617a5a
cmp dword [esp + 0x30], 4
jne 0x66617a6c
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], 0
xor ecx, ecx
mov edx, 0x10
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
jmp 0x66617af9
mov edx, dword [esp + 0x30]
mov ecx, esi
mov eax, edi
call sym._sqlite3UniqueConstraint
jmp 0x66617af9
mov eax, dword [edi + 0x198]
mov ecx, dword [esp + 0x4c]
test eax, eax
cmove eax, edi
mov byte [eax + 0x14], 1
xor eax, eax
test byte [ecx + 0x1a], 4
je 0x66617aa6
mov edx, dword [esp + 0x20]
mov dword [esp + 4], 0
mov ecx, 0x6d
mov dword [esp], 0
mov eax, edi
call sym._sqlite3TriggersExist
movzx edx, byte [esp + 0x72]
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov ecx, eax
mov eax, edi
call sym._sqlite3GenerateRowDelete
mov dword [esp + 0x3c], 1
mov eax, dword [esp + 0x40]
mov edx, dword [ebp + 0x18]
xor eax, 0xffffffff
js 0x66617b12
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x66617b12
mov ebx, dword [ebp + 0x20]
mov dword [ecx + eax*4], ebx
mov eax, dword [ebp + 0x20]
movzx ebx, word [esi + 0x30]
dec eax
mov dword [edx + 0x58], eax
mov edx, dword [esp + 0x24]
mov ecx, ebx
mov eax, edi
call sym._sqlite3ExprCacheRemove
cmp dword [edi + 0x38], ebx
jge 0x66617b39
mov eax, dword [esp + 0x24]
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], eax
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x2c], ebx
je 0x66617b65
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, edi
call sym._sqlite3ExprCacheRemove
mov eax, dword [esp + 0x34]
cmp eax, dword [edi + 0x38]
jle 0x66617b65
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x3c], eax
mov esi, dword [esi + 0x14]
add dword [esp + 0x54], 4
inc dword [esp + 0x58]
jmp 0x66617613
cmp dword [esp + 0x38], 0
je 0x66617bb6
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov edx, 0x10
mov dword [esp + 4], 0
inc eax
mov dword [esp], eax
mov eax, ebp
call sym._sqlite3VdbeAddOp3
mov edx, dword [ebp + 0x20]
cmp dword [esp + 0x44], edx
jae 0x66617baf
imul eax, dword [esp + 0x44], 0x14
add eax, dword [ebp + 4]
mov dword [eax + 8], edx
mov eax, dword [ebp + 0x18]
dec edx
mov dword [eax + 0x58], edx
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0xbc]
mov dword [eax], esi
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ax, word [0x2e]
ud2