Function at 0x180015c20
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc08]
sub rsp, 0xcc8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
mov rax, qword [0x1800f68a8]
xor rax, rsp
mov qword [rbp + 0xb60], rax
mov rdi, r9
mov qword [rbp - 0x78], r9
mov rbx, r8
mov r15, rdx
mov r14, rcx
mov qword [rbp - 0x80], rcx
mov r13, qword [rbp + 0xc30]
mov qword [rbp - 0x48], r13
xor r12d, r12d
mov rcx, qword [rcx]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, str.getOnlyConfirmationTemplateWithInfo_start
lea edx, [r12 + 2]
call qword [rax + 0x1a8]
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
lea ecx, [r12 + 0x30]
call fcn.180098674
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x28], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rbp + 8], r12
mov qword [rbp], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov word [rbp + 0x38], 0x100
mov dword [rbp + 0x20], r12d
mov dword [rbp + 0x24], 1
lea rcx, [rbp + 0x28]
call fcn.180011be0
nop
mov dword [rbp + 0xd0], 0x244
mov qword [rbp + 0xd8], rbx
mov dword [rbp + 0xe0], 8
mov qword [rbp + 0xe8], r12
mov dword [rbp + 0xf0], 0x244
lea rsi, [rbx + 8]
mov qword [rbp - 0x70], rsi
mov qword [rbp + 0xf8], rsi
mov dword [rbp + 0x100], 8
mov qword [rbp + 0x108], r12
mov dword [rbp + 0x110], 0x244
lea rax, [rbx + 0x18]
mov qword [rbp + 0x118], rax
mov dword [rbp + 0x120], 8
mov qword [rbp + 0x128], r12
mov dword [rbp + 0x130], 0x244
lea rax, [rbx + 0x28]
mov qword [rbp + 0x138], rax
mov dword [rbp + 0x140], 8
mov qword [rbp + 0x148], r12
mov dword [rbp + 0x150], 0x244
lea rax, [rbx + 0x10]
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x160], 8
mov qword [rbp + 0x168], r12
mov dword [rbp + 0x170], 0x244
mov qword [rbp + 0x178], rdi
mov dword [rbp + 0x180], 8
mov qword [rbp + 0x188], r12
mov dword [rbp + 0x190], 0x1c4
lea rax, [rdi + 0x30]
mov qword [rbp + 0x198], rax
mov dword [rbp + 0x1a0], 0x1f4
mov qword [rbp + 0x1a8], r12
mov dword [rbp + 0x1b0], 0x1f0
lea rax, [rdi + 8]
mov qword [rbp + 0x1b8], rax
mov dword [rbp + 0x1c0], 4
mov qword [rbp + 0x1c8], r12
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov r12d, 0x20
mov edx, r12d
lea rcx, [rbp - 0x40]
call fcn.18000c560
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], 0x13
mov qword [rbp - 0x28], 0x1f
movups xmm0, xmmword [str.WITH_CTE_CONFIG_AS]
movups xmmword [rax], xmm0
movzx ecx, word [0x1800cbc58]
mov word [rax + 0x10], cx
movzx ecx, byte [0x1800cbc5a]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], 0
mov r8, qword [rsi]
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.180017710
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, r12
jb 0x180015f28
lea rax, [r8 + 0x20]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0x10
jb 0x180015ec3
mov rdi, qword [rbx]
lea rax, [0x1800cbfc0]
lea r14, str.__SELECT_CONF_TPL_ID_AS_ID_FROM
cmp rax, rdi
jbe 0x180015ef0
lea rax, [rdi + r8]
cmp r14, rax
ja 0x180015ef0
cmp rdi, r14
ja 0x180015ee8
xor esi, esi
jmp 0x180015ef3
mov rsi, rdi
sub rsi, r14
jmp 0x180015ef3
mov rsi, r12
lea rcx, [rdi + 0x20]
inc r8
mov rdx, rdi
call fcn.18009a890
mov r8, rsi
mov rdx, r14
mov rcx, rdi
call fcn.18009a890
lea rcx, [rdi + rsi]
sub r12, rsi
lea rdx, [r14 + 0x20]
add rdx, rsi
mov r8, r12
call fcn.18009a890
jmp 0x180015f4d
mov qword [rsp + 0x28], r12
lea r14, str.__SELECT_CONF_TPL_ID_AS_ID_FROM
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
call fcn.180005d40
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm1
xor r12d, r12d
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 0x5b
jb 0x180015fd1
lea rax, [rcx + 0x5b]
mov qword [rsp + 0x50], rax
lea rbx, [rsp + 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x40]
add rbx, rcx
lea r8d, [r12 + 0x5b]
lea rdx, str._WHERE_ORG_ID____AND_MODULE_ID____AND_REF_ID____AND_REF_TYPE____AND_PROCESS_TYPE_____
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + 0x5b], r12b
lea rax, [rsp + 0x40]
jmp 0x180015ff2
mov qword [rsp + 0x20], 0x5b
lea r9, str._WHERE_ORG_ID____AND_MODULE_ID____AND_REF_ID____AND_REF_TYPE____AND_PROCESS_TYPE_____
xor r8d, r8d
lea edx, [r8 + 0x5b]
lea rcx, [rsp + 0x40]
call fcn.180005850
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea r9, [rsp + 0x60]
movq rdi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
cmp r14, 0x10
cmovae r9, rdi
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
movq rsi, xmm1
cmp rsi, rax
ja 0x180016076
lea rax, [rcx + rsi]
mov qword [rbp - 0x30], rax
lea rbx, [rbp - 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x40]
add rbx, rcx
mov r8, rsi
mov rdx, r9
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + rsi], 0
jmp 0x180016094
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180005850
mov r14, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x60]
cmp r14, 0x10
jb 0x1800160cc
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800160c3
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016cda
mov rcx, rdi
call fcn.1800986b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180016109
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016104
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016ce0
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x180016157
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016152
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016ce6
call fcn.1800986b0
mov rcx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rax, rdx
sub rax, rcx
cmp rax, 0x59
jb 0x18001619e
lea rax, [rcx + 0x59]
mov qword [rbp - 0x30], rax
lea rbx, [rbp - 0x40]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x40]
add rbx, rcx
mov r8d, 0x59
lea rdx, str._SELECT_ID_TITLE_VERIFY_LICENCE_FROM_ORG_CONF_TPL_WHERE_ID_IN_SELECT_ID_FROM_CTE_CONFIG_
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + 0x59], 0
jmp 0x1800161be
mov qword [rsp + 0x20], 0x59
lea r9, str._SELECT_ID_TITLE_VERIFY_LICENCE_FROM_ORG_CONF_TPL_WHERE_ID_IN_SELECT_ID_FROM_CTE_CONFIG_
xor r8d, r8d
lea edx, [r8 + 0x59]
lea rcx, [rbp - 0x40]
call fcn.180005850
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov dword [rsp + 0x28], 3
lea rcx, [rbp + 0x170]
mov qword [rsp + 0x20], rcx
mov r9d, 5
lea r8, [rbp + 0xd0]
mov rcx, rax
call r10
test al, al
jne 0x1800162ed
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rdi]
lea rax, str.failed_query_for_get_ORG_CONF_TPL
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa93
lea rax, str.CConfirmationTemplateManager::getConfirmationTemplateAndDataWithInfo
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x390]
call fcn.180024060
mov rax, qword [rbx]
mov r9, r15
lea r8, [rbp + 0x390]
mov edx, 3
mov rcx, rbx
call qword [rax + 0x1a8]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x1800162a4
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001629f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016cf2
call fcn.1800986b0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.180004f90
nop
mov r8, qword [r13]
mov r8, qword [r8 + 8]
mov rdx, r13
mov rcx, r13
call fcn.1800052b0
mov edx, 0x48
mov rcx, qword [r13]
call fcn.1800986b0
mov eax, 0xfffffff9
jmp 0x180016c94
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov dword [rbp + 0xb0], 0x244
mov rsi, qword [rbp - 0x78]
mov qword [rbp + 0xb8], rsi
mov dword [rbp + 0xc0], 8
mov qword [rbp + 0xc8], r12
mov dword [rbp + 0x290], 0x244
lea rax, [rbp - 0x10]
mov qword [rbp + 0x298], rax
mov dword [rbp + 0x2a0], 8
mov qword [rbp + 0x2a8], r12
mov dword [rbp + 0x2b0], 0x244
lea rax, [rbp - 8]
mov qword [rbp + 0x2b8], rax
mov dword [rbp + 0x2c0], 8
mov qword [rbp + 0x2c8], r12
mov dword [rbp + 0x2d0], 0x244
lea rax, [rbp]
mov qword [rbp + 0x2d8], rax
mov dword [rbp + 0x2e0], 8
mov qword [rbp + 0x2e8], r12
mov dword [rbp + 0x2f0], 0x244
lea rax, [rbp + 8]
mov qword [rbp + 0x2f8], rax
mov dword [rbp + 0x300], 8
mov qword [rbp + 0x308], r12
mov dword [rbp + 0x310], 0x244
lea rax, [rbp + 0x10]
mov qword [rbp + 0x318], rax
mov dword [rbp + 0x320], 8
mov qword [rbp + 0x328], r12
mov dword [rbp + 0x330], 0x1f0
lea rax, [rbp + 0x18]
mov qword [rbp + 0x338], rax
mov dword [rbp + 0x340], 4
mov qword [rbp + 0x348], r12
mov dword [rbp + 0x350], 0x1f0
lea rax, [rbp + 0x20]
mov qword [rbp + 0x358], rax
mov dword [rbp + 0x360], 4
mov qword [rbp + 0x368], r12
mov dword [rbp + 0x370], 0x1f0
lea rax, [rbp + 0x24]
mov qword [rbp + 0x378], rax
mov dword [rbp + 0x380], 4
mov qword [rbp + 0x388], r12
mov r8d, 0x8e
lea rdx, str._SELECT_ID_CONF_TPL_ID_PARENT_CATEGORY_ID_CATEGORY_ID_USER_ID_CONF_CONDITION_HAVE_NOTIFY_FORCE___FROM_ORG_CONF_TPL_DETAIL_WHERE_CONF_TPL_ID_
lea rcx, [rbp - 0x40]
call fcn.18000c910
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov dword [rsp + 0x28], 8
lea rcx, [rbp + 0x290]
mov qword [rsp + 0x20], rcx
mov r9d, 1
lea r8, [rbp + 0xb0]
mov rcx, rax
call r10
test al, al
jne 0x180016536
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rdi]
lea rax, str.failed_query_for_get_ORG_CONF_TPL
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xaaa
lea rax, str.CConfirmationTemplateManager::getConfirmationTemplateAndDataWithInfo
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x390]
call fcn.180024060
mov rax, qword [rbx]
mov r9, r15
lea r8, [rbp + 0x390]
mov edx, 3
mov rcx, rbx
call qword [rax + 0x1a8]
nop
lea rcx, [rbp - 0x40]
call fcn.180008410
jmp 0x1800162b4
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
test al, al
je 0x18001673e
add rsi, 0x568
movabs r14, 0x555555555555555
mov ecx, 0x50
call fcn.180098674
mov rdi, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1800165dc
lea rbx, [rax + 0x38]
mov qword [rsp + 0x60], rbx
mov qword [rbx], r12
mov qword [rbx + 8], r12
mov ecx, 0x30
call fcn.180098674
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx], rax
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x20], r12
mov qword [rdi + 0x28], r12
mov word [rdi + 0x48], 0x100
mov dword [rdi + 0x30], r12d
mov dword [rdi + 0x34], 1
mov rcx, rbx
call fcn.180011be0
jmp 0x1800165df
mov rdi, r12
mov rax, qword [rbp - 0x10]
mov qword [rdi], rax
mov rax, qword [rbp - 8]
mov qword [rdi + 8], rax
mov rax, qword [rbp + 8]
mov qword [rdi + 0x18], rax
mov rax, qword [rbp]
mov qword [rdi + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rdi + 0x20], rax
mov eax, dword [rbp + 0x18]
mov dword [rdi + 0x28], eax
mov eax, dword [rbp + 0x24]
mov dword [rdi + 0x34], eax
mov rbx, qword [rsi]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], r12d
mov rcx, rbx
mov rdx, qword [rbp + 8]
cmp byte [rax + 0x19], 0
jne 0x18001665a
mov qword [rsp + 0x60], rax
cmp qword [rax + 0x20], rdx
jge 0x180016646
mov dword [rsp + 0x68], r12d
mov rax, qword [rax + 0x10]
jmp 0x180016654
mov dword [rsp + 0x68], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180016630
cmp byte [rcx + 0x19], 0
jne 0x180016666
cmp rdx, qword [rcx + 0x20]
jge 0x1800166c4
cmp qword [rsi + 8], r14
je 0x180016cec
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r12
mov ecx, 0x30
call fcn.180098674
nop
mov rcx, qword [rbp + 8]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r12
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rsp + 0x48], r12
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
mov r8, rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.18000b7e0
mov rcx, rax
mov qword [rcx + 0x28], rdi
mov rdx, qword [rbp]
cmp rdx, qword [rbp + 8]
je 0x18001671f
mov r8, qword [rsi]
mov rax, qword [r8 + 8]
mov rcx, r8
cmp byte [rax + 0x19], 0
jne 0x1800166fa
cmp qword [rax + 0x20], rdx
jge 0x1800166ee
mov rax, qword [rax + 0x10]
jmp 0x1800166f4
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1800166e2
cmp byte [rcx + 0x19], 0
jne 0x18001671f
cmp rdx, qword [rcx + 0x20]
jl 0x18001671f
cmp rcx, r8
je 0x18001671f
mov rcx, qword [rcx + 0x28]
add rcx, 0x38
lea rdx, [rbp + 8]
call fcn.180009380
mov qword [rax], rdi
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
test al, al
jne 0x180016566
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
lea rcx, [rbp + 0x40]
call fcn.180007600
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r12
mov dword [rbp + 0x78], r12d
movdqa xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x90], xmm1
mov dword [rbp + 0xa0], r12d
mov dword [rbp + 0x1d0], 0x244
lea rax, [rbp + 0x60]
mov qword [rbp + 0x1d8], rax
mov dword [rbp + 0x1e0], 8
mov qword [rbp + 0x1e8], r12
mov dword [rbp + 0x1f0], 0x244
lea rax, [rbp + 0x68]
mov qword [rbp + 0x1f8], rax
mov dword [rbp + 0x200], 8
mov qword [rbp + 0x208], r12
mov dword [rbp + 0x210], 0x244
lea rax, [rbp + 0x80]
mov qword [rbp + 0x218], rax
mov dword [rbp + 0x220], 8
mov qword [rbp + 0x228], r12
mov dword [rbp + 0x230], 0x244
lea rax, [rbp + 0x90]
mov qword [rbp + 0x238], rax
mov dword [rbp + 0x240], 8
mov qword [rbp + 0x248], r12
mov dword [rbp + 0x250], 0x244
lea rax, [rbp + 0x98]
mov qword [rbp + 0x258], rax
mov dword [rbp + 0x260], 8
mov qword [rbp + 0x268], r12
mov dword [rbp + 0x270], 0x1f0
lea rax, [rbp + 0xa0]
mov qword [rbp + 0x278], rax
mov dword [rbp + 0x280], 4
mov qword [rbp + 0x288], r12
mov r8, qword [rbp - 0x70]
mov r8, qword [r8]
lea rdx, [rsp + 0x60]
mov rdi, qword [rbp - 0x80]
mov rcx, rdi
call fcn.1800177f0
nop
mov r8, rax
lea rdx, str.SELECT_ID_USER_ID_REF_DETAIL_ID_DATE_CREATE_DATE_MODIFY_USER_VERIFICATION_FROM
lea rcx, [rbp - 0x68]
call fcn.180003a80
nop
mov r8d, 0x70
lea rdx, str._WHERE_ORG_ID____AND_MODULE_ID____AND_REF_ID____AND_REF_TYPE____AND_PROCESS_TYPE____ORDER_BY_REF_DETAIL_ID
mov rcx, rax
call fcn.18000c880
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.180008c40
lea rcx, [rsp + 0x40]
call fcn.180008410
nop
lea rcx, [rbp - 0x68]
call fcn.180008410
nop
lea rcx, [rsp + 0x60]
call fcn.180008410
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov dword [rsp + 0x28], 6
lea rcx, [rbp + 0x1d0]
mov qword [rsp + 0x20], rcx
mov r9d, 5
lea r8, [rbp + 0xd0]
mov rcx, rax
call r10
test al, al
jne 0x1800169c1
mov rbx, qword [rdi]
lea rax, str.failed_query_for_get_ORG_CONF_TPL_data
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xacd
lea rax, str.CConfirmationTemplateManager::getConfirmationTemplateAndDataWithInfo
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x390]
call fcn.180024060
mov rax, qword [rbx]
mov r9, r15
lea r8, [rbp + 0x390]
mov edx, 3
mov rcx, rbx
call qword [rax + 0x1a8]
nop
lea rcx, [rbp + 0x40]
call fcn.180008a60
nop
lea rcx, [rbp - 0x40]
call fcn.180008410
jmp 0x1800162b4
mov qword [rbp - 0x20], r12
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
test al, al
je 0x180016b74
movabs rsi, 0x249249249249249
nop
mov rax, qword [rbp - 0x20]
test rax, rax
jle 0x180016a23
cmp rax, qword [rbp + 0x80]
je 0x180016a23
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.180009a50
mov rcx, rax
lea rdx, [rbp + 0x40]
call fcn.180008e30
lea rcx, [rbp + 0x50]
call fcn.180011c50
mov rax, qword [rbp + 0x80]
mov qword [rbp - 0x20], rax
movdqa xmm6, xmmword [rbp + 0x60]
movaps xmm7, xmmword [rbp + 0x70]
movaps xmm8, xmmword [rbp + 0x80]
movaps xmm9, xmmword [rbp + 0x90]
movsd xmm10, qword [rbp + 0xa0]
mov rbx, qword [rbp + 0x50]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], r12d
mov rcx, rbx
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rdx, xmm0
cmp byte [rax + 0x19], 0
jne 0x180016aaa
nop dword [rax]
mov qword [rsp + 0x60], rax
cmp qword [rax + 0x20], rdx
jge 0x180016a96
mov dword [rsp + 0x68], r12d
mov rax, qword [rax + 0x10]
jmp 0x180016aa4
mov dword [rsp + 0x68], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180016a80
cmp byte [rcx + 0x19], 0
jne 0x180016aba
cmp rdx, qword [rcx + 0x20]
jge 0x180016b3d
cmp qword [rbp + 0x58], rsi
je 0x180016cd4
lea rax, [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r12
mov ecx, 0x70
call fcn.180098674
nop
mov rcx, qword [rbp + 0x68]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r12
mov qword [rax + 0x30], r12
mov qword [rax + 0x38], r12
mov dword [rax + 0x40], r12d
mov qword [rax + 0x48], r12
mov qword [rax + 0x50], r12
mov qword [rax + 0x58], r12
mov qword [rax + 0x60], r12
mov dword [rax + 0x68], r12d
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
mov word [rax + 0x18], 0
mov qword [rsp + 0x48], r12
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
mov r8, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.18000b7e0
mov rcx, rax
movups xmmword [rcx + 0x28], xmm6
movups xmmword [rcx + 0x38], xmm7
movups xmmword [rcx + 0x48], xmm8
movups xmmword [rcx + 0x58], xmm9
movsd qword [rcx + 0x68], xmm10
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
test al, al
jne 0x1800169f0
mov rax, qword [rbp - 0x20]
test rax, rax
jle 0x180016ba7
cmp rax, qword [rbp + 0x80]
je 0x180016ba7
lea rdx, [rbp - 0x20]
mov rcx, r13
call fcn.180009a50
mov rcx, rax
lea rdx, [rbp + 0x40]
call fcn.180008e30
lea rcx, [rbp + 0x50]
call fcn.180011c50
mov rax, qword [r15]
mov rcx, r15
call qword [rax]
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x60]
mov rcx, qword [rdi]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, str.getOnlyConfirmationTemplateWithInfo_end
lea edx, [r9 + 2]
call qword [rax + 0x1a8]
nop
mov rcx, qword [rbp + 0x50]
mov rbx, qword [rcx + 8]
cmp byte [rbx + 0x19], 0
jne 0x180016c0d
mov r8, qword [rbx + 0x10]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x50]
call fcn.180005260
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x70
call fcn.1800986b0
cmp byte [rbx + 0x19], 0
je 0x180016be2
mov rcx, qword [rbp + 0x50]
mov edx, 0x70
call fcn.1800986b0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x180016c53
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180016c4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180016cf2
call fcn.1800986b0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.180004f90
nop
mov r8, qword [r13]
mov r8, qword [r8 + 8]
mov rdx, r13
mov rcx, r13
call fcn.1800052b0
mov edx, 0x48
mov rcx, qword [r13]
call fcn.1800986b0
xor eax, eax
mov rcx, qword [rbp + 0xb60]
xor rcx, rsp
call fcn.180098830
lea r11, [rsp + 0xcc8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18000c1c0
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
int3
call fcn.18000c1c0
nop
call fcn.18009f234
int3