Function at 0x1401a3600
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
cmp r8d, 2
jl 0x1401a358c
mov rcx, qword [rdx + 8]
call fcn.1401aa000
cmp eax, 1
jl 0x1401a358c
mov r8d, eax
lea rdx, str.fkey_indexes
call fcn.1401b28e0
test eax, eax
jne 0x1401a358c
mov r8d, edi
mov rdx, rbx
mov rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1401a3600
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rbx]
lea rdx, str.Usage__s_sub_command__switches...__n
mov rcx, rax
call fcn.1401a08b0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Where_sub_commands_are:_n
call fcn.1401a08b0
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.____fkey_indexes_n
call fcn.1401a08b0
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rbx, qword [rcx]
lea r12, [0x1402b04e8]
mov rax, qword [rcx + 0x30]
xor edi, edi
xor r15d, r15d
mov qword [rsp + 0xc8], rbx
mov esi, 2
mov qword [rsp + 0x48], rax
mov dword [rsp + 0xc0], edi
mov ebp, r8d
mov qword [rsp + 0xb0], rdi
mov r14, rdx
cmp r8d, esi
jle 0x1401a36c7
lea rbx, [rdx + 0x10]
mov rcx, qword [rbx]
call fcn.1401aa000
mov edi, eax
cmp eax, 1
jle 0x1401a3878
mov rdx, rcx
mov r8d, eax
lea rcx, str._verbose
call fcn.1401b28e0
test eax, eax
jne 0x1401a3688
mov edi, dword [rsp + 0xc0]
lea r15d, [rax + 1]
jmp 0x1401a36b5
mov rdx, qword [rbx]
lea rcx, str._groupbyparent
mov r8d, edi
call fcn.1401b28e0
test eax, eax
jne 0x1401a3878
mov edi, 1
lea r12, [0x1402b1104]
mov dword [rsp + 0xc0], edi
inc esi
add rbx, 8
cmp esi, ebp
jl 0x1401a3652
mov rbx, qword [rsp + 0xc8]
mov qword [rsp + 0x38], 0
lea rax, [0x1401a72a0]
mov r9d, 1
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
lea rdx, str.fkey_collate_clause
mov rcx, rbx
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0x20], 0
lea r8d, [r9 + 3]
call fcn.1401ad770
mov ebp, eax
test eax, eax
jne 0x1401a3a1d
lea r9, [rsp + 0xb0]
mov qword [rsp + 0x20], 0
lea r8d, [rax - 1]
mov rcx, rbx
lea rdx, 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_TABLE___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_
call fcn.1401bb160
mov ebp, eax
test eax, eax
jne 0x1401a3a1d
mov rcx, qword [rsp + 0xb0]
lea edx, [rax + 1]
mov r8d, edi
call fcn.1401acd80
mov rcx, qword [rsp + 0xb0]
xor esi, esi
call fcn.1401ad290
cmp eax, 0x64
jne 0x1401a3a03
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0xb0]
xor edx, edx
mov edi, 0xffffffff
mov qword [rsp + 0x40], 0
call fcn.1401ad4e0
mov rcx, qword [rsp + 0xb0]
lea edx, [rdi + 2]
mov rbx, rax
call fcn.1401ad4e0
mov rcx, qword [rsp + 0xb0]
lea edx, [rdi + 3]
mov r13, rax
call fcn.1401ad4e0
mov rcx, qword [rsp + 0xb0]
lea edx, [rdi + 4]
mov qword [rsp + 0x60], rax
call fcn.1401ad4e0
mov rcx, qword [rsp + 0xb0]
lea edx, [rdi + 5]
mov qword [rsp + 0x50], rax
call fcn.1401ad4e0
mov rcx, qword [rsp + 0xb0]
lea edx, [rdi + 6]
mov qword [rsp + 0x58], rax
call fcn.1401ad4e0
mov rdx, rbx
mov qword [rsp + 0x20], 0
mov rbx, qword [rsp + 0xc8]
lea r9, [rsp + 0x40]
mov rcx, rbx
mov r8d, edi
mov r14, rax
call fcn.1401bb160
mov ebp, eax
test eax, eax
jne 0x1401a39c4
mov rcx, qword [rsp + 0x40]
call fcn.1401ad290
cmp eax, 0x64
jne 0x1401a38ba
mov rcx, qword [rsp + 0x40]
lea edx, [rdi + 4]
call fcn.1401ad4e0
mov rdx, rax
mov rcx, r13
mov rbx, rax
call fcn.1401b2950
test eax, eax
je 0x1401a38ad
mov rdx, rbx
lea rcx, str.SEARCH_TABLE__USING_INTEGER_PRIMARY_KEY__rowid__
call fcn.1401b2950
test eax, eax
je 0x1401a38ad
xor edi, edi
jmp 0x1401a38b2
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, qword [r14 + 8]
lea rdx, str.Usage:__s__s___verbose____groupbyparent__n
mov r8, qword [r14]
mov rcx, rax
call fcn.1401a08b0
mov eax, 1
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov edi, 1
mov rbx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x40]
call fcn.1401ad670
mov ebp, eax
test eax, eax
jne 0x1401a39c4
test edi, edi
js 0x1401a39a5
cmp dword [rsp + 0xc0], eax
je 0x1401a3933
test r15d, r15d
jne 0x1401a38ec
test edi, edi
jne 0x1401a3970
test rsi, rsi
je 0x1401a3900
mov rdx, rsi
mov rcx, r14
call fcn.1401b28c0
test eax, eax
je 0x1401a3933
mov rbx, qword [rsp + 0x48]
lea rdx, str.___Parent_table__s_n
mov rcx, rbx
mov r8, r14
call fcn.1401a08b0
mov rcx, rsi
call fcn.1401ba620
mov rdx, r14
lea rcx, [0x1402e94ac]
call fcn.1401ba3f0
mov rsi, rax
jmp 0x1401a3938
mov rbx, qword [rsp + 0x48]
test edi, edi
jne 0x1401a394a
mov r9, qword [rsp + 0x58]
lea rdx, str._s_s______s_n
jmp 0x1401a395b
test r15d, r15d
je 0x1401a3970
mov r9, qword [rsp + 0x60]
lea rdx, str._s__no_extra_indexes_required_for__s_____s___n
mov rax, qword [rsp + 0x50]
mov r8, r12
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1401a08b0
mov rcx, qword [rsp + 0xb0]
call fcn.1401ad290
cmp eax, 0x64
je 0x1401a3780
mov rcx, rsi
call fcn.1401ba620
mov rcx, qword [rsp + 0xb0]
call fcn.1401ad670
mov rbx, qword [rsp + 0xc8]
jmp 0x1401a3a17
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Error:_internal_error
call fcn.1401a08b0
mov rcx, rsi
jmp 0x1401a3a05
mov rcx, rsi
call fcn.1401ba620
mov rcx, rbx
call fcn.1401baf90
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, [0x1402e9b98]
mov rcx, rax
call fcn.1401a08b0
mov rcx, qword [rsp + 0xb0]
call fcn.1401ad670
jmp 0x1401a3a45
xor ecx, ecx
call fcn.1401ba620
mov rcx, qword [rsp + 0xb0]
call fcn.1401ad670
test eax, eax
je 0x1401a3a45
mov ebp, eax
mov rcx, rbx
call fcn.1401baf90
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, [0x1402e9b98]
mov rcx, rax
call fcn.1401a08b0
mov r13, qword [rsp + 0xb8]
mov eax, ebp
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret