Function at 0x14009a350
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r12, r8
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov edi, r14d
mov qword [rsp + 0x58], r14
test r9b, r9b
je 0x14009a3d5
movzx eax, byte [rcx + 0x2780]
test al, al
jne 0x14009a3d0
lea ecx, [r14 + 0x10]
call fcn.14022d994
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x328]
mov rcx, rax
call fcn.140081060
mov rdi, rax
mov qword [rsp + 0x58], rax
jmp 0x14009a3d5
mov rdi, qword [rsp + 0x58]
mov rdx, rsi
lea rcx, [rbp + 0xe0]
call fcn.14009ae50
nop
lea r13, [rbx + 0x328]
mov rbx, qword [rbp + 0xf0]
test rbx, rbx
jne 0x14009a473
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], bl
mov dword [rsp + 0x30], 1
mov rdx, qword [r12 + 0x10]
add rdx, 0x2b
lea rcx, [rbp - 0x80]
call fcn.140068500
lea r8d, [rbx + 0x2b]
lea rdx, str.DELETE_FROM_Preset_Tags_WHERE_preset_key_
lea rcx, [rbp - 0x80]
call fcn.14007a550
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 0x10
jb 0x14009a446
mov r12, qword [r12]
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.14007a550
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
mov rcx, r13
call fcn.140080c10
nop
lea rcx, [rbp - 0x80]
call fcn.14004f4d0
jmp 0x14009a9a0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov dword [rsp + 0x30], 2
lea rdx, [rbx + 0x27]
lea rcx, [rbp - 0x40]
call fcn.140068500
mov r8d, 0x27
lea rdx, str.SELECT_key_id_FROM_Tags_WHERE_name_IN__
lea rcx, [rbp - 0x40]
call fcn.14007a550
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
mov r8, rbx
lea rcx, [rbp - 0x40]
call fcn.14007a550
mov r8d, 1
lea rdx, [0x140299898]
lea rcx, [rbp - 0x40]
call fcn.14007a550
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 6
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
lea r8, [0x1400c97e0]
lea rdx, [rbp]
mov rcx, r13
call fcn.140080c10
nop
lea rcx, [rbp]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x40]
call fcn.14004f4d0
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
sar rcx, 5
mov rax, qword [rsp + 0x48]
sub rax, qword [rsp + 0x40]
sar rax, 5
cmp rcx, rax
je 0x14009a5ba
call fcn.140061350
lea rcx, str.Arturia::JuceArturiaLib::PresetBrowserController::LinkPresetToTags
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], 0x42
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
mov r9d, 0xc81
lea r8, [rbp - 0x60]
mov rcx, rax
call fcn.1400cc440
nop
lea rcx, [rsp + 0x40]
call fcn.14004f120
jmp 0x14009a9ae
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xc0]
call fcn.14009ae50
nop
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x40], rax
je 0x14009a989
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov dword [rsp + 0x30], 0xc
mov rdx, qword [r12 + 0x10]
add rdx, 0x2b
lea rcx, [rbp - 0x60]
call fcn.140068500
mov r8d, 0x2b
lea rdx, str.DELETE_FROM_Preset_Tags_WHERE_preset_key_
lea rcx, [rbp - 0x60]
call fcn.14007a550
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14009a62b
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 0x60]
call fcn.14007a550
mov r8d, 0x15
lea rdx, str._AND_tag_key_NOT_IN__
lea rcx, [rbp - 0x60]
call fcn.14007a550
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 0x1c
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
lea rcx, [rbp + 0x60]
call fcn.14007a550
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 0x3c
mov r8d, 1
lea rdx, [0x140299898]
lea rcx, [rbp + 0x40]
call fcn.14007a550
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x30], 0x7c
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x20]
mov rcx, r13
call fcn.140080c10
nop
lea rcx, [rbp + 0x20]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x40]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x60]
call fcn.14004f4d0
mov r15d, 0x74
mov dword [rsp + 0x30], r15d
lea rcx, [rbp - 0x60]
call fcn.14004f4d0
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
lea r8d, [r15 - 0x70]
lea rdx, [0x14029fb9c]
lea rcx, [rsp + 0x60]
call fcn.14004f6a0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x38], r12
cmp rbx, rsi
jne 0x14009a7b4
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
jmp 0x14009a8af
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14009a2e0
nop
add rbx, 0x20
cmp rbx, rsi
je 0x14009a885
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14007a550
nop
mov rdx, r12
lea rcx, [rbp + 0x100]
call fcn.14004edc0
mov r14, rax
bts r15d, 0xa
mov dword [rsp + 0x30], r15d
mov r8d, 1
lea rdx, [0x140299efc]
lea rcx, [rbp + 0x100]
call fcn.14007a550
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14009a835
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x100]
call fcn.14007a550
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x14009a853
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.14007a550
btr r15d, 0xa
mov dword [rsp + 0x30], r15d
lea rcx, [rbp + 0x100]
call fcn.14004f4d0
add rbx, 0x20
cmp rbx, rsi
jne 0x14009a7d3
xor r14d, r14d
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [rbp - 0x10], xmm1
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
lea rcx, [rbp - 0x80]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x60]
call fcn.14004f4d0
nop
mov r9d, 0x40
lea r8, str.INSERT_OR_IGNORE_INTO_Preset_Tags__preset_key__tag_key__VALUES__
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140069240
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x140299898]
lea rcx, [rbp + 0xa0]
call fcn.14007a550
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x90], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, r13
call fcn.140080c10
nop
lea rcx, [rbp + 0x80]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0xa0]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x20]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0xc0]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x40]
call fcn.14004f120
test rdi, rdi
je 0x14009a9ae
mov rcx, rdi
call fcn.1400810f0
nop
lea rcx, [rbp + 0xe0]
call fcn.14004f4d0
nop
test rdi, rdi
je 0x14009a9d5
mov rcx, rdi
call fcn.140081180
mov edx, 0x10
mov rcx, rdi
call fcn.14022dcf0
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14022d970
mov rbx, qword [rsp + 0x288]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret