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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
movups xmmword [rsp + 0x130], xmm6
mov ebx, dword [rdx + 4]
mov r13, qword [rcx]
mov eax, ebx
mov rsi, qword [r13]
or eax, 0x40
mov dword [rdx + 4], eax
cmp byte [rsi + 0x67], 0
mov qword [rsp + 0x190], rcx
mov qword [rsp + 0x198], rdx
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x6c], ebx
jne 0x1401f0954
and ebx, 0x40
mov edi, 1
jne 0x1401eff92
cmp word [rcx + 0x24], 0
je 0x1401efd59
mov eax, dword [r13 + 0x94]
add eax, 1
mov dword [r13 + 0x94], eax
mov dword [rdx + 0x10], eax
mov rax, qword [rsp + 0x198]
cmp qword [r13 + 0x198], 0
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x198]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x198]
mov rax, qword [rax + 0x68]
je 0x1401effb0
test dword [rsp + 0x6c], 0x200000
je 0x1401effb0
test rax, rax
je 0x1401f0b9c
mov dword [rax + 4], 1
mov r9d, dword [r13 + 0x30]
test r9d, r9d
jne 0x1401efdd1
mov rdx, qword [r13 + 0x198]
mov qword [rax + 8], rdx
mov qword [r13 + 0x198], rax
mov rbx, qword [rsp + 0x78]
mov rcx, r13
mov rdx, rbx
call dbg.sqlite3SrcListAssignCursors
mov rax, rbx
lea rbx, [rbx + 8]
mov r8d, dword [rax]
mov qword [rsp + 0xe0], rbx
test r8d, r8d
jle 0x1401f00f9
mov r12, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x78]
xor r15d, r15d
lea r14, [0x14039ece0]
mov r11, r12
jmp 0x1401efe31
add r15d, 1
add r11, 0x68
cmp dword [rbx], r15d
jle 0x1401f00f9
cmp qword [r11 + 0x20], 0
jne 0x1401efe20
mov r8, qword [r11 + 0x10]
test r8, r8
je 0x1401effc0
mov rsi, qword [r13 + 0x198]
test rsi, rsi
je 0x1401efe64
mov eax, dword [r13 + 0x30]
test eax, eax
jne 0x1401efe64
cmp qword [r11 + 8], 0
je 0x1401f0608
mov r8, r11
xor edx, edx
mov rcx, r13
mov qword [rsp + 0x48], r11
call dbg.sqlite3LocateTableItem
mov r11, qword [rsp + 0x48]
mov rsi, rax
mov qword [r11 + 0x20], rax
test rax, rax
je 0x1401f0954
mov eax, dword [rax + 0x2c]
cmp eax, 0xfffe
ja 0x1401f1927
movzx edx, byte [rsi + 0x3f]
add eax, 1
mov dword [rsi + 0x2c], eax
cmp dl, 1
jne 0x1401f09b6
mov rax, qword [rsp + 0x190]
movzx edi, word [rax + 0x24]
mov rdx, rsi
mov rcx, r13
mov qword [rsp + 0x48], r11
call dbg.viewGetColumnNames
test eax, eax
jne 0x1401f0954
movzx eax, byte [rsi + 0x3f]
mov r11, qword [rsp + 0x48]
cmp al, 2
je 0x1401f0a14
cmp al, 1
jne 0x1401efef0
cmp byte [r11 + 0x40], 0
js 0x1401f0c86
mov rdx, qword [r11 + 0x28]
movzx ebp, word [rsi + 0x36]
mov r8d, 0xffffffff
mov r9d, 1
mov qword [rsp + 0x48], r11
mov rax, qword [rsp + 0x190]
mov word [rsi + 0x36], r8w
and di, 0xff
mov word [rax + 0x24], r9w
mov rcx, rax
call dbg.sqlite3WalkSelect
mov rax, qword [rsp + 0x190]
mov word [rax + 0x24], di
mov word [rsi + 0x36], bp
jmp 0x1401f00b9
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov r13, qword [rsp + 0x58]
mov edi, dword [rsp + 0xf8]
call dbg.exprListDeleteNN
mov rax, qword [rsp + 0x198]
mov qword [rax + 0x20], r14
test r14, r14
je 0x1401eff92
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x90]
cmp dword [r14], eax
jg 0x1401f18fd
and esi, 0x400008
je 0x1401eff92
mov rax, qword [rsp + 0x198]
or dword [rax + 4], 0x40000
movups xmm6, xmmword [rsp + 0x130]
mov eax, edi
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
test rax, rax
jne 0x1401efdb6
jmp 0x1401efdd1
mov rdx, qword [r11 + 0x28]
mov rcx, qword [rsp + 0x190]
mov qword [rsp + 0x48], r11
call dbg.sqlite3WalkSelect
test eax, eax
jne 0x1401f0954
mov r11, qword [rsp + 0x48]
mov rcx, qword [r13]
mov rsi, qword [r11 + 0x28]
test rcx, rcx
je 0x1401f099a
mov edx, 0x68
call sym.sqlite3DbMallocRawNN
mov r11, qword [rsp + 0x48]
mov rbp, rax
test rbp, rbp
je 0x1401f0990
lea r12, [rbp + 8]
mov rcx, rbp
xor eax, eax
mov qword [rbp], 0
mov rdi, r12
mov qword [rbp + 0x60], 0
and rdi, 0xfffffffffffffff8
sub rcx, rdi
add ecx, 0x68
shr ecx, 3
rep stosq qword [rdi], rax
mov qword [r11 + 0x20], rbp
mov dword [rbp + 0x2c], 1
mov rdx, qword [r11 + 0x18]
test rdx, rdx
je 0x1401f09f2
mov rcx, qword [r13]
mov qword [rsp + 0x48], r11
call sym.sqlite3DbStrDup
mov r11, qword [rsp + 0x48]
mov qword [rbp], rax
nop word [rax + rax]
mov rax, rsi
mov rsi, qword [rsi + 0x50]
test rsi, rsi
jne 0x1401f0070
mov rdx, qword [rax + 0x20]
mov rcx, r13
mov r9, r12
lea r8, [rbp + 0x36]
mov qword [rsp + 0x48], r11
call sym.sqlite3ColumnsFromExprList.isra.0
mov ecx, dword [r13 + 0x30]
mov eax, 0xffffffff
mov edx, 0xc8
or dword [rbp + 0x30], 0x4200
mov word [rbp + 0x34], ax
mov word [rbp + 0x3a], dx
test ecx, ecx
jne 0x1401f0954
mov r11, qword [rsp + 0x48]
movzx eax, byte [r11 + 0x40]
test al, 2
je 0x1401efe20
mov rdx, r11
mov rcx, r13
mov qword [rsp + 0x48], r11
call dbg.sqlite3IndexedByLookup
mov r11, qword [rsp + 0x48]
test eax, eax
jne 0x1401f0954
add r15d, 1
add r11, 0x68
cmp dword [rbx], r15d
jg 0x1401efe31
mov edi, dword [r13 + 0x30]
test edi, edi
jne 0x1401f0954
mov rax, qword [rsp + 0x198]
mov rax, qword [rax + 0x28]
lea rbx, [rax + 0x70]
cmp dword [rax], 1
mov qword [rsp + 0x60], rbx
jle 0x1401f0cdf
mov qword [rsp + 0x48], r13
mov r10d, 1
mov r15, rax
lea r14, [0x14039ece0]
mov dword [rsp + 0xc4], edi
jmp 0x1401f01c9
mov rax, qword [rsp + 0x60]
and edx, 4
mov r9, qword [rax + 0x48]
jne 0x1401f030d
mov edi, r10d
test r9, r9
je 0x1401f01b1
mov rbx, qword [rsp + 0x60]
mov r8d, dword [rsp + 0xc0]
mov rcx, r9
mov dword [rsp + 0x58], r10d
mov edx, dword [rbx + 0x44]
call dbg.sqlite3SetJoinExpr
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x48]
mov r8, r9
mov rdx, qword [rax + 0x30]
call dbg.sqlite3ExprAnd
mov rsi, qword [rsp + 0x198]
mov qword [rsi + 0x30], rax
mov qword [rbx + 0x48], 0
or byte [rbx + 0x41], 8
mov r10d, dword [rsp + 0x58]
mov eax, dword [r15]
add qword [rsp + 0x60], 0x68
add r10d, 1
sub eax, 1
cmp eax, edi
jle 0x1401f0cd3
mov rax, qword [rsp + 0x60]
cmp qword [rax - 0x48], 0
mov r11, qword [rax + 0x20]
je 0x1401f0a8e
test r11, r11
je 0x1401f0a8e
mov rbx, qword [rsp + 0x60]
xor esi, esi
lea ebp, [r10 - 1]
movzx eax, byte [rbx + 0x3c]
movzx edx, byte [rbx + 0x41]
test al, 0x20
sete sil
add esi, 1
mov dword [rsp + 0xc0], esi
test al, 4
je 0x1401f0144
and edx, 4
jne 0x1401f1b10
mov rax, qword [rsp + 0x60]
mov r12, qword [rax + 0x48]
test r12, r12
jne 0x1401f1b10
xor edi, edi
cmp word [r11 + 0x36], 0
jle 0x1401f0a7e
mov dword [rsp + 0x80], r10d
mov r13, r12
mov r9, r11
mov r12, rdi
mov qword [rsp + 0x58], r15
mov rdx, qword [r9 + 8]
lea rax, [r12 + r12*2]
lea rax, [rdx + rax*8]
test byte [rax + 0x12], 2
jne 0x1401f02b2
mov rbx, qword [rax]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x70], r9
xor esi, esi
lea r15, [rax + 0x28]
nop dword [rax]
mov rdi, qword [r15]
mov rdx, rbx
mov rcx, rdi
call dbg.sqlite3ColumnIndex
test eax, eax
js 0x1401f02a2
mov rdx, qword [rdi + 8]
cdqe
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
test byte [rax + 0x12], 2
je 0x1401f0a96
add esi, 1
add r15, 0x68
cmp esi, ebp
jle 0x1401f0278
mov r9, qword [rsp + 0x70]
movsx eax, word [r9 + 0x36]
add r12, 1
cmp eax, r12d
jg 0x1401f0250
mov r10d, dword [rsp + 0x80]
mov r15, qword [rsp + 0x58]
mov r11, r9
test r13, r13
je 0x1401f02e2
mov rax, qword [rsp + 0x60]
or byte [rax + 0x41], 0x14
mov qword [rax + 0x48], r13
mov rax, qword [rsp + 0x48]
mov esi, dword [rax + 0x30]
test esi, esi
jne 0x1401f0954
mov rax, qword [rsp + 0x60]
movzx edx, byte [rax + 0x41]
mov rax, qword [rsp + 0x60]
and edx, 4
mov r9, qword [rax + 0x48]
je 0x1401f0156
mov rax, qword [rsp + 0x48]
mov ebx, dword [r9]
mov qword [rsp + 0x70], 0
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
test ebx, ebx
jle 0x1401f0a8e
mov dword [rsp + 0x80], ebp
mov rbp, qword [rsp + 0x60]
mov dword [rsp + 0xb0], r10d
mov qword [rsp + 0xb8], r11
mov qword [rsp + 0xa0], r9
jmp 0x1401f0402
mov r13d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0xb0]
mov rdx, r15
mov rcx, qword [rsp + 0x58]
mov r9d, r13d
mov edi, r8d
call dbg.sqlite3CreateColumnExpr
mov rbx, rax
test byte [rbp + 0x41], 0x20
je 0x1401f0396
mov rdx, qword [rbp + 0x28]
movsxd rax, r13d
shl rax, 5
add rax, qword [rdx + 0x20]
or byte [rax + 0x1c], 0x40
mov rcx, qword [rsp + 0x48]
mov r8, rsi
mov r9, rbx
mov edx, 0x35
call dbg.sqlite3PExpr
mov r8, rax
test rax, rax
je 0x1401f03c5
mov eax, dword [rsp + 0xc0]
or dword [r8 + 4], eax
mov eax, dword [rbx + 0x2c]
mov dword [r8 + 0x34], eax
mov rax, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rax + 0x30]
call dbg.sqlite3ExprAnd
mov rbx, qword [rsp + 0x198]
add qword [rsp + 0x70], 1
mov qword [rbx + 0x30], rax
mov rbx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x70]
cmp dword [rbx], eax
jle 0x1401f0b76
mov rax, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xb8]
shl rax, 4
mov r12, qword [rbx + rax + 8]
mov rdx, r12
call dbg.sqlite3ColumnIndex
mov dword [rsp + 0xa8], eax
test eax, eax
js 0x1401f0b4a
movzx eax, byte [rbp + 0x41]
xor edx, edx
mov r9, r12
mov rcx, r15
mov r8d, dword [rsp + 0x80]
shr al, 4
and eax, 1
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x10c]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x90], rax
call sym.tableAndColumnIndex
test eax, eax
je 0x1401f0b4a
mov ebx, dword [rsp + 0x10c]
mov edi, dword [rsp + 0x110]
mov rdx, r15
mov rcx, qword [rsp + 0x58]
mov r9d, edi
mov r8d, ebx
call dbg.sqlite3CreateColumnExpr
mov rsi, rax
movsxd rax, ebx
lea rdx, [rax + rax*2]
lea rax, [rax + rdx*4]
lea rax, [r15 + rax*8]
test byte [rax + 0x49], 0x20
je 0x1401f04d8
mov rdx, qword [rax + 0x30]
movsxd rax, edi
shl rax, 5
add rax, qword [rdx + 0x20]
or byte [rax + 0x1c], 0x40
test byte [r15 + 0x44], 0x40
je 0x1401f0357
xor edi, edi
movzx eax, byte [rbp + 0x41]
lea edx, [rbx + 1]
mov r9, r12
mov rcx, r15
mov r8d, dword [rsp + 0x80]
shr al, 4
and eax, 1
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
call sym.tableAndColumnIndex
test eax, eax
je 0x1401f0b11
movsxd r13, dword [rsp + 0x10c]
lea rax, [r13 + r13*2]
mov rbx, r13
lea rax, [r13 + rax*4]
lea rax, [r15 + rax*8]
test byte [rax + 0x49], 4
je 0x1401f0afd
mov rax, qword [rax + 0x50]
movsxd rdx, dword [rax]
test edx, edx
jle 0x1401f0afd
shl rdx, 4
lea r9, [rax + rdx]
nop dword [rax]
mov r10, qword [rax + 8]
xor r8d, r8d
jmp 0x1401f058b
movzx ecx, byte [r14 + rcx]
cmp byte [r14 + rdx], cl
jne 0x1401f0af0
add r8, 1
movzx edx, byte [r10 + r8]
movzx ecx, byte [r12 + r8]
cmp edx, ecx
jne 0x1401f0578
test edx, edx
jne 0x1401f0587
mov rcx, qword [rsp + 0x48]
mov r8, rsi
mov rdx, rdi
call sym.sqlite3ExprListAppend
mov rcx, qword [rsp + 0x58]
mov r8d, ebx
mov rdx, r15
mov r9d, dword [rsp + 0x110]
mov rdi, rax
mov dword [rsp + 0x88], r9d
call dbg.sqlite3CreateColumnExpr
mov rsi, rax
lea rax, [r13 + r13*2]
lea rax, [r13 + rax*4]
lea rax, [r15 + rax*8]
test byte [rax + 0x49], 0x20
je 0x1401f04e5
mov rdx, qword [rax + 0x30]
movsxd rax, dword [rsp + 0x88]
shl rax, 5
add rax, qword [rdx + 0x20]
or byte [rax + 0x1c], 0x40
jmp 0x1401f04e5
test byte [r11 + 0x41], 2
jne 0x1401efe64
mov edi, dword [rsi]
lea rax, [rsi + 0x10]
xor r10d, r10d
test edi, edi
jle 0x1401f0971
nop dword [rax]
mov r9, qword [rax]
xor ebp, ebp
jmp 0x1401f0643
movzx ecx, byte [r14 + rcx]
cmp byte [r14 + rdx], cl
jne 0x1401f0960
add rbp, 1
movzx edx, byte [r8 + rbp]
movzx ecx, byte [r9 + rbp]
cmp edx, ecx
jne 0x1401f0630
test edx, edx
jne 0x1401f063f
mov rax, qword [r13]
movsxd r12, r10d
mov qword [rsp + 0x58], rax
lea rax, [r12 + r12*2]
shl rax, 4
mov rdx, qword [rsi + rax + 0x28]
test rdx, rdx
jne 0x1401f0b66
test byte [r11 + 0x40], 4
jne 0x1401f0945
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x60], r11
test rcx, rcx
je 0x1401f0b83
mov edx, 0x68
call sym.sqlite3DbMallocRawNN
mov r11, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1401f0954
lea rdi, [rax + 8]
mov qword [rax], 0
mov qword [rax + 0x60], 0
mov qword [rsp + 0xb0], rdi
and rdi, 0xfffffffffffffff8
sub rax, rdi
mov rcx, rax
xor eax, eax
add ecx, 0x68
shr ecx, 3
rep stosq qword [rdi], rax
lea rdi, [r12 + r12*2]
shl rdi, 4
add rdi, rsi
mov rbp, qword [rdi + 0x30]
test rbp, rbp
je 0x1401f0bd8
mov rdi, qword [rsp + 0x48]
lea rax, [r12 + r12*2]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x70], r11
shl rax, 4
mov qword [r11 + 0x20], rdi
add rax, rsi
mov dword [rdi + 0x2c], 1
mov rdx, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
call sym.sqlite3DbStrDup
or dword [rdi + 0x30], 0x4200
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov qword [rdi], rax
mov eax, 0xffffffff
mov word [rdi + 0x34], ax
mov eax, 0xc8
mov word [rdi + 0x3a], ax
mov rax, qword [rsp + 0x60]
mov rdx, qword [rax + 0x20]
call dbg.sqlite3SelectDup
mov r11, qword [rsp + 0x70]
mov rdi, rax
mov qword [r11 + 0x28], rax
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x67], 0
jne 0x1401f0954
mov edx, dword [rdi + 4]
or edx, 0x4000000
mov dword [rdi + 4], edx
test byte [r11 + 0x40], 2
jne 0x1401f1ae3
or byte [r11 + 0x41], 1
mov qword [r11 + 0x60], rbp
add dword [rbp], 1
movzx eax, byte [rdi]
lea ecx, [rax + 0x7a]
mov byte [rsp + 0xa8], cl
cmp cl, 1
ja 0x1401f1957
mov dword [rsp + 0x58], 0xffffffff
mov rdx, rdi
lea r8, [0x14039ece0]
mov qword [rsp + 0x80], rbx
mov dword [rsp + 0x88], r15d
mov qword [rsp + 0x90], r11
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rdi
mov byte [rsp + 0xc0], al
mov rax, r12
mov r15, qword [rdx + 0x28]
mov esi, dword [rdx + 4]
mov r12d, dword [r15]
test r12d, r12d
jle 0x1401f194a
lea r10, [r15 + 0x10]
xor ebx, ebx
jmp 0x1401f0830
add ebx, 1
add r10, 0x68
cmp ebx, r12d
je 0x1401f08f1
mov edi, esi
and edi, 0x2000
cmp qword [r10], 0
jne 0x1401f0820
mov r11, qword [r10 + 8]
test r11, r11
je 0x1401f0820
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x70], r13
xor r9d, r9d
mov rbp, qword [rcx + 0x10]
jmp 0x1401f0873
movzx r13d, byte [r8 + r13]
cmp byte [r8 + rcx], r13b
jne 0x1401f0a74
add r9, 1
movzx ecx, byte [r11 + r9]
movzx r13d, byte [rbp + r9]
cmp ecx, r13d
jne 0x1401f0860
test ecx, ecx
jne 0x1401f086f
mov rcx, qword [rsp + 0x48]
mov r13, qword [rsp + 0x70]
mov qword [r10 + 0x18], rcx
add dword [rcx + 0x2c], 1
movsxd rcx, ebx
lea r9, [rcx + rcx*2]
lea rcx, [rcx + r9*4]
or byte [r15 + rcx*8 + 0x48], 0x40
test edi, edi
jne 0x1401f0c6f
mov r11d, dword [rsp + 0x58]
or esi, 0x2000
mov dword [rdx + 4], esi
test r11d, r11d
jns 0x1401f08d4
mov edi, dword [r13 + 0x34]
lea ecx, [rdi + 1]
mov dword [rsp + 0x58], edi
mov dword [r13 + 0x34], ecx
mov edi, dword [rsp + 0x58]
add ebx, 1
add r10, 0x68
mov dword [r10 - 0x2c], edi
mov edi, 0x2000
cmp ebx, r12d
jne 0x1401f0830
test edi, edi
je 0x1401f0909
mov rdx, qword [rdx + 0x50]
movzx ebx, byte [rsp + 0xc0]
cmp bl, byte [rdx]
je 0x1401f07fd
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rdx
mov r12, rax
mov rbx, qword [rsp + 0x80]
mov r15d, dword [rsp + 0x88]
mov r11, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov edx, dword [rdi + 4]
jmp 0x1401f195c
mov r8, qword [r11 + 0x10]
lea rdx, str._s_is_not_a_function
mov rcx, r13
call dbg.sqlite3ErrorMsg
mov edi, 2
jmp 0x1401eff92
add r10d, 1
add rax, 0x30
cmp r10d, edi
jne 0x1401f0628
mov eax, dword [rsi + 4]
test eax, eax
jne 0x1401efe64
mov rsi, qword [rsi + 8]
test rsi, rsi
jne 0x1401f0613
jmp 0x1401efe64
mov qword [r11 + 0x20], 0
jmp 0x1401f0954
mov ecx, 0x68
mov qword [rsp + 0x48], r11
call sym.sqlite3Malloc
mov r11, qword [rsp + 0x48]
mov rbp, rax
jmp 0x1401f0006
movzx eax, byte [r11 + 0x40]
test al, 4
jne 0x1401f0941
test dl, dl
je 0x1401f00c3
mov rax, qword [rsp + 0x190]
movzx ebp, word [rsi + 0x36]
movzx edi, word [rax + 0x24]
test bp, bp
jle 0x1401efeb8
cmp dl, 2
je 0x1401f0a14
mov rdx, qword [r11 + 0x28]
jmp 0x1401efef8
mov rcx, qword [r13]
mov r8, r11
mov qword [rsp + 0x48], r11
lea rdx, [0x14039128e]
call dbg.sqlite3MPrintf
mov r11, qword [rsp + 0x48]
jmp 0x1401f0066
mov rax, qword [rsp + 0x50]
test byte [rax + 0x33], 0x80
jne 0x1401f0a49
mov rax, qword [rax + 0x20]
mov rax, qword [rax + 0x38]
cmp qword [rsi + 0x60], rax
je 0x1401f0a49
mov r8, qword [rsi]
lea rdx, str.access_to_view___s__prohibited
mov rcx, r13
mov qword [rsp + 0x48], r11
call dbg.sqlite3ErrorMsg
mov r11, qword [rsp + 0x48]
mov rdx, qword [rsi + 0x40]
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], r11
call dbg.sqlite3SelectDup
mov r11, qword [rsp + 0x48]
movzx ebp, word [rsi + 0x36]
mov rdx, rax
mov qword [r11 + 0x28], rax
jmp 0x1401efef8
mov r13, qword [rsp + 0x70]
jmp 0x1401f0820
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax + 0x30]
test ecx, ecx
jne 0x1401f0954
mov edi, r10d
jmp 0x1401f01b1
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
mov rdx, r13
call dbg.sqlite3IdListAppend
mov r9, qword [rsp + 0x70]
test rax, rax
mov r13, rax
je 0x1401f02b2
mov eax, dword [r13]
mov rdx, rbx
mov qword [rsp + 0x70], r9
lea esi, [rax - 1]
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
call sym.sqlite3DbStrDup
mov rdx, rax
movsxd rax, esi
shl rax, 4
mov qword [r13 + rax + 8], rdx
jmp 0x1401f02ad
add rax, 0x10
cmp r9, rax
jne 0x1401f0568
mov rcx, qword [rsp + 0x48]
mov r8, r12
lea rdx, str.ambiguous_reference_to__s_in_USING__
call dbg.sqlite3ErrorMsg
test rdi, rdi
je 0x1401f0357
mov rbx, qword [rsp + 0x48]
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sym.sqlite3ExprListAppend
xor r9d, r9d
lea r8, str.coalesce
mov rcx, rbx
mov rdx, rax
call dbg.sqlite3ExprFunction
mov rsi, rax
jmp 0x1401f0357
mov r13, qword [rsp + 0x48]
mov r8, r12
lea rdx, str.cannot_join_using_column__s___column_not_present_in_both_tables
mov rcx, r13
call dbg.sqlite3ErrorMsg
jmp 0x1401f0954
mov r8, r9
mov rcx, r13
call dbg.sqlite3ErrorMsg
jmp 0x1401f0954
mov r10d, dword [rsp + 0xb0]
jmp 0x1401f01b1
mov ecx, 0x68
call sym.sqlite3Malloc
mov r11, qword [rsp + 0x60]
mov qword [rsp + 0x48], rax
jmp 0x1401f06a9
mov rcx, qword [rsp + 0x50]
mov edx, 0x40
call sym.sqlite3DbMallocRawNN
test rax, rax
je 0x1401f1afb
mov rbx, qword [rsp + 0x198]
pxor xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov qword [rbx + 0x68], rax
jmp 0x1401efdaf
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x60], r11
test rcx, rcx
je 0x1401f1b77
mov edx, 0x14
call sym.sqlite3DbMallocRawNN
mov r11, qword [rsp + 0x60]
mov rbp, rax
test rbp, rbp
je 0x1401f1b68
pxor xmm0, xmm0
mov dword [rbp + 0x10], 0
movups xmmword [rbp], xmm0
mov rcx, qword [r13]
mov qword [rdi + 0x30], rbp
test rcx, rcx
je 0x1401f1b4f
mov edx, 0x18
mov qword [rsp + 0x60], r11
call sym.sqlite3DbMallocRawNN
mov r11, qword [rsp + 0x60]
test rax, rax
je 0x1401f1b2c
mov rdx, qword [r13 + 0xc8]
mov qword [rax], rdx
lea rdx, [sym.sqlite3DbFree]
mov qword [r13 + 0xc8], rax
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rdx
movzx eax, byte [rdi + 0x38]
mov byte [rbp + 0x12], al
jmp 0x1401f06ff
mov r8, rbp
lea rdx, str.multiple_references_to_recursive_table:__s
mov rcx, r13
call dbg.sqlite3ErrorMsg
jmp 0x1401f0954
mov rdx, qword [rsi + 0x50]
test rdx, rdx
je 0x1401efef0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x48]
shr al, 7
cmp al, byte [rdx + 0x1e]
jae 0x1401efef0
mov r8, qword [rsi]
lea rdx, str.unsafe_use_of_virtual_table___s_
mov rcx, r13
mov qword [rsp + 0x48], r11
call dbg.sqlite3ErrorMsg
mov r11, qword [rsp + 0x48]
jmp 0x1401efef0
mov r13, qword [rsp + 0x48]
mov edi, dword [rsp + 0xc4]
mov rax, qword [rsp + 0xd0]
mov r9d, dword [rax]
test r9d, r9d
jle 0x1401f18d6
mov rax, qword [rsp + 0xd0]
xor esi, esi
xor edx, edx
lea rbx, [rax + 8]
mov rcx, rbx
jmp 0x1401f0d23
add edx, 1
or esi, dword [rax + 4]
add rcx, 0x20
cmp r9d, edx
je 0x1401f188f
mov rax, qword [rcx]
movzx r8d, byte [rax]
cmp r8b, 0xb4
je 0x1401f0d40
cmp r8b, 0x8d
jne 0x1401f0d10
mov r8, qword [rax + 0x18]
cmp byte [r8], 0xb4
jne 0x1401f0d10
cmp r9d, edx
jle 0x1401f188f
lea rax, str.ROWID
mov qword [rsp + 0x58], r13
xor r12d, r12d
xor r14d, r14d
movq xmm1, rax
mov rax, qword [r13]
lea rdx, str._ROWID_
mov dword [rsp + 0xf8], edi
movq xmm6, rdx
lea r15, [0x14039ece0]
mov rax, qword [rax + 0x30]
punpcklqdq xmm6, xmm1
and eax, 0x44
mov dword [rsp + 0xc0], eax
jmp 0x1401f0e15
cmp dl, 0x8d
jne 0x1401f0da3
cmp byte [rax], 0xb4
je 0x1401f18a0
mov r8, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x58]
mov rdx, r14
call sym.sqlite3ExprListAppend
mov r14, rax
test rax, rax
je 0x1401f0df5
mov eax, dword [rax]
mov rdx, qword [rbx + 8]
sub eax, 1
cdqe
shl rax, 5
add rax, r14
mov qword [rax + 0x10], rdx
lea rcx, [rax + 0x10]
movzx edx, byte [rbx + 0x14]
movzx eax, byte [rax + 0x1c]
and edx, 3
and eax, 0xfffffffc
or eax, edx
mov byte [rcx + 0xc], al
mov qword [rbx + 8], 0
mov qword [rbx], 0
mov rax, qword [rsp + 0xd0]
add r12d, 1
add rbx, 0x20
cmp dword [rax], r12d
jle 0x1401eff3d
mov rdi, qword [rbx]
movzx edx, byte [rdi]
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0xb0], rdi
or esi, dword [rdi + 4]
cmp dl, 0xb4
jne 0x1401f0d95
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x34]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
test eax, eax
jle 0x1401f1911
mov qword [rsp + 0x90], 0
mov rdi, qword [rsp + 0xe0]
mov r9d, 1
mov dword [rsp + 0xfc], esi
mov edx, eax
mov dword [rsp + 0xc4], 0
mov esi, r12d
mov ebp, r9d
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0x70]
mov r10, qword [rax + 0x18]
mov r13, qword [rax + 0x20]
test r10, r10
je 0x1401f16f2
mov rax, qword [rsp + 0x50]
cmp byte [rax + 0x67], 0
jne 0x1401f166c
mov rax, qword [rsp + 0x70]
test byte [rax + 0x41], 0x20
jne 0x1401f1732
mov r9, qword [rsp + 0x90]
test r9, r9
je 0x1401f0efd
xor r8d, r8d
jmp 0x1401f0eeb
movzx edi, byte [r15 + rcx]
cmp byte [r15 + rax], dil
jne 0x1401f16fb
add r8, 1
movzx eax, byte [r9 + r8]
movzx ecx, byte [r10 + r8]
cmp eax, ecx
jne 0x1401f0ed8
test eax, eax
jne 0x1401f0ee7
mov rax, qword [r13 + 0x60]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1401f18e9
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x20]
cmp rax, qword [rcx + 0x18]
je 0x1401f0f32
add rcx, 0x20
mov r8, rcx
add rcx, 0x20
cmp rax, qword [rcx - 8]
jne 0x1401f0f22
mov rcx, r8
mov qword [rsp + 0x60], 0
mov rax, qword [rcx]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0xdc], ebp
mov qword [rsp + 0xc8], 0
cmp edx, ebp
jle 0x1401f0f79
mov rax, qword [rsp + 0x70]
test byte [rax + 0xa9], 4
je 0x1401f0f79
test dword [rsp + 0x6c], 0x800
jne 0x1401f1750
movsx edi, word [r13 + 0x36]
mov dword [rsp + 0x88], edi
test byte [r13 + 0x31], 2
jne 0x1401f0fa0
mov edx, dword [rsp + 0x6c]
shr edx, 0xb
and edx, 1
lea eax, [rdi + rdx]
mov dword [rsp + 0x88], eax
mov r8d, dword [rsp + 0x88]
test r8d, r8d
jle 0x1401f16cd
lea eax, [rbp - 1]
xor edx, edx
mov dword [rsp + 0xe8], esi
mov dword [rsp + 0xd8], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xf0], rbx
mov ebx, edx
add rax, 8
mov qword [rsp + 0xa8], r10
mov qword [rsp + 0x80], rax
xor eax, eax
mov dword [rsp + 0xec], ebp
mov rsi, rax
jmp 0x1401f119a
mov rdx, qword [rsp + 0x70]
test byte [rdx + 0x3c], 0x40
je 0x1401f1011
test dword [rsp + 0x6c], 0x800
je 0x1401f1572
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0x110], rcx
test rcx, rcx
je 0x1401f153f
call sym.strlen
and eax, 0x3fffffff
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov r8, rbp
mov edx, 0x3b
mov dword [rsp + 0x118], eax
call sym.sqlite3ExprAlloc
mov rcx, qword [rsp + 0x58]
mov r9, r12
mov edx, 0x8d
mov r8, rax
mov qword [rsp + 0x48], rax
call dbg.sqlite3PExpr
mov r12, rax
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x134], 1
jbe 0x1401f1090
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1401f147b
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x1401f10e6
mov rcx, rax
mov qword [rsp + 0x110], rax
call sym.strlen
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov r8, rbp
and eax, 0x3fffffff
mov edx, 0x3b
mov dword [rsp + 0x118], eax
call sym.sqlite3ExprAlloc
mov rcx, qword [rsp + 0x58]
mov r9, r12
mov edx, 0x8d
mov r8, rax
call dbg.sqlite3PExpr
mov r12, rax
test r12, r12
je 0x1401f10ff
test byte [r12 + 4], 3
jne 0x1401f10ff
mov eax, dword [rsp + 0xb8]
mov dword [r12 + 0x34], eax
mov rbp, qword [rsp + 0x58]
mov rdx, r14
mov r8, r12
mov rcx, rbp
call sym.sqlite3ExprListAppend
mov r14, rax
test rax, rax
je 0x1401f16ac
mov eax, dword [rax]
lea r12d, [rax - 1]
test dword [rsp + 0x6c], 0x800
je 0x1401f113b
cmp byte [rbp + 0x134], 1
jbe 0x1401f14b2
cmp dword [rsp + 0xc0], 4
je 0x1401f145a
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call sym.sqlite3DbStrDup
mov rdx, rax
movsxd rax, r12d
shl rax, 5
add rax, r14
and byte [rax + 0x1c], 0xfc
mov qword [rax + 0x10], rdx
mov dword [rsp + 0xc4], 1
mov eax, dword [rsp + 0x88]
add ebx, 1
add rsi, 0x18
add qword [rsp + 0x80], 0x20
cmp ebx, eax
je 0x1401f1637
movsx edi, word [r13 + 0x36]
cmp edi, ebx
je 0x1401f12f5
mov rbp, qword [r13 + 8]
add rbp, rsi
cmp qword [rsp + 0x60], 0
mov rdi, qword [rbp]
je 0x1401f11ff
mov rdx, qword [rsp + 0x60]
movsxd rax, ebx
shl rax, 5
movzx eax, byte [rdx + rax + 0x1c]
not eax
test al, 3
je 0x1401f1176
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x1401f11ff
mov rcx, qword [rsp + 0x80]
xor r9d, r9d
xor edx, edx
mov r8, rax
mov qword [rsp + 0x20], 0
call dbg.sqlite3MatchEName
test eax, eax
je 0x1401f1176
mov rdx, qword [rsp + 0x198]
movzx eax, word [rbp + 0x12]
test byte [rdx + 6], 2
jne 0x1401f1219
test al, 2
jne 0x1401f1176
test ah, 4
je 0x1401f12a0
cmp qword [rsp + 0x90], 0
je 0x1401f1546
mov qword [rsp + 0x110], rdi
xor eax, eax
test rdi, rdi
je 0x1401f124d
mov rcx, rdi
call sym.strlen
and eax, 0x3fffffff
mov rcx, qword [rsp + 0x50]
lea rbp, [rsp + 0x110]
xor r9d, r9d
mov edx, 0x3b
mov r8, rbp
mov dword [rsp + 0x118], eax
call sym.sqlite3ExprAlloc
mov r12, rax
mov rax, qword [rsp + 0x78]
mov eax, dword [rax]
cmp eax, 1
jg 0x1401f0ff8
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x134], 1
ja 0x1401f1011
jmp 0x1401f10e6
mov edx, dword [rsp + 0xd8]
test edx, edx
jle 0x1401f1231
cmp qword [rsp + 0x90], 0
jne 0x1401f1231
test dword [rsp + 0x6c], 0x800
jne 0x1401f1231
mov rax, qword [rsp + 0x70]
test byte [rax + 0x41], 4
je 0x1401f1231
mov rax, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, qword [rax + 0x48]
call sym.sqlite3IdListIndex
test eax, eax
js 0x1401f1231
jmp 0x1401f116b
lea rax, [0x14038cd76]
movups xmmword [rsp + 0x110], xmm6
xor r12d, r12d
mov qword [rsp + 0x120], rax
test edi, edi
je 0x1401f13ef
xor eax, eax
mov rdx, qword [r13 + 8]
mov r8, r14
mov rcx, r13
mov qword [rsp + 0x98], rax
lea rbp, [rsp + 0x110]
mov rax, qword [rsp + 0x98]
mov r10, qword [rdx]
mov r14, rdx
xor r13d, r13d
mov r11, qword [rbp + rax*8]
mov rax, rbp
test r11, r11
je 0x1401f13c2
nop dword [rax]
test r10, r10
je 0x1401f1445
mov qword [rsp + 0x48], r14
xor ebp, ebp
jmp 0x1401f1383
movzx r14d, byte [r15 + r14]
cmp byte [r15 + r9], r14b
jne 0x1401f1440
add rbp, 1
movzx r9d, byte [r11 + rbp]
movzx r14d, byte [r10 + rbp]
cmp r9d, r14d
jne 0x1401f1370
test r9d, r9d
jne 0x1401f137f
mov rbp, rax
cmp edi, r13d
je 0x1401f13e9
add qword [rsp + 0x98], 1
mov rax, qword [rsp + 0x98]
cmp rax, 3
je 0x1401f162c
movsxd r12, eax
jmp 0x1401f1333
test r10, r10
je 0x1401f139a
add r13d, 1
add r14, 0x18
cmp edi, r13d
je 0x1401f13e9
mov r10, qword [r14]
test r10, r10
je 0x1401f139a
add r13d, 1
add r14, 0x18
cmp edi, r13d
jne 0x1401f13d4
mov r14, r8
mov r13, rcx
mov rdi, qword [rsp + r12*8 + 0x110]
test rdi, rdi
je 0x1401f1176
cmp qword [rsp + 0x90], 0
jne 0x1401f142f
mov ecx, dword [rsp + 0xd8]
test ecx, ecx
jle 0x1401f142f
test dword [rsp + 0x6c], 0x800
jne 0x1401f142f
mov rax, qword [rsp + 0x70]
test byte [rax + 0x41], 4
jne 0x1401f12d7
mov qword [rsp + 0x110], rdi
jmp 0x1401f1240
mov r14, qword [rsp + 0x48]
add r13d, 1
add r14, 0x18
cmp edi, r13d
je 0x1401f13e9
mov r10, qword [r14]
jmp 0x1401f1358
mov r8, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x50]
mov r9, rdi
lea rdx, str._s._s
call dbg.sqlite3MPrintf
jmp 0x1401f1156
mov rax, qword [rax + 0x1a0]
test rax, rax
je 0x1401f1090
mov r8, qword [rsp + 0x48]
jmp 0x1401f14a5
mov rax, qword [rax + 0x18]
test rax, rax
je 0x1401f1090
cmp rdx, qword [rax]
jne 0x1401f1498
mov qword [rax], r8
jmp 0x1401f1090
cmp qword [rsp + 0x60], 0
je 0x1401f1707
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rax + 8]
call sym.sqlite3DbStrDup
movsxd r12, r12d
movsx ebp, word [r13 + 0x36]
mov rdx, r12
shl rdx, 5
add rdx, r14
cmp ebp, ebx
lea rcx, [rdx + 0x10]
mov qword [rdx + 0x10], rax
sete dl
movzx eax, byte [rcx + 0xc]
add edx, 2
and edx, 3
and eax, 0xfffffffc
or eax, edx
mov byte [rcx + 0xc], al
mov rax, qword [rsp + 0x70]
test byte [rax + 0x41], 4
jne 0x1401f16d9
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x1401f1559
mov rdx, rdi
mov rcx, rax
call sym.sqlite3IdListIndex
test eax, eax
js 0x1401f1559
shl r12, 5
or byte [r14 + r12 + 0x1d], 1
jmp 0x1401f116b
xor eax, eax
jmp 0x1401f1034
test dword [rsp + 0x6c], 0x800
jne 0x1401f1231
jmp 0x1401f1176
cmp ebp, ebx
jle 0x1401f116b
mov rdx, qword [r13 + 8]
test byte [rdx + rsi + 0x13], 4
je 0x1401f116b
jmp 0x1401f1530
mov edx, dword [rsp + 0xd8]
sub eax, edx
cmp eax, 1
jle 0x1401f1011
sub eax, 1
mov r8, qword [rsp + 0x70]
lea rdx, [rax + rax*2]
lea rax, [rax + rdx*4]
lea rax, [r8 + rax*8]
add r8, 0x68
test byte [r8 + 0x41], 4
je 0x1401f161e
mov r10, qword [r8 + 0x48]
test r10, r10
je 0x1401f161e
mov edx, dword [r10]
test edx, edx
jle 0x1401f161e
movsxd r11, edx
mov qword [rsp + 0x48], r8
shl r11, 4
add r11, r10
nop word [rax + rax]
mov r9, qword [r10 + 8]
xor r8d, r8d
jmp 0x1401f15e7
movzx ecx, byte [r15 + rcx]
cmp byte [r15 + rdx], cl
jne 0x1401f1610
add r8, 1
movzx edx, byte [r9 + r8]
movzx ecx, byte [rdi + r8]
cmp edx, ecx
jne 0x1401f15d8
test edx, edx
jne 0x1401f15e3
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x134], 1
ja 0x1401f1011
jmp 0x1401f10e6
add r10, 0x10
cmp r10, r11
jne 0x1401f15c8
mov r8, qword [rsp + 0x48]
cmp rax, r8
jne 0x1401f1598
jmp 0x1401f1011
mov r14, r8
mov r13, rcx
jmp 0x1401f1176
mov rax, qword [rsp + 0x78]
mov esi, dword [rsp + 0xe8]
mov ebp, dword [rsp + 0xec]
mov rbx, qword [rsp + 0xf0]
mov edx, dword [rax]
mov eax, dword [rsp + 0xdc]
add qword [rsp + 0x70], 0x68
add ebp, 1
cmp edx, eax
jg 0x1401f0e8d
mov eax, dword [rsp + 0xc4]
mov r12d, esi
mov esi, dword [rsp + 0xfc]
test eax, eax
jne 0x1401f0dfc
mov r8, qword [rsp + 0x90]
test r8, r8
je 0x1401f1911
mov rcx, qword [rsp + 0x58]
lea rdx, str.no_such_table:__s
call dbg.sqlite3ErrorMsg
jmp 0x1401f0dfc
mov esi, dword [rsp + 0xe8]
mov ebp, dword [rsp + 0xec]
mov dword [rsp + 0xc4], 1
mov rbx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0x78]
mov edx, dword [rax]
jmp 0x1401f1654
mov rcx, qword [rax + 0x48]
mov rdx, rdi
call sym.sqlite3IdListIndex
test eax, eax
jns 0x1401f1530
jmp 0x1401f1514
mov r10, qword [r13]
jmp 0x1401f0ea3
mov dword [rsp + 0xdc], ebp
jmp 0x1401f1654
mov qword [rsp + 0x20], rdi
mov r9, qword [rsp + 0xa8]
lea rdx, str._s._s._s
mov r8, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x50]
call dbg.sqlite3MPrintf
jmp 0x1401f14d4
mov qword [rsp + 0xa0], 0
mov rax, qword [rax + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x60], rax
jmp 0x1401f0f46
mov rax, qword [rax + 0xb0]
mov r9d, dword [rax]
mov qword [rsp + 0xc8], rax
test r9d, r9d
jle 0x1401f0f79
mov dword [rsp + 0x98], esi
lea rax, [rsp + 0x110]
xor edi, edi
lea r12, str..._s
mov qword [rsp + 0x80], rax
mov rax, rbx
mov rbx, r14
mov qword [rsp + 0x88], r10
mov r14, rax
jmp 0x1401f1846
mov rcx, rsi
call sym.strlen
and eax, 0x3fffffff
mov r8, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov edx, 0x3b
mov dword [rsp + 0x118], eax
call sym.sqlite3ExprAlloc
mov r8, rax
test rax, rax
je 0x1401f17e8
test byte [rax + 4], 3
jne 0x1401f17e8
mov eax, dword [rsp + 0xb8]
mov dword [r8 + 0x34], eax
mov rcx, qword [rsp + 0x58]
mov rdx, rbx
call sym.sqlite3ExprListAppend
mov rbx, rax
test rax, rax
je 0x1401f1836
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
mov rdx, r12
mov r8, rsi
sub eax, 1
mov dword [rsp + 0x48], eax
call dbg.sqlite3MPrintf
mov rdx, rax
movsxd rax, dword [rsp + 0x48]
shl rax, 5
add rax, rbx
mov qword [rax + 0x10], rdx
movzx edx, byte [rax + 0x1c]
and edx, 0x7c
or edx, 0xffffff82
mov byte [rax + 0x1c], dl
mov rax, qword [rsp + 0xc8]
add rdi, 1
cmp dword [rax], edi
jle 0x1401f1872
mov rsi, qword [rsp + 0xc8]
mov rax, rdi
shl rax, 4
mov rsi, qword [rsi + rax + 8]
mov qword [rsp + 0x110], rsi
test rsi, rsi
jne 0x1401f17a1
xor eax, eax
jmp 0x1401f17ae
mov rax, r14
mov r10, qword [rsp + 0x88]
mov r14, rbx
mov esi, dword [rsp + 0x98]
mov rbx, rax
jmp 0x1401f0f79
mov rax, qword [rsp + 0x198]
mov r14, qword [rax + 0x20]
jmp 0x1401eff62
mov rdi, qword [rsp + 0xb0]
mov eax, dword [rax + 0x34]
mov rdx, qword [rdi + 0x10]
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0x78]
mov rdi, qword [rdx + 8]
mov eax, dword [rax]
mov qword [rsp + 0x90], rdi
test eax, eax
jg 0x1401f0e60
jmp 0x1401f1685
mov rax, qword [rsp + 0x198]
xor esi, esi
mov r14, qword [rax + 0x20]
jmp 0x1401eff62
lea rax, [0x14038d370]
mov qword [rsp + 0xa0], rax
jmp 0x1401f0f46
lea rdx, str.too_many_columns_in_result_set
mov rcx, r13
call dbg.sqlite3ErrorMsg
jmp 0x1401f0954
mov rcx, qword [rsp + 0x58]
lea rdx, str.no_tables_specified
call dbg.sqlite3ErrorMsg
jmp 0x1401f0dfc
mov r8, qword [rsi]
mov r12, r11
lea rdx, str.too_many_references_to___s_:_max_65535
mov rcx, r13
call dbg.sqlite3ErrorMsg
mov qword [r12 + 0x20], 0
jmp 0x1401f0954
and esi, 0x2000
mov edi, esi
jmp 0x1401f08f1
mov qword [rsp + 0x58], rdi
lea rax, [r12 + r12*2]
lea rcx, str.circular_reference:__s
mov rbp, qword [r13 + 0x198]
shl rax, 4
mov qword [rsi + rax + 0x28], rcx
mov qword [r13 + 0x198], rsi
and dh, 0x20
je 0x1401f1abf
mov rdx, qword [rsp + 0x58]
mov rax, qword [rdi + 0x68]
mov qword [rsp + 0x60], r11
mov rcx, qword [rsp + 0x190]
mov qword [rdx + 0x68], rax
call dbg.sqlite3WalkSelect
mov rdx, qword [rsp + 0x58]
mov r11, qword [rsp + 0x60]
test eax, eax
mov qword [rdx + 0x68], 0
jne 0x1401f1ab3
mov qword [r13 + 0x198], rsi
mov rax, rdi
mov rdx, rax
mov rax, qword [rax + 0x50]
test rax, rax
jne 0x1401f19ca
lea rax, [r12 + r12*2]
mov rdx, qword [rdx + 0x20]
shl rax, 4
add rax, rsi
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1401f1a94
test rdx, rdx
je 0x1401f1a05
mov r9d, dword [rdx]
mov edx, dword [rcx]
cmp r9d, edx
jne 0x1401f1a9c
mov rax, qword [rsp + 0x48]
mov r9, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, r13
mov qword [rsp + 0x58], r11
lea r8, [rax + 0x36]
call sym.sqlite3ColumnsFromExprList.isra.0
cmp byte [rsp + 0xa8], 1
mov r11, qword [rsp + 0x58]
ja 0x1401f1a72
test byte [rdi + 5], 0x20
lea rax, str.multiple_recursive_references:__s
lea rdx, str.recursive_reference_in_a_subquery:__s
mov rcx, qword [rsp + 0x190]
cmovne rdx, rax
lea rax, [r12 + r12*2]
mov qword [rsp + 0x48], r11
shl rax, 4
mov qword [rsi + rax + 0x28], rdx
mov rdx, rdi
call dbg.sqlite3WalkSelect
mov r11, qword [rsp + 0x48]
lea rax, [r12 + r12*2]
shl rax, 4
mov qword [rsi + rax + 0x28], 0
movzx eax, byte [r11 + 0x40]
mov qword [r13 + 0x198], rbp
jmp 0x1401f00c3
mov rcx, rdx
jmp 0x1401f1a05
mov r8, qword [rax + 0x10]
mov dword [rsp + 0x20], edx
mov rcx, r13
lea rdx, str.table__s_has__d_values_for__d_columns
call dbg.sqlite3ErrorMsg
mov qword [r13 + 0x198], rbp
jmp 0x1401f0954
mov rcx, qword [rsp + 0x190]
mov rdx, rdi
mov qword [rsp + 0x58], r11
call dbg.sqlite3WalkSelect
mov r11, qword [rsp + 0x58]
test eax, eax
je 0x1401f19c0
jmp 0x1401f1ab3
mov r8, qword [r11 + 0x58]
lea rdx, str.no_such_index:___s_
mov rcx, r13
call dbg.sqlite3ErrorMsg
jmp 0x1401f0954
mov rax, qword [rsp + 0x198]
mov qword [rax + 0x68], 0
jmp 0x1401f0954
mov r13, qword [rsp + 0x48]
xor r8d, r8d
lea rdx, str.a_NATURAL_join_may_not_have_an_ON_or_USING_clause
mov rcx, r13
call dbg.sqlite3ErrorMsg
jmp 0x1401f0954
mov rcx, qword [r13]
mov rdx, rbp
mov rbx, qword [rsp + 0x48]
call sym.sqlite3DbFree
mov rcx, qword [rsp + 0x58]
mov rdx, rbx
call sym.sqlite3DbFreeNN
jmp 0x1401f0954
mov ecx, 0x18
mov qword [rsp + 0x60], r11
call sym.sqlite3Malloc
mov r11, qword [rsp + 0x60]
jmp 0x1401f0c3a
mov qword [rdi + 0x30], 0
mov rbx, qword [rsp + 0x48]
jmp 0x1401f1b3d
mov ecx, 0x14
call sym.sqlite3Malloc
mov r11, qword [rsp + 0x60]
mov rbp, rax
jmp 0x1401f0bfd