Function at 0x1401abc00
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xd8
lea rsi, [0x1402137c0]
mov eax, r8d
mov r13, rcx
lea rdi, [rsp + 0x68]
mov ecx, 0xa
sub eax, 6
mov dword [rsp + 0x130], r8d
mov r15, rdx
mov rbx, r9
rep movsd dword [rdi], dword [rsi]
cmp eax, 0x61
jbe 0x1401abc76
xor eax, eax
cmp r8d, 5
lea rcx, [0x14028f827]
mov ebp, 1
setg al
add eax, 2
cdqe
mov rdx, qword [rsp + rax*8 + 0x68]
call fcn.1401faf00
mov rbx, qword [rsp + 0x148]
mov qword [rbx], rax
jmp 0x1401ac44f
mov r8d, 1
mov edx, 1
mov rcx, r13
mov ebp, 7
call fcn.1401ff8b0
mov rcx, qword [rbx + 8]
call sub.msvcrt.dll_strlen
mov rcx, qword [rbx + 0x10]
mov rsi, rax
call sub.msvcrt.dll_strlen
movsxd rdx, esi
movsxd r14, eax
mov qword [rsp + 0x58], rdx
lea rcx, [rdx + r14 + 0x3ca]
mov qword [rsp + 0x50], rcx
call fcn.1401fae60
mov r12, rax
test rax, rax
je 0x1401ac44f
test r15, r15
mov rcx, qword [rsp + 0x50]
mov rdi, r12
mov rdx, qword [rsp + 0x58]
setne r10b
setne r15b
xor eax, eax
rep stosb byte [rdi], al
lea rax, [0x1402172a0]
mov rcx, rdx
movzx r15d, r15b
mov qword [r12], rax
lea rax, [r12 + 0x3c8]
lea rbp, str.__.s_REAL
lea r8, [rax + rdx + 1]
mov byte [r12 + 0x26], r10b
mov rdi, rax
mov qword [r12 + 0x38], r8
mov qword [r12 + 0x30], rax
mov rsi, qword [rbx + 8]
mov dword [r12 + 0x40], 1
rep movsb byte [rdi], byte [rsi]
mov rdi, r8
mov rcx, r14
mov rsi, qword [rbx + 0x10]
rep movsb byte [rdi], byte [rsi]
mov rcx, r13
lea rdi, [rsp + 0x90]
mov esi, 4
call fcn.1401fd3b0
mov rcx, qword [rbx + 0x18]
mov rdx, rdi
mov dword [rsp + 0x90], 0
mov r14, rax
call fcn.1401cb950
mov r9, rcx
lea rdx, str.CREATE_TABLE_x__.s_INT
mov rcx, r14
mov r8d, eax
call fcn.1401fd320
mov r9, qword [rbx + rsi*8]
mov al, byte [r12 + 0x29]
mov dword [rsp + 0x50], esi
mov r8d, esi
cmp byte [r9], 0x2b
jne 0x1401abdcb
inc eax
inc r9
mov rdx, rdi
mov byte [r12 + 0x29], al
mov rcx, r9
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x90], 0
call fcn.1401cb950
mov r9, qword [rsp + 0x58]
lea rdx, str.__.s
mov r8d, eax
jmp 0x1401abdfc
test al, al
jne 0x1401abe1c
inc byte [r12 + 0x25]
mov rdx, rdi
mov rcx, r9
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x90], 0
call fcn.1401cb950
mov rdx, qword [rbp + r15*8]
mov r9, qword [rsp + 0x58]
mov r8d, eax
mov rcx, r14
inc rsi
call fcn.1401fd320
mov r8d, dword [rsp + 0x50]
inc r8d
cmp dword [rsp + 0x130], esi
jg 0x1401abd7f
lea rdx, [0x1402962bb]
mov rcx, r14
mov dword [rsp + 0x50], r8d
mov esi, 7
call fcn.1401fd320
mov rcx, r14
call fcn.1401fd360
mov r15, rax
test rax, rax
je 0x1401abeac
mov r8d, dword [rsp + 0x50]
cmp dword [rsp + 0x130], r8d
jle 0x1401abe79
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x14028f827]
mov esi, 1
call fcn.1401faf00
mov rdi, qword [rsp + 0x148]
mov qword [rdi], rax
jmp 0x1401abeac
mov rdx, rax
mov rcx, r13
call fcn.1401f9250
mov esi, eax
test eax, eax
je 0x1401abeac
mov rcx, r13
call fcn.1401f9750
lea rcx, [0x14028f827]
mov rdx, rax
call fcn.1401faf00
mov rdi, qword [rsp + 0x148]
mov qword [rdi], rax
mov rcx, r15
call fcn.1401f9f40
test esi, esi
jne 0x1401ac445
mov al, byte [r12 + 0x25]
mov edx, eax
shr dl, 1
mov byte [r12 + 0x24], dl
je 0x1401abff5
cmp al, 0xa
ja 0x1401abffc
mov edx, 1
test al, 1
jne 0x1401ac001
lea eax, [rax*4 + 8]
cmp dword [rsp + 0x150], 0
mov rdx, qword [r12 + 0x30]
mov byte [r12 + 0x27], al
je 0x1401abf5d
lea rcx, str.PRAGMA__Q.page_size
mov dword [rsp + 0x90], 0
call fcn.1401faf00
mov r14, rax
test rax, rax
je 0x1401abf8e
lea r8, [rsp + 0x90]
mov rdx, rax
mov rcx, r13
call fcn.1401948a0
mov esi, eax
test eax, eax
jne 0x1401abf93
movzx edx, byte [r12 + 0x27]
mov eax, dword [rsp + 0x90]
imul edx, edx, 0x33
sub eax, 0x40
add edx, 4
cmp eax, edx
cmovg eax, edx
mov dword [r12 + 0x20], eax
jmp 0x1401abfe3
mov r8, qword [r12 + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.1401faf00
mov r14, rax
test rax, rax
je 0x1401abf8e
lea r8, [r12 + 0x20]
mov rdx, rax
mov rcx, r13
call fcn.1401948a0
mov esi, eax
test eax, eax
je 0x1401abfb7
jmp 0x1401abf93
mov esi, 7
mov rcx, r13
call fcn.1401f9750
lea rcx, [0x14028f827]
mov rdx, rax
call fcn.1401faf00
mov rdi, qword [rsp + 0x148]
mov qword [rdi], rax
jmp 0x1401abfe3
cmp dword [r12 + 0x20], 0x1bf
jg 0x1401abfe3
mov rdx, qword [r12 + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov esi, 0x10b
call fcn.1401faf00
mov rdi, qword [rsp + 0x148]
mov qword [rdi], rax
mov rcx, r14
call fcn.1401f9f40
test esi, esi
jne 0x1401ac445
jmp 0x1401ac027
mov edx, 2
jmp 0x1401ac001
mov edx, 3
mov rdx, qword [rsp + rdx*8 + 0x68]
lea rcx, [0x14028f827]
mov esi, 1
call fcn.1401faf00
mov rbx, qword [rsp + 0x148]
mov qword [rbx], rax
jmp 0x1401ac445
cmp dword [rsp + 0x150], 0
mov rdi, qword [rbx + 0x10]
mov r14, qword [rbx + 8]
mov qword [r12 + 0x18], r13
jne 0x1401ac112
lea rax, [r12 + 0x78]
mov rdx, qword [r12 + 0x30]
xor r9d, r9d
mov rcx, r13
mov qword [rsp + 0x90], rax
lea r8, str.sqlite_stat1
lea rax, [r12 + 0x80]
mov qword [rsp + 0x98], rax
lea rax, [r12 + 0x88]
mov qword [rsp + 0xa0], rax
lea rax, [r12 + 0x90]
mov qword [rsp + 0xa8], rax
lea rax, [r12 + 0x98]
mov qword [rsp + 0xb0], rax
lea rax, [r12 + 0xa0]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0xb8], rax
lea rax, [r12 + 0xa8]
mov qword [rsp + 0xc0], rax
lea rax, [r12 + 0xb0]
mov qword [rsp + 0xc8], rax
call fcn.1401fe7a0
mov ebp, eax
test eax, eax
jne 0x1401ac1ea
jmp 0x1401ac203
mov rcx, r13
xor ebx, ebx
lea rbp, str._a_d
call fcn.1401fd3b0
mov r9, rdi
mov r8, r14
lea rdx, str.CREATE_TABLE___w_.__w_rowid__rowid_INTEGER_PRIMARY_KEY_nodeno
mov rcx, rax
mov r15, rax
call fcn.1401fd320
movzx eax, byte [r12 + 0x29]
cmp ebx, eax
jge 0x1401ac157
mov r8d, ebx
mov rdx, rbp
mov rcx, r15
inc ebx
call fcn.1401fd320
jmp 0x1401ac13b
mov rcx, r15
mov r9, rdi
lea rdx, str.__CREATE_TABLE___w_.__w_node__nodeno_INTEGER_PRIMARY_KEY_data__
mov r8, r14
call fcn.1401fd320
mov rcx, r15
mov r9, rdi
mov r8, r14
lea rdx, str.CREATE_TABLE___w_.__w_parent__nodeno_INTEGER_PRIMARY_KEY_parentnode__
call fcn.1401fd320
mov eax, dword [r12 + 0x20]
mov rcx, r15
mov r9, rdi
mov r8, r14
lea rdx, str.INSERT_INTO___w_.__w_node_VALUES_1_zeroblob__d__
mov dword [rsp + 0x20], eax
call fcn.1401fd320
mov rcx, r15
call fcn.1401fd360
mov r15, rax
test rax, rax
jne 0x1401ac1b9
mov ebp, 7
jmp 0x1401ac412
xor r9d, r9d
xor r8d, r8d
mov rcx, r13
mov rdx, rax
mov qword [rsp + 0x20], 0
call fcn.1401f98d0
mov rcx, r15
mov ebp, eax
call fcn.1401f9f40
test ebp, ebp
je 0x1401ac042
jmp 0x1401ac412
mov qword [r12 + 0x48], 0x100000
cmp eax, 1
jne 0x1401ac299
xor ebp, ebp
jmp 0x1401ac299
mov rdx, qword [r12 + 0x30]
mov r8, qword [r12 + 0x38]
lea rcx, str.SELECT_stat_FROM__Q.sqlite_stat1_WHERE_tbl___q_rowid
call fcn.1401faf00
mov r15, rax
test rax, rax
je 0x1401ac27d
lea r9, [rsp + 0x60]
or r8d, 0xffffffff
mov rdx, rax
mov rcx, r13
mov qword [rsp + 0x20], 0
mov ebx, 0x64
call fcn.1401fb330
mov ebp, eax
test eax, eax
jne 0x1401ac273
mov rcx, qword [rsp + 0x60]
call fcn.1401fc730
cmp eax, 0x64
jne 0x1401ac267
mov rcx, qword [rsp + 0x60]
xor edx, edx
call fcn.1401f7c60
mov rbx, rax
mov rcx, qword [rsp + 0x60]
call fcn.1401f9ea0
mov ebp, eax
mov rcx, r15
call fcn.1401f9f40
jmp 0x1401ac287
mov ebx, 0x64
mov ebp, 7
cmp rbx, 0x64
mov eax, 0x64
cmovl rbx, rax
mov qword [r12 + 0x48], rbx
xor r15d, r15d
lea rbx, str.INSERT_OR_REPLACE_INTO__q._q_node_VALUES__1___2_
mov eax, r15d
cmp r15d, 7
jg 0x1401ac327
test ebp, ebp
jne 0x1401ac327
cmp eax, 3
jne 0x1401ac2c4
cmp byte [r12 + 0x29], 0
lea rcx, str.INSERT_INTO__w_.__w_rowid__rowid_nodeno_VALUES__1__2_ON_CONFLICT_rowid_DO_UPDATE_SET_nodenoexcluded.nodeno
jne 0x1401ac2c8
mov rcx, qword [rbx + r15*8]
mov r8, rdi
mov rdx, r14
mov ebp, 7
call fcn.1401faf00
mov r11, rax
test rax, rax
je 0x1401ac317
mov rdx, r11
mov r9d, 5
or r8d, 0xffffffff
mov rcx, r13
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + r15*8 + 0x90]
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x20], rax
call fcn.1401fb360
mov r11, qword [rsp + 0x50]
mov ebp, eax
mov rcx, r11
inc r15
call fcn.1401f9f40
jmp 0x1401ac2a3
cmp byte [r12 + 0x29], 0
je 0x1401ac40e
mov r8, rdi
mov rdx, r14
lea rcx, str.SELECT__FROM___w_.__w_rowid__WHERE_rowid_1
call fcn.1401faf00
mov qword [r12 + 0x58], rax
test rax, rax
je 0x1401ac1af
mov rcx, r13
lea rbx, [0x14028efcd]
call fcn.1401fd3b0
mov r9, rdi
mov r8, r14
lea rdx, str.UPDATE___w_.__w_rowid_SET
mov rcx, rax
mov r15, rax
lea rdi, str.a_d__d
call fcn.1401fd320
movzx eax, byte [r12 + 0x29]
cmp esi, eax
jge 0x1401ac3b6
test esi, esi
je 0x1401ac3a0
mov r8d, 1
mov rdx, rbx
mov rcx, r15
call fcn.1401fd260
lea r9d, [rsi + 2]
mov r8d, esi
mov rdx, rdi
mov rcx, r15
call fcn.1401fd320
inc esi
jmp 0x1401ac381
lea rdx, str._WHERE_rowid_1
mov rcx, r15
call fcn.1401fd320
mov rcx, r15
call fcn.1401fd360
mov r14, rax
test rax, rax
je 0x1401ac1af
mov rcx, r13
mov r9d, 5
or r8d, 0xffffffff
mov rdx, r14
lea rax, [r12 + 0xb8]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call fcn.1401fb360
mov rcx, r14
mov ebp, eax
call fcn.1401f9f40
test ebp, ebp
je 0x1401ac438
mov rcx, r13
mov esi, ebp
call fcn.1401f9750
lea rcx, [0x14028f827]
mov rdx, rax
call fcn.1401faf00
mov rbx, qword [rsp + 0x148]
mov qword [rbx], rax
jmp 0x1401ac445
mov rax, qword [rsp + 0x140]
mov qword [rax], r12
jmp 0x1401ac44f
mov rcx, r12
mov ebp, esi
call fcn.1401ad170
mov eax, ebp
add rsp, 0xd8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret