Function at 0x1010e558
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 0x1010efc0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], 1
and eax, 0x40
mov dword [ebp - 0x74], eax
jne 0x1010f517
mov eax, dword [ebp + 8]
cmp word [eax + 0x14], 0
je 0x1010e5b7
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 0x1010e610
bt dword [ebp - 0x40], 0x15
jae 0x1010e610
test eax, eax
je 0x1010e5f2
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x40]
mov dword [eax + 4], 1
jmp 0x1010e610
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 0x1010e5e3
jmp 0x1010efc0
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 0x1010ebf8
cmp dword [esi + 0x10], 0
je 0x1010e658
inc dword [ebp - 0x50]
add esi, 0x48
jmp 0x1010e63c
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x1010e706
mov edx, dword [esi + 0x14]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
test eax, eax
jne 0x1010efc0
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 0x1010efc0
mov edx, dword [esi + 0xc]
mov dword [eax + 0x18], 1
mov eax, dword [edi]
test edx, edx
je 0x1010e6ae
call sym._sqlite3DbStrDup
jmp 0x1010e6c2
mov dword [esp + 8], esi
mov dword [esp + 4], 0x101ec82b
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 0x1010e6c4
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 0x1010ebd8
jmp 0x1010efc0
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1010ea92
cmp dword [edi + 0x24], 0
jne 0x1010ea92
cmp dword [esi + 4], 0
jne 0x1010ea92
test byte [esi + 0x29], 2
jne 0x1010ea92
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 0x1010e794
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 0x1010e791
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 0x1010e7b0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
jmp 0x1010ecd0
inc ebx
jmp 0x1010e73f
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jne 0x1010ea92
mov eax, dword [eax + 8]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x1010e735
jmp 0x1010ea92
test byte [esi + 0x28], 4
je 0x1010e7bf
mov dword [esp + 8], ecx
jmp 0x1010eaec
mov eax, dword [ebp - 0x44]
mov edx, 0x40
xor ecx, ecx
call sym._sqlite3DbMallocZero
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1010efc0
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + 0x1c]
test ebx, ebx
jne 0x1010e830
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 0x1010e815
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sym._sqlite3DbFree
jmp 0x1010efc0
mov ecx, ebx
mov edx, sym._sqlite3DbFree
mov eax, edi
call sym._sqlite3ParserAddCleanup
test eax, eax
je 0x1010e7fe
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 0x1010efc0
mov eax, dword [ebp - 0x3c]
or dword [eax + 4], 0x4000000
test byte [esi + 0x28], 2
je 0x1010e8aa
mov eax, dword [esi + 0x40]
mov dword [esp + 4], str.no_such_index:___s_
mov dword [esp + 8], eax
jmp 0x1010ecd0
or byte [esi + 0x29], 1
mov eax, dword [ebx]
mov dword [esi + 0x44], ebx
inc eax
mov dword [ebx], eax
dec eax
jle 0x1010e8c3
cmp byte [ebx + 0x12], 1
jne 0x1010e8c3
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 0x1010e941
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 0x1010e9d2
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 0x1010e9dd
cmp dword [ecx], 0
je 0x1010e960
inc dword [ebp - 0x4c]
add ecx, 0x48
mov edx, dword [ebp - 0x64]
cmp dword [ebp - 0x4c], edx
jl 0x1010e925
test byte [ebx + 5], 0x20
je 0x1010e8df
mov ebx, dword [ebx + 0x34]
mov al, byte [ebp - 0x54]
cmp al, byte [ebx]
jne 0x1010e8df
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 0x1010e930
mov eax, dword [ecx + 4]
test eax, eax
je 0x1010e92a
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 0x1010e92a
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 0x1010e9b1
mov dword [esp + 8], edx
mov dword [esp + 4], str.multiple_references_to_recursive_table:__s
jmp 0x1010ecd0
or ah, 0x20
cmp dword [ebp - 0x44], 0
mov dword [ebx + 4], eax
jns 0x1010e9c7
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 0x1010e92a
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
call sym._sqlite3WalkSelect
test eax, eax
jne 0x1010ea2e
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 0x1010e9ed
mov ebx, dword [ebp - 0x34]
mov eax, dword [edx + 0x1c]
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x1010ea3c
test eax, eax
je 0x1010ea3e
mov eax, dword [eax]
mov ecx, dword [edx]
cmp eax, ecx
je 0x1010ea3e
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 0x1010efc0
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 0x1010ea7c
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 0x1010ebd8
mov ecx, esi
xor edx, edx
mov eax, edi
call sym._sqlite3LocateTableItem
mov dword [esi + 0x10], eax
mov ebx, eax
test eax, eax
je 0x1010efc0
mov eax, dword [eax + 0x18]
cmp eax, 0xfffe
jbe 0x1010ead4
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 0x1010efc0
inc eax
mov dword [ebx + 0x18], eax
mov al, byte [ebx + 0x2b]
cmp al, 1
je 0x1010eb01
test byte [esi + 0x28], 4
je 0x1010eaf9
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_is_not_a_function
jmp 0x1010ecd0
test al, al
je 0x1010ebd8
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 0x1010efc0
mov al, byte [ebx + 0x2b]
cmp al, 2
jne 0x1010eb6c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x34], eax
and eax, 0x80000000
or eax, 0
jne 0x1010eb5a
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
cmp dword [ebx + 0x3c], eax
je 0x1010eb5a
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 0x1010eba8
dec al
jne 0x1010eba8
cmp byte [esi + 0x28], 0
jns 0x1010eba8
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x1010eba8
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 0x1010eba8
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 0x1010e650
mov edx, esi
mov eax, edi
call sym._sqlite3IndexedByLookup
test eax, eax
je 0x1010e650
jmp 0x1010efc0
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x1010efc0
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 0x1010ec81
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x48]
shl eax, 4
add eax, dword [ecx + 4]
test byte [eax + 0xe], 2
je 0x1010ecee
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
movsx eax, word [eax + 0x22]
cmp dword [ebp - 0x38], eax
jl 0x1010ec19
test esi, esi
je 0x1010ec49
or byte [ebx + 0x29], 0x14
mov dword [ebx + 0x30], esi
cmp dword [edi + 0x24], 0
jne 0x1010efc0
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x44], eax
test byte [ebx + 0x29], 4
je 0x1010ef34
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 0x1010ed50
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 0x1010efcc
mov eax, dword [ebx + 0x10]
cmp dword [ebx - 0x38], 0
mov dword [ebp - 0x48], eax
je 0x1010ec7b
test eax, eax
je 0x1010ec7b
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 0x1010ec53
and dl, 4
je 0x1010ecdd
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 0x1010efc0
mov esi, dword [ebx + 0x30]
test esi, esi
jne 0x1010ecc2
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x1010ec32
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 0x1010ec2f
mov edx, esi
xor ecx, ecx
mov eax, edi
call sym._sqlite3IdListAppend
mov esi, eax
test eax, eax
je 0x1010ec2f
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 0x1010ec2f
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 0x1010ed82
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 0x1010ecd0
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 0x1010ed6e
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 0x1010eed2
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 0x1010eeac
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 0x1010ee54
mov edx, dword [ebp - 0x38]
mov eax, dword [eax + 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010ee6d
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 0x1010eeac
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 0x1010edf1
test esi, esi
je 0x1010eed2
mov ecx, dword [ebp - 0x3c]
mov edx, esi
mov eax, edi
call sym._sqlite3ExprListAppend
mov ecx, 0x101f0f00
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 0x1010ef19
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 0x1010ec6d
cmp dword [ebp - 0x44], 0
je 0x1010ec7b
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 0x1010ec7b
imul edx, eax, 0x14
mov esi, dword [ebp - 0x60]
mov edx, dword [esi + edx + 8]
mov cl, byte [edx]
cmp cl, 0xb4
je 0x1010efdd
cmp cl, 0x8d
je 0x1010efd5
mov ecx, dword [edx + 4]
or dword [ebp - 0x74], ecx
inc eax
cmp ebx, eax
jg 0x1010ef70
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x1010f517
mov esi, dword [ebp - 0x2c]
mov esi, dword [esi + 0x80]
cmp dword [eax], esi
jle 0x1010f504
mov dword [esp + 4], str.too_many_columns_in_result_set
mov dword [esp], edi
call sym._sqlite3ErrorMsg
mov dword [ebp - 0x6c], 2
jmp 0x1010f517
mov eax, dword [ebp - 0x60]
mov ebx, dword [eax]
xor eax, eax
jmp 0x1010ef8d
mov ecx, dword [edx + 0x10]
cmp byte [ecx], 0xb4
jne 0x1010ef86
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 0x1010f4ea
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 0x1010f07f
cmp al, 0x8d
jne 0x1010f029
cmp byte [edx], 0xb4
je 0x1010f071
mov ecx, dword [ebp - 0x48]
mov edx, esi
mov eax, edi
call sym._sqlite3ExprListAppend
mov esi, eax
test eax, eax
je 0x1010f065
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 0x1010f4de
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
jmp 0x1010f084
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 0x1010f4a9
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 0x1010f0c5
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 0x1010f4a9
mov eax, dword [ebp - 0x30]
test byte [eax + 0x29], 0x20
je 0x1010f0eb
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x54], eax
jmp 0x1010f132
cmp dword [ebp - 0x34], 0
je 0x1010f104
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
call sym._sqlite3StrICmp
test eax, eax
jne 0x1010f49d
mov eax, dword [ebp - 0x64]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x2c]
call sym._sqlite3SchemaToIndex
test eax, eax
js 0x1010f126
mov ecx, dword [ebp - 0x2c]
shl eax, 4
add eax, dword [ecx + 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x54], eax
jmp 0x1010f12d
mov dword [ebp - 0x54], 0x101e8b66
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 0x1010f1c9
mov eax, dword [ebp - 0x30]
test byte [eax + 0x71], 4
je 0x1010f1c9
bt dword [ebp - 0x40], 0xb
jae 0x1010f1c9
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 0x1010f1c9
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 0x1010f1c4
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 0x1010f15e
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 0x1010f49d
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 0x1010f226
cmp dword [ebp - 0x50], 0
je 0x1010f226
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 0x1010f48a
mov ecx, dword [ebp + 0xc]
mov ax, word [ebx + 0xe]
test byte [ecx + 6], 2
jne 0x1010f23b
test al, 2
jne 0x1010f48a
test ah, 4
je 0x1010f252
cmp dword [ebp - 0x34], 0
jne 0x1010f281
bt dword [ebp - 0x40], 0xb
jb 0x1010f281
jmp 0x1010f48a
cmp dword [ebp - 0x4c], 0
je 0x1010f281
mov eax, dword [ebp - 0x40]
and eax, 0x800
or eax, dword [ebp - 0x34]
jne 0x1010f281
mov eax, dword [ebp - 0x30]
test byte [eax + 0x29], 4
je 0x1010f281
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010f483
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 0x1010f2ee
mov ecx, dword [ebp - 0x30]
test byte [ecx + 0x24], 0x40
je 0x1010f2f7
bt dword [ebp - 0x40], 0xb
jb 0x1010f2f7
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 0x1010f2f7
dec dword [ebp - 0x68]
lea ecx, [eax + 0x48]
test byte [eax + 0x71], 4
je 0x1010f2ea
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x1010f2ea
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x8c], ecx
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010f2ee
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
jmp 0x1010f2b9
cmp byte [edi + 0xd0], 1
jbe 0x1010f367
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 0x1010f33e
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1010f33e
mov eax, dword [edi + 0x10c]
mov edx, dword [ebp - 0x68]
call sym._sqlite3RenameTokenRemap.isra.0
cmp dword [ebp - 0x54], 0
je 0x1010f367
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 0x1010f496
mov eax, dword [eax]
bt dword [ebp - 0x40], 0xb
lea ebx, [eax - 1]
jae 0x1010f432
cmp byte [edi + 0xd0], 1
ja 0x1010f432
cmp dword [ebp - 0x50], 0
je 0x1010f3af
mov eax, dword [ebp - 0x78]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
call sym._sqlite3DbStrDup
jmp 0x1010f3d7
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 0x1010f403
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0x38]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010f428
cmp dword [ebp - 0x58], 0
je 0x1010f418
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x58]
call sym._sqlite3IdListIndex
test eax, eax
jns 0x1010f428
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xf], 4
je 0x1010f483
imul eax, ebx, 0x14
or byte [esi + eax + 0x15], 1
jmp 0x1010f483
cmp dword [ebp - 0x88], 4
jne 0x1010f46c
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 0x1010f483
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 0x1010f1d7
mov dword [ebp - 0x68], 1
inc dword [ebp - 0x4c]
add dword [ebp - 0x30], 0x48
jmp 0x1010f097
cmp dword [ebp - 0x68], 0
jne 0x1010f4de
cmp dword [ebp - 0x34], 0
je 0x1010f4ce
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 0x1010f4de
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 0x1010effb
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 0x1010ef91
test dword [ebp - 0x74], 0x400008
je 0x1010f517
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