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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x40], eax
or eax, 0x40
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x57], 0
jne 0x10119c50
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], 1
and eax, 0x40
mov dword [ebp - 0x74], eax
jne 0x1011a1a7
mov eax, dword [ebp + 8]
cmp word [eax + 0x14], 0
je 0x10119247
mov eax, dword [edi + 0x64]
inc eax
mov dword [edi + 0x64], eax
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x108], 0
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
je 0x101192a0
bt dword [ebp - 0x40], 0x15
jae 0x101192a0
test eax, eax
je 0x10119282
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
mov dword [eax + 4], 1
jmp 0x101192a0
mov eax, dword [ebp - 0x2c]
mov edx, 0x24
xor ecx, ecx
call sym._sqlite3DbMallocZero
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x40], eax
test eax, eax
jne 0x10119273
jmp 0x10119c50
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [eax + 0x40]
mov eax, edi
call sym._sqlite3WithPush
mov edx, dword [ebp - 0x5c]
mov eax, edi
call sym._sqlite3SrcListAssignCursors
mov eax, dword [ebp - 0x5c]
add eax, 8
mov dword [ebp - 0x84], eax
mov esi, eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x50]
cmp dword [eax], ebx
jle 0x10119888
cmp dword [esi + 0x10], 0
je 0x101192e8
inc dword [ebp - 0x50]
add esi, 0x48
jmp 0x101192cc
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x10119396
mov edx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
test eax, eax
jne 0x10119c50
mov eax, dword [esi + 0x14]
mov edx, 0x40
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
call sym._sqlite3DbMallocZero
mov dword [esi + 0x10], eax
mov ebx, eax
test eax, eax
je 0x10119c50
mov edx, dword [esi + 0xc]
mov dword [eax + 0x18], 1
mov eax, dword [edi]
test edx, edx
je 0x1011933e
call sym._sqlite3DbStrDup
jmp 0x10119352
mov dword [esp + 8], esi
mov dword [esp + 4], 0x101fc12b
mov dword [esp], eax
call sym._sqlite3MPrintf
mov dword [ebx], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x30], ecx
test ecx, ecx
jne 0x10119354
mov edx, dword [eax + 0x1c]
lea eax, [ebx + 4]
lea ecx, [ebx + 0x22]
mov dword [esp], eax
mov eax, dword [edi]
call sym._sqlite3ColumnsFromExprList.isra.0
or dword [ebx + 0x1c], 0x4200
cmp dword [edi + 0x24], 0
mov word [ebx + 0x20], 0xffff
mov word [ebx + 0x26], 0xc8
je 0x10119868
jmp 0x10119c50
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x10119722
cmp dword [edi + 0x24], 0
jne 0x10119722
cmp dword [esi + 4], 0
jne 0x10119722
test byte [esi + 0x29], 2
jne 0x10119722
mov eax, dword [ebp - 0x38]
xor ebx, ebx
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp ebx, eax
jge 0x10119424
imul eax, ebx, 0x18
mov dword [ebp - 0x3c], ecx
imul edx, ebx, 0x18
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + edx + 0xc]
mov eax, ecx
mov dword [ebp - 0x44], edx
call sym._sqlite3StrICmp
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x44]
test eax, eax
jne 0x10119421
mov eax, dword [edi]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
add eax, ebx
mov dword [ebp - 0x34], eax
mov eax, dword [eax + 0x18]
test eax, eax
je 0x10119440
mov dword [esp + 8], edx
mov dword [esp + 4], eax
jmp 0x10119960
inc ebx
jmp 0x101193cf
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jne 0x10119722
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x101193c5
jmp 0x10119722
test byte [esi + 0x28], 4
je 0x1011944f
mov dword [esp + 8], ecx
jmp 0x1011977c
mov eax, dword [ebp - 0x44]
mov edx, 0x40
xor ecx, ecx
call sym._sqlite3DbMallocZero
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10119c50
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
jne 0x101194c0
mov eax, dword [ebp - 0x44]
mov edx, 0x14
xor ecx, ecx
call sym._sqlite3DbMallocZero
mov ebx, eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x1c], ebx
test ebx, ebx
jne 0x101194a5
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._sqlite3DbFree
jmp 0x10119c50
mov ecx, ebx
mov edx, sym._sqlite3DbFree
mov eax, edi
call sym._sqlite3ParserAddCleanup
test eax, eax
je 0x1011948e
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 0x20]
mov byte [ebx + 0x12], al
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x10], eax
mov dword [eax + 0x18], 1
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
call sym._sqlite3DbStrDup
mov ecx, dword [ebp - 0x30]
or dword [ecx + 0x1c], 0x4200
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
mov word [ecx + 0x20], 0xffff
mov word [ecx + 0x26], 0xc8
mov edx, dword [eax + 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x44]
call sym._sqlite3SelectDup
mov dword [esi + 0x14], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
cmp byte [eax + 0x57], 0
jne 0x10119c50
mov eax, dword [ebp - 0x3c]
or dword [eax + 4], 0x4000000
test byte [esi + 0x28], 2
je 0x1011953a
mov eax, dword [esi + 0x40]
mov dword [esp + 4], str.no_such_index:___s_
mov dword [esp + 8], eax
jmp 0x10119960
or byte [esi + 0x29], 1
mov eax, dword [ebx]
mov dword [esi + 0x44], ebx
inc eax
mov dword [ebx], eax
dec eax
jle 0x10119553
cmp byte [ebx + 0x12], 1
jne 0x10119553
mov byte [ebx + 0x12], 0
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], 0xffffffff
mov al, byte [eax]
mov byte [ebp - 0x54], al
add eax, 0x7a
mov byte [ebp - 0x58], al
cmp al, 1
jbe 0x101195d1
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x18], str.circular_reference:__s
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0x3c]
test byte [eax + 5], 0x20
je 0x10119662
mov eax, dword [ebp - 0x3c]
mov edx, ebx
mov eax, dword [eax + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
xor ecx, ecx
mov dword [ebx + 0x40], ecx
jmp 0x1011966d
cmp dword [ecx], 0
je 0x101195f0
inc dword [ebp - 0x4c]
add ecx, 0x48
mov edx, dword [ebp - 0x64]
cmp dword [ebp - 0x4c], edx
jl 0x101195b5
test byte [ebx + 5], 0x20
je 0x1011956f
mov ebx, dword [ebx + 0x34]
mov al, byte [ebp - 0x54]
cmp al, byte [ebx]
jne 0x1011956f
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x48]
lea ecx, [eax + 0xc]
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x101195c0
mov eax, dword [ecx + 4]
test eax, eax
je 0x101195ba
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x68], edx
call sym._sqlite3StrICmp
mov ecx, dword [ebp - 0x6c]
test eax, eax
jne 0x101195ba
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x48]
mov dword [ecx + 0xc], eax
inc dword [eax + 0x18]
imul eax, dword [ebp - 0x4c], 0x48
or byte [edx + eax + 0x30], 0x40
mov eax, dword [ebx + 4]
mov edx, dword [ebp - 0x68]
bt eax, 0xd
jae 0x10119641
mov dword [esp + 8], edx
mov dword [esp + 4], str.multiple_references_to_recursive_table:__s
jmp 0x10119960
or ah, 0x20
cmp dword [ebp - 0x44], 0
mov dword [ebx + 4], eax
jns 0x10119657
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x44], eax
inc eax
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x44]
mov dword [ecx + 0x28], eax
jmp 0x101195ba
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
test eax, eax
jne 0x101196be
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x108], eax
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov eax, dword [eax + 0x34]
test eax, eax
jne 0x1011967d
mov ebx, dword [ebp - 0x34]
mov eax, dword [edx + 0x1c]
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x101196cc
test eax, eax
je 0x101196ce
mov eax, dword [eax]
mov ecx, dword [edx]
cmp eax, ecx
je 0x101196ce
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], str.table__s_has__d_values_for__d_columns
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x108], eax
jmp 0x10119c50
mov edx, eax
mov eax, dword [ebp - 0x30]
lea ecx, [eax + 0x22]
add eax, 4
mov dword [esp], eax
mov eax, dword [edi]
call sym._sqlite3ColumnsFromExprList.isra.0
cmp byte [ebp - 0x58], 1
ja 0x1011970c
mov eax, dword [ebp - 0x3c]
mov edx, str.multiple_recursive_references:__s
mov ecx, dword [ebp - 0x34]
test byte [eax + 5], 0x20
mov eax, str.recursive_reference_in_a_subquery:__s
cmovne eax, edx
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x108], eax
jmp 0x10119868
mov ecx, esi
xor edx, edx
mov eax, edi
call sym._sqlite3LocateTableItem
mov dword [esi + 0x10], eax
mov ebx, eax
test eax, eax
je 0x10119c50
mov eax, dword [eax + 0x18]
cmp eax, 0xfffe
jbe 0x10119764
mov eax, dword [ebx]
mov dword [esp + 4], str.too_many_references_to___s_:_max_65535
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sqlite3ErrorMsg
xor eax, eax
mov dword [esi + 0x10], eax
jmp 0x10119c50
inc eax
mov dword [ebx + 0x18], eax
mov al, byte [ebx + 0x2b]
cmp al, 1
je 0x10119791
test byte [esi + 0x28], 4
je 0x10119789
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_is_not_a_function
jmp 0x10119960
test al, al
je 0x10119868
mov eax, dword [ebp + 8]
mov edx, ebx
mov eax, dword [eax + 0x14]
mov word [ebp - 0x30], ax
mov eax, edi
call sym._sqlite3ViewGetColumnNames
test eax, eax
jne 0x10119c50
mov al, byte [ebx + 0x2b]
cmp al, 2
jne 0x101197fc
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x34], eax
and eax, 0x80000000
or eax, 0
jne 0x101197ea
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp dword [ebx + 0x3c], eax
je 0x101197ea
mov eax, dword [ebx]
mov dword [esp + 4], str.access_to_view___s__prohibited
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sqlite3ErrorMsg
mov edx, dword [ebx + 0x2c]
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
call sym._sqlite3SelectDup
mov dword [esi + 0x14], eax
jmp 0x10119838
dec al
jne 0x10119838
cmp byte [esi + 0x28], 0
jns 0x10119838
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x10119838
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x20]
shrd eax, edx, 7
and eax, 1
cmp al, byte [ecx + 0x11]
jae 0x10119838
mov eax, dword [ebx]
mov dword [esp + 4], str.unsafe_use_of_virtual_table___s_
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sqlite3ErrorMsg
mov eax, dword [ebp + 8]
mov cx, word [ebx + 0x22]
mov word [ebx + 0x22], 0xffff
mov edx, dword [esi + 0x14]
mov word [eax + 0x14], 1
mov dword [ebp - 0x34], ecx
call sym._sqlite3WalkSelect
mov ecx, dword [ebp + 8]
movzx eax, byte [ebp - 0x30]
mov word [ecx + 0x14], ax
mov ecx, dword [ebp - 0x34]
mov word [ebx + 0x22], cx
test byte [esi + 0x28], 2
je 0x101192e0
mov edx, esi
mov eax, edi
call sym._sqlite3IndexedByLookup
test eax, eax
je 0x101192e0
jmp 0x10119c50
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x10119c50
mov eax, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x34], esi
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x30], eax
lea ebx, [eax + 0x50]
jmp 0x10119911
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
shl eax, 4
add eax, dword [ecx + 4]
test byte [eax + 0xe], 2
je 0x1011997e
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
movsx eax, word [eax + 0x22]
cmp dword [ebp - 0x38], eax
jl 0x101198a9
test esi, esi
je 0x101198d9
or byte [ebx + 0x29], 0x14
mov dword [ebx + 0x30], esi
cmp dword [edi + 0x24], 0
jne 0x10119c50
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x44], eax
test byte [ebx + 0x29], 4
je 0x10119bc4
mov eax, dword [edi]
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x50]
cmp esi, dword [eax]
jl 0x101199e0
inc dword [ebp - 0x34]
add ebx, 0x48
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
dec eax
cmp dword [ebp - 0x34], eax
jge 0x10119c5c
mov eax, dword [ebx + 0x10]
cmp dword [ebx - 0x38], 0
mov dword [ebp - 0x48], eax
je 0x1011990b
test eax, eax
je 0x1011990b
mov al, byte [ebx + 0x24]
mov edx, eax
and edx, 0x20
neg dl
mov dl, byte [ebx + 0x29]
sbb esi, esi
mov dword [ebp - 0x58], esi
add dword [ebp - 0x58], 2
test al, 4
je 0x101198e3
and dl, 4
je 0x1011996d
xor ecx, ecx
mov dword [esp + 4], str.a_NATURAL_join_may_not_have_an_ON_or_USING_clause
mov dword [esp + 8], ecx
mov dword [esp], edi
call sym._sqlite3ErrorMsg
jmp 0x10119c50
mov esi, dword [ebx + 0x30]
test esi, esi
jne 0x10119952
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x101198c2
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x3c], eax
mov dword [esp + 8], edx
mov dword [esp + 4], edx
xor edx, edx
mov dword [esp + 0xc], 1
mov dword [esp], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call sym._tableAndColumnIndex
test eax, eax
je 0x101198bf
mov edx, esi
xor ecx, ecx
mov eax, edi
call sym._sqlite3IdListAppend
mov esi, eax
test eax, eax
je 0x101198bf
mov eax, dword [eax]
mov edx, dword [ebp - 0x3c]
lea ecx, [eax - 1]
mov eax, dword [edi]
mov dword [ebp - 0x44], ecx
call sym._sqlite3DbStrDup
mov ecx, dword [ebp - 0x44]
mov dword [esi + ecx*8 + 8], eax
jmp 0x101198bf
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x50]
mov eax, dword [eax + esi*8 + 8]
mov dword [ebp - 0x38], eax
mov edx, eax
mov eax, dword [ebp - 0x48]
call sym._sqlite3ColumnIndex
mov dword [ebp - 0x54], eax
test eax, eax
jns 0x10119a12
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], str.cannot_join_using_column__s___column_not_present_in_both_tables
mov dword [esp + 8], eax
jmp 0x10119960
mov al, byte [ebx + 0x29]
xor edx, edx
shr al, 4
and eax, 1
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call sym._tableAndColumnIndex
test eax, eax
je 0x101199fe
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
mov ecx, esi
imul esi, esi, 0x48
mov dword [esp], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
call sym._sqlite3CreateColumnExpr
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
lea eax, [eax + esi + 8]
call sym._sqlite3SrcItemColumnUsed
mov eax, dword [ebp - 0x30]
test byte [eax + 0x2c], 0x40
je 0x10119b62
xor esi, esi
mov eax, dword [ebp - 0x20]
lea edx, [eax + 1]
mov al, byte [ebx + 0x29]
shr al, 4
and eax, 1
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x1c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
call sym._tableAndColumnIndex
test eax, eax
je 0x10119b3c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x64], eax
imul eax, eax, 0x48
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x70]
add eax, ecx
test byte [eax + 0x31], 4
je 0x10119ae4
mov edx, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x10119afd
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], str.ambiguous_reference_to__s_in_USING__
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sqlite3ErrorMsg
jmp 0x10119b3c
mov ecx, dword [ebp - 0x3c]
mov edx, esi
mov eax, edi
call sym._sqlite3ExprListAppend
mov esi, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov dword [esp], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
call sym._sqlite3CreateColumnExpr
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
lea eax, [eax + ecx + 8]
call sym._sqlite3SrcItemColumnUsed
jmp 0x10119a81
test esi, esi
je 0x10119b62
mov ecx, dword [ebp - 0x3c]
mov edx, esi
mov eax, edi
call sym._sqlite3ExprListAppend
mov ecx, 0x10200800
mov edx, eax
xor eax, eax
mov dword [esp], eax
mov eax, edi
call sym._sqlite3ExprFunction
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
call sym._sqlite3CreateColumnExpr
mov edx, dword [ebp - 0x54]
mov esi, eax
mov eax, ebx
call sym._sqlite3SrcItemColumnUsed
mov dword [esp], esi
mov ecx, dword [ebp - 0x3c]
mov edx, 0x35
mov eax, edi
call sym._sqlite3PExpr
mov ecx, eax
test eax, eax
je 0x10119ba9
mov eax, dword [ebp - 0x58]
or dword [ecx + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x24]
mov eax, edi
call sym._sqlite3ExprAnd
mov esi, dword [ebp + 0xc]
inc dword [ebp - 0x50]
mov dword [esi + 0x24], eax
jmp 0x101198fd
cmp dword [ebp - 0x44], 0
je 0x1011990b
mov edx, dword [ebx + 0x2c]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
call sym._sqlite3SetJoinExpr
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x24]
mov eax, edi
call sym._sqlite3ExprAnd
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x24], eax
xor esi, esi
or byte [ebx + 0x29], 8
mov dword [ebx + 0x30], esi
jmp 0x1011990b
imul edx, eax, 0x14
mov esi, dword [ebp - 0x60]
mov edx, dword [esi + edx + 8]
mov cl, byte [edx]
cmp cl, 0xb4
je 0x10119c6d
cmp cl, 0x8d
je 0x10119c65
mov ecx, dword [edx + 4]
or dword [ebp - 0x74], ecx
inc eax
cmp ebx, eax
jg 0x10119c00
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1011a1a7
mov esi, dword [ebp - 0x2c]
mov esi, dword [esi + 0x80]
cmp dword [eax], esi
jle 0x1011a194
mov dword [esp + 4], str.too_many_columns_in_result_set
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov dword [ebp - 0x6c], 2
jmp 0x1011a1a7
mov eax, dword [ebp - 0x60]
mov ebx, dword [eax]
xor eax, eax
jmp 0x10119c1d
mov ecx, dword [edx + 0x10]
cmp byte [ecx], 0xb4
jne 0x10119c16
mov eax, dword [edi]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x80], ebx
mov eax, dword [eax + 0x20]
and eax, 0x44
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
add eax, 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x80]
cmp dword [eax], ebx
jle 0x1011a17a
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov ebx, dword [eax + 4]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x48], eax
mov al, byte [eax]
or dword [ebp - 0x74], ebx
cmp al, 0xb4
je 0x10119d0f
cmp al, 0x8d
jne 0x10119cb9
cmp byte [edx], 0xb4
je 0x10119d01
mov ecx, dword [ebp - 0x48]
mov edx, esi
mov eax, edi
call sym._sqlite3ExprListAppend
mov esi, eax
test eax, eax
je 0x10119cf5
mov eax, dword [eax]
mov ebx, dword [ebp - 0x3c]
dec eax
mov edx, dword [ebx + 4]
imul eax, eax, 0x14
add eax, esi
mov dword [eax + 0xc], edx
mov dl, byte [eax + 0x14]
mov cl, byte [ebx + 0xc]
and edx, 0xfffffffc
mov byte [ebp - 0x30], cl
and ecx, 3
or edx, ecx
xor ecx, ecx
mov byte [eax + 0x14], dl
mov dword [ebx + 4], ecx
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [eax], edx
jmp 0x1011a16e
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
jmp 0x10119d14
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x5c]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x4c]
cmp ebx, eax
jle 0x1011a139
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
test eax, eax
jne 0x10119d55
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
cmp byte [eax + 0x57], 0
jne 0x1011a139
mov eax, dword [ebp - 0x30]
test byte [eax + 0x29], 0x20
je 0x10119d7b
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
jmp 0x10119dc2
cmp dword [ebp - 0x34], 0
je 0x10119d94
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
call sym._sqlite3StrICmp
test eax, eax
jne 0x1011a12d
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x2c]
call sym._sqlite3SchemaToIndex
test eax, eax
js 0x10119db6
mov ecx, dword [ebp - 0x2c]
shl eax, 4
add eax, dword [ecx + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
jmp 0x10119dbd
mov dword [ebp - 0x54], 0x101f8466
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x58], edx
inc eax
cmp eax, ebx
jge 0x10119e59
mov eax, dword [ebp - 0x30]
test byte [eax + 0x71], 4
je 0x10119e59
bt dword [ebp - 0x40], 0xb
jae 0x10119e59
mov eax, dword [eax + 0x78]
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x38]
cmp dword [eax], ebx
jle 0x10119e59
mov eax, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x38]
mov edx, 0x3b
mov ebx, dword [eax + ebx*8 + 8]
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
call sym._sqlite3Expr
mov edx, esi
mov ecx, eax
mov eax, edi
call sym._sqlite3ExprListAppend
mov esi, eax
test eax, eax
je 0x10119e54
mov eax, dword [eax]
dec eax
mov dword [ebp - 0x70], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str..._s
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._sqlite3MPrintf
imul ebx, dword [ebp - 0x70], 0x14
add ebx, esi
mov dword [ebx + 0xc], eax
mov al, byte [ebx + 0x14]
and eax, 0x7c
or eax, 0xffffff82
mov byte [ebx + 0x14], al
inc dword [ebp - 0x38]
jmp 0x10119dee
mov eax, dword [ebp - 0x50]
xor edx, edx
mov dword [ebp - 0x70], edx
add eax, 8
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x70]
movsx eax, word [eax + 0x22]
cmp eax, ebx
jle 0x1011a12d
mov eax, dword [ebp - 0x70]
shl eax, 4
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x7c]
add ebx, dword [eax + 4]
cmp dword [ebp - 0x34], 0
mov eax, dword [ebx]
mov dword [ebp - 0x38], eax
je 0x10119eb6
cmp dword [ebp - 0x50], 0
je 0x10119eb6
xor eax, eax
xor edx, edx
mov dword [esp], eax
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x78]
call sym._sqlite3MatchEName
test eax, eax
je 0x1011a11a
mov ecx, dword [ebp + 0xc]
mov ax, word [ebx + 0xe]
test byte [ecx + 6], 2
jne 0x10119ecb
test al, 2
jne 0x1011a11a
test ah, 4
je 0x10119ee2
cmp dword [ebp - 0x34], 0
jne 0x10119f11
bt dword [ebp - 0x40], 0xb
jb 0x10119f11
jmp 0x1011a11a
cmp dword [ebp - 0x4c], 0
je 0x10119f11
mov eax, dword [ebp - 0x40]
and eax, 0x800
or eax, dword [ebp - 0x34]
jne 0x10119f11
mov eax, dword [ebp - 0x30]
test byte [eax + 0x29], 4
je 0x10119f11
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1011a113
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov edx, 0x3b
call sym._sqlite3Expr
mov ebx, eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp eax, 1
jle 0x10119f7e
mov ecx, dword [ebp - 0x30]
test byte [ecx + 0x24], 0x40
je 0x10119f87
bt dword [ebp - 0x40], 0xb
jb 0x10119f87
mov ecx, dword [ebp - 0x4c]
sub eax, ecx
dec eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x68], 0
jle 0x10119f87
dec dword [ebp - 0x68]
lea ecx, [eax + 0x48]
test byte [eax + 0x71], 4
je 0x10119f7a
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x10119f7a
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x8c], ecx
call sym._sqlite3IdListIndex
test eax, eax
jns 0x10119f7e
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
jmp 0x10119f49
cmp byte [edi + 0xd0], 1
jbe 0x10119ff7
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x2c]
mov edx, 0x3b
call sym._sqlite3Expr
mov edx, 0x8d
mov dword [ebp - 0x68], eax
mov ecx, eax
mov eax, edi
mov dword [esp], ebx
call sym._sqlite3PExpr
cmp byte [edi + 0xd0], 1
mov ebx, eax
jbe 0x10119fce
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x10119fce
mov eax, dword [edi + 0x10c]
mov edx, dword [ebp - 0x68]
call sym._sqlite3RenameTokenRemap.isra.0
cmp dword [ebp - 0x54], 0
je 0x10119ff7
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
mov edx, 0x3b
call sym._sqlite3Expr
mov dword [esp], ebx
mov edx, 0x8d
mov ecx, eax
mov eax, edi
call sym._sqlite3PExpr
mov ebx, eax
mov edx, esi
mov ecx, ebx
mov eax, edi
call sym._sqlite3ExprListAppend
mov esi, eax
test eax, eax
je 0x1011a126
mov eax, dword [eax]
bt dword [ebp - 0x40], 0xb
lea ebx, [eax - 1]
jae 0x1011a0c2
cmp byte [edi + 0xd0], 1
ja 0x1011a0c2
cmp dword [ebp - 0x50], 0
je 0x1011a03f
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
call sym._sqlite3DbStrDup
jmp 0x1011a067
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], str._s._s._s
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._sqlite3MPrintf
imul edx, ebx, 0x14
add edx, esi
mov dword [edx + 0xc], eax
mov al, byte [edx + 0x14]
and eax, 0xfffffffc
or eax, 2
mov byte [edx + 0x14], al
mov eax, dword [ebp - 0x30]
test byte [eax + 0x29], 4
je 0x1011a093
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1011a0b8
cmp dword [ebp - 0x58], 0
je 0x1011a0a8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1011a0b8
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 4
je 0x1011a113
imul eax, ebx, 0x14
or byte [esi + eax + 0x15], 1
jmp 0x1011a113
cmp dword [ebp - 0x88], 4
jne 0x1011a0fc
mov eax, dword [ebp - 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], str._s._s
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._sqlite3MPrintf
mov edx, eax
imul eax, ebx, 0x14
add eax, esi
and byte [eax + 0x14], 0xfc
mov dword [eax + 0xc], edx
jmp 0x1011a113
imul ebx, ebx, 0x14
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
call sym._sqlite3DbStrDup
add ebx, esi
and byte [ebx + 0x14], 0xfc
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x68], 1
inc dword [ebp - 0x70]
add dword [ebp - 0x78], 0x14
jmp 0x10119e67
mov dword [ebp - 0x68], 1
inc dword [ebp - 0x4c]
add dword [ebp - 0x30], 0x48
jmp 0x10119d27
cmp dword [ebp - 0x68], 0
jne 0x1011a16e
cmp dword [ebp - 0x34], 0
je 0x1011a15e
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], str.no_such_table:__s
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sqlite3ErrorMsg
jmp 0x1011a16e
mov dword [esp + 4], str.no_tables_specified
mov dword [esp], edi
call sym._sqlite3ErrorMsg
inc dword [ebp - 0x80]
add dword [ebp - 0x3c], 0x14
jmp 0x10119c8b
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._sqlite3ExprListDelete
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], esi
jmp 0x10119c21
test dword [ebp - 0x74], 0x400008
je 0x1011a1a7
mov eax, dword [ebp + 0xc]
or dword [eax + 4], 0x40000
mov eax, dword [ebp - 0x6c]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret