Function at 0x1400a2c70
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rsi
push r13
sub rsp, 0x198
xor esi, esi
mov r13, rcx
cmp byte [rcx + 0x1bd], 2
jne 0x1400a33a2
mov r8, qword [rcx + 0x28]
mov rdx, qword [rcx + 0x20]
lea rcx, str.SELECT_1_FROM__Q.sqlite_master_WHERE_tbl_name_q_stat
mov qword [rax + 0x18], rbx
mov qword [rax - 0x20], rdi
call fcn.140061bf0
mov qword [rsp + 0x1b0], rax
mov rbx, rax
test rax, rax
je 0x1400a339b
mov rcx, qword [r13 + 0x18]
lea rax, [rsp + 0x1b8]
mov qword [rsp + 0x30], rsi
lea r9d, [rsi + 1]
mov qword [rsp + 0x28], rax
lea r8d, [rsi - 1]
mov rdx, rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x170], r15
mov qword [rsp + 0x1b8], rsi
call fcn.1400f0db0
mov r15d, eax
test eax, eax
jne 0x1400a331a
mov rbx, qword [rsp + 0x1b8]
lea r15d, [rsi + 0x15]
mov qword [rsp + 0x190], rbp
mov ebp, esi
mov qword [rsp + 0x178], r14
test rbx, rbx
jne 0x1400a2d31
lea rdx, str.API_called_with_NULL_prepared_statement
jmp 0x1400a2d3d
cmp qword [rbx], rsi
jne 0x1400a2d69
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, r15d
call fcn.14006be40
lea r9, [0x140256b84]
mov r8d, 0x11b58
lea rdx, str.misuse_at_line__d_of___.10s_
mov ecx, r15d
call fcn.14006be40
mov edi, r15d
jmp 0x1400a3169
mov r14, qword [rbx]
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1400a2d7b
call qword [0x1402fd098]
and dword [rbx + 0x8c], 0xfffffdff
mov rcx, rbx
call fcn.140103430
mov edi, eax
cmp eax, 0x11
jne 0x1400a313b
mov qword [rsp + 0x180], r12
mov eax, ebp
inc ebp
cmp eax, 0x32
jge 0x1400a3133
test dword [rbx + 0x8c], 0x100
mov r12d, dword [rbx + 0x80]
je 0x1400a2dc9
mov rdx, qword [rbx + 0xe0]
jmp 0x1400a2dcc
mov rdx, rsi
mov rsi, qword [rbx]
lea rax, [rsp + 0x1b8]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov rcx, rsi
mov qword [rsp + 0x20], rbx
lea r8d, [r9 - 1]
call fcn.1400f0db0
mov edi, eax
test eax, eax
jne 0x1400a30ad
mov rdi, qword [rsp + 0x1b8]
lea rax, [rsp + 0x40]
mov rcx, rdi
mov edx, 2
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1400a2e20
movups xmm0, xmmword [rcx]
mov edx, 2
movups xmm1, xmmword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm1
mov qword [rax + 0x20], rcx
mov rcx, rdi
mov rax, rbx
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400a2e94
movups xmm0, xmmword [rax]
mov edx, 2
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
mov rax, qword [rax + 0x20]
mov qword [rcx + 0x20], rax
mov rcx, rbx
lea rax, [rsp + 0x40]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400a2f10
movups xmm0, xmmword [rax]
mov rdx, rbx
movups xmm1, xmmword [rax + 0x10]
mov rax, qword [rax + 0x20]
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm1
mov qword [rcx + 0x20], rax
mov rcx, qword [rdi + 0x58]
mov rax, qword [rbx + 0x58]
mov qword [rdi + 0x58], rax
mov rax, qword [rbx + 0x50]
mov qword [rbx + 0x58], rcx
mov rcx, qword [rdi + 0x50]
mov qword [rdi + 0x50], rax
mov rax, qword [rbx + 0xe0]
mov qword [rbx + 0x50], rcx
mov rcx, qword [rdi + 0xe0]
mov qword [rdi + 0xe0], rax
mov qword [rbx + 0xe0], rcx
mov rcx, rdi
mov eax, dword [rdi + 0x8c]
xor eax, dword [rbx + 0x8c]
and eax, 0x100
xor dword [rbx + 0x8c], eax
call fcn.140103d70
xor esi, esi
mov dword [rdi + 0x84], esi
mov eax, dword [rdi + 0x44]
cmp eax, 0xbdf20da3
je 0x1400a2ff0
cmp eax, 0x519c2973
jne 0x1400a2ff8
mov rcx, rdi
call fcn.140114590
mov rcx, rdi
call fcn.140109710
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400a3012
call qword [0x1402fd098]
mov rcx, rbx
call fcn.140114590
mov rcx, qword [rbx]
mov edx, eax
mov dword [rbx + 0x80], 0xffffffff
mov rax, rcx
mov dword [rbx + 0x84], esi
mov word [rbx + 0x8a], 0xff02
mov dword [rbx + 0x44], 0xbdf20da3
mov dword [rbx + 0x90], esi
mov dword [rbx + 0x7c], 1
mov dword [rbx + 0x9c], esi
mov qword [rbx + 0xc8], rsi
test rcx, rcx
je 0x1400a3077
cmp byte [rcx + 0x51], sil
jne 0x1400a306f
cmp edx, 0xc0a
jne 0x1400a3077
call fcn.1400710e0
mov rax, qword [rbx]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400a3086
call qword [0x1402fd0a8]
test r12d, r12d
js 0x1400a3095
or dword [rbx + 0x8c], 0x200
mov rcx, rbx
call fcn.140103430
mov edi, eax
cmp eax, 0x11
je 0x1400a2da0
jmp 0x1400a3133
cmp edi, 7
jne 0x1400a30b6
mov byte [rsi + 0x51], 1
mov rcx, qword [r14 + 0x140]
test rcx, rcx
jne 0x1400a30c6
xor esi, esi
jmp 0x1400a30fc
movzx edx, word [rcx + 8]
mov r8d, 0x202
movzx eax, dx
and ax, r8w
cmp ax, r8w
jne 0x1400a30e9
cmp byte [rcx + 0xa], 1
jne 0x1400a30e9
mov rsi, qword [rcx + 0x10]
jmp 0x1400a30fc
test dl, 1
je 0x1400a30f2
xor esi, esi
jmp 0x1400a30fc
mov dl, 1
call fcn.14011d070
mov rsi, rax
mov rdx, qword [rbx + 0x48]
mov rcx, r14
call fcn.1400d6010
cmp byte [r14 + 0x51], 0
jne 0x1400a3122
mov rdx, rsi
mov rcx, r14
call fcn.1400d6590
mov qword [rbx + 0x48], rax
xor esi, esi
jmp 0x1400a312d
xor esi, esi
mov edi, 7
mov qword [rbx + 0x48], rsi
mov dword [rbx + 0x84], edi
mov r12, qword [rsp + 0x180]
cmp byte [r14 + 0x51], 0
jne 0x1400a3150
cmp edi, 0xc0a
je 0x1400a3150
and edi, dword [r14 + 0x48]
jmp 0x1400a315a
mov rcx, r14
call fcn.1400710e0
mov edi, eax
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1400a3169
call qword [0x1402fd0a8]
test rbx, rbx
jne 0x1400a3176
mov r15d, esi
jmp 0x1400a32f5
mov rbp, qword [rbx]
test rbp, rbp
jne 0x1400a31ae
lea rdx, str.API_called_with_finalized_prepared_statement
mov ecx, r15d
call fcn.14006be40
lea r9, [0x140256b84]
mov r8d, 0x11966
lea rdx, str.misuse_at_line__d_of___.10s_
mov ecx, r15d
call fcn.14006be40
jmp 0x1400a3302
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400a31bd
call qword [0x1402fd098]
mov eax, dword [rbx + 0x44]
mov r14d, esi
cmp eax, 0xbdf20da3
je 0x1400a31d1
cmp eax, 0x519c2973
jne 0x1400a31dc
mov rcx, rbx
call fcn.140114590
mov r14d, eax
mov rsi, qword [rbx]
mov rdx, rbx
mov rcx, rsi
call fcn.140108fe0
mov rcx, qword [rbx + 0x50]
mov rax, qword [rbx + 0x58]
test rcx, rcx
je 0x1400a31fd
mov qword [rcx + 0x58], rax
jmp 0x1400a3201
mov qword [rsi + 8], rax
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x1400a3212
mov rax, qword [rbx + 0x50]
mov qword [rcx + 0x50], rax
mov dword [rbx + 0x44], 0xb606c3c8
mov qword [rbx], 0
test rsi, rsi
je 0x1400a326a
cmp qword [rsi + 0x328], 0
je 0x1400a323f
mov rdx, rbx
mov rcx, rsi
call fcn.1400ae450
jmp 0x1400a32c5
cmp rbx, qword [rsi + 0x170]
jb 0x1400a326a
cmp rbx, qword [rsi + 0x178]
jae 0x1400a326a
mov rax, qword [rsi + 0x168]
mov qword [rbx], rax
dec dword [rsi + 0x154]
mov qword [rsi + 0x168], rbx
jmp 0x1400a32c5
cmp dword [0x1402fd010], 0
je 0x1400a32bc
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400a3285
call qword [0x1402fd098]
mov rcx, rbx
call qword [0x1402fd050]
dec qword [0x140303428]
movsxd rcx, eax
sub qword [0x1403033e0], rcx
mov rcx, rbx
call qword [0x1402fd040]
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400a32c5
call qword [0x1402fd0a8]
jmp 0x1400a32c5
mov rcx, rbx
call qword [0x1402fd040]
cmp byte [rbp + 0x51], 0
jne 0x1400a32dd
cmp r14d, 0xc0a
je 0x1400a32dd
mov r15d, dword [rbp + 0x48]
and r15d, r14d
jmp 0x1400a32e8
mov rcx, rbp
call fcn.1400710e0
mov r15d, eax
mov rcx, rbp
call fcn.1400efc00
test r15d, r15d
jne 0x1400a3302
cmp edi, 0x64
sete al
mov byte [r13 + 0x1bd], al
mov rbx, qword [rsp + 0x1b0]
mov r14, qword [rsp + 0x178]
mov rbp, qword [rsp + 0x190]
cmp dword [0x1402fd010], 0
je 0x1400a3390
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400a3335
call qword [0x1402fd098]
mov rcx, rbx
call qword [0x1402fd050]
dec qword [0x140303428]
movsxd rcx, eax
sub qword [0x1403033e0], rcx
mov rcx, rbx
call qword [0x1402fd040]
mov rcx, qword [0x140303640]
test rcx, rcx
je 0x1400a336a
call qword [0x1402fd0a8]
mov eax, r15d
mov r15, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x1c0]
mov rdi, qword [rsp + 0x188]
add rsp, 0x198
pop r13
pop rsi
ret
mov rcx, rbx
call qword [0x1402fd040]
jmp 0x1400a336a
mov eax, 7
jmp 0x1400a3375
mov eax, esi
add rsp, 0x198
pop r13
pop rsi
ret