Function at 0x14009ce90
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r14, r8
mov rsi, rdx
mov r13, rcx
mov qword [rsp + 0x48], rdx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x40], r12
movzx eax, byte [rcx + 0x2780]
test al, al
jne 0x14009cf06
lea ecx, [r12 + 0x10]
call fcn.14022d994
mov qword [rsp + 0x28], rax
lea r15, [r13 + 0x328]
mov rdx, r15
mov rcx, rax
call fcn.140081060
mov rbx, rax
mov qword [rsp + 0x40], rax
jmp 0x14009cf12
lea r15, [rcx + 0x328]
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x1a0], r12
mov qword [rsp + 0x1a8], 0xf
mov byte [rsp + 0x190], 0
mov rdx, rsi
lea rcx, [rsp + 0x290]
call fcn.140080f00
nop
mov dword [rsp + 0x20], 1
mov r9d, 0x68
lea r8, str.SELECT_file_path_FROM_Preset_Id_i__Preset_Playlists_p_WHERE_i.key_id__p.preset_key_AND_p.preset_key__
xor edx, edx
mov rcx, rax
call fcn.140069240
mov qword [rsp + 0x240], r12
mov qword [rsp + 0x248], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x230], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x240], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x20], 0x43
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x230]
call fcn.14007a550
mov qword [rsp + 0x220], r12
mov qword [rsp + 0x228], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x210], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x220], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov edi, 0xc7
mov dword [rsp + 0x20], edi
lea rax, [rsp + 0x190]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x28]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x210]
mov rcx, r15
call fcn.140080c10
test eax, eax
jne 0x14009d031
cmp qword [rsp + 0x1a0], 0
jne 0x14009d130
mov rdx, r14
lea rcx, [rsp + 0x270]
call fcn.140080f00
nop
mov dword [rsp + 0x20], 0xcf
mov r9d, 0x65
lea r8, str.SELECT_file_path_FROM_Preset_Id_i__Preset_Playlists_p_WHERE_i.key_id__p.preset_key_AND_file_path__
xor edx, edx
mov rcx, rax
call fcn.140069240
mov qword [rsp + 0x200], r12
mov qword [rsp + 0x208], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x1f0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x200], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov dword [rsp + 0x20], 0x1df
mov r8d, 1
lea rdx, [0x14029d530]
lea rcx, [rsp + 0x1f0]
call fcn.14007a550
mov qword [rsp + 0x1e0], r12
mov qword [rsp + 0x1e8], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x1e0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov edi, 0x3ff
mov dword [rsp + 0x20], edi
lea rax, [rsp + 0x190]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x28]
lea r8, [0x1400c9590]
lea rdx, [rsp + 0x1d0]
mov rcx, r15
call fcn.140080c10
test eax, eax
jne 0x14009d135
cmp qword [rsp + 0x1a0], 0
je 0x14009d135
mov r12b, 1
jmp 0x14009d138
xor r12b, r12b
test dil, 0x20
je 0x14009d153
and edi, 0xffffffdf
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x1d0]
call fcn.14004f4d0
nop
test dil, 0x10
je 0x14009d16e
and edi, 0xffffffef
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x1f0]
call fcn.14004f4d0
nop
test dil, 8
je 0x14009d189
and edi, 0xfffffff7
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x270]
call fcn.14004f4d0
nop
test dil, 4
je 0x14009d1a4
and edi, 0xfffffffb
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x210]
call fcn.14004f4d0
nop
test dil, 2
je 0x14009d1bf
and edi, 0xfffffffd
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x230]
call fcn.14004f4d0
nop
test dil, 1
je 0x14009d1d9
and edi, 0xfffffffe
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x290]
call fcn.14004f4d0
test r12b, r12b
je 0x14009d394
mov r15, qword [r13 + 0x25e8]
xor r12d, r12d
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x168], r12
mov rsi, qword [rsp + 0x1a0]
lea r14, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 0x10
cmovae r14, qword [rsp + 0x190]
cmp rsi, 0x10
jae 0x14009d23e
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x168], 0xf
jmp 0x14009d27e
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
call fcn.14004fda0
mov qword [rsp + 0x150], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x168], rdi
mov qword [rsp + 0x160], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x170], xmm0
mov qword [rsp + 0x180], r12
mov ecx, 0x20
call fcn.14004fda0
mov rdi, rax
mov qword [rsp + 0x170], rax
mov qword [rsp + 0x178], rax
lea rcx, [rax + 0x20]
mov qword [rsp + 0x180], rcx
lea rax, [rsp + 0x170]
mov qword [rsp + 0x28], rax
lea rsi, [rsp + 0x150]
lea r14, [rsp + 0x170]
mov qword [rsp + 0x1b0], rdi
mov qword [rsp + 0x1b8], rdi
lea rax, [rsp + 0x170]
mov qword [rsp + 0x1c0], rax
cmp rsi, r14
je 0x14009d322
mov rdx, rsi
mov rcx, rdi
call fcn.14004edc0
add rdi, 0x20
mov qword [rsp + 0x1b8], rdi
add rsi, 0x20
jmp 0x14009d300
mov qword [rsp + 0x178], rdi
lea rdx, [rsp + 0x170]
mov rcx, r15
call fcn.1400b7c90
nop
lea rcx, [rsp + 0x170]
call fcn.14004f120
nop
lea r9, [fcn.14004ed70]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rsp + 0x150]
call fcn.14022d9d0
nop
lea rcx, [rsp + 0x190]
call fcn.14004f4d0
nop
test rbx, rbx
je 0x14009d38f
mov rcx, rbx
call fcn.140081180
mov edx, 0x10
mov rcx, rbx
call fcn.14022dcf0
jmp 0x14009d60e
xor r12d, r12d
mov qword [rsp + 0x160], r12
mov qword [rsp + 0x168], 0xf
mov byte [rsp + 0x150], r12b
bts edi, 0xa
mov dword [rsp + 0x20], edi
mov rdx, qword [rsi + 0x10]
add rdx, 0x35
lea rcx, [rsp + 0x150]
call fcn.140068500
lea r8d, [r12 + 0x35]
lea rdx, str.DELETE_FROM_Preset_Characteristics_WHERE_preset_key_
lea rcx, [rsp + 0x150]
call fcn.14007a550
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14009d3f6
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x150]
call fcn.14007a550
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x150]
mov rcx, r15
call fcn.140080c10
btr edi, 0xa
lea rcx, [rsp + 0x150]
call fcn.14004f4d0
nop
mov qword [rsp + 0x1c0], r12
mov qword [rsp + 0x1c8], 0xf
mov byte [rsp + 0x1b0], 0
bts edi, 0xb
mov dword [rsp + 0x20], edi
mov rdx, qword [rsi + 0x10]
add rdx, 0x30
lea rcx, [rsp + 0x1b0]
call fcn.140068500
mov r8d, 0x30
lea rdx, str.DELETE_FROM_Preset_ProductIds_WHERE_preset_key_
lea rcx, [rsp + 0x1b0]
call fcn.14007a550
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x14009d48f
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x1b0]
call fcn.14007a550
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x1b0]
mov rcx, r15
call fcn.140080c10
btr edi, 0xb
lea rcx, [rsp + 0x1b0]
call fcn.14004f4d0
nop
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x188], 0xf
mov byte [rsp + 0x170], 0
bts edi, 0xc
mov dword [rsp + 0x20], edi
mov rdx, qword [rsi + 0x10]
add rdx, 0x24
lea rcx, [rsp + 0x170]
call fcn.140068500
mov r8d, 0x24
lea rdx, [0x1402a0718]
lea rcx, [rsp + 0x170]
call fcn.14007a550
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x14009d529
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rsp + 0x170]
call fcn.14007a550
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x170]
mov rcx, r15
call fcn.140080c10
btr edi, 0xc
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x170]
call fcn.14004f4d0
mov qword [rsp + 0x260], r12
mov qword [rsp + 0x268], 7
mov word [rsp + 0x250], r12w
mov rdx, qword [r14 + 0x10]
test rdx, rdx
je 0x14009d5bc
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14009d597
mov rax, qword [r14]
lea rdi, [rax + rdx]
jb 0x14009d5a0
mov r14, qword [r14]
call fcn.140206ff0
mov r9, rax
lea r8, [rsp + 0x250]
mov rdx, rdi
mov rcx, r14
call fcn.1402051d0
nop
lea rcx, [rsp + 0x250]
call fcn.140050dd0
nop
lea rcx, [rsp + 0x250]
call fcn.14004f460
test rbx, rbx
je 0x14009d5e5
mov rcx, rbx
call fcn.1400810f0
nop
lea rcx, [rsp + 0x190]
call fcn.14004f4d0
nop
test rbx, rbx
je 0x14009d60e
mov rcx, rbx
call fcn.140081180
mov edx, 0x10
mov rcx, rbx
call fcn.14022dcf0
nop
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14022d970
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret