Function at 0x140093c20
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14033d010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
mov qword [rsp + 0x40], rdx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0x30]
call fcn.1400a3740
nop
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rdi]
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r15b
lea r8d, [r15 + 2]
lea rdx, [0x140299890]
lea rcx, [rsp + 0x50]
call fcn.14004f6a0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x28], rbx
cmp rbx, rdi
jne 0x140093cc7
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], r15b
lea esi, [r15 + 4]
jmp 0x140093d8e
mov edx, dword [rbx + 0x1c]
lea rcx, [rsp + 0x70]
call fcn.14007a000
mov esi, 8
mov dword [rsp + 0x20], esi
lea rcx, [rsp + 0x28]
call fcn.14005f940
mov rbx, qword [rsp + 0x28]
cmp rbx, rdi
je 0x140093d5e
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007a550
mov edx, dword [rbx + 0x1c]
lea rcx, [rbp - 0x70]
call fcn.14007a000
or esi, 0x10
mov dword [rsp + 0x20], esi
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
lea rcx, [rsp + 0x70]
call fcn.14007a550
nop
lea rcx, [rbp - 0x70]
call fcn.14004f4d0
lea rcx, [rsp + 0x28]
call fcn.14005f940
mov rbx, qword [rsp + 0x28]
cmp rbx, rdi
jne 0x140093cf1
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
or esi, 4
lea rcx, [rsp + 0x70]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x50]
call fcn.14004f4d0
or esi, 2
mov dword [rsp + 0x20], esi
mov r9d, 0x5e
lea r8, str.EXISTS___SELECT_key_id_FROM_Preset_ProductIds_WHERE_preset_key__pi.key_id_AND_product_id_IN__
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.140069240
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 0x20
mov dword [rsp + 0x20], esi
mov r8d, 4
lea rdx, [0x14029f178]
lea rcx, [rbp - 0x50]
call fcn.14007a550
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x70], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm7
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or esi, 0x40
mov dword [rsp + 0x20], esi
lea rcx, [rbp - 0x50]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x30]
call fcn.14004f4d0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov r8d, 0x4f
lea rdx, str.NOT_EXISTS__SELECT_key_id_FROM_Preset_ProductIds_WHERE_preset_key__pi.key_id_
lea rcx, [rsp + 0x70]
call fcn.14004f6a0
nop
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
bts esi, 7
mov dword [rsp + 0x20], esi
movq rbx, xmm7
lea rdx, [rbx + 1]
mov rcx, r14
call fcn.140068500
mov r8d, 1
lea rdx, [0x14029f230]
mov rcx, r14
call fcn.14007a550
lea rdx, [rbp - 0x70]
movq rcx, xmm6
psrldq xmm7, 8
movq rax, xmm7
cmp rax, 0x10
cmovae rdx, rcx
mov r8, rbx
mov rcx, r14
call fcn.14007a550
btr esi, 7
or esi, 1
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
bts esi, 8
mov dword [rsp + 0x20], esi
mov rbx, qword [rbp - 0x80]
lea rdx, [rbx + 4]
lea rcx, [rsp + 0x50]
call fcn.140068500
mov r8d, 4
lea rdx, str._OR
lea rcx, [rsp + 0x50]
call fcn.14007a550
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, rbx
lea rcx, [rsp + 0x50]
call fcn.14007a550
mov r8d, 1
lea rdx, [0x140299898]
lea rcx, [rsp + 0x50]
call fcn.14007a550
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts esi, 9
mov dword [rsp + 0x20], esi
lea rdx, [rbp - 0x50]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
mov rcx, r14
call fcn.14007a550
nop
lea rcx, [rbp - 0x50]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x50]
call fcn.14004f4d0
nop
lea rcx, [rsp + 0x70]
call fcn.14004f4d0
nop
lea rcx, [rbp - 0x70]
call fcn.14004f4d0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.140065cd0
mov rax, r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14022d970
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret