Function at 0x1400143d0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov rax, qword [0x1401b2788]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x98], 0xfffffffffffe7960
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
lea rax, str.SELECT_s.rowid__s.name__l.name_FROM___sqlite_schema_AS_s____pragma_index_list_s.name__AS_l_WHERE_s.type__table
mov qword [rsp + 0xa8], rax
lea rax, str.SELECT_name__coll_FROM_pragma_index_xinfo____WHERE_key
mov qword [rsp + 0xb0], rax
lea rax, str.INSERT_INTO_sqlite_stat1_VALUES_________
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x100]
cmp dword [rax], 0
jne 0x140014474
xor eax, eax
jmp 0x1400148f3
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x44]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.140013c70
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x44], 0
jle 0x1400144a4
cmp dword [rsp + 0x40], 0
je 0x1400144ad
mov eax, dword [rsp + 0x40]
jmp 0x1400148f3
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ANALYZE__PRAGMA_writable_schema1
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x10]
call sym.sqlite3.exe_sqlite3_exec
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140014503
movsxd rax, dword [rsp + 0x44]
imul rax, rax, 0x28
add rax, 0x30
mov dword [rsp + 0x60], eax
mov edx, dword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140010690
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x40], 0
jne 0x1400145a1
mov rax, qword [rsp + 0x100]
cmp dword [rax], 0x64
jne 0x140014531
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 8]
mov qword [rsp + 0x80], rax
jmp 0x140014545
mov rax, qword [rsp + 0x100]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [0x140013970]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 2
lea rdx, [0x14019c2ac]
mov rcx, qword [rsp + 0xa0]
call sym.sqlite3.exe_sqlite3_create_function
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400145f8
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
lea rax, [0x140013820]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.sample
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 8]
call sym.sqlite3.exe_sqlite3_create_function
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140014636
mov eax, dword [rsp + 0x44]
inc eax
mov rcx, qword [rsp + 0x50]
mov dword [rcx], eax
mov r9, qword [rsp + 0xa8]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x58]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.140010c70
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140014667
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x70]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.140010c70
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x140014698
mov r9, qword [rsp + 0xb8]
mov r8, qword [rsp + 0x108]
lea rdx, [rsp + 0x78]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x10]
call fcn.140010c70
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x1400147dd
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x1400147dd
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_column_int64
mov qword [rsp + 0x90], rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0x68], rax
mov edx, 2
mov rcx, qword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x68], 0
je 0x140014708
cmp qword [rsp + 0x88], 0
jne 0x14001470a
jmp 0x140014698
mov rax, qword [rsp + 0x100]
cmp dword [rax], 0x64
jge 0x14001478e
mov rax, qword [rsp + 0x90]
cmp qword [rsp + 0x98], rax
je 0x14001478e
mov rax, qword [rsp + 0x100]
cvtsi2sd xmm0, dword [rax]
divsd xmm0, qword [0x14017b5e0]
movsd qword [rsp + 0xc8], xmm0
mov rax, qword [rsp + 0x100]
mov eax, dword [rax]
mov dword [rsp + 0xc0], eax
xorps xmm0, xmm0
movsd qword [rsp + 0xd0], xmm0
xorps xmm0, xmm0
movsd qword [rsp + 0xd8], xmm0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x100]
call fcn.140014320
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14001478e
jmp 0x1400147dd
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x100]
call fcn.140013d20
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
jmp 0x140014698
cmp dword [rsp + 0x40], 0
jne 0x14001481c
mov rax, qword [rsp + 0x100]
cmp dword [rax], 0x64
jge 0x14001481c
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14019d150]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x18]
call sym.sqlite3.exe_sqlite3_exec
mov dword [rsp + 0x40], eax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140011680
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140011680
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140011680
cmp qword [rsp + 0x50], 0
je 0x140014896
mov dword [rsp + 0x48], 0
jmp 0x140014865
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
cmp dword [rsp + 0x48], eax
jge 0x14001488c
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + rax + 0x28]
call sym.sqlite3.exe_sqlite3_free
jmp 0x14001485b
mov rcx, qword [rsp + 0x50]
call sym.sqlite3.exe_sqlite3_free
cmp dword [rsp + 0x40], 0
jne 0x1400148c8
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ANALYZE_sqlite_schema
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 0x10]
call sym.sqlite3.exe_sqlite3_exec
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DROP_TABLE_IF_EXISTS_temp.t592690916721053953805701627921227776
mov rax, qword [rsp + 0x100]
mov rcx, qword [rax + 8]
call sym.sqlite3.exe_sqlite3_exec
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140154660
add rsp, 0xf8
ret