Function at 0x751927
Capabilities:
Reference sql statements

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov dword [rbp - 0x20], 5
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax + 0x18], rdx
cmp dword [rbp + 0x30], 0
je 0x751a9e
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.006792ee
mov qword [rbp - 0x28], rax
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x28]
mov r9, rcx
mov r8, rdx
lea rdx, str.CREATE_TABLE___w_.__w_rowid__rowid_INTEGER_PRIMARY_KEY_nodeno
mov rcx, rax
call fcn.006796a1
mov dword [rbp - 0xc], 0
jmp 0x7519bd
mov edx, dword [rbp - 0xc]
mov rax, qword [rbp - 0x28]
mov r8d, edx
lea rdx, str._a_d
mov rcx, rax
call fcn.006796a1
add dword [rbp - 0xc], 1
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x29]
movzx eax, al
cmp dword [rbp - 0xc], eax
jl 0x7519a0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x28]
mov r9, rcx
mov r8, rdx
lea rdx, str.__CREATE_TABLE___w_.__w_node__nodeno_INTEGER_PRIMARY_KEY_data__
mov rcx, rax
call fcn.006796a1
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x28]
mov r9, rcx
mov r8, rdx
lea rdx, str.CREATE_TABLE___w_.__w_parent__nodeno_INTEGER_PRIMARY_KEY_parentnode__
mov rcx, rax
call fcn.006796a1
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x20]
mov r8, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x28]
mov dword [rsp + 0x20], edx
mov r9, r8
mov r8, rcx
lea rdx, str.INSERT_INTO___w_.__w_node_VALUES_1_zeroblob__d__
mov rcx, rax
call fcn.006796a1
mov rax, qword [rbp - 0x28]
mov rcx, rax
call fcn.00679151
mov qword [rbp - 0x30], rax
cmp qword [rbp - 0x30], 0
jne 0x751a5c
mov eax, 7
jmp 0x751d8a
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rcx, rax
call fcn.006eb4da
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x30]
mov rcx, rax
call fcn.00675ed6
cmp dword [rbp - 4], 0
je 0x751a9e
mov eax, dword [rbp - 4]
jmp 0x751d8a
mov rax, qword [rbp + 0x10]
add rax, 0x78
mov qword [rbp - 0x90], rax
mov rax, qword [rbp + 0x10]
sub rax, 0xffffffffffffff80
mov qword [rbp - 0x88], rax
mov rax, qword [rbp + 0x10]
add rax, 0x88
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x10]
add rax, 0x90
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x10]
add rax, 0x98
mov qword [rbp - 0x70], rax
mov rax, qword [rbp + 0x10]
add rax, 0xa0
mov qword [rbp - 0x68], rax
mov rax, qword [rbp + 0x10]
add rax, 0xa8
mov qword [rbp - 0x60], rax
mov rax, qword [rbp + 0x10]
add rax, 0xb0
mov qword [rbp - 0x58], rax
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.0075173f
mov dword [rbp - 4], eax
mov dword [rbp - 8], 0
jmp 0x751be0
cmp dword [rbp - 8], 3
jne 0x751b41
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x29]
test al, al
jne 0x751b5f
mov eax, dword [rbp - 8]
cdqe
lea rdx, [rax*8]
lea rax, str.INSERT_OR_REPLACE_INTO__q._q_node_VALUES__1___2_
mov rax, qword [rdx + rax]
mov qword [rbp - 0x18], rax
jmp 0x751b6a
lea rax, str.INSERT_INTO__w_.__w_rowid__rowid_nodeno_VALUES__1__2_ON_CONFLICT_rowid_DO_UPDATE_SET_nodenoexcluded.nodeno
mov qword [rbp - 0x18], rax
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x18]
mov r8, rcx
mov rcx, rax
call fcn.006794a3
mov qword [rbp - 0x38], rax
cmp qword [rbp - 0x38], 0
je 0x751bc9
mov eax, dword [rbp - 8]
cdqe
mov rcx, qword [rbp + rax*8 - 0x90]
mov r8d, dword [rbp - 0x20]
mov rdx, qword [rbp - 0x38]
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rcx
mov r9d, r8d
mov r8d, 0xffffffff
mov rcx, rax
call fcn.006f2da9
mov dword [rbp - 4], eax
jmp 0x751bd0
mov dword [rbp - 4], 7
mov rax, qword [rbp - 0x38]
mov rcx, rax
call fcn.00675ed6
add dword [rbp - 8], 1
cmp dword [rbp - 8], 7
jg 0x751bf0
cmp dword [rbp - 4], 0
je 0x751b2f
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x29]
test al, al
je 0x751d87
mov rdx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov r8, rdx
mov rdx, rax
lea rcx, str.SELECT__FROM___w_.__w_rowid__WHERE_rowid_1
call fcn.006794a3
mov rdx, rax
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x58], rdx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x58]
test rax, rax
jne 0x751c3e
mov dword [rbp - 4], 7
jmp 0x751d87
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.006792ee
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp - 0x40]
mov r9, rcx
mov r8, rdx
lea rdx, str.UPDATE___w_.__w_rowid_SET
mov rcx, rax
call fcn.006796a1
mov dword [rbp - 0x1c], 0
jmp 0x751cfc
cmp dword [rbp - 0x1c], 0
je 0x751c9a
mov rax, qword [rbp - 0x40]
mov r8d, 1
lea rdx, [0x0099932f]
mov rcx, rax
call fcn.00678f8e
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x2a]
movzx eax, al
cmp dword [rbp - 0x1c], eax
jge 0x751cd6
mov eax, dword [rbp - 0x1c]
lea r8d, [rax + 2]
mov ecx, dword [rbp - 0x1c]
mov rax, qword [rbp - 0x40]
mov edx, dword [rbp - 0x1c]
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8d, ecx
lea rdx, str.a_dcoalesce___d_a_d_
mov rcx, rax
call fcn.006796a1
jmp 0x751cf8
mov eax, dword [rbp - 0x1c]
lea ecx, [rax + 2]
mov edx, dword [rbp - 0x1c]
mov rax, qword [rbp - 0x40]
mov r9d, ecx
mov r8d, edx
lea rdx, str.a_d__d
mov rcx, rax
call fcn.006796a1
add dword [rbp - 0x1c], 1
mov rax, qword [rbp + 0x10]
movzx eax, byte [rax + 0x29]
movzx eax, al
cmp dword [rbp - 0x1c], eax
jl 0x751c7b
mov rax, qword [rbp - 0x40]
lea rdx, str._WHERE_rowid_1
mov rcx, rax
call fcn.006796a1
mov rax, qword [rbp - 0x40]
mov rcx, rax
call fcn.00679151
mov qword [rbp - 0x48], rax
cmp qword [rbp - 0x48], 0
jne 0x751d43
mov dword [rbp - 4], 7
jmp 0x751d87
mov rax, qword [rbp + 0x10]
lea r8, [rax + 0xb8]
mov ecx, dword [rbp - 0x20]
mov rdx, qword [rbp - 0x48]
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r8
mov r9d, ecx
mov r8d, 0xffffffff
mov rcx, rax
call fcn.006f2da9
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.00675ed6
mov eax, dword [rbp - 4]
add rsp, 0xc0
pop rbp
ret