Function at 0x1400b9f60
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov esi, r15d
mov dword [rsp + 0x20], r15d
mov rdx, qword [rcx + 0x68]
mov rcx, qword [rcx + 0x60]
call fcn.1400d1030
mov rax, qword [r14 + 0x60]
mov qword [r14 + 0x68], rax
lea rcx, [r14 + 0x48]
call fcn.1400c61c0
mov qword [r14 + 0x78], 0xffffffffffffffff
mov edi, r15d
mov qword [rbp - 8], r15
mov r13d, 0xf
mov qword [rbp], r13
mov byte [rbp - 0x18], sil
xor al, al
mov r12, qword [rbx]
mov qword [rsp + 0x20], r12
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rcx
cmp r12, rcx
je 0x1400ba2ae
lea rbx, [r12 + 8]
nop dword [rax]
nop word [rax + rax]
mov r13, qword [rbx + 0x40]
mov rcx, qword [rbx + 0x48]
mov qword [rsp + 0x38], rcx
cmp r13, rcx
je 0x1400ba28e
lea rcx, [r14 + 0x4a8]
lea rdi, [r13 + 8]
mov r12, rcx
test al, al
je 0x1400ba04e
mov r8d, 2
lea rdx, [0x140299890]
lea rcx, [rbp - 0x18]
call fcn.14007a550
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x1400ba09b
mov rax, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400ba075
mov rax, qword [rdi]
lea r15, [rdx + rax]
mov r14, rdi
jb 0x1400ba081
mov r14, qword [rdi]
call fcn.140206ff0
mov r9, rax
lea r8, [rbp - 0x78]
mov rdx, r15
mov rcx, r14
call fcn.1402051d0
xor r15d, r15d
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], r15w
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x1400ba0e8
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400ba0c2
mov rax, qword [rbx]
lea r15, [rdx + rax]
mov r14, rbx
jb 0x1400ba0ce
mov r14, qword [rbx]
call fcn.140206ff0
mov r9, rax
lea r8, [rbp - 0x38]
mov rdx, r15
mov rcx, r14
call fcn.1402051d0
xor r15d, r15d
mov rdx, r12
lea rcx, [rbp + 8]
call fcn.140061f70
nop
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 8]
call fcn.1402053f0
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.140061f70
or esi, 1
lea rcx, [rbp + 8]
call fcn.14004f460
nop
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x28]
call fcn.140061f70
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x28]
call fcn.1402053f0
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140061f70
or esi, 2
lea rcx, [rbp + 0x28]
call fcn.14004f460
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x48]
call fcn.140205620
nop
mov rdx, rax
lea rcx, [rbp + 0x88]
call fcn.140080f00
nop
mov r9d, 1
lea r8, [0x14029d530]
xor edx, edx
mov rcx, rax
call fcn.140069240
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 4
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x68]
call fcn.14007a550
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 8
lea rdx, [rbp - 0x58]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x18]
call fcn.14007a550
nop
lea rcx, [rbp - 0x58]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x88]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0xa8]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x48]
call fcn.14004f460
nop
lea rcx, [rbp + 0x68]
call fcn.14004f460
nop
lea rcx, [rbp - 0x38]
call fcn.14004f460
nop
lea rcx, [rbp - 0x78]
call fcn.14004f460
mov al, 1
add r13, 0x48
add rdi, 0x48
cmp r13, qword [rsp + 0x38]
jne 0x1400ba034
mov r12, qword [rsp + 0x20]
mov r14, qword [rsp + 0x40]
add r12, 0x60
mov qword [rsp + 0x20], r12
add rbx, 0x60
cmp r12, qword [rsp + 0x28]
jne 0x1400ba010
mov r13, qword [rbp]
mov rdi, qword [rbp - 8]
lea r15, [r14 + 0x88]
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x48], 0
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], bl
lea r8d, [rbx + 5]
lea rdx, str.BEGIN
lea rcx, [rbp - 0x78]
call fcn.14004f6a0
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r15
call fcn.140080c10
nop
lea rcx, [rbp - 0x78]
call fcn.14004f4d0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
add r14, 0x548
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], bl
or esi, 0x10
mov dword [rsp + 0x20], esi
mov rdx, qword [r14 + 0x10]
add rdx, 0xe3
lea rcx, [rsp + 0x68]
call fcn.140068500
mov r8d, 0xe3
lea rdx, str.SELECT_Preset_Playlists.preset_key__Preset_Id.file_path_FROM_Preset_Id__Preset_Playlists__Playlists_WHERE_Preset_Playlists.playlist_key__Playlists.key_id_AND_Preset_Id.key_id__Preset_Playlists.preset_key_AND_instrument_id__
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400ba372
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov r8d, 0x22
lea rdx, str._AND_Preset_Id.file_path_NOT_IN__
lea rcx, [rsp + 0x68]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 0x20
mov dword [rsp + 0x20], esi
lea rdx, [rbp - 0x18]
cmp r13, 0x10
cmovae rdx, qword [rbp - 0x18]
mov r8, rdi
lea rcx, [rbp - 0x58]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm1
xor r13d, r13d
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
or esi, 0x40
mov dword [rsp + 0x20], esi
lea r8d, [r13 + 1]
lea rdx, [0x140299898]
lea rcx, [rbp - 0x38]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
bts esi, 7
mov dword [rsp + 0x20], esi
lea r9, [rsp + 0x28]
lea r8, [0x1400cf350]
lea rdx, [rbp - 0x78]
mov rcx, r15
call fcn.140080c10
nop
lea rcx, [rbp - 0x78]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x38]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x58]
call fcn.14004f4d0
and esi, 0xffffffef
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
nop
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r13b
bts esi, 8
mov dword [rsp + 0x20], esi
mov rdx, qword [r14 + 0x10]
add rdx, 0xba
lea rcx, [rsp + 0x68]
call fcn.140068500
mov r8d, 0xba
lea rdx, str.DELETE_FROM_Preset_Playlists_WHERE_key_id_IN___SELECT_Preset_Playlists.key_id_FROM_Preset_Playlists__Playlists_WHERE_Preset_Playlists.playlist_key__Playlists.key_id_AND_instrument_id_
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400ba4e6
mov rdx, qword [r14]
mov r8, qword [r14 + 0x10]
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov r8d, 1
lea rdx, [0x140299898]
lea rcx, [rsp + 0x68]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 9
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x58]
mov rcx, r15
call fcn.140080c10
nop
lea rcx, [rbp - 0x58]
call fcn.14004f4d0
btr esi, 8
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
cmp rbx, r12
je 0x1400ba72c
add rbx, 0x10
nop word [rax + rax]
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
bts esi, 0xa
mov dword [rsp + 0x20], esi
mov rdx, qword [rbx]
add rdx, 0x37
lea rcx, [rsp + 0x68]
call fcn.140068500
mov r8d, 0x37
lea rdx, str.DELETE_FROM_Preset_Characteristics_WHERE_preset_key__
lea rcx, [rsp + 0x68]
call fcn.14007a550
lea rdi, [rbx - 0x10]
mov rdx, rdi
cmp qword [rbx + 8], 0x10
jb 0x1400ba5d3
mov rdx, qword [rdi]
mov r8, qword [rbx]
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 0xb
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r15
call fcn.140080c10
nop
lea rcx, [rbp - 0x78]
call fcn.14004f4d0
btr esi, 0xa
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
nop
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
bts esi, 0xc
mov dword [rsp + 0x20], esi
mov rdx, qword [rbx]
add rdx, 0x26
lea rcx, [rsp + 0x68]
call fcn.140068500
mov r8d, 0x26
lea rdx, str.DELETE_FROM_Preset_Id_WHERE_key_id__
lea rcx, [rsp + 0x68]
call fcn.14007a550
cmp qword [rbx + 8], 0x10
jb 0x1400ba69c
mov rdi, qword [rdi]
mov r8, qword [rbx]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 0xd
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r15
call fcn.140080c10
nop
lea rcx, [rbp - 0x78]
call fcn.14004f4d0
btr esi, 0xc
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
add rbx, 0x20
lea rax, [rbx - 0x10]
cmp rax, r12
jne 0x1400ba580
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
bts esi, 0xe
mov dword [rsp + 0x20], esi
mov rdx, qword [r14 + 0x10]
add rdx, 0x2c
lea rcx, [rsp + 0x68]
call fcn.140068500
mov r8d, 0x2c
lea rdx, str.DELETE_FROM_Playlists_WHERE_instrument_id_
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x1400ba77d
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.14007a550
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, r15
call fcn.140080c10
nop
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov r8d, 6
lea rdx, str.COMMIT
lea rcx, [rbp - 0x78]
call fcn.14004f6a0
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x78]
mov rcx, r15
call fcn.140080c10
nop
lea rcx, [rbp - 0x78]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x50]
call fcn.14004f120
nop
lea rcx, [rbp - 0x18]
call fcn.14004f4d0
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.14022d970
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret