Function at 0x14008bce0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x14024cdb8]
xor rax, rsp
mov qword [rsp + 0x148], rax
xor r13d, r13d
mov r12d, r13d
mov dword [rsp + 0x34], r13d
lea r8, str.SELECT_sql_FROM_sqlite_master_WHERE_tbl_name__source_AND_type__table_
mov rdx, qword [rcx + 8]
lea rcx, [rsp + 0xc0]
call fcn.14009cd80
nop
lea esi, [r13 + 0x15]
cmp byte [rsp + 0x111], 0
jne 0x14008bd7c
mov rcx, qword [rsp + 0xe8]
call fcn.1400cfcb0
mov ebx, eax
cmp eax, 0x64
jne 0x14008bd5d
mov cl, 1
mov byte [rsp + 0x110], cl
jmp 0x14008bd86
xor cl, cl
cmp eax, 0x65
jne 0x14008bd70
mov word [rsp + 0x110], 0x100
jmp 0x14008bd86
mov word [rsp + 0x110], 0
jmp 0x14008bd86
mov ebx, esi
movzx ecx, byte [rsp + 0x110]
lea eax, [rbx - 0x64]
cmp eax, 1
jbe 0x14008be18
mov rax, qword [rsp + 0xe0]
test rax, rax
je 0x14008be06
mov ecx, dword [rax + 0x70]
cmp ecx, 0x4b771290
je 0x14008bdf8
cmp ecx, 0xa029a697
je 0x14008bdf8
cmp ecx, 0xf03b7906
je 0x14008bdf8
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ecx, esi
call fcn.1400a45c0
lea rax, [0x140209ae4]
mov qword [rsp + 0x20], rax
mov r9d, 0x27c50
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, esi
call fcn.1400a45c0
jmp 0x14008be0b
cmp byte [rax + 0x61], 0
jne 0x14008be06
mov esi, dword [rax + 0x54]
and esi, dword [rax + 0x50]
jmp 0x14008be0b
mov esi, 7
cmp ebx, esi
jne 0x14008c2e2
jmp 0x14008c2b4
test cl, cl
je 0x14008c143
cmp dword [rsp + 0xf8], 0
jle 0x14008c307
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0xe8]
mov qword [rsp + 0x40], rbx
mov r14, qword [rsp + 0xf0]
mov qword [rsp + 0x48], r14
inc dword [r14]
mov dword [rsp + 0x50], r13d
or r12d, 1
xor edx, edx
mov rcx, rbx
call fcn.1400d0530
mov r15, rax
test rbx, rbx
je 0x14008beaf
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14008be85
call qword [0x14024d050]
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x14008be9b
cmp r13w, word [rbx + 0xc0]
jb 0x14008beb6
mov rcx, qword [rbx]
mov dword [rcx + 0x50], 0x19
mov edx, 0x19
call fcn.1400a5050
lea rcx, [0x1401d9a78]
movzx eax, word [rcx + 8]
test al, 2
je 0x14008bec9
cmp byte [rcx + 0xa], 1
jne 0x14008bec9
mov edi, dword [rcx + 0xc]
jmp 0x14008beed
test al, 0x10
je 0x14008bedb
mov edi, dword [rcx + 0xc]
bt ax, 0xe
jae 0x14008beed
add edi, dword [rcx]
jmp 0x14008beed
test al, 1
je 0x14008bee4
mov edi, r13d
jmp 0x14008beed
mov dl, 1
call fcn.1400c7ae0
mov edi, eax
test rbx, rbx
je 0x14008bf27
mov edx, dword [rbx + 0x38]
mov rcx, qword [rbx]
cmp byte [rcx + 0x61], 0
jne 0x14008bf0d
cmp edx, 0xc0a
je 0x14008bf0d
mov eax, dword [rcx + 0x54]
and eax, edx
jmp 0x14008bf15
call fcn.1400a1d10
mov rcx, qword [rbx]
mov dword [rbx + 0x38], eax
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14008bf27
call qword [0x14024d060]
mov qword [rsp + 0x120], r13
mov qword [rsp + 0x130], r13
mov qword [rsp + 0x138], 0xf
movsxd r8, edi
mov rdx, r15
lea rcx, [rsp + 0x120]
call fcn.140023b80
or r12d, 6
mov dword [rsp + 0x34], r12d
add dword [r14], 0xffffffff
jne 0x14008bf7b
mov rcx, rbx
call fcn.1400cebf0
mov edx, 4
mov rcx, r14
call fcn.1401816cc
nop
lea r15, [rsp + 0x120]
mov r14, qword [rsp + 0x138]
cmp r14, 0x10
setae byte [rsp + 0x30]
mov rdi, qword [rsp + 0x120]
cmovae r15, rdi
mov rax, qword [rsp + 0x130]
cmp rax, 0x20
jb 0x14008c0ff
lea r12, [rax + r15]
movsx r13d, byte [str.package_name_varchar_256__unique]
lea r8, [r12 - 0x1f]
sub r8, r15
mov edx, r13d
mov rcx, r15
call fcn.140182d18
mov rbx, rax
test rax, rax
je 0x14008c0f7
nop dword [rax]
mov r8d, 0x20
lea rdx, str.package_name_varchar_256__unique
mov rcx, rbx
call fcn.140182cf4
test eax, eax
je 0x14008c01c
inc rbx
lea r8, [r12 - 0x1f]
sub r8, rbx
mov edx, r13d
mov rcx, rbx
call fcn.140182d18
mov rbx, rax
test rax, rax
jne 0x14008bfe0
jmp 0x14008c0f7
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x14008c0f7
cmp byte [rsp + 0x30], 0
je 0x14008c062
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008c059
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008c12f
mov rcx, rdi
call fcn.1401816cc
nop
mov r8, qword [rsp + 0x100]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.14008c8d0
mov edx, 0x48
mov rcx, qword [rsp + 0x100]
call fcn.1401816cc
nop
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x14008c0e3
dec dword [rax]
mov rax, qword [rsp + 0xf0]
cmp dword [rax], 0
jne 0x14008c0e3
mov rcx, qword [rsp + 0xe8]
call fcn.1400cebf0
mov edx, 4
mov rcx, qword [rsp + 0xf0]
call fcn.1401816cc
xor eax, eax
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xc0]
call fcn.140023a80
mov al, 1
jmp 0x14008c285
mov r12d, dword [rsp + 0x34]
xor r13d, r13d
cmp byte [rsp + 0x30], 0
je 0x14008bd34
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008c136
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008c136
call qword [0x1401cdd00]
int3
mov rcx, rdi
call fcn.1401816cc
jmp 0x14008bd34
mov r8, qword [rsp + 0x100]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x100]
call fcn.14008c8d0
mov edx, 0x48
mov rcx, qword [rsp + 0x100]
call fcn.1401816cc
nop
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x14008c275
dec dword [rax]
mov rax, qword [rsp + 0xf0]
cmp dword [rax], 0
jne 0x14008c275
mov rbx, qword [rsp + 0xe8]
test rbx, rbx
je 0x14008c253
mov rdi, qword [rbx]
test rdi, rdi
jne 0x14008c1eb
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, esi
call fcn.1400a45c0
lea rax, [0x140209ae4]
mov qword [rsp + 0x20], rax
mov r9d, 0x143d3
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, esi
call fcn.1400a45c0
jmp 0x14008c253
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x14008c1fa
call qword [0x14024d050]
cmp qword [rbx + 0xb8], 0
jle 0x14008c20f
mov rdx, rbx
mov rcx, rdi
call fcn.1400ceb30
mov esi, r13d
mov eax, dword [rbx + 0x24]
cmp eax, 0x2df20da3
je 0x14008c223
cmp eax, 0x319c2973
jne 0x14008c22d
mov rcx, rbx
call fcn.1400cc620
mov esi, eax
mov rcx, rbx
call fcn.1400ccba0
cmp byte [rdi + 0x61], 0
jne 0x14008c243
cmp esi, 0xc0a
jne 0x14008c24b
mov rcx, rdi
call fcn.1400a1d10
mov rcx, rdi
call fcn.14014ee70
mov edx, 4
mov rcx, qword [rsp + 0xf0]
call fcn.1401816cc
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xe8], r13
lea rcx, [rsp + 0xc0]
call fcn.140023a80
nop
xor al, al
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.140181670
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0xe0]
call fcn.1400660b0
mov rdx, rax
mov r8d, ebx
lea rcx, [rsp + 0x58]
call fcn.14009cc40
lea rdx, [0x14022f448]
lea rcx, [rsp + 0x58]
call fcn.140182cee
mov r8d, ebx
lea rdx, str.Statement_needs_to_be_reseted
lea rcx, [rsp + 0x78]
call fcn.14009cbe0
lea rdx, [0x14022f448]
lea rcx, [rsp + 0x78]
call fcn.140182cee
lea rdx, str.Column_index_out_of_range.
lea rcx, [rsp + 0x98]
call fcn.14009c550
lea rdx, [0x14022f448]
lea rcx, [rsp + 0x98]
call fcn.140182cee
int3