Function at 0x14000f860
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 0x14000fcab
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x3c], 1
je 0x14000f8e6
cmp dword [rsp + 0x3c], 7
je 0x14000f95c
cmp dword [rsp + 0x3c], 8
je 0x14000f9ad
cmp dword [rsp + 0x3c], 9
je 0x14000fabb
jmp 0x14000fbd1
call sym.sqlite3.exe_sqlite3_keyword_count
mov rcx, qword [rsp + 0x30]
cmp dword [rcx + 0x4c], eax
jl 0x14000f910
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x48], 7
jmp 0x14000f94f
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 0x14000fbd1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x14000f998
mov rax, qword [rsp + 0x30]
add rax, 0x38
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8d, 0xffffffff
lea rdx, [0x1401a05f8]
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 0x14000fbd1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x14000faa6
mov qword [rsp + 0x48], 0
lea rax, [0x1401b7cd5]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 0xffffffff
lea rdx, [0x1401a0768]
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 0x14000fa64
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 0x14000fa56
mov eax, 7
jmp 0x14000fcad
lea rax, [0x1401a07a8]
mov qword [rsp + 0x70], rax
jmp 0x14000f9fb
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 0x14000fbd1
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x38], 0
jne 0x14000fbc1
mov qword [rsp + 0x50], 0
lea rax, [0x1401b7cd6]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, 0xffffffff
lea rdx, [0x1401a07b0]
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 0x14000fb7f
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 0x14000fb6e
mov eax, 7
jmp 0x14000fcad
lea rax, str._UNION
mov qword [rsp + 0x80], rax
jmp 0x14000fb0c
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 0x14000fbeb
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x28], 0
jne 0x14000fbe9
jmp 0x14000f89e
jmp 0x14000fc61
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
call sym.sqlite3.exe_sqlite3_step
cmp eax, 0x64
jne 0x14000fc35
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 0x14000fc61
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 0x14000f89e
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
jne 0x14000fc6e
jmp 0x14000fcab
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 0x10], ecx
jg 0x14000fca6
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 0x14000fca6
jmp 0x14000fcab
jmp 0x14000f89e
xor eax, eax
add rsp, 0x98
ret