Function at 0x180028c80
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xaf8
mov rax, qword [0x18007b028]
xor rax, rsp
mov qword [rsp + 0xae0], rax
cmp qword [rsp + 0xb18], 0
jne 0x180028cf4
mov dword [rsp + 0x58], 0xfffffff8
mov rcx, qword [rsp + 0xb40]
call fcn.180004d20
nop
mov rcx, qword [rsp + 0xb48]
call fcn.180004d20
nop
mov rcx, qword [rsp + 0xb60]
call fcn.180004d20
mov eax, dword [rsp + 0x58]
jmp 0x180029b1f
lea rdx, [0x18005b3ea]
lea rcx, [rsp + 0x7d0]
call fcn.1800030a0
nop
lea rcx, [rsp + 0x210]
call fcn.180014980
nop
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x850], 0x244
lea rax, [rsp + 0x210]
mov qword [rsp + 0x858], rax
mov dword [rsp + 0x860], 8
mov qword [rsp + 0x868], 0
mov dword [rsp + 0x870], 0x244
lea rax, [rsp + 0x220]
mov qword [rsp + 0x878], rax
mov dword [rsp + 0x880], 8
mov qword [rsp + 0x888], 0
mov dword [rsp + 0x890], 0x244
lea rax, [rsp + 0x228]
mov qword [rsp + 0x898], rax
mov dword [rsp + 0x8a0], 8
mov qword [rsp + 0x8a8], 0
mov dword [rsp + 0x8b0], 0x244
lea rax, [rsp + 0x230]
mov qword [rsp + 0x8b8], rax
mov dword [rsp + 0x8c0], 8
mov qword [rsp + 0x8c8], 0
mov dword [rsp + 0x8d0], 0x244
lea rax, [rsp + 0x238]
mov qword [rsp + 0x8d8], rax
mov dword [rsp + 0x8e0], 8
mov qword [rsp + 0x8e8], 0
mov dword [rsp + 0x8f0], 0x1c4
lea rax, [rsp + 0x240]
mov qword [rsp + 0x8f8], rax
mov dword [rsp + 0x900], 0x1f4
mov qword [rsp + 0x908], 0
mov dword [rsp + 0x910], 0x1f0
lea rax, [rsp + 0x218]
mov qword [rsp + 0x918], rax
mov dword [rsp + 0x920], 4
mov qword [rsp + 0x928], 0
lea rdx, str.SELECT_ct.ID__ct.CREATOR_ID__ct.DATE_CREATE__ct.MODIFIER_ID__ct.DATE_MODIFY__ct.TITLE__ct.VERIFY_LICENCE_FROM_ORG_CONF_TPL_ct
lea rcx, [rsp + 0x7b0]
call fcn.1800030a0
nop
cmp qword [rsp + 0xb50], 0
jle 0x180028f11
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x930], 0x244
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [rsp + 0xb50]
mov qword [rsp + rax + 0x938], rcx
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x940], 8
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov qword [rsp + rax + 0x948], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, str._JOIN_ORG_CONF_TPL_MODULE_tm_ON_tm.CONF_TPL_ID__ct.ID_AND_tm.MODULE_ID____
lea rcx, [rsp + 0x7b0]
call fcn.180005080
cmp qword [rsp + 0xb58], 0
jle 0x180028f90
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x930], 0x244
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [rsp + 0xb58]
mov qword [rsp + rax + 0x938], rcx
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x940], 8
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov qword [rsp + rax + 0x948], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, str._JOIN_ORG_CONF_TPL_ORG_cto_ON_cto.CONF_TPL_ID__ct.ID_AND_cto.ORG_ID____
lea rcx, [rsp + 0x7b0]
call fcn.180005080
mov rcx, qword [rsp + 0xb60]
call fcn.180004ce0
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x40]
mov qword [rsp + 0xb8], rax
mov eax, 8
mov rcx, qword [rsp + 0xb8]
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.180037b9c
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], 0
jmp 0x180028ffa
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x34], eax
jge 0x18002902c
movsxd rax, dword [rsp + 0x34]
mov rdx, rax
mov rcx, qword [rsp + 0xb60]
call fcn.180004cd0
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rdx + rcx*8], rax
jmp 0x180028ff0
mov rcx, qword [rsp + 0xb60]
call fcn.180004ce0
test rax, rax
jbe 0x1800291ae
mov dword [rsp + 0x150], 0x3ffe0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x158], rax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x160], eax
mov qword [rsp + 0x168], 0
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [rsp + 0x150]
lea rdi, [rsp + rax + 0x930]
mov rsi, rcx
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb18]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb18]
call qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0xc0]
mov qword [rsp + 0xc8], rax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xc8]
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.1800030a0
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov r8, qword [rsp + 0xd8]
lea rdx, str._JOIN_ORG_CONF_TPL_DETAIL_ctd_ON_ctd.CONF_TPL_ID__ct.ID_AND_ctd.USER_ID_IN__
lea rcx, [rsp + 0x1b0]
call fcn.180005500
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
lea r8, [0x18005b594]
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x190]
call fcn.180005300
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x7b0]
call fcn.1800050a0
nop
lea rcx, [rsp + 0x190]
call fcn.180003010
nop
lea rcx, [rsp + 0x1b0]
call fcn.180003010
nop
lea rcx, [rsp + 0x170]
call fcn.180003010
cmp qword [rsp + 0xb30], 0
je 0x1800292f4
mov rcx, qword [rsp + 0xb30]
call fcn.1800419d0
test rax, rax
jbe 0x1800292f4
lea rax, [rsp + 0xa10]
mov rdi, rax
xor eax, eax
mov ecx, 0xc8
rep stosb byte [rdi], al
mov r8, qword [rsp + 0xb30]
mov edx, 0xc8
lea rcx, [rsp + 0xa10]
call fcn.180002ec0
lea rcx, [rsp + 0xa10]
call fcn.180002ea0
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [rsp + 0xa10]
mov qword [rsp + rax + 0x938], rcx
lea rcx, [rsp + 0xa10]
call fcn.1800419d0
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov dword [rsp + rcx + 0x940], eax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x930], 0x1c4
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov qword [rsp + rax + 0x948], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [rsp + 0xa10]
mov qword [rsp + rax + 0x938], rcx
lea rcx, [rsp + 0xa10]
call fcn.1800419d0
movsxd rcx, dword [rsp + 0x30]
imul rcx, rcx, 0x20
mov dword [rsp + rcx + 0x940], eax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x930], 0x1c4
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov qword [rsp + rax + 0x948], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, str._WHERE__UPPER_ct.TITLE__LIKE_CONCAT________OR_ct.ID_LIKE_CONCAT___________
lea rcx, [rsp + 0x7b0]
call fcn.180005080
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x930], 0x244
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [rsp + 0xb20]
mov qword [rsp + rax + 0x938], rcx
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x940], 8
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov qword [rsp + rax + 0x948], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x930], 0x244
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
lea rcx, [rsp + 0xb28]
mov qword [rsp + rax + 0x938], rcx
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov dword [rsp + rax + 0x940], 8
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x20
mov qword [rsp + rax + 0x948], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [0x18005e9e8]
lea rcx, [rsp + 0x7b0]
call fcn.180005080
mov rax, qword [rsp + 0xb18]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb18]
call qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x108], rax
lea rcx, [rsp + 0x7b0]
call fcn.180002fe0
mov qword [rsp + 0x100], rax
mov dword [rsp + 0x28], 7
lea rax, [rsp + 0x850]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0x930]
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x80]
call qword [rsp + 0x108]
movzx eax, al
test eax, eax
jne 0x1800294ee
mov dword [rsp + 0x28], 0xfffffff9
lea rax, [0x18005e968]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb18]
mov r8d, 0x10e
lea rdx, [0x18005e9f8]
mov rax, qword [rsp + 0xb10]
mov rcx, qword [rax]
call fcn.180019010
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x7b0]
call fcn.180003010
nop
lea rcx, [rsp + 0x210]
call fcn.180016d70
nop
lea rcx, [rsp + 0x7d0]
call fcn.180003010
nop
mov rcx, qword [rsp + 0xb40]
call fcn.180004d20
nop
mov rcx, qword [rsp + 0xb48]
call fcn.180004d20
nop
mov rcx, qword [rsp + 0xb60]
call fcn.180004d20
mov eax, dword [rsp + 0x5c]
jmp 0x180029b1f
mov rax, qword [rsp + 0xb18]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb18]
call qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x110], rax
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [rsp + 0x110]
movzx eax, al
test eax, eax
je 0x1800295f8
lea rdx, [rsp + 0x220]
mov rcx, qword [rsp + 0xb48]
call fcn.180004d00
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0xb40]
call fcn.180004d00
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0xb38]
call fcn.18002e950
lea rcx, [rsp + 0x7d0]
call fcn.180003500
test rax, rax
jbe 0x1800295a3
lea rdx, [0x18005b5b4]
lea rcx, [rsp + 0x7d0]
call fcn.180005080
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x1d0]
call fcn.180003a80
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
lea rcx, [rsp + 0x7d0]
call fcn.1800050a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.180003010
jmp 0x1800294ee
mov rax, qword [rsp + 0xb18]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb18]
call qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x90]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0xb38]
call fcn.1800305d0
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jle 0x180029a80
mov qword [rsp + 0x7a8], 0
mov qword [rsp + 0x7a0], 0
mov dword [rsp + 0x810], 0x244
lea rax, [rsp + 0x7a8]
mov qword [rsp + 0x818], rax
mov dword [rsp + 0x820], 8
mov qword [rsp + 0x828], 0
mov dword [rsp + 0x830], 0x244
lea rax, [rsp + 0x7a0]
mov qword [rsp + 0x838], rax
mov dword [rsp + 0x840], 8
mov qword [rsp + 0x848], 0
lea r8, [rsp + 0x7d0]
lea rdx, str.SELECT_CONF_TPL_ID_MODULE_ID_FROM_ORG_CONF_TPL_MODULE_WHERE_CONF_TPL_ID_IN_
lea rcx, [rsp + 0x1f0]
call fcn.180009480
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
lea r8, [0x18005b604]
mov rdx, qword [rsp + 0x130]
lea rcx, [rsp + 0x7f0]
call fcn.180005300
nop
lea rcx, [rsp + 0x1f0]
call fcn.180003010
lea rdx, str._ORDER_BY_CONF_TPL_ID
lea rcx, [rsp + 0x7f0]
call fcn.180005080
mov rax, qword [rsp + 0xb18]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb18]
call qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x7f0]
call fcn.180002fe0
mov qword [rsp + 0x138], rax
mov dword [rsp + 0x28], 2
lea rax, [rsp + 0x810]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x98]
call qword [rsp + 0x140]
movzx eax, al
test eax, eax
jne 0x180029862
mov dword [rsp + 0x28], 0xfffffff9
lea rax, [0x18005eb88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xb18]
mov r8d, 0x12a
lea rdx, str.CConfirmationTemplateManager::getConfirmationTemplates
mov rax, qword [rsp + 0xb10]
mov rcx, qword [rax]
call fcn.180019010
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x7f0]
call fcn.180003010
nop
lea rcx, [rsp + 0x7b0]
call fcn.180003010
nop
lea rcx, [rsp + 0x210]
call fcn.180016d70
nop
lea rcx, [rsp + 0x7d0]
call fcn.180003010
nop
mov rcx, qword [rsp + 0xb40]
call fcn.180004d20
nop
mov rcx, qword [rsp + 0xb48]
call fcn.180004d20
nop
mov rcx, qword [rsp + 0xb60]
call fcn.180004d20
mov eax, dword [rsp + 0x60]
jmp 0x180029b1f
mov edx, 0x10
lea rcx, [rsp + 0x790]
call fcn.18001d550
lea rcx, [rsp + 0x790]
call fcn.180013f10
nop
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0xb18]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb18]
call qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x148], rax
xor edx, edx
mov rcx, qword [rsp + 0xa0]
call qword [rsp + 0x148]
movzx eax, al
test eax, eax
je 0x1800299b1
cmp qword [rsp + 0x48], 0
jle 0x18002996f
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x7a8], rax
je 0x18002996f
mov dword [rsp + 0x38], 0
jmp 0x18002990a
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x38], eax
jge 0x180029962
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0xb38]
call fcn.180017e00
mov rcx, qword [rsp + 0x48]
cmp qword [rax], rcx
jne 0x180029960
movsxd rax, dword [rsp + 0x38]
mov rdx, rax
mov rcx, qword [rsp + 0xb38]
call fcn.180017e00
add rax, 0x548
lea rdx, [rsp + 0x790]
mov rcx, rax
call fcn.180017250
jmp 0x180029962
jmp 0x180029900
lea rcx, [rsp + 0x790]
call fcn.180022150
mov rax, qword [rsp + 0x7a0]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x7a0]
lea rcx, [rsp + 0x790]
call fcn.180017b20
mov rcx, qword [rsp + 0xa8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x7a8]
mov qword [rsp + 0x48], rax
jmp 0x18002988b
lea rcx, [rsp + 0x790]
call fcn.180030570
test rax, rax
jbe 0x180029a3a
mov dword [rsp + 0x3c], 0
jmp 0x1800299d7
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x3c], eax
jge 0x180029a2d
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
mov rcx, qword [rsp + 0xb38]
call fcn.180017e00
mov rcx, qword [rsp + 0x48]
cmp qword [rax], rcx
jne 0x180029a2b
movsxd rax, dword [rsp + 0x3c]
mov rdx, rax
mov rcx, qword [rsp + 0xb38]
call fcn.180017e00
add rax, 0x548
lea rdx, [rsp + 0x790]
mov rcx, rax
call fcn.180017250
jmp 0x1800299cd
lea rcx, [rsp + 0x790]
call fcn.180022150
mov rax, qword [rsp + 0xb18]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb18]
call qword [rax]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x60]
nop
lea rcx, [rsp + 0x790]
call fcn.1800168c0
nop
lea rcx, [rsp + 0x7f0]
call fcn.180003010
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.180037b94
cmp qword [rsp + 0x70], 0
jne 0x180029aaa
mov qword [rsp + 0xb0], 0
jmp 0x180029ac0
mov qword [rsp + 0x50], 0x8123
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x7b0]
call fcn.180003010
nop
lea rcx, [rsp + 0x210]
call fcn.180016d70
nop
lea rcx, [rsp + 0x7d0]
call fcn.180003010
nop
mov rcx, qword [rsp + 0xb40]
call fcn.180004d20
nop
mov rcx, qword [rsp + 0xb48]
call fcn.180004d20
nop
mov rcx, qword [rsp + 0xb60]
call fcn.180004d20
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xae0]
xor rcx, rsp
call fcn.180037d10
add rsp, 0xaf8
pop rdi
pop rsi
ret