Function at 0x1400227c0
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, [0x1401bb46b]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x48], 0
lea rax, str.SELECT______EXPLAIN_QUERY_PLAN_SELECT_1_FROM___quote_s.name____WHERE____group_concat_quote_s.name___.__quote_f._from_________fkey_collate_clause________f._table___COALESCE_f._to___p._name____s.name__f._from____AND_________SEARCH___s.name___USING_COVERING_INDEX____group_concat_____AND____________s.name______group_concat_f._from_________________f._table______group_concat_COALESCE_f._to___p._name_____________CREATE_INDEX___quote_s.name___group_concat_f._from__________ON___quote_s.name_______group_concat_quote_f._from___________fkey_collate_clause___________f._table___COALESCE_f._to___p._name____s.name__f._from___________________f._table__FROM_sqlite_schema_AS_s__pragma_foreign_key_list_s.name__AS_f_LEFT_JOIN_pragma_table_info_AS_p_ON__pk_1seq_AND_p.argf._table___GROUP_BY_s.name__f.id_ORDER_BY__CASE_WHEN___THEN_f._table__ELSE_s.name_END_
mov qword [rsp + 0xc8], rax
lea rax, str.SEARCH__USING_INTEGER_PRIMARY_KEY__rowid__
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x44], 2
jmp 0x140022854
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x44], eax
jge 0x140022971
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x118]
mov rcx, qword [rcx + rax*8]
call fcn.140001850
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 1
jle 0x1400228b9
movsxd rax, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rcx + rax*8]
lea rcx, str._verbose
call sym.sqlite3.exe_sqlite3_strnicmp
test eax, eax
jne 0x1400228b9
mov dword [rsp + 0x5c], 1
jmp 0x14002296c
cmp dword [rsp + 0x50], 1
jle 0x1400228ff
movsxd rax, dword [rsp + 0x44]
mov r8d, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rcx + rax*8]
lea rcx, str._groupbyparent
call sym.sqlite3.exe_sqlite3_strnicmp
test eax, eax
jne 0x1400228ff
mov dword [rsp + 0x58], 1
lea rax, [0x14019fcf8]
mov qword [rsp + 0x90], rax
jmp 0x14002296c
mov eax, 8
imul rax, rax, 1
mov qword [rsp + 0xb8], rax
mov ecx, 8
imul rcx, rcx, 0
mov qword [rsp + 0xc0], rcx
mov ecx, 2
call fcn.140158204
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0xb8]
mov r9, qword [rcx + rdx]
mov rcx, qword [rsp + 0x118]
mov rdx, qword [rsp + 0xc0]
mov r8, qword [rcx + rdx]
lea rdx, str.Usage:__s__s___verbose____groupbyparent__n
mov rcx, rax
call fcn.140031190
mov eax, 1
jmp 0x140022da1
jmp 0x14002284a
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [0x1400225b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 1
mov r8d, 4
lea rdx, str.fkey_collate_clause
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_create_function
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400229ea
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140022a05
mov r8d, dword [rsp + 0x58]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_bind_int
cmp dword [rsp + 0x40], 0
jne 0x140022d67
mov qword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x140022cc4
mov dword [rsp + 0x54], 0xffffffff
mov qword [rsp + 0x78], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0xa0], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0xa8], rax
mov edx, 2
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0xe0], rax
mov edx, 3
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0xb0], rax
mov edx, 4
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0xd8], rax
mov edx, 5
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0xa0], 0
jne 0x140022ad4
jmp 0x140022a19
cmp qword [rsp + 0xa8], 0
jne 0x140022ae4
jmp 0x140022a19
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140022b1a
jmp 0x140022cc4
mov rcx, qword [rsp + 0x78]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x140022b97
mov edx, 3
mov rcx, qword [rsp + 0x78]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x140022b87
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xa8]
call sym.sqlite3.exe_sqlite3_strglob
test eax, eax
je 0x140022b7d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xd0]
call sym.sqlite3.exe_sqlite3_strglob
test eax, eax
jne 0x140022b87
mov dword [rsp + 0x68], 1
jmp 0x140022b8f
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x54], eax
mov rcx, qword [rsp + 0x78]
call sym.sqlite3.exe_sqlite3_finalize
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140022bb1
jmp 0x140022cc4
cmp dword [rsp + 0x54], 0
jge 0x140022bdb
mov ecx, 2
call fcn.140158204
lea rdx, str.Error:_internal_error
mov rcx, rax
call fcn.140031190
jmp 0x140022cc4
cmp dword [rsp + 0x58], 0
je 0x140022c4d
cmp dword [rsp + 0x5c], 0
jne 0x140022bf0
cmp dword [rsp + 0x54], 0
jne 0x140022c4d
cmp qword [rsp + 0x70], 0
je 0x140022c0e
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
call sym.sqlite3.exe_sqlite3_stricmp
test eax, eax
je 0x140022c4d
mov r8, qword [rsp + 0x88]
lea rdx, str.___Parent_table__s_n
mov rcx, qword [rsp + 0x98]
call fcn.140031190
mov rcx, qword [rsp + 0x70]
call sym.sqlite3.exe_sqlite3_free
mov rdx, qword [rsp + 0x88]
lea rcx, [0x14019f504]
call sym.sqlite3.exe_sqlite3_mprintf
mov qword [rsp + 0x70], rax
cmp dword [rsp + 0x54], 0
jne 0x140022c87
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xd8]
mov r8, qword [rsp + 0x90]
lea rdx, str._s_s______s_n
mov rcx, qword [rsp + 0x98]
call fcn.140031190
jmp 0x140022cbf
cmp dword [rsp + 0x5c], 0
je 0x140022cbf
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xe0]
mov r8, qword [rsp + 0x90]
lea rdx, str._s__no_extra_indexes_required_for__s_____s___n
mov rcx, qword [rsp + 0x98]
call fcn.140031190
jmp 0x140022a19
mov rcx, qword [rsp + 0x70]
call sym.sqlite3.exe_sqlite3_free
cmp dword [rsp + 0x40], 0
je 0x140022d0b
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_errmsg
mov qword [rsp + 0xe8], rax
mov ecx, 2
call fcn.140158204
mov rcx, qword [rsp + 0xe8]
mov r8, rcx
lea rdx, [0x14019f52c]
mov rcx, rax
call fcn.140031190
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_finalize
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x40], 0
jne 0x140022d65
cmp dword [rsp + 0x6c], 0
je 0x140022d65
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_errmsg
mov qword [rsp + 0xf0], rax
mov ecx, 2
call fcn.140158204
mov rcx, qword [rsp + 0xf0]
mov r8, rcx
lea rdx, [0x14019f564]
mov rcx, rax
call fcn.140031190
jmp 0x140022d9d
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_errmsg
mov qword [rsp + 0xf8], rax
mov ecx, 2
call fcn.140158204
mov rcx, qword [rsp + 0xf8]
mov r8, rcx
lea rdx, [0x14019f5c4]
mov rcx, rax
call fcn.140031190
mov eax, dword [rsp + 0x40]
add rsp, 0x108
ret