Function at 0x14001274f
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push r15
xor rax, rax
push rax
push rax
push rax
push rax
push rax
sub rsp, 0x28
call fcn.140074600
push qword [0x1402907f4]
pop rcx
call fcn.14005aeec
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 2
movabs rax, 0x1401fd126
push rax
movabs rax, 0x1401fd126
push rax
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
pop rcx
sub rsp, 0x20
call fcn.14004ffd8
add rsp, 0x20
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140065568
add rsp, 0x28
movabs rcx, str.msact.db
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
push 0xffffffffffffffff
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140068208
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140012c16
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.SELECT_GROUPS__PRODUCT_FROM_keys_WHERE_key_And_PRODUCT
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push qword [rsp + 0x78]
pop rcx
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
pop rdx
sub rsp, 0x20
call fcn.140071bc0
add rsp, 0x20
pop rax
movabs rcx, str._ORDER_BY_GROUPS_ASC
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
push qword [rsp + 0x40]
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140067f9c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
je 0x140012c0c
push qword [rsp + 0x28]
pop rcx
call fcn.140068018
and rax, rax
je 0x140012bfb
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 0
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14006804c
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.140074390
mov qword [rsp + 0x38], 0
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.SELECT_key__GROUPS__PRODUCT_FROM_keys_WHERE_NOT_key_AND_Blocked_AND_GROUPS
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
movabs rcx, str._AND_PRODUCT
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push qword [rsp + 0x78]
pop rcx
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
pop rdx
sub rsp, 0x20
call fcn.140071bc0
add rsp, 0x20
pop rax
movabs rcx, str._ORDER_BY_GROUPS_ASC
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140067f9c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
je 0x140012b1e
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068018
and rax, rax
je 0x140012b0d
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 0
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14006804c
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.140074390
mov r15, qword [rsp + 0x38]
inc r15
mov qword [rsp + 0x38], r15
jmp 0x140012a98
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068094
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
movabs rcx, 0x1401fd4f8
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140071bc0
add rsp, 0x20
pop rax
movabs rcx, 0x1401fda1c
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
push 0xffffffffffffffff
push qword [0x1402907f4]
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14005ee7c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
jmp 0x14001293a
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068094
push qword [rsp + 0x28]
pop rcx
call fcn.140067e58
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 2
movabs rax, 0x1401fd126
push rax
movabs rax, 0x1401fd126
push rax
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
pop rcx
sub rsp, 0x20
call fcn.14004ffd8
add rsp, 0x20
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140065568
add rsp, 0x28
movabs rcx, str.msact.db
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
push 0xffffffffffffffff
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.140068208
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14001314f
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.SELECT_GROUPS__PRODUCT_FROM_backup_WHERE_key_And_PRODUCT
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push qword [rsp + 0x78]
pop rcx
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
pop rdx
sub rsp, 0x20
call fcn.140071bc0
add rsp, 0x20
pop rax
movabs rcx, str._ORDER_BY_GROUPS_ASC
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
push qword [rsp + 0x40]
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140067f9c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
je 0x140013145
push qword [rsp + 0x28]
pop rcx
call fcn.140068018
and rax, rax
je 0x140013134
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 0
push qword [rsp + 0x48]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14006804c
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.140074390
mov qword [rsp + 0x38], 0
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
movabs rcx, str.SELECT_key__UUID__GROUPS__PRODUCT_FROM_backup_WHERE_NOT_key_AND_GROUPS
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
movabs rcx, str._AND_PRODUCT
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push qword [rsp + 0x78]
pop rcx
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
pop rdx
sub rsp, 0x20
call fcn.140071bc0
add rsp, 0x20
pop rax
movabs rcx, str._ORDER_BY_GROUPS_ASC
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140067f9c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
mov r15, rax
and r15, r15
je 0x140013049
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068018
and rax, rax
je 0x140013038
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 0
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14006804c
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.140074390
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 1
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14006804c
add rsp, 0x28
lea rcx, [rsp + 0x50]
pop rdx
call fcn.140074390
mov r15, qword [0x140290ab4]
and r15, r15
jle 0x140013026
push qword [rsp + 0x48]
mov rcx, qword [0x14029077c]
pop rdx
call fcn.140074470
or rax, rax
je 0x140013024
mov r15, qword [rsp + 0x38]
inc r15
mov qword [rsp + 0x38], r15
jmp 0x140013033
mov r15, qword [rsp + 0x38]
inc r15
mov qword [rsp + 0x38], r15
jmp 0x140012f3b
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068094
mov r15, qword [rsp + 0x38]
and r15, r15
jle 0x14001312f
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [rsp + 0x40]
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
movabs rcx, 0x1401fd4f8
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140071bc0
add rsp, 0x20
pop rax
movabs rcx, 0x1401fda1c
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
push 0xffffffffffffffff
push qword [0x1402907f4]
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14005ee7c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
jmp 0x140012ddd
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068094
push qword [rsp + 0x28]
pop rcx
call fcn.140067e58
mov qword [rsp + 0x38], 0
movabs rax, str.SELECT_key__GROUPS__PRODUCT__Blocked_FROM_keys_WHERE_NOT_key_AND_BlockedKey_Blocked__ORDER_BY_GROUPS_ASC
push rax
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.140067f9c
mov r15, rax
and r15, r15
je 0x140013207
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068018
and rax, rax
je 0x1400131f6
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push 0
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14006804c
add rsp, 0x28
lea rcx, [rsp + 0x48]
pop rdx
call fcn.140074390
mov r15, qword [rsp + 0x38]
inc r15
mov qword [rsp + 0x38], r15
jmp 0x140013181
movsxd rax, dword [0x140290eb8]
mov rax, rax
push rax
pop rcx
call fcn.140068094
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rcx, qword [0x140290d8c]
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
movabs rcx, 0x1401fd4f8
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400742d0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400742d0
add rsp, 0x28
pop rcx
push rax
push qword [rsp + 0x60]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140071bc0
add rsp, 0x20
pop rax
movabs rcx, 0x1401fda1c
sub rsp, 0x28
call fcn.140074320
add rsp, 0x28
call fcn.140074530
push 0xffffffffffffffff
push qword [0x1402907f4]
push rax
call fcn.140074500
mov rdx, rax
pop rax
add qword [rsp + 0x10], rdx
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.14005ee7c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14002f730
add rsp, 0x28
pop rax
mov r15, qword [rsp + 0x60]
cmp r15, 1
jne 0x140013308
push qword [0x14029054c]
push 0xffffffffffffffff
push qword [0x1402907f4]
pop rcx
pop rdx
pop r8
call fcn.14005f078
jmp 0x140013322
push qword [0x140290d14]
push 0xffffffffffffffff
push qword [0x1402907f4]
pop rcx
pop rdx
pop r8
call fcn.14005f078
xor rax, rax
push rax
mov rcx, qword [rsp + 0x50]
sub rsp, 0x28
call fcn.1400746e0
add rsp, 0x28
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400746e0
add rsp, 0x28
mov rcx, qword [rsp + 0x48]
sub rsp, 0x28
call fcn.1400746e0
add rsp, 0x28
pop rax
add rsp, 0x50
pop r15
ret