Function at 0x1400b2f80
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 - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov byte [rsp + 0x20], r9b
mov r12d, r8d
mov rsi, rdx
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x28], r15d
mov rcx, rdx
call fcn.140086270
test al, al
je 0x1400b384e
cmp qword [rsi + 0x10], r15
je 0x1400b384e
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], r15b
lea rdi, [r14 + 0x548]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r15b
mov dword [rsp + 0x28], 0x10
mov rdx, qword [rdi + 0x10]
add rdx, 0x3b
lea rcx, [rsp + 0x40]
call fcn.140068500
lea r8d, [r15 + 0x3b]
lea rdx, str.SELECT_COUNT_key_id__FROM_Playlists_WHERE_instrument_id__
lea rcx, [rsp + 0x40]
call fcn.14007a550
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400b3046
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14007a550
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x40]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x28], 0x30
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x30]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x60]
lea rcx, [r14 + 0x88]
call fcn.140080c10
mov ebx, eax
lea rcx, [rsp + 0x60]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x40]
call fcn.14004f4d0
test ebx, ebx
jne 0x1400b383e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r13, rax
lea rbx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rbx, qword [rbp + 0x20]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov r15d, eax
mov dword [rsp + 0x30], eax
cmp rbx, qword [rsp + 0x28]
jne 0x1400b312b
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [r13], 0x22
je 0x1400b3830
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test eax, eax
jle 0x1400b3155
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
cmp r15d, eax
jge 0x1400b383e
test r12d, r12d
js 0x1400b315f
cmp r12d, r15d
jl 0x1400b3162
mov r12d, r15d
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov r15, qword [rsi + 0x10]
mov r13, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400b317d
mov r13, qword [rsi]
cmp r15, 0x10
jae 0x1400b3196
movups xmm0, xmmword [r13]
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], 0xf
jmp 0x1400b31ce
mov rbx, r15
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.14004fda0
mov qword [rbp - 0x80], rax
lea r8, [r15 + 1]
mov rdx, r13
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x70], r15
cmp byte [rsp + 0x20], 0
je 0x1400b3228
mov r8, rsi
lea rdx, [rbp - 0x60]
mov rcx, r14
call fcn.1400b2900
mov rbx, rax
lea rax, [rbp - 0x80]
cmp rax, rbx
je 0x1400b321f
lea rcx, [rbp - 0x80]
call fcn.14004f4d0
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rcx, [rbp - 0x60]
call fcn.14004f4d0
xor r15d, r15d
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 0xf
mov byte [rbp], r15b
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x60]
call fcn.140080f00
nop
mov dword [rsp + 0x28], 0x21
lea r9d, [r15 + 0x3f]
lea r8, str.SELECT_COUNT_key_id__FROM_Playlists_WHERE_lower_name___lower_
xor edx, edx
mov rcx, rax
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov dword [rsp + 0x28], 0x63
lea r8d, [r15 + 0x17]
lea rdx, str.__AND_instrument_id_
lea rcx, [rbp - 0x40]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], r15b
mov dword [rsp + 0x28], 0xe7
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400b32e6
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x28], 0x1ef
lea rax, [rbp]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x38]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x60]
lea rcx, [r14 + 0x88]
call fcn.140080c10
test eax, eax
jne 0x1400b337b
lea rax, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae rax, qword [rbp]
cmp qword [rbp + 0x10], 1
jne 0x1400b337b
cmp byte [rax], 0x30
jne 0x1400b336e
mov eax, r15d
jmp 0x1400b3373
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400b337b
xor bl, bl
jmp 0x1400b337d
mov bl, 1
lea rcx, [rsp + 0x60]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x40]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x40]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x60]
call fcn.14004f4d0
test bl, bl
je 0x1400b33b1
xor bl, bl
jmp 0x1400b381b
cmp r12d, dword [rsp + 0x30]
jge 0x1400b3510
mov edx, r12d
lea rcx, [rbp - 0x60]
call fcn.14007a000
nop
mov r9d, 0x30
lea r8, str.UPDATE_Playlists_SET_idx__idx__1_WHERE_idx__
xor edx, edx
mov rcx, rax
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 0x16
lea rdx, str._AND_instrument_id__
lea rcx, [rbp - 0x20]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400b3452
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x40]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x60]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [r14 + 0x88]
call fcn.140080c10
nop
lea rcx, [rbp - 0x40]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x60]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x40]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x20]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x60]
call fcn.14004f4d0
mov edx, r12d
lea rcx, [rbp + 0xa0]
call fcn.14007a000
mov rbx, rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x80]
call fcn.140080f00
nop
mov r9d, 0x3a
lea r8, str.INSERT_INTO_Playlists__name__idx__instrument_id__VALUES__
xor edx, edx
mov rcx, rax
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 3
lea rdx, [0x1402a4cbc]
lea rcx, [rbp - 0x60]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [rbx + 0x10]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
mov r9, qword [rsp + 0x50]
sub rax, r9
cmp r8, rax
jbe 0x1400b35ef
mov rax, qword [rbx + 0x18]
sub rax, r8
cmp rax, r9
jb 0x1400b35ef
lea r8, [rsp + 0x40]
cmp rcx, 0x10
cmovae r8, qword [rsp + 0x40]
xor edx, edx
mov rcx, rbx
call fcn.140069240
jmp 0x1400b3606
cmp qword [rbx + 0x18], 0x10
jb 0x1400b35f9
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov byte [rax], 0
mov qword [rax + 0x18], 0xf
mov qword [rax + 0x10], r15
mov r8d, 2
lea rdx, [0x140299890]
lea rcx, [rsp + 0x60]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x50], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x1400b367a
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rbp + 0x40]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x140299898]
lea rcx, [rbp - 0x40]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [r14 + 0x88]
call fcn.140080c10
nop
lea rcx, [rbp - 0x20]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x40]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x40]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x60]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x40]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x60]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x80]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0xa0]
call fcn.14004f4d0
movdqa xmm0, xmmword [0x1402c2e60]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
mov r8, qword [rbp - 0x70]
test r8, r8
je 0x1400b37a8
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rbx, qword [rbp - 0x80]
add rbx, r8
lea rdi, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdi, qword [rbp - 0x80]
call fcn.140206ff0
mov r9, rax
lea r8, [rbp - 0x60]
mov rdx, rbx
mov rcx, rdi
call fcn.1402051d0
nop
lea rdx, [r14 + 0x4a8]
lea rcx, [rbp + 0x40]
call fcn.140061f70
nop
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x40]
call fcn.1402053f0
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.140061f70
nop
lea rcx, [rbp + 0x40]
call fcn.14004f460
nop
lea rcx, [rbp - 0x60]
call fcn.14004f460
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140204560
cmp dword [rax], 1
ja 0x1400b3807
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.140203de0
mov rcx, r14
call fcn.1400afdd0
mov bl, 1
lea rcx, [rbp + 0x60]
call fcn.14004f460
nop
lea rcx, [rbp]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x80]
call fcn.14004f4d0
jmp 0x1400b3840
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
xor bl, bl
lea rcx, [rbp + 0x20]
call fcn.14004f4d0
movzx eax, bl
jmp 0x1400b3850
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14022d970
mov rbx, qword [rsp + 0x228]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret