Function at 0x18000c340
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa28]
sub rsp, 0xb28
mov rax, qword [0x180064038]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov r14, r9
mov qword [rsp + 0x40], r9
mov rbx, r8
mov rsi, rdx
mov r13, rcx
xor r15d, r15d
lea rcx, [rbp - 0x30]
call fcn.180022ee0
nop
mov dword [rbp + 0xa0], 0x244
mov qword [rbp + 0xa8], rbx
mov dword [rbp + 0xb0], 8
mov qword [rbp + 0xb8], r15
mov dword [rbp + 0xc0], 0x244
lea rdi, [rbx + 8]
mov qword [rbp + 0xc8], rdi
mov dword [rbp + 0xd0], 8
mov qword [rbp + 0xd8], r15
mov dword [rbp + 0xe0], 0x244
lea rax, [rbx + 0x18]
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0xf0], 8
mov qword [rbp + 0xf8], r15
mov dword [rbp + 0x100], 0x244
lea rax, [rbx + 0x28]
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x110], 8
mov qword [rbp + 0x118], r15
mov dword [rbp + 0x120], 0x244
lea rax, [rbx + 0x10]
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x130], 8
xor ebx, ebx
mov qword [rbp + 0x138], rbx
mov dword [rbp + 0x40], 0x244
mov qword [rbp + 0x48], r14
mov dword [rbp + 0x50], 8
mov qword [rbp + 0x58], rbx
mov dword [rbp + 0x60], 0x1c4
lea rax, [r14 + 0x30]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x70], 0x1f4
mov qword [rbp + 0x78], rbx
mov dword [rbp + 0x80], 0x1f0
lea rax, [r14 + 8]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], 4
mov qword [rbp + 0x98], rbx
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
lea r8d, [r15 + 0x13]
lea rdx, str.WITH_CTE_CONFIG_AS
lea rcx, [rbp - 0x50]
call fcn.1800237e0
nop
mov r8, qword [rdi]
lea rdx, [rbp - 0x70]
call fcn.180005b80
mov rdi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x1a
jb 0x18000c56f
lea rax, [r8 + 0x1a]
mov qword [rdi + 0x10], rax
mov rbx, rdi
cmp rcx, 0x10
jb 0x18000c4fc
mov rbx, qword [rdi]
lea rax, [0x1800587ca]
mov r12d, 0x1a
lea r15, str.__SELECT_CONF_TPL_ID_FROM
cmp rax, rbx
jbe 0x18000c530
lea rax, [rbx + r8]
cmp r15, rax
ja 0x18000c530
cmp rbx, r15
ja 0x18000c528
xor r14d, r14d
jmp 0x18000c533
mov r14, rbx
sub r14, r15
jmp 0x18000c533
mov r14, r12
lea rcx, [rbx + 0x1a]
inc r8
mov rdx, rbx
call fcn.1800290e0
mov r8, r14
mov rdx, r15
mov rcx, rbx
call fcn.1800290e0
lea rcx, [rbx + r14]
sub r12, r14
lea rdx, [r15 + 0x1a]
add rdx, r14
mov r8, r12
call fcn.1800290e0
mov r14, qword [rsp + 0x40]
xor ebx, ebx
jmp 0x18000c594
mov r12d, 0x1a
mov qword [rsp + 0x28], r12
lea r15, str.__SELECT_CONF_TPL_ID_FROM
mov qword [rsp + 0x20], r15
mov edx, r12d
mov rcx, rdi
call fcn.1800231f0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov r8d, 0x5b
lea rdx, str._WHERE_ORG_ID____AND_MODULE_ID____AND_REF_ID____AND_REF_TYPE____AND_PROCESS_TYPE_____
lea rcx, [rsp + 0x48]
call fcn.180023e10
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x70]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x50]
call fcn.180023e10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18000c668
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c662
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cb3f
call fcn.180027070
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18000c6a5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c6a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cb45
call fcn.180027070
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18000c6f3
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c6ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cb4b
call fcn.180027070
mov r8d, 0x59
lea rdx, str._SELECT_ID_TITLE_VERIFY_LICENCE_FROM_ORG_CONF_TPL_WHERE_ID_IN_SELECT_ID_FROM_CTE_CONFIG_
lea rcx, [rbp - 0x50]
call fcn.180023e10
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
mov dword [rsp + 0x28], 3
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9d, 4
lea r8, [rbp + 0xa0]
mov rcx, rax
call r10
test al, al
jne 0x18000c767
lea rax, str.failed_query_for_get_ORG_CONF_TPL
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x9fb
jmp 0x18000c944
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov dword [rbp + 0x20], 0x244
mov qword [rbp + 0x28], r14
mov dword [rbp + 0x30], 8
mov qword [rbp + 0x38], rbx
mov dword [rbp + 0x140], 0x244
lea rax, [rbp - 0x30]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x150], 8
mov qword [rbp + 0x158], rbx
mov dword [rbp + 0x160], 0x244
lea rax, [rbp - 0x28]
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x170], 8
mov qword [rbp + 0x178], rbx
mov dword [rbp + 0x180], 0x244
lea rax, [rbp - 0x20]
mov qword [rbp + 0x188], rax
mov dword [rbp + 0x190], 8
mov qword [rbp + 0x198], rbx
mov dword [rbp + 0x1a0], 0x244
lea rax, [rbp - 0x18]
mov qword [rbp + 0x1a8], rax
mov dword [rbp + 0x1b0], 8
mov qword [rbp + 0x1b8], rbx
mov dword [rbp + 0x1c0], 0x244
lea rax, [rbp - 0x10]
mov qword [rbp + 0x1c8], rax
mov dword [rbp + 0x1d0], 8
mov qword [rbp + 0x1d8], rbx
mov dword [rbp + 0x1e0], 0x1f0
lea rax, [rbp - 8]
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x1f0], 4
mov qword [rbp + 0x1f8], rbx
mov dword [rbp + 0x200], 0x1f0
lea rax, [rbp]
mov qword [rbp + 0x208], rax
mov dword [rbp + 0x210], 4
mov qword [rbp + 0x218], rbx
mov dword [rbp + 0x220], 0x1f0
lea rax, [rbp + 4]
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x230], 4
mov qword [rbp + 0x238], rbx
mov r8d, 0x8f
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 - 0x50]
call fcn.180023b10
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
mov dword [rsp + 0x28], 8
lea rcx, [rbp + 0x140]
mov qword [rsp + 0x20], rcx
mov r9d, 1
lea r8, [rbp + 0x20]
mov rcx, rax
call r10
test al, al
jne 0x18000c996
lea rax, str.failed_query_for_get_ORG_CONF_TPL
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xa12
lea rcx, str.CConfirmationTemplateManager::getConfirmationTemplateWithInfo
mov qword [rsp + 0x20], rcx
mov rbx, qword [r13]
lea r9, str._s:_d__s.
mov r8d, 0x7cf
lea edx, [r8 + 1]
lea rcx, [rbp + 0x240]
call fcn.1800236b0
mov rax, qword [rbx]
mov r9, rsi
lea r8, [rbp + 0x240]
mov edx, 3
mov rcx, rbx
call qword [rax + 0x1a8]
mov ebx, 0xfffffff9
jmp 0x18000cabc
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
test al, al
je 0x18000caaa
mov ecx, 0x50
call fcn.180027078
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.180022ee0
mov rbx, rax
test rax, rax
je 0x18000ca89
mov rcx, qword [rbp - 0x30]
mov qword [rax], rcx
mov rcx, qword [rbp - 0x28]
mov qword [rax + 8], rcx
mov rcx, qword [rbp - 0x18]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbp - 0x20]
mov qword [rax + 0x10], rcx
mov rcx, qword [rbp - 0x10]
mov qword [rax + 0x20], rcx
mov eax, dword [rbp - 8]
mov dword [rbx + 0x28], eax
mov eax, dword [rbp + 4]
mov dword [rbx + 0x34], eax
lea rdx, [rbp - 0x18]
lea rcx, [r14 + 0x568]
call fcn.18001aa60
mov qword [rax], rbx
mov rdx, qword [rbp - 0x20]
cmp rdx, qword [rbp - 0x18]
je 0x18000ca89
mov r8, qword [r14 + 0x568]
mov rax, qword [r8 + 8]
mov rcx, r8
mov r9, r8
cmp byte [rax + 0x19], 0
jne 0x18000ca58
nop
cmp qword [rax + 0x20], rdx
jge 0x18000ca4c
mov rax, qword [rax + 0x10]
jmp 0x18000ca52
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18000ca40
cmp byte [rcx + 0x19], 0
jne 0x18000ca68
cmp rdx, qword [rcx + 0x20]
jl 0x18000ca68
mov al, 1
jmp 0x18000ca6a
xor al, al
test al, al
cmove rcx, r9
cmp rcx, r8
je 0x18000ca89
mov rcx, qword [rcx + 0x28]
add rcx, 0x38
lea rdx, [rbp - 0x18]
call fcn.18001aa60
mov qword [rax], rbx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x50]
xor edx, edx
mov rcx, rax
call r8
test al, al
jne 0x18000c9b5
xor ebx, ebx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x18000caf3
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000caee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000cb39
call fcn.180027070
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
lea rdx, [rbp + 8]
lea rcx, [rbp + 8]
call fcn.180022cb0
mov eax, ebx
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.180027050
add rsp, 0xb28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18002db84
nop
call fcn.18002db84
nop
call fcn.18002db84
nop
call fcn.18002db84
int3