Function at 0x140097aa0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x258]
sub rsp, 0x358
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r12d, r9d
mov r15d, r8d
mov rbx, rdx
mov qword [rsp + 0x48], rcx
mov eax, dword [rbp + 0x2c8]
mov dword [rsp + 0x28], eax
mov r13d, dword [rbp + 0x2d0]
mov eax, dword [rbp + 0x2d8]
mov dword [rsp + 0x2c], eax
mov rdx, qword [rbp + 0x2e0]
mov rax, qword [rbp + 0x2e8]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x2f0]
mov qword [rsp + 0x38], rax
mov rdi, qword [rbp + 0x2f8]
movzx eax, byte [rbp + 0x300]
mov byte [rsp + 0x21], al
mov rax, qword [rbp + 0x308]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0x310]
mov qword [rsp + 0x58], rax
movzx eax, byte [rbp + 0x318]
mov byte [rsp + 0x20], al
mov eax, dword [rbp + 0x330]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x338]
mov dword [rsp + 0x34], eax
mov esi, dword [rbp + 0x340]
mov dword [rsp + 0x24], 0
lea rcx, [rbp + 0x60]
call fcn.14008d690
nop
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.140080f00
nop
lea rcx, [rbp + 0x60]
call fcn.14004f4d0
lea rcx, [rsp + 0x60]
call fcn.14005fdb0
nop
lea rdx, str.INSERT_OR_REPLACE_INTO_Preset_Id__name__type__type_v2__subtype_v2__instrument_key__sound_designer__pack__instrument_variation_key_id__file_path__time_last_save__comment__mode__instrument_key_part1__instrument_key_part2__instrument_variation_part1_key_id__instrument_variation_part2_key_id__favorite__hide_in_browser__SELECT_
lea rcx, [rsp + 0x70]
call fcn.14004fa30
mov r14, rax
mov rdx, rbx
lea rcx, [rbp + 0xe0]
call fcn.140080f00
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097bcc
mov rax, qword [rax]
mov rdx, rax
mov rcx, r14
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, esi
lea rcx, [rbp + 0x220]
call fcn.14007a000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097c06
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, r15d
lea rcx, [rbp + 0x200]
call fcn.14007a000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097c41
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, r12d
lea rcx, [rbp + 0x1e0]
call fcn.14007a000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097c7c
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, dword [rbp + 0x2c0]
lea rcx, [rbp + 0x60]
call fcn.14004b930
nop
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 0x10
cmovae rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, dword [rsp + 0x28]
lea rcx, [rbp + 0x1c0]
call fcn.14007a000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097cf4
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, r13d
lea rcx, [rbp + 0x1a0]
call fcn.14007a000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097d2f
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, dword [rsp + 0x2c]
lea rcx, [rbp + 0x180]
call fcn.14007a000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097d6b
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
mov rcx, rax
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x160]
call fcn.14004b9d0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097ddd
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029eeb8]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x140]
call fcn.140080f00
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097e1a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029eeb8]
mov rcx, rax
call fcn.14004fa30
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140097e42
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.1400503f0
lea rdx, [0x14029d530]
mov rcx, rax
call fcn.14004fa30
mov rcx, rax
lea rdx, [0x14029f9f4]
call fcn.14004fa30
mov rbx, rax
mov edx, dword [rbp + 0x320]
lea rcx, [rbp + 0xc0]
call fcn.14004b930
nop
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, dword [rbp + 0x328]
lea rcx, [rbp + 0x80]
call fcn.14004b930
nop
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029d530]
mov rcx, rax
call fcn.14004fa30
mov rcx, rax
lea rdx, [0x14029f9f4]
call fcn.14004fa30
mov rbx, rax
mov edx, dword [rsp + 0x30]
lea rcx, [rbp + 0x120]
call fcn.14007a000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097f32
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rdx, [0x14029f9f0]
mov rcx, rax
call fcn.14004fa30
mov rbx, rax
mov edx, dword [rsp + 0x34]
lea rcx, [rbp + 0x100]
call fcn.14007a000
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140097f6e
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call fcn.1400503f0
lea rcx, [0x14026d4e8]
lea rbx, [0x14029e424]
mov rdi, rbx
cmp byte [rsp + 0x20], 0
cmovne rdi, rcx
cmp byte [rsp + 0x21], 0
cmovne rbx, rcx
lea rdx, [0x14029d530]
mov rcx, rax
call fcn.14004fa30
mov rcx, rax
lea rdx, [0x140299890]
call fcn.14004fa30
mov rcx, rax
mov rdx, rbx
call fcn.14004fa30
mov rcx, rax
lea rdx, [0x140299890]
call fcn.14004fa30
mov rcx, rax
mov rdx, rdi
call fcn.14004fa30
nop
lea rcx, [rbp + 0x100]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x120]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x80]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0xc0]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x140]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x160]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x180]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x1a0]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x1c0]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x60]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x1e0]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x200]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x220]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0xe0]
call fcn.14004f4d0
mov rdi, qword [rsp + 0x48]
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.1400c7eb0
nop
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x60]
lea rcx, [rdi + 0x328]
call fcn.140080c10
nop
lea rcx, [rbp + 0x60]
call fcn.14004f4d0
nop
xor ebx, ebx
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], bl
mov dword [rsp + 0x24], 0x1f
mov rdx, qword [rbp + 0xb0]
add rdx, 0x2e
lea rcx, [rbp + 0x80]
call fcn.140068500
lea r8d, [rbx + 0x2e]
lea rdx, str.SELECT_key_id_FROM_Preset_Id_WHERE_file_path
lea rcx, [rbp + 0x80]
call fcn.14007a550
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov r8, qword [rbp + 0xb0]
lea rcx, [rbp + 0x80]
call fcn.14007a550
lea r8d, [rbx + 1]
lea rdx, [0x14029d530]
lea rcx, [rbp + 0x80]
call fcn.14007a550
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x70], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov dword [rsp + 0x24], 0x3f
lea rdx, [rbp + 0x60]
mov rcx, rdi
call fcn.14009b040
mov ebx, eax
lea rcx, [rbp + 0x60]
call fcn.14004f4d0
nop
lea rcx, [rbp + 0x80]
call fcn.14004f4d0
mov edx, ebx
lea rcx, [rbp + 0xe0]
call fcn.14007a000
nop
mov r8, qword [rsp + 0x50]
mov rdx, rax
mov rcx, rdi
call fcn.140098280
nop
lea rcx, [rbp + 0xe0]
call fcn.14004f4d0
mov edx, ebx
lea rcx, [rbp + 0xe0]
call fcn.14007a000
nop
mov r8, qword [rsp + 0x58]
mov rdx, rax
mov rcx, rdi
call fcn.14009aa70
nop
lea rcx, [rbp + 0xe0]
call fcn.14004f4d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x60], rax
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x78]
call fcn.140061100
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xa0]
call fcn.14004f4d0
mov eax, ebx
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.14022d970
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret