Function at 0x14000e310
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0xffffffff
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x40]
inc rax
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x48], 0xb
je 0x14000e75b
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 1
je 0x14000e396
cmp dword [rsp + 0x3c], 7
je 0x14000e40c
cmp dword [rsp + 0x3c], 8
je 0x14000e45d
cmp dword [rsp + 0x3c], 9
je 0x14000e56b
jmp 0x14000e681
call sym.sqlite3.exe_sqlite3_keyword_count
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + 0x4c], eax
jl 0x14000e3c0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48], 7
jmp 0x14000e3ff
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x4c]
inc eax
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x30]
add rax, 0x30
mov rcx, qword [rsp + 0x30]
add rcx, 0x28
mov r8, rax
mov rdx, rcx
mov ecx, dword [rsp + 0x58]
call sym.sqlite3.exe_sqlite3_keyword_name
mov dword [rsp + 0x38], 0xffffffff
jmp 0x14000e681
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x14000e448
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xffffffff
lea rdx, [0x14019c1c8]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x40], 8
jmp 0x14000e681
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x14000e556
mov qword [rsp + 0x48], 0
lea rax, [0x1401b33c5]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 0xffffffff
lea rdx, [0x14019c330]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x14000e514
mov edx, 1
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0x88], rax
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x48]
lea rcx, str._z_sSELECT_name_FROM___w_.sqlite_schema
call sym.sqlite3.exe_sqlite3_mprintf
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000e506
mov eax, 7
jmp 0x14000e75d
lea rax, [0x14019c370]
mov qword [rsp + 0x70], rax
jmp 0x14000e4ab
mov rcx, qword [rsp + 0x60]
call sym.sqlite3.exe_sqlite3_finalize
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov rcx, qword [rsp + 0x48]
call sym.sqlite3.exe_sqlite3_free
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 9
jmp 0x14000e681
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x14000e671
mov qword [rsp + 0x50], 0
lea rax, [0x1401b33c6]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 0xffffffff
lea rdx, [0x14019c378]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov rcx, qword [rsp + 0x68]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x14000e62f
mov edx, 1
mov rcx, qword [rsp + 0x68]
call sym.sqlite3.exe_sqlite3_column_text
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x50]
lea rcx, str._z_sSELECT_pti.name_FROM___w_.sqlite_schema_AS_sm_JOIN_pragma_table_info_sm.name__Q__AS_pti_WHERE_sm.typetable
call sym.sqlite3.exe_sqlite3_mprintf
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000e61e
mov eax, 7
jmp 0x14000e75d
lea rax, str._UNION
mov qword [rsp + 0x80], rax
jmp 0x14000e5bc
mov rcx, qword [rsp + 0x68]
call sym.sqlite3.exe_sqlite3_finalize
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xffffffff
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call sym.sqlite3.exe_sqlite3_prepare_v2
mov rcx, qword [rsp + 0x50]
call sym.sqlite3.exe_sqlite3_free
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x40], 0xb
cmp dword [rsp + 0x38], 0
jge 0x14000e69b
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
jne 0x14000e699
jmp 0x14000e34e
jmp 0x14000e711
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x14000e6e5
mov edx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call sym.sqlite3.exe_sqlite3_column_text
mov rcx, qword [rsp + 0x30]
mov qword [rcx + 0x28], rax
mov edx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call sym.sqlite3.exe_sqlite3_column_bytes
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x30], eax
jmp 0x14000e711
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call sym.sqlite3.exe_sqlite3_finalize
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x38], 0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x48], ecx
jmp 0x14000e34e
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x14000e71e
jmp 0x14000e75b
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 0x10], ecx
jg 0x14000e756
mov rax, qword [rsp + 0x30]
mov r8d, dword [rax + 0x10]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x28]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x18]
call sym.sqlite3.exe_sqlite3_strnicmp
test eax, eax
jne 0x14000e756
jmp 0x14000e75b
jmp 0x14000e34e
xor eax, eax
add rsp, 0x98
ret