Function at 0x1400afdd0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rbp], rax
mov r14, rcx
xor esi, esi
mov dword [rsp + 0x20], esi
cmp byte [rcx + 0x84], sil
jne 0x1400b0117
cmp byte [rcx + 0x86], sil
jne 0x1400b0117
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], sil
cmp dword [rcx + 0x78], 0xffffffff
je 0x1400afe91
lea rdx, [rbp - 0x50]
call fcn.1400c2d20
lea rbx, [rax + 8]
lea rax, [rsp + 0x48]
cmp rax, rbx
je 0x1400afe7f
lea rcx, [rsp + 0x48]
call fcn.14004f4d0
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], sil
lea rcx, [rbp - 0x28]
call fcn.14004f4d0
lea rcx, [rbp - 0x48]
call fcn.14004f4d0
mov rdx, qword [r14 + 0x68]
mov rcx, qword [r14 + 0x60]
call fcn.1400d1030
mov rax, qword [r14 + 0x60]
mov qword [r14 + 0x68], rax
lea rdi, [r14 + 0x48]
mov rcx, rdi
call fcn.1400c61c0
lea rbx, [r14 + 0x548]
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x20], 1
mov rdx, qword [rbx + 0x10]
add rdx, 0x3e
lea rcx, [rsp + 0x68]
call fcn.140068500
mov r8d, 0x3e
lea rdx, str.SELECT_idx__name__notes_FROM_Playlists_WHERE_instrument_id__
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400aff0a
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14007a550
mov r8d, 0x12
lea rdx, str._ORDER_BY_idx_ASC
lea rcx, [rsp + 0x68]
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], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rsp + 0x68]
call fcn.14004f4d0
lea rcx, [r14 + 0x88]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x20]
lea r8, [0x1400ce750]
lea rdx, [rbp - 0x78]
call fcn.140080c10
mov r13, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
cmp r13, rax
je 0x1400b00ab
lea rsi, [r13 + 0x50]
nop dword [rax + rax]
mov r8d, dword [r13]
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.1400c27b0
nop
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x28]
cmp rbx, r12
je 0x1400b0024
add rbx, 0x38
cmp qword [rbx - 0x20], 0
je 0x1400b0017
cmp qword [rbx], 0
je 0x1400b0017
mov rdi, qword [rsi]
lea r8, [rbx - 0x38]
cmp rdi, qword [rsi + 8]
je 0x1400b000b
mov qword [rsp + 0x40], rdi
mov eax, dword [r8]
mov dword [rdi], eax
lea rcx, [rdi + 8]
lea rdx, [rbx - 0x30]
call fcn.14004edc0
nop
lea rcx, [rdi + 0x28]
lea rdx, [rbx - 0x10]
call fcn.14004edc0
nop
add qword [rsi], 0x48
jmp 0x1400b0017
lea rcx, [rsi - 8]
mov rdx, rdi
call fcn.1400d0a10
add rbx, 0x48
lea rax, [rbx - 0x38]
cmp rax, r12
jne 0x1400affc5
mov rdx, qword [r14 + 0x68]
mov r8, r13
cmp rdx, qword [r14 + 0x70]
je 0x1400b0040
call fcn.1400ce900
add qword [r14 + 0x68], 0xb0
jmp 0x1400b0049
lea rcx, [r14 + 0x60]
call fcn.1400cea00
mov rdi, qword [rsi]
mov rbx, qword [rsi - 8]
cmp rbx, rdi
je 0x1400b008e
nop word [rax + rax]
mov rdx, qword [r14 + 0x68]
mov r8, rbx
cmp rdx, qword [r14 + 0x70]
je 0x1400b007c
call fcn.1400cebe0
add qword [r14 + 0x68], 0xb0
jmp 0x1400b0085
lea rcx, [r14 + 0x60]
call fcn.1400ceca0
add rbx, 0x48
cmp rbx, rdi
jne 0x1400b0060
lea rcx, [rsp + 0x28]
call fcn.1400c7510
add r13, 0x60
add rsi, 0x60
cmp r13, qword [rsp + 0x20]
jne 0x1400affa0
mov rcx, r14
call fcn.1400bba40
mov rdi, qword [r14 + 0x28]
mov rbx, qword [r14 + 0x20]
cmp rbx, rdi
je 0x1400b00d1
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x1400b00c0
xor r9d, r9d
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400c22f0
mov rcx, qword [r14 + 0x18]
test rcx, rcx
je 0x1400b0103
mov rax, qword [rcx]
call qword [rax + 0x1c0]
test rax, rax
je 0x1400b0103
mov dl, 1
mov rcx, rax
call fcn.140101b40
nop
lea rcx, [rbp - 0x78]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x48]
call fcn.14004f4d0
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14022d970
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret