Function at 0x1401aa050
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r13d, dword [rcx + 0x6c]
mov rbx, rcx
shr r13d, 3
lea rcx, str.PRAGMA_table_info_Q
and r13d, 1
xor r14d, r14d
xor r12d, r12d
xor ebp, ebp
xor esi, esi
xor r15d, r15d
call fcn.1401ba3f0
mov rcx, qword [rbx]
lea r9, [rsp + 0xa0]
mov rdi, rax
lea r8d, [r14 - 1]
xor eax, eax
mov rdx, rdi
mov qword [rsp + 0x20], rax
call fcn.1401bb160
mov rcx, rdi
mov ebx, eax
call fcn.1401ba620
test ebx, ebx
jne 0x1401aa21f
mov rcx, qword [rsp + 0xa0]
call fcn.1401ad290
cmp eax, 0x64
jne 0x1401aa195
xor ebx, ebx
lea eax, [rbp - 2]
cmp r12d, eax
jl 0x1401aa10b
add ebp, 5
mov rcx, r14
lea ebp, [r12 + rbp*2]
lea edx, [rbp*8]
call fcn.1401ba590
mov r14, rax
test rax, rax
je 0x1401aa31c
mov rcx, qword [rsp + 0xa0]
mov edx, 1
inc r12d
add rbx, 8
call fcn.1401ad4e0
mov rdx, rax
lea rcx, [0x1402e94ac]
call fcn.1401ba3f0
mov qword [rbx + r14], rax
mov edx, 5
mov rcx, qword [rsp + 0xa0]
call fcn.1401ad460
test eax, eax
je 0x1401aa17f
inc esi
cmp esi, 1
jne 0x1401aa17c
mov rcx, qword [rsp + 0xa0]
lea edx, [rsi + 1]
call fcn.1401ad4e0
mov rcx, rax
lea rdx, str.INTEGER
call fcn.1401b28c0
test eax, eax
jne 0x1401aa17c
mov r15d, esi
jmp 0x1401aa17f
xor r15d, r15d
mov rcx, qword [rsp + 0xa0]
call fcn.1401ad290
cmp eax, 0x64
je 0x1401aa0e1
mov rcx, qword [rsp + 0xa0]
call fcn.1401ad670
test r14, r14
je 0x1401aa21f
movsxd rbp, r12d
mov qword [r14], 0
mov qword [r14 + rbp*8 + 8], 0
test r13d, r13d
je 0x1401aa314
test r15d, r15d
je 0x1401aa268
mov rdx, qword [rsp + 0x98]
lea rcx, str.SELECT_1_FROM_pragma_index_list__Q__WHERE_originpk
call fcn.1401ba3f0
mov rcx, qword [rsp + 0x90]
lea r9, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx]
lea r8d, [rax - 1]
call fcn.1401bb160
mov rcx, rdi
mov ebx, eax
call fcn.1401ba620
test ebx, ebx
je 0x1401aa239
mov rcx, r14
call fcn.1401a0900
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0xa0]
call fcn.1401ad290
mov rcx, qword [rsp + 0xa0]
mov ebx, eax
call fcn.1401ad670
xor r13d, r13d
cmp ebx, 0x64
sete r13b
test r13d, r13d
je 0x1401aa314
xor r15d, r15d
lea rsi, str.0j._
lea r13, [0x140397c00]
nop dword [rax]
mov edi, 1
mov ebx, edi
cmp rbx, rbp
jg 0x1401aa2aa
nop dword [rax]
mov rdx, qword [r14 + rbx*8]
mov rcx, qword [rsi]
call fcn.1401b28c0
test eax, eax
je 0x1401aa2aa
inc edi
inc rbx
cmp rbx, rbp
jle 0x1401aa290
cmp edi, r12d
jg 0x1401aa2c3
inc r15d
add rsi, 8
cmp rsi, r13
jl 0x1401aa280
mov rax, r14
jmp 0x1401aa221
mov r8, qword [rsp + 0x98]
lea rcx, str.0j._
movsxd rax, r15d
xor edx, edx
mov r9, qword [rcx + rax*8]
lea rbx, [rcx + rax*8]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax]
call fcn.1401aeff0
test eax, eax
jne 0x1401aa314
mov rax, qword [rbx]
mov qword [r14], rax
mov rax, r14
jmp 0x1401aa221
call fcn.1401a9150
int3