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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
xor eax, eax
push ebx
sub esp, 0x11c
mov dword [ebp - 0x90], edx
xor edx, edx
mov dword [ebp - 0x4c], edx
lea edx, [ebp - 0x48]
mov dword [ebp - 0x84], ecx
mov edi, edx
mov ecx, 2
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp - 0xa4], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x10137364
xor eax, eax
mov dword [ebp - 0x6c], eax
jmp 0x10138d83
mov edx, dword [ebp - 0x90]
mov eax, esi
call sym._sqlite3SrcListLookup
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1013735a
mov edx, dword [eax + 0x3c]
mov eax, dword [esi]
call sym._sqlite3SchemaToIndex
mov ecx, 0x81
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x50]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
mov edx, dword [ebp - 0x5c]
mov eax, esi
call sym._sqlite3TriggersExist
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x5c]
mov al, byte [eax + 0x2b]
mov byte [ebp - 0xad], al
mov eax, dword [ebp - 0x90]
cmp dword [eax], 1
jle 0x101373cf
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x5c]
mov eax, esi
call sym._sqlite3ViewGetColumnNames
test eax, eax
jne 0x1013735a
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x5c]
mov eax, esi
call sym._sqlite3IsReadOnly
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x1013735a
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xc0], eax
inc eax
mov dword [ebp - 0xc8], eax
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
test byte [eax + 0x1c], 0x80
je 0x10137431
mov eax, dword [ebp - 0x80]
call sym._sqlite3PrimaryKeyIndex.isra.0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0x80], 0
je 0x1013746f
mov eax, dword [esi + 0x28]
mov edi, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x78]
cmp dword [ebp - 0x80], ebx
cmove edi, eax
inc eax
inc dword [ebp - 0xcc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x64], edi
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x80], eax
jmp 0x10137442
cmp dword [ebp + 0x10], 0
je 0x10137493
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc0]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x90]
mov edi, dword [ebp - 0x64]
xor ecx, ecx
mov dword [eax + 0x34], edi
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0xcc]
movsx eax, word [eax + 0x22]
lea eax, [edi + eax + 1]
lea edx, [edi + eax*4 + 2]
mov eax, dword [ebp - 0xa4]
call sym._sqlite3DbMallocRawNN
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x1013735a
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x6c]
lea edx, [ebp - 0x2c]
movsx eax, word [eax + 0x22]
lea eax, [edi + eax*4]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xd0]
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x70]
lea eax, [eax + edi*4]
mov dword [ebp - 0xb4], eax
mov edi, dword [ebp - 0xb4]
mov al, 1
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0xb4]
mov edi, dword [ebp - 0xcc]
mov byte [eax + edi + 1], 0
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x6c]
mov ebx, ecx
movsx ecx, word [eax + 0x22]
xor eax, eax
test cx, cx
cmovs ecx, eax
mov al, 0xff
shl ecx, 2
rep stosb byte es:[edi], al
mov edi, edx
mov eax, ebx
mov ecx, 5
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], 0x200
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, esi
call sym._sqlite3GetVdbe
mov dword [ebp - 0x60], eax
test eax, eax
je 0x10138d83
mov eax, dword [ebp - 0x7c]
mov byte [ebp - 0x94], 0
mov dword [ebp - 0xf4], 0xffffffff
shl eax, 4
mov byte [ebp - 0xe5], 0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x84]
lea edi, [eax + 8]
xor eax, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x68]
cmp ebx, dword [eax]
jge 0x10137743
mov eax, dword [edi + 4]
call sym._sqlite3StrIHash
cmp dword [ebp - 0x88], 0
mov byte [ebp - 0x98], al
je 0x101375d8
mov eax, dword [ebp - 0x5c]
xor ebx, ebx
movsx eax, word [eax + 0x22]
mov dword [ebp - 0x9c], eax
jmp 0x10137607
mov edx, dword [edi]
lea eax, [ebp - 0x38]
call sym._sqlite3ResolveExprNames
test eax, eax
je 0x101375c7
jmp 0x10138d83
mov ecx, dword [ebp - 0x5c]
mov eax, ebx
shl eax, 4
add eax, dword [ecx + 4]
mov ecx, eax
mov dword [ebp - 0x74], eax
mov al, byte [ebp - 0x98]
cmp al, byte [ecx + 0xa]
je 0x10137616
inc ebx
mov eax, dword [ebp - 0x9c]
cmp ebx, eax
jl 0x101375eb
jmp 0x101376a6
mov ecx, dword [ecx]
mov edx, dword [edi + 4]
mov eax, ecx
mov dword [ebp - 0xa0], ecx
call sym._sqlite3StrICmp
mov ecx, dword [ebp - 0xa0]
test eax, eax
jne 0x10137606
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x20]
cmp ebx, eax
jne 0x10137654
mov eax, dword [edi]
mov byte [ebp - 0x94], 1
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xf4], eax
jmp 0x10137689
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x78], 0
mov ax, word [eax + 0xe]
je 0x10137665
test al, 1
jne 0x10137682
test al, 0x60
je 0x10137689
mov dword [esp + 8], ecx
mov dword [esp + 4], str.cannot_UPDATE_generated_column___s_
mov dword [esp], esi
call sym._sqlite3ErrorMsg
jmp 0x10138d83
mov byte [ebp - 0xe5], 1
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov dword [eax + ebx*4], edx
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x8c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx]
jmp 0x10137708
cmp dword [ebp - 0x78], 0
mov ebx, dword [edi + 4]
jne 0x101376eb
mov eax, ebx
call sym._sqlite3IsRowid
test eax, eax
je 0x101376eb
mov eax, dword [edi]
mov ebx, dword [ebp - 0x8c]
mov ecx, str.ROWID
mov byte [ebp - 0x94], 1
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ebx]
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0xf4], ebx
or ebx, 0xffffffff
jmp 0x10137708
mov dword [esp + 8], ebx
mov dword [esp + 4], str.no_such_column:__s
mov dword [esp], esi
call sym._sqlite3ErrorMsg
mov byte [esi + 0x11], 1
jmp 0x10138d83
mov dword [esp + 4], eax
mov edx, 0x17
mov dword [esp], ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov eax, esi
call sym._sqlite3AuthCheck
cmp eax, 1
je 0x10138d83
cmp eax, 2
jne 0x10137738
mov eax, dword [ebp - 0x6c]
mov dword [eax + ebx*4], 0xffffffff
inc dword [ebp - 0x68]
add edi, 0x14
jmp 0x1013759f
mov al, byte [ebp - 0xe5]
add eax, dword [ebp - 0x94]
mov byte [ebp - 0xae], al
mov eax, dword [ebp - 0x5c]
test byte [eax + 0x1c], 0x60
je 0x1013777b
movzx eax, byte [ebp - 0x94]
mov dword [ebp - 0x68], eax
xor edi, edi
xor ebx, ebx
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x22]
cmp ebx, eax
jl 0x101377cf
test edi, edi
jne 0x10137768
mov eax, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x90]
cmp byte [eax + 0x2b], 1
sete al
xor edx, edx
movzx eax, al
neg eax
mov dword [edi + 0x40], eax
adc edx, 0
movzx eax, byte [ebp - 0xae]
neg edx
mov dword [edi + 0x44], edx
mov dword [ebp - 0xd8], eax
mov dword [esp], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x5c]
mov eax, dword [esi]
call sym._sqlite3FkRequired.isra.0
cmp dword [ebp + 0xc], 5
mov dword [ebp - 0xb8], eax
jne 0x10137818
mov dword [ebp - 0x4c], 1
jmp 0x10137818
mov eax, dword [ebp - 0x6c]
cmp dword [eax + ebx*4], 0
jns 0x10137812
mov ecx, dword [ebp - 0x5c]
mov eax, ebx
shl eax, 4
add eax, dword [ecx + 4]
test byte [eax + 0xe], 0x60
je 0x10137812
mov dx, word [eax + 0xc]
mov eax, ecx
call sym._sqlite3ColumnExpr.isra.0
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x6c]
call sym._sqlite3ExprReferencesUpdatedColumn
test eax, eax
je 0x10137812
mov eax, dword [ebp - 0x6c]
mov edi, 1
mov dword [eax + ebx*4], 0x1869f
inc ebx
jmp 0x1013776c
mov eax, dword [ebp - 0x5c]
xor ebx, ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x68], eax
movzx eax, byte [ebp - 0x94]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x68], 0
je 0x1013791d
cmp byte [ebp - 0xae], 0
setne al
cmp dword [ebp - 0xb8], 1
setg dl
or al, dl
jne 0x10137857
mov edi, dword [ebp - 0x68]
cmp dword [ebp - 0x78], edi
jne 0x1013786c
mov edi, dword [ebp - 0x68]
mov eax, dword [esi + 0x2c]
movzx edx, word [edi + 0x34]
inc eax
add edx, eax
mov dword [esi + 0x2c], edx
jmp 0x101378f4
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x10137885
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x6c]
call sym._sqlite3ExprReferencesUpdatedColumn
test eax, eax
jne 0x10137857
xor edi, edi
mov eax, dword [ebp - 0x68]
movzx eax, word [eax + 0x32]
cmp edi, eax
jge 0x101378f8
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
movsx eax, word [eax + edi*2]
test ax, ax
js 0x101378c2
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + eax*4], 0
js 0x101378f1
mov edi, dword [ebp - 0x68]
mov eax, dword [esi + 0x2c]
movzx edx, word [edi + 0x34]
inc eax
add edx, eax
cmp dword [ebp + 0xc], 0xb
mov dword [esi + 0x2c], edx
jne 0x101378f4
jmp 0x101378df
mov ecx, dword [ebp - 0x68]
imul eax, edi, 0x14
mov edx, dword [ebp - 0x6c]
add eax, dword [ecx + 0x28]
mov ecx, dword [ebp - 0x74]
mov eax, dword [eax + 8]
call sym._sqlite3ExprReferencesUpdatedColumn
test eax, eax
je 0x101378f1
jmp 0x101378aa
mov edi, dword [ebp - 0x68]
cmp byte [edi + 0x36], 5
jne 0x101378f4
mov dword [ebp - 0x4c], 1
jmp 0x101378f4
inc edi
jmp 0x10137887
test eax, eax
jne 0x10137905
mov eax, dword [ebp - 0xb4]
mov byte [eax + ebx + 1], 0
xor eax, eax
mov edi, dword [ebp - 0xd0]
mov dword [edi + ebx*4], eax
mov eax, dword [ebp - 0x68]
inc ebx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x68], eax
jmp 0x1013782d
mov eax, dword [esi + 0x2c]
mov edi, dword [ebp - 0xd0]
inc eax
lea edi, [edi + ebx*4]
mov dword [esi + 0x2c], eax
mov dword [edi], eax
cmp dword [ebp - 0x4c], 0
mov dword [ebp - 0xf0], edi
je 0x10137948
mov edi, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x70]
mov al, 1
rep stosb byte es:[edi], al
cmp byte [esi + 0x12], 0
jne 0x10137958
mov eax, dword [ebp - 0x60]
or byte [eax + 0x98], 0x10
mov eax, dword [ebp - 0xc4]
or eax, dword [ebp - 0xb8]
mov eax, esi
setne dl
mov ecx, dword [ebp - 0x7c]
setne byte [ebp - 0xe6]
movzx edx, dl
call sym._sqlite3BeginWriteOperation
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x2b], 1
je 0x10137a1f
mov eax, dword [ebp - 0xf0]
cmp byte [ebp - 0xe5], 0
mov edi, dword [eax]
mov eax, dword [esi + 0x2c]
lea ebx, [eax + 1]
mov dword [ebp - 0x74], ebx
mov dword [esi + 0x2c], ebx
mov ebx, dword [ebp - 0x5c]
movsx edx, word [ebx + 0x22]
jne 0x101379d3
cmp byte [ebp - 0xe6], 0
jne 0x101379d3
cmp byte [ebp - 0xae], 0
mov dword [ebp - 0xdc], 0
jne 0x101379ff
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
jmp 0x10137a0c
add eax, 2
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x74]
add eax, edx
cmp byte [ebp - 0xae], 0
mov dword [esi + 0x2c], eax
jne 0x101379ff
mov eax, dword [ebp - 0x74]
cmp byte [ebp - 0xe6], 0
mov dword [ebp - 0x9c], eax
je 0x10137a0c
mov eax, dword [esi + 0x2c]
inc eax
mov dword [ebp - 0x9c], eax
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
lea ebx, [eax + 1]
add eax, edx
mov dword [ebp - 0xd4], ebx
mov dword [esi + 0x2c], eax
jmp 0x10137a38
xor eax, eax
xor edi, edi
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x74], eax
cmp byte [ebp - 0xad], 2
je 0x10137a4c
cmp dword [ebp - 0x88], 0
jne 0x10137a81
jmp 0x10137a97
mov eax, dword [ebp - 0x5c]
mov edx, dword [esi + 0xf8]
cmp dword [ebp - 0x88], 0
mov eax, dword [eax]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edx
mov dword [esi + 0xf8], eax
jne 0x10137a81
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
mov ecx, dword [ebp + 8]
mov eax, esi
mov edx, dword [ebp - 0x5c]
call sym._sqlite3MaterializeView.constprop.0
jmp 0x10137a97
mov byte [ebp - 0xe7], 0
mov eax, dword [ebp - 0x5c]
cmp byte [eax + 0x2b], 1
jne 0x10137f02
jmp 0x10137ab3
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x38]
call sym._sqlite3ResolveExprNames
test eax, eax
jne 0x10138d83
mov byte [ebp - 0xe7], 1
jmp 0x10137a88
mov eax, dword [esi + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [esi]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x34]
mov eax, dword [ebp - 0x70]
call sym._sqlite3GetVTable.isra.0
mov edx, 0x76
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x22]
add eax, 2
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x90]
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x78], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x64], eax
inc eax
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0x88], eax
lea eax, [edi + 1]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x74]
add eax, edi
mov dword [ebp - 0x8c], eax
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x90]
cmp dword [eax], 1
jle 0x10137c40
mov eax, dword [ebp - 0x5c]
test byte [eax + 0x1c], 0x80
jne 0x10137b6f
cmp dword [ebp - 0x80], 0
je 0x10137b5a
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x70]
xor ecx, ecx
xor ebx, ebx
call sym._sqlite3ExprDup
mov dword [ebp - 0x80], ebx
jmp 0x10137bad
xor ecx, ecx
mov edx, 0x4b
mov eax, esi
mov dword [esp], ecx
xor ecx, ecx
call sym._sqlite3PExpr
jmp 0x10137bad
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
call sym._sqlite3PrimaryKeyIndex.isra.0
mov dword [ebp - 0x80], eax
mov eax, dword [eax + 4]
movsx edx, word [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + edx*4]
test eax, eax
js 0x10137ba6
imul eax, eax, 0x14
mov ebx, dword [ebp - 0x84]
xor ecx, ecx
mov edx, dword [ebx + eax + 8]
mov eax, dword [ebp - 0x70]
call sym._sqlite3ExprDup
jmp 0x10137bad
mov eax, esi
call sym._exprRowColumn
mov edx, eax
mov eax, dword [esi]
call sym._sqlite3ExprListAppend.part.0.isra.0
xor edx, edx
mov dword [ebp - 0x78], edx
mov ebx, eax
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x22]
cmp dword [ebp - 0x78], eax
jge 0x10137c0b
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x78]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x10137bef
imul eax, eax, 0x14
mov edx, dword [ebp - 0x84]
xor ecx, ecx
mov edx, dword [edx + eax + 8]
mov eax, dword [ebp - 0x70]
call sym._sqlite3ExprDup
jmp 0x10137bf9
mov edx, dword [ebp - 0x78]
mov eax, esi
call sym._exprRowColumn
mov ecx, eax
mov edx, ebx
mov eax, esi
call sym._sqlite3ExprListAppend
inc dword [ebp - 0x78]
mov ebx, eax
jmp 0x10137bbd
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x80]
mov eax, esi
mov edx, dword [ebp - 0x64]
call sym._updateFromSelect.constprop.0
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call sym._sqlite3ExprListDelete
jmp 0x10137e06
mov eax, dword [ebp - 0x8c]
xor ebx, ebx
add eax, 2
mov dword [ebp - 0x70], eax
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, esi
mov dword [esp + 0xc], 4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x90]
call sym._sqlite3WhereBegin
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10138d83
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x22]
cmp ebx, eax
jge 0x10137cdd
mov eax, dword [ebp - 0x6c]
lea ecx, [edi + ebx + 3]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x10137cb6
imul eax, eax, 0x14
mov edx, dword [ebp - 0x84]
mov edx, dword [edx + eax + 8]
mov eax, esi
call sym._sqlite3ExprCode
jmp 0x10137cda
mov dword [esp + 4], ecx
mov edx, 0xaf
mov dword [esp], ebx
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
mov eax, dword [ebp - 0x60]
mov edx, 1
call sym._sqlite3VdbeChangeP5
inc ebx
jmp 0x10137c87
mov eax, dword [ebp - 0x5c]
lea ebx, [edi + 2]
test byte [eax + 0x1c], 0x80
jne 0x10137d20
mov eax, dword [ebp - 0x7c]
mov edx, 0x87
mov dword [esp], eax
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
cmp dword [ebp - 0x80], 0
je 0x10137d13
mov edx, dword [ebp - 0x80]
mov ecx, ebx
mov eax, esi
call sym._sqlite3ExprCode
jmp 0x10137d68
mov dword [esp], ebx
mov edx, 0x87
mov ecx, dword [ebp - 0x78]
jmp 0x10137d60
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
call sym._sqlite3PrimaryKeyIndex.isra.0
mov edx, 0xaf
mov eax, dword [eax + 4]
movsx eax, word [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
mov eax, dword [ebp - 0x80]
mov dword [esp], ebx
mov edx, 0x51
lea ecx, [edi + eax + 3]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x68]
movzx ebx, byte [eax + 0x32]
test ebx, ebx
je 0x10137dae
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeChangeToNoop.isra.0
mov ecx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x60]
mov edx, 0x7a
call sym._sqlite3VdbeAddOp1
mov dword [ebp - 0xa8], ebx
jmp 0x10137e54
mov ebx, dword [ebp - 0x8c]
mov eax, esi
call sym._sqlite3MultiWrite
mov edx, 0x61
inc ebx
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
mov eax, dword [ebp - 0x70]
mov edx, 0x7f
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov eax, dword [ebp - 0x70]
mov dword [esp], ebx
mov edx, pe_nt_image_headers32
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
mov eax, dword [ebp - 0x90]
cmp dword [eax], 1
jne 0x10137e19
mov eax, dword [ebp - 0x68]
call sym._sqlite3WhereEnd
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov edx, 0x23
xor ebx, ebx
call sym._sqlite3VdbeAddOp1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x74], ebx
jle 0x10137e54
lea eax, [edi + ebx + 1]
mov dword [esp], ebx
mov edx, 0x5e
inc ebx
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
jmp 0x10137e31
mov edx, dword [ebp - 0x5c]
mov eax, esi
call sym._sqlite3VtabMakeWritable
mov dword [esp + 0xc], 0xfffffff5
mov eax, dword [ebp - 0x94]
xor ecx, ecx
mov edx, 7
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp4
cmp dword [ebp + 0xc], 0xb
mov edx, 2
je 0x10137e9b
movzx edx, word [ebp + 0xc]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeChangeP5
mov eax, esi
call sym._sqlite3MayAbort
cmp dword [ebp - 0xa8], 0
jne 0x10137ef5
mov eax, dword [ebp - 0x88]
mov edx, 0x26
inc eax
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeJumpHere
xor eax, eax
mov edx, 0x7a
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
jmp 0x10138d83
mov eax, dword [ebp - 0x68]
call sym._sqlite3WhereEnd
jmp 0x10138d83
mov dword [ebp - 0xbc], 0
mov eax, dword [esi + 0x38]
dec eax
mov dword [ebp - 0xac], eax
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x70], eax
and eax, 1
je 0x10137f6e
cmp dword [esi + 0x78], 0
jne 0x10137f6e
cmp byte [esi + 0x12], 0
jne 0x10137f6e
cmp byte [esi + 0x95], 0
jne 0x10137f66
cmp dword [ebp + 0x10], 0
jne 0x10137f66
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov edx, 0x47
inc eax
mov dword [ebp - 0xbc], eax
mov dword [esi + 0x2c], eax
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
jmp 0x10137f6e
xor eax, eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0x88], 0
jne 0x10137fea
mov eax, dword [ebp - 0x5c]
test byte [eax + 0x1c], 0x80
jne 0x10137fea
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
xor ecx, ecx
mov edx, 0x4b
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
mov eax, dword [esi + 0x28]
mov edx, 0x76
mov dword [ebp - 0x70], eax
inc eax
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esp + 4], edi
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x98], 0
mov ebx, eax
mov word [ebp - 0xb0], 0
je 0x101381ab
jmp 0x10138176
mov word [ebp - 0xb0], 0
cmp dword [ebp - 0x78], 0
je 0x10138007
mov eax, dword [ebp - 0x78]
mov ax, word [eax + 0x32]
mov word [ebp - 0xb0], ax
mov eax, dword [esi + 0x2c]
lea ebx, [eax + 1]
mov dword [ebp - 0x98], ebx
movsx ebx, word [ebp - 0xb0]
add eax, ebx
mov dword [ebp - 0xa0], ebx
mov ebx, dword [ebp - 0x88]
cmp dword [ebp + 0x10], 0
lea eax, [ebx + eax + 1]
mov dword [ebp - 0x8c], eax
mov dword [esi + 0x2c], eax
jne 0x1013813a
mov eax, ebx
mov ebx, dword [ebp - 0xa0]
lea edx, [eax + ebx]
xor eax, eax
cmp byte [ebp - 0xad], 2
jne 0x1013805c
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x22]
add eax, edx
mov dword [ebp - 0x7c], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x70], eax
inc eax
cmp dword [ebp - 0x78], 0
mov dword [esi + 0x28], eax
je 0x101380db
mov ebx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x98]
xor ecx, ecx
mov edx, 0x4b
lea eax, [eax + ebx - 1]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
mov eax, dword [ebp - 0x7c]
mov edx, 0x76
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov edx, dword [ebp - 0x78]
mov ebx, eax
mov eax, esi
call sym._sqlite3KeyInfoOfIndex
mov edx, eax
test eax, eax
je 0x101380f3
mov eax, dword [ebp - 0x7c]
mov ecx, 0xfffffff8
mov word [edx + 8], ax
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAppendP4
jmp 0x101380f3
mov eax, dword [ebp - 0x7c]
mov edx, 0x76
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov ebx, eax
cmp dword [ebp - 0x88], 0
je 0x101381ab
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
mov ecx, dword [ebp - 0x78]
mov eax, esi
mov edx, dword [ebp - 0x70]
call sym._updateFromSelect.constprop.0
mov eax, dword [ebp - 0x64]
cmp byte [ebp - 0xad], 2
cmove eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
jmp 0x10138148
cmp dword [ebp - 0x88], 0
je 0x1013816f
xor edi, edi
mov dword [ebp - 0x70], edi
mov eax, esi
xor ebx, ebx
call sym._sqlite3MultiWrite
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0x8c], eax
jmp 0x101383da
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x70], ecx
mov dword [esp + 0xc], 0x10
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._sqlite3ExprIfFalse
xor edx, edx
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0xe0], edx
jmp 0x10138271
mov cl, byte [ebp - 0xae]
or cl, byte [esi + 0x12]
mov eax, 4
jne 0x101381d7
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xc4]
or eax, dword [ebp - 0x4c]
or eax, ecx
cmp eax, 1
sbb eax, eax
and eax, 8
add eax, 4
mov ecx, dword [ebp - 0xc8]
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x90]
call sym._sqlite3WhereBegin
mov dword [ebp - 0x68], eax
test eax, eax
je 0x10138d83
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax + 0x32]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x68]
mov al, byte [eax + 0x34]
and eax, 1
cmp dword [ebp - 0x7c], 1
mov dword [ebp - 0xe0], eax
je 0x10138271
mov eax, esi
call sym._sqlite3MultiWrite
cmp dword [ebp - 0x7c], 2
jne 0x10138271
mov eax, dword [ebp - 0x3c]
test eax, eax
js 0x10138271
cmp dword [ebp - 0x64], eax
je 0x10138271
mov ecx, dword [ebp - 0xc0]
sub eax, ecx
mov ecx, dword [ebp - 0xb4]
cmp byte [ecx + eax], 0
sete al
movzx eax, al
add eax, eax
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 0xe4], eax
movsx eax, word [ebp - 0xb0]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x5c]
test byte [eax + 0x1c], 0x80
jne 0x101382f6
mov eax, dword [ebp - 0x74]
mov edx, 0x87
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
cmp dword [ebp - 0x7c], 0
jne 0x101382d9
mov eax, dword [esi + 0x2c]
mov ebx, dword [ebp - 0xf0]
mov edx, pe_nt_image_headers32
inc eax
mov dword [esi + 0x2c], eax
mov dword [ebx], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
jmp 0x101383cf
test ebx, ebx
jne 0x101382ea
xor eax, eax
mov dword [ebp - 0xa0], eax
jmp 0x101383da
mov eax, dword [ebp - 0x60]
mov edx, ebx
call sym._sqlite3VdbeChangeToNoop.isra.0
jmp 0x101382dd
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xe4], eax
jge 0x1013833f
mov edi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x98]
add eax, edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x78]
mov eax, dword [eax + 4]
movsx eax, word [eax + edi*2]
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
call sym._sqlite3ExprCodeGetColumnOfTable
inc dword [ebp - 0xe4]
jmp 0x101382f6
cmp dword [ebp - 0x7c], 0
je 0x10138366
test ebx, ebx
jne 0x1013835a
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
jmp 0x101383da
mov eax, dword [ebp - 0x60]
mov edx, ebx
call sym._sqlite3VdbeChangeToNoop.isra.0
jmp 0x10138349
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0xa4]
call sym._sqlite3IndexAffinityStr
mov edi, dword [ebp - 0xec]
mov edx, 0x61
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
mov eax, dword [ebp - 0x8c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp4
mov eax, dword [ebp - 0xec]
mov edx, 0x8a
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp4Int
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp - 0xac]
jne 0x101386c5
cmp dword [ebp - 0x7c], 2
je 0x10138401
cmp byte [ebp - 0xe7], 0
je 0x10138401
mov eax, dword [ebp - 0x68]
call sym._sqlite3WhereEnd
cmp byte [ebp - 0xad], 2
je 0x101384af
cmp dword [ebp - 0x7c], 0
jne 0x10138418
xor ebx, ebx
jmp 0x1013846f
mov eax, dword [ebp - 0x40]
test eax, eax
js 0x10138431
mov edi, dword [ebp - 0xc0]
sub eax, edi
mov edi, dword [ebp - 0xb4]
mov byte [edi + eax], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
js 0x1013844a
mov edi, dword [ebp - 0xc0]
sub eax, edi
mov edi, dword [ebp - 0xb4]
mov byte [edi + eax], 0
cmp dword [ebp - 0x7c], 2
jne 0x10138414
mov eax, dword [ebp - 0x3c]
not eax
shr eax, 0x1f
cmp dword [ebp - 0xcc], eax
jle 0x10138414
mov eax, dword [ebp - 0x60]
mov edx, 0xe
call sym._sqlite3VdbeAddOp0
mov ebx, eax
xor edi, edi
mov ecx, 0x71
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edi
mov eax, dword [ebp - 0xb4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc0]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
mov edx, dword [ebp - 0x5c]
mov eax, esi
call sym._sqlite3OpenTableAndIndices
test ebx, ebx
je 0x101384af
mov eax, dword [ebp - 0x60]
mov edx, ebx
call sym._sqlite3VdbeJumpHereOrPopInst
cmp dword [ebp - 0x7c], 0
je 0x1013852d
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x40], eax
je 0x101384ef
cmp dword [ebp - 0x3c], eax
je 0x101384ef
mov eax, dword [ebp - 0xa0]
mov edx, 0x1b
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp4Int
cmp dword [ebp - 0x7c], 1
mov edi, dword [ebp - 0xac]
je 0x10138504
mov eax, dword [esi + 0x38]
lea edi, [eax - 1]
mov dword [esi + 0x38], edi
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x74]
mov edx, 0x32
cmp dword [ebp - 0x78], 0
cmovne ecx, dword [ebp - 0x8c]
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
jmp 0x101386c5
mov eax, dword [ebp - 0x78]
or eax, dword [ebp - 0x88]
je 0x10138662
mov eax, dword [esi + 0x38]
mov edx, 0x23
lea edi, [eax - 1]
mov eax, dword [ebp - 0xac]
mov dword [esi + 0x38], edi
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x88], 0
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0xb4], eax
je 0x10138624
cmp byte [ebp - 0xad], 2
je 0x10138612
movsx eax, word [ebp - 0xb0]
xor ebx, ebx
cmp dword [ebp - 0x78], 0
mov dword [ebp - 0x80], eax
je 0x101385e2
mov eax, dword [ebp - 0x80]
cmp ebx, eax
jge 0x101385bf
mov eax, dword [ebp - 0x98]
mov dword [esp], ebx
mov edx, 0x5e
add eax, ebx
inc ebx
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
jmp 0x10138596
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x98]
mov edx, 0x1b
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp4Int
jmp 0x10138612
mov eax, dword [ebp - 0x74]
mov edx, 0x87
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
mov edx, 0x1e
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
cmp byte [ebp - 0x94], 0
jne 0x101386f1
jmp 0x10138727
mov eax, dword [ebp - 0x8c]
mov edx, 0x86
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
xor ecx, ecx
mov edx, 0x1b
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x8c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp4Int
jmp 0x101386ba
mov eax, dword [ebp - 0xac]
mov edx, 0x23
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov eax, dword [esi + 0x38]
mov edx, 0x87
lea edi, [eax - 1]
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x38], edi
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov edx, 0x1e
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
cmp byte [ebp - 0x94], 0
jne 0x101386df
jmp 0x10138727
xor edx, edx
cmp byte [ebp - 0x94], 0
mov dword [ebp - 0xb4], edx
je 0x10138727
cmp dword [ebp - 0x88], 0
jne 0x101386f1
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x80]
mov eax, esi
call sym._sqlite3ExprCode
jmp 0x10138714
mov eax, dword [ebp - 0x9c]
mov edx, 0x5e
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xf4]
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x60]
mov edx, 0xc
call sym._sqlite3VdbeAddOp1
cmp byte [ebp - 0xe5], 0
jne 0x1013873d
cmp byte [ebp - 0xe6], 0
je 0x1013882c
xor ebx, ebx
cmp dword [ebp - 0xb8], 0
je 0x10138754
mov edx, dword [ebp - 0x5c]
mov eax, esi
call sym._sqlite3FkOldmask
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], 3
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
mov ecx, dword [ebp - 0x84]
mov eax, esi
mov edx, dword [ebp - 0xc4]
call sym._sqlite3TriggerColmask
or eax, ebx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x22]
cmp ebx, eax
jge 0x10138804
mov ecx, dword [ebp - 0x5c]
mov eax, ebx
mov edx, ebx
shl eax, 4
add eax, dword [ecx + 4]
mov ax, word [eax + 0xe]
mov word [ebp - 0x98], ax
mov eax, ecx
call sym._sqlite3TableColumnToStorage
mov ecx, dword [ebp - 0xdc]
cwde
add eax, ecx
cmp dword [ebp - 0x80], 0xffffffff
je 0x101387d8
cmp ebx, 0x1f
jg 0x101387cf
mov ecx, dword [ebp - 0x80]
bt ecx, ebx
jb 0x101387d8
test byte [ebp - 0x98], 1
je 0x101387ef
mov dword [esp + 4], eax
mov dword [esp], ebx
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
call sym._sqlite3ExprCodeGetColumnOfTable
jmp 0x10138801
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov edx, 0x4b
call sym._sqlite3VdbeAddOp2
inc ebx
jmp 0x10138789
cmp byte [ebp - 0x94], 0
jne 0x1013882c
cmp dword [ebp - 0x78], 0
jne 0x1013882c
mov eax, dword [ebp - 0x9c]
mov edx, 0x50
mov dword [esp], eax
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, esi
mov dword [esp], 1
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0xc4]
call sym._sqlite3TriggerColmask
mov ebx, dword [ebp - 0xd4]
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
movsx edx, word [eax + 0x22]
cmp dword [ebp - 0x80], edx
jge 0x10138963
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x80]
movsx eax, word [eax + 0x20]
cmp eax, ecx
je 0x10138948
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x5c]
shl eax, 4
add eax, dword [ecx + 4]
mov ax, word [eax + 0xe]
test al, 0x60
je 0x101388b2
and eax, 0x20
cmp ax, 1
adc ebx, 0xffffffff
jmp 0x1013895a
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x80]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x1013890b
cmp dword [ebp - 0x88], 0
je 0x101388f3
cmp byte [ebp - 0xad], 2
je 0x101388d8
movsx edx, word [ebp - 0xb0]
add eax, edx
mov dword [esp + 4], ebx
mov edx, 0x5e
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
jmp 0x1013895a
imul eax, eax, 0x14
mov edx, dword [ebp - 0x84]
mov ecx, ebx
mov edx, dword [edx + eax + 8]
mov eax, esi
call sym._sqlite3ExprCode
jmp 0x1013895a
test byte [ebp - 0x50], 1
je 0x10138926
cmp dword [ebp - 0x80], 0x1f
jg 0x10138926
mov eax, dword [ebp - 0x94]
mov cl, byte [ebp - 0x80]
shr eax, cl
test al, 1
je 0x10138948
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
call sym._sqlite3ExprCodeGetColumnOfTable
xor eax, eax
mov dword [ebp - 0xe0], eax
jmp 0x1013895a
mov dword [esp], ebx
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov edx, 0x4b
call sym._sqlite3VdbeAddOp2
inc dword [ebp - 0x80]
inc ebx
jmp 0x1013886d
test byte [eax + 0x1c], 0x60
je 0x10138978
mov edx, dword [ebp - 0xd4]
mov ecx, eax
mov eax, esi
call sym._sqlite3ComputeGeneratedColumns
test byte [ebp - 0x50], 1
je 0x10138aaf
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
call sym._sqlite3TableAffinity
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0xc]
mov ecx, 0x81
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
mov edx, dword [ebp - 0xc4]
mov eax, esi
call sym._sqlite3CodeRowTrigger
cmp byte [ebp - 0xad], 2
je 0x10138ca7
cmp dword [ebp - 0x78], 0
je 0x10138a0b
mov eax, dword [ebp - 0xa0]
mov edx, 0x1b
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp4Int
jmp 0x10138a25
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
mov edx, 0x1e
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
mov ebx, dword [ebp - 0xd4]
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x22]
cmp dword [ebp - 0xa8], eax
jge 0x10138a95
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x5c]
shl eax, 4
add eax, dword [ecx + 4]
mov ax, word [eax + 0xe]
test al, 0x60
je 0x10138a5d
and eax, 0x20
cmp ax, 1
adc ebx, 0xffffffff
jmp 0x10138a8c
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xa8]
cmp dword [eax + ecx*4], 0
jns 0x10138a8c
mov eax, dword [ebp - 0x5c]
movsx eax, word [eax + 0x20]
cmp ecx, eax
je 0x10138a8c
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x60]
call sym._sqlite3ExprCodeGetColumnOfTable
inc dword [ebp - 0xa8]
inc ebx
jmp 0x10138a2b
mov eax, dword [ebp - 0x5c]
test byte [eax + 0x1c], 0x60
je 0x10138abc
mov edx, dword [ebp - 0xd4]
mov ecx, eax
mov eax, esi
call sym._sqlite3ComputeGeneratedColumns
jmp 0x10138abc
cmp byte [ebp - 0xad], 2
je 0x10138ca7
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0xd8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
mov ecx, dword [ebp - 0xd0]
mov eax, esi
mov edx, dword [ebp - 0x5c]
call sym._sqlite3GenerateConstraintChecks
cmp byte [ebp - 0xae], 0
setne bl
cmp dword [ebp - 0x4c], 0
jne 0x10138b2b
test bl, bl
je 0x10138b74
cmp dword [ebp - 0x78], 0
je 0x10138b5a
mov eax, dword [ebp - 0xa0]
mov edx, 0x1b
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp], edi
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp4Int
jmp 0x10138b74
mov eax, dword [ebp - 0x74]
mov dword [esp], edi
mov edx, 0x1e
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp3
cmp dword [ebp - 0xb8], 0
je 0x10138ba0
mov eax, dword [ebp - 0xd8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp], eax
mov ecx, dword [ebp - 0x74]
mov eax, esi
mov edx, dword [ebp - 0x5c]
call sym._sqlite3FkCheck
mov dword [esp + 8], 0xffffffff
mov eax, dword [ebp - 0xd0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov eax, esi
mov edx, dword [ebp - 0x5c]
call sym._sqlite3GenerateRowIndexDelete
cmp dword [ebp - 0xe0], 0
je 0x10138be1
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov edx, 0x8f
call sym._sqlite3VdbeAddOp1
cmp dword [ebp - 0xb8], 1
jg 0x10138bee
test bl, bl
je 0x10138c03
xor ecx, ecx
mov edx, 0x82
mov dword [esp], ecx
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
cmp dword [ebp - 0xb8], 0
je 0x10138c32
mov eax, dword [ebp - 0xd8]
xor ecx, ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
mov edx, dword [ebp - 0x5c]
mov eax, esi
call sym._sqlite3FkCheck
xor eax, eax
cmp dword [ebp - 0x7c], 2
sete al
xor edx, edx
lea eax, [eax + eax + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xd0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov eax, esi
mov edx, dword [ebp - 0x5c]
call sym._sqlite3CompleteInsertion
cmp dword [ebp - 0xb8], 0
je 0x10138ca7
mov eax, dword [ebp - 0xd8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
mov ecx, dword [ebp - 0x84]
mov eax, esi
mov edx, dword [ebp - 0x5c]
call sym._sqlite3FkActions
cmp dword [ebp - 0xbc], 0
je 0x10138cca
mov dword [esp], 1
mov eax, dword [ebp - 0x60]
mov edx, 0x56
mov ecx, dword [ebp - 0xbc]
call sym._sqlite3VdbeAddOp2
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0xc]
mov ecx, 0x81
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], 2
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
mov edx, dword [ebp - 0xc4]
mov eax, esi
call sym._sqlite3CodeRowTrigger
cmp dword [ebp - 0x7c], 1
je 0x10138d44
cmp dword [ebp - 0x7c], 2
mov eax, dword [ebp - 0x60]
mov edx, edi
jne 0x10138d26
call sym._sqlite3VdbeResolveLabel
mov eax, dword [ebp - 0x68]
call sym._sqlite3WhereEnd
jmp 0x10138d44
call sym._sqlite3VdbeResolveLabel
mov eax, dword [ebp - 0xb4]
mov edx, 0x26
mov dword [esp], eax
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeAddOp2
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x60]
call sym._sqlite3VdbeResolveLabel
cmp byte [esi + 0x12], 0
jne 0x10138d67
mov eax, dword [ebp + 0x10]
or eax, dword [esi + 0x78]
jne 0x10138d67
mov eax, esi
call sym._sqlite3AutoincrementEnd
cmp dword [ebp - 0xbc], 0
je 0x10138d83
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x60]
mov ecx, str.rows_updated
call sym._sqlite3CodeChangeCount
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10138d98
mov edx, dword [ebp - 0x48]
mov dword [eax + 0xf8], edx
xor eax, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sym._sqlite3DbFree
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xa4]
call sym._sqlite3SrcListDelete
mov eax, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sym._sqlite3ExprListDelete
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
call sym._sqlite3ExprDelete
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret