Function at 0x1010e338
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 0x1010eda0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], 1
and eax, 0x40
mov dword [ebp - 0x74], eax
jne 0x1010f2f7
mov eax, dword [ebp + 8]
cmp word [eax + 0x14], 0
je 0x1010e397
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 0x1010e3f0
bt dword [ebp - 0x40], 0x15
jae 0x1010e3f0
test eax, eax
je 0x1010e3d2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
mov dword [eax + 4], 1
jmp 0x1010e3f0
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 0x1010e3c3
jmp 0x1010eda0
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 0x1010e9d8
cmp dword [esi + 0x10], 0
je 0x1010e438
inc dword [ebp - 0x50]
add esi, 0x48
jmp 0x1010e41c
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x1010e4e6
mov edx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
test eax, eax
jne 0x1010eda0
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 0x1010eda0
mov edx, dword [esi + 0xc]
mov dword [eax + 0x18], 1
mov eax, dword [edi]
test edx, edx
je 0x1010e48e
call sym._sqlite3DbStrDup
jmp 0x1010e4a2
mov dword [esp + 8], esi
mov dword [esp + 4], 0x101f0b43
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 0x1010e4a4
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 0x1010e9b8
jmp 0x1010eda0
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1010e872
cmp dword [edi + 0x24], 0
jne 0x1010e872
cmp dword [esi + 4], 0
jne 0x1010e872
test byte [esi + 0x29], 2
jne 0x1010e872
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 0x1010e574
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 0x1010e571
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 0x1010e590
mov dword [esp + 8], edx
mov dword [esp + 4], eax
jmp 0x1010eab0
inc ebx
jmp 0x1010e51f
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jne 0x1010e872
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x1010e515
jmp 0x1010e872
test byte [esi + 0x28], 4
je 0x1010e59f
mov dword [esp + 8], ecx
jmp 0x1010e8cc
mov eax, dword [ebp - 0x44]
mov edx, 0x40
xor ecx, ecx
call sym._sqlite3DbMallocZero
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1010eda0
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
jne 0x1010e610
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 0x1010e5f5
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._sqlite3DbFree
jmp 0x1010eda0
mov ecx, ebx
mov edx, sym._sqlite3DbFree
mov eax, edi
call sym._sqlite3ParserAddCleanup
test eax, eax
je 0x1010e5de
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 0x1010eda0
mov eax, dword [ebp - 0x3c]
or dword [eax + 4], 0x4000000
test byte [esi + 0x28], 2
je 0x1010e68a
mov eax, dword [esi + 0x40]
mov dword [esp + 4], str.no_such_index:___s_
mov dword [esp + 8], eax
jmp 0x1010eab0
or byte [esi + 0x29], 1
mov eax, dword [ebx]
mov dword [esi + 0x44], ebx
inc eax
mov dword [ebx], eax
dec eax
jle 0x1010e6a3
cmp byte [ebx + 0x12], 1
jne 0x1010e6a3
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 0x1010e721
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 0x1010e7b2
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 0x1010e7bd
cmp dword [ecx], 0
je 0x1010e740
inc dword [ebp - 0x4c]
add ecx, 0x48
mov edx, dword [ebp - 0x64]
cmp dword [ebp - 0x4c], edx
jl 0x1010e705
test byte [ebx + 5], 0x20
je 0x1010e6bf
mov ebx, dword [ebx + 0x34]
mov al, byte [ebp - 0x54]
cmp al, byte [ebx]
jne 0x1010e6bf
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 0x1010e710
mov eax, dword [ecx + 4]
test eax, eax
je 0x1010e70a
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 0x1010e70a
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 0x1010e791
mov dword [esp + 8], edx
mov dword [esp + 4], str.multiple_references_to_recursive_table:__s
jmp 0x1010eab0
or ah, 0x20
cmp dword [ebp - 0x44], 0
mov dword [ebx + 4], eax
jns 0x1010e7a7
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 0x1010e70a
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
test eax, eax
jne 0x1010e80e
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 0x1010e7cd
mov ebx, dword [ebp - 0x34]
mov eax, dword [edx + 0x1c]
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x1010e81c
test eax, eax
je 0x1010e81e
mov eax, dword [eax]
mov ecx, dword [edx]
cmp eax, ecx
je 0x1010e81e
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 0x1010eda0
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 0x1010e85c
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 0x1010e9b8
mov ecx, esi
xor edx, edx
mov eax, edi
call sym._sqlite3LocateTableItem
mov dword [esi + 0x10], eax
mov ebx, eax
test eax, eax
je 0x1010eda0
mov eax, dword [eax + 0x18]
cmp eax, 0xfffe
jbe 0x1010e8b4
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 0x1010eda0
inc eax
mov dword [ebx + 0x18], eax
mov al, byte [ebx + 0x2b]
cmp al, 1
je 0x1010e8e1
test byte [esi + 0x28], 4
je 0x1010e8d9
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_is_not_a_function
jmp 0x1010eab0
test al, al
je 0x1010e9b8
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 0x1010eda0
mov al, byte [ebx + 0x2b]
cmp al, 2
jne 0x1010e94c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x34], eax
and eax, 0x80000000
or eax, 0
jne 0x1010e93a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp dword [ebx + 0x3c], eax
je 0x1010e93a
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 0x1010e988
dec al
jne 0x1010e988
cmp byte [esi + 0x28], 0
jns 0x1010e988
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x1010e988
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 0x1010e988
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 0x1010e430
mov edx, esi
mov eax, edi
call sym._sqlite3IndexedByLookup
test eax, eax
je 0x1010e430
jmp 0x1010eda0
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x1010eda0
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 0x1010ea61
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
shl eax, 4
add eax, dword [ecx + 4]
test byte [eax + 0xe], 2
je 0x1010eace
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
movsx eax, word [eax + 0x22]
cmp dword [ebp - 0x38], eax
jl 0x1010e9f9
test esi, esi
je 0x1010ea29
or byte [ebx + 0x29], 0x14
mov dword [ebx + 0x30], esi
cmp dword [edi + 0x24], 0
jne 0x1010eda0
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x44], eax
test byte [ebx + 0x29], 4
je 0x1010ed14
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 0x1010eb30
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 0x1010edac
mov eax, dword [ebx + 0x10]
cmp dword [ebx - 0x38], 0
mov dword [ebp - 0x48], eax
je 0x1010ea5b
test eax, eax
je 0x1010ea5b
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 0x1010ea33
and dl, 4
je 0x1010eabd
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 0x1010eda0
mov esi, dword [ebx + 0x30]
test esi, esi
jne 0x1010eaa2
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x1010ea12
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 0x1010ea0f
mov edx, esi
xor ecx, ecx
mov eax, edi
call sym._sqlite3IdListAppend
mov esi, eax
test eax, eax
je 0x1010ea0f
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 0x1010ea0f
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 0x1010eb62
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 0x1010eab0
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 0x1010eb4e
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 0x1010ecb2
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 0x1010ec8c
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 0x1010ec34
mov edx, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010ec4d
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 0x1010ec8c
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 0x1010ebd1
test esi, esi
je 0x1010ecb2
mov ecx, dword [ebp - 0x3c]
mov edx, esi
mov eax, edi
call sym._sqlite3ExprListAppend
mov ecx, 0x101f5200
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 0x1010ecf9
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 0x1010ea4d
cmp dword [ebp - 0x44], 0
je 0x1010ea5b
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 0x1010ea5b
imul edx, eax, 0x14
mov esi, dword [ebp - 0x60]
mov edx, dword [esi + edx + 8]
mov cl, byte [edx]
cmp cl, 0xb4
je 0x1010edbd
cmp cl, 0x8d
je 0x1010edb5
mov ecx, dword [edx + 4]
or dword [ebp - 0x74], ecx
inc eax
cmp ebx, eax
jg 0x1010ed50
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1010f2f7
mov esi, dword [ebp - 0x2c]
mov esi, dword [esi + 0x80]
cmp dword [eax], esi
jle 0x1010f2e4
mov dword [esp + 4], str.too_many_columns_in_result_set
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov dword [ebp - 0x6c], 2
jmp 0x1010f2f7
mov eax, dword [ebp - 0x60]
mov ebx, dword [eax]
xor eax, eax
jmp 0x1010ed6d
mov ecx, dword [edx + 0x10]
cmp byte [ecx], 0xb4
jne 0x1010ed66
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 0x1010f2ca
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 0x1010ee5f
cmp al, 0x8d
jne 0x1010ee09
cmp byte [edx], 0xb4
je 0x1010ee51
mov ecx, dword [ebp - 0x48]
mov edx, esi
mov eax, edi
call sym._sqlite3ExprListAppend
mov esi, eax
test eax, eax
je 0x1010ee45
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 0x1010f2be
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
jmp 0x1010ee64
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 0x1010f289
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 0x1010eea5
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 0x1010f289
mov eax, dword [ebp - 0x30]
test byte [eax + 0x29], 0x20
je 0x1010eecb
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
jmp 0x1010ef12
cmp dword [ebp - 0x34], 0
je 0x1010eee4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
call sym._sqlite3StrICmp
test eax, eax
jne 0x1010f27d
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x2c]
call sym._sqlite3SchemaToIndex
test eax, eax
js 0x1010ef06
mov ecx, dword [ebp - 0x2c]
shl eax, 4
add eax, dword [ecx + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
jmp 0x1010ef0d
mov dword [ebp - 0x54], 0x101ece7e
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 0x1010efa9
mov eax, dword [ebp - 0x30]
test byte [eax + 0x71], 4
je 0x1010efa9
bt dword [ebp - 0x40], 0xb
jae 0x1010efa9
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 0x1010efa9
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 0x1010efa4
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 0x1010ef3e
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 0x1010f27d
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 0x1010f006
cmp dword [ebp - 0x50], 0
je 0x1010f006
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 0x1010f26a
mov ecx, dword [ebp + 0xc]
mov ax, word [ebx + 0xe]
test byte [ecx + 6], 2
jne 0x1010f01b
test al, 2
jne 0x1010f26a
test ah, 4
je 0x1010f032
cmp dword [ebp - 0x34], 0
jne 0x1010f061
bt dword [ebp - 0x40], 0xb
jb 0x1010f061
jmp 0x1010f26a
cmp dword [ebp - 0x4c], 0
je 0x1010f061
mov eax, dword [ebp - 0x40]
and eax, 0x800
or eax, dword [ebp - 0x34]
jne 0x1010f061
mov eax, dword [ebp - 0x30]
test byte [eax + 0x29], 4
je 0x1010f061
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010f263
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 0x1010f0ce
mov ecx, dword [ebp - 0x30]
test byte [ecx + 0x24], 0x40
je 0x1010f0d7
bt dword [ebp - 0x40], 0xb
jb 0x1010f0d7
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 0x1010f0d7
dec dword [ebp - 0x68]
lea ecx, [eax + 0x48]
test byte [eax + 0x71], 4
je 0x1010f0ca
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1010f0ca
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x8c], ecx
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010f0ce
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
jmp 0x1010f099
cmp byte [edi + 0xd0], 1
jbe 0x1010f147
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 0x1010f11e
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1010f11e
mov eax, dword [edi + 0x10c]
mov edx, dword [ebp - 0x68]
call sym._sqlite3RenameTokenRemap.isra.0
cmp dword [ebp - 0x54], 0
je 0x1010f147
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 0x1010f276
mov eax, dword [eax]
bt dword [ebp - 0x40], 0xb
lea ebx, [eax - 1]
jae 0x1010f212
cmp byte [edi + 0xd0], 1
ja 0x1010f212
cmp dword [ebp - 0x50], 0
je 0x1010f18f
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
call sym._sqlite3DbStrDup
jmp 0x1010f1b7
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 0x1010f1e3
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010f208
cmp dword [ebp - 0x58], 0
je 0x1010f1f8
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010f208
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 4
je 0x1010f263
imul eax, ebx, 0x14
or byte [esi + eax + 0x15], 1
jmp 0x1010f263
cmp dword [ebp - 0x88], 4
jne 0x1010f24c
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 0x1010f263
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 0x1010efb7
mov dword [ebp - 0x68], 1
inc dword [ebp - 0x4c]
add dword [ebp - 0x30], 0x48
jmp 0x1010ee77
cmp dword [ebp - 0x68], 0
jne 0x1010f2be
cmp dword [ebp - 0x34], 0
je 0x1010f2ae
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 0x1010f2be
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 0x1010eddb
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 0x1010ed71
test dword [ebp - 0x74], 0x400008
je 0x1010f2f7
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