Function at 0x180024dc0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa48]
sub rsp, 0xb48
mov rax, qword [0x1800f68a8]
xor rax, rsp
mov qword [rbp + 0xa30], rax
mov r15, r9
mov rsi, rdx
mov r12, rcx
mov qword [rbp - 0x28], r8
test rdx, rdx
jne 0x180015487
lea eax, [rdx - 8]
jmp 0x180015bf1
xor edi, edi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
lea ecx, [rdi + 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 - 0x48], rax
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov word [rbp - 0x38], 0x100
mov dword [rbp - 0x50], edi
mov dword [rbp - 0x4c], 1
lea rcx, [rbp - 0x48]
call fcn.180011be0
nop
mov dword [rbp - 0x20], 0x244
lea rax, [rbp - 0x28]
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x10], 8
mov qword [rbp - 8], rdi
mov dword [rbp + 0x140], 0x244
mov qword [rbp + 0x148], r15
mov dword [rbp + 0x150], 8
mov qword [rbp + 0x158], rdi
mov dword [rbp + 0x160], 0x244
lea rax, [r15 + 0x10]
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x170], 8
mov qword [rbp + 0x178], rdi
mov dword [rbp + 0x180], 0x1c4
lea rax, [r15 + 0x224]
mov qword [rbp + 0x188], rax
mov dword [rbp + 0x190], 0x190
mov qword [rbp + 0x198], rdi
mov dword [rbp + 0x1a0], 0x244
lea rax, [r15 + 0x18]
mov qword [rbp + 0x1a8], rax
mov dword [rbp + 0x1b0], 8
mov qword [rbp + 0x1b8], rdi
mov dword [rbp + 0x1c0], 0x244
lea rax, [r15 + 0x20]
mov qword [rbp + 0x1c8], rax
mov dword [rbp + 0x1d0], 8
mov qword [rbp + 0x1d8], rdi
mov dword [rbp + 0x1e0], 0x1c4
lea rax, [r15 + 0x3b4]
mov qword [rbp + 0x1e8], rax
mov dword [rbp + 0x1f0], 0x190
mov qword [rbp + 0x1f8], rdi
mov dword [rbp + 0x200], 0x244
lea rax, [r15 + 0x28]
mov qword [rbp + 0x208], rax
mov dword [rbp + 0x210], 8
mov qword [rbp + 0x218], rdi
mov dword [rbp + 0x220], 0x1c4
lea rax, [r15 + 0x30]
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x230], 0x1f4
mov qword [rbp + 0x238], rdi
mov dword [rbp + 0x240], 0x1f0
lea rax, [r15 + 8]
mov qword [rbp + 0x248], rax
mov dword [rbp + 0x250], 4
mov qword [rbp + 0x258], rdi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x28], 9
lea rdx, [rbp + 0x140]
mov qword [rsp + 0x20], rdx
lea r9d, [rdi + 1]
lea r8, [rbp - 0x20]
lea rdx, str.WITH_cte_as_select_M.ID_ID__M.FULLNAME_FULLNAME_from_PROFILE_MAIN_M_JOIN_PROFILE_MODULE_STATUS_MS_ON_M.IDMS.PROFILE_ID_WHERE_M.TYPE1_AND_MS.MODULE_ID3_SELECT_c.ID_c.CREATOR_ID_UC.FULLNAME_c.DATE_CREATE_c.MODIFIER_ID_PA.FULLNAME_c.DATE_MODIFY_c.TITLE_c.VERIFY_LICENCE_FROM_ORG_CONF_TPL_c_LEFT_JOIN_cte_UC_ON_UC.ID_c.CREATOR_ID_LEFT_JOIN_cte_PA_ON_PA.ID_c.MODIFIER_ID_WHERE_c.ID___
call qword [rax + 0x48]
test al, al
jne 0x1800156ac
lea rax, str.failed_query_for_get_ORG_CONF_TPL
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1f1
jmp 0x180015a7e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov dword [rbp], 0x244
lea rax, [rsp + 0x70]
mov qword [rbp + 8], rax
mov dword [rbp + 0x10], 8
mov qword [rbp + 0x18], rdi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x28], 1
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
mov r9d, 1
lea r8, [rbp - 0x20]
lea rdx, str.SELECT_MODULE_ID_FROM_ORG_CONF_TPL_MODULE_WHERE_CONF_TPL_ID_
call qword [rax + 0x48]
test al, al
jne 0x18001573b
lea rax, str.failed_query_for_get_ORG_CONF_TPL_MODULE
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1fc
jmp 0x180015a7e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
je 0x180015843
lea r14, [r15 + 0x548]
movabs r13, 0x555555555555555
nop word [rax + rax]
mov rbx, qword [r14]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], edi
mov rcx, rbx
mov rdx, qword [rsp + 0x70]
cmp byte [rax + 0x19], 0
jne 0x1800157b9
nop
mov qword [rsp + 0x40], rax
cmp qword [rax + 0x20], rdx
jge 0x1800157a5
mov dword [rsp + 0x48], edi
mov rax, qword [rax + 0x10]
jmp 0x1800157b3
mov dword [rsp + 0x48], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180015790
cmp byte [rcx + 0x19], 0
jne 0x1800157c5
cmp rdx, qword [rcx + 0x20]
jge 0x180015824
cmp qword [r14 + 8], r13
je 0x180015c14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rdi
mov ecx, 0x30
call fcn.180098674
mov r8, rax
mov rax, qword [rsp + 0x70]
mov qword [r8 + 0x20], rax
mov qword [r8 + 0x28], rdi
mov qword [r8], rbx
mov qword [r8 + 8], rbx
mov qword [r8 + 0x10], rbx
mov word [r8 + 0x18], 0
mov qword [rsp + 0x68], rdi
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.18000b7e0
mov rcx, rax
mov qword [rcx + 0x28], rdi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
jne 0x180015770
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
lea rax, [rbp - 0x30]
mov qword [rbp + 0x28], rax
mov dword [rbp + 0x30], 8
mov qword [rbp + 0x38], rdi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x28], 1
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rdx
mov r9d, 1
lea r8, [rbp - 0x20]
lea rdx, str.SELECT_ORG_ID_FROM_ORG_CONF_TPL_ORG_WHERE_CONF_TPL_ID_
call qword [rax + 0x48]
test al, al
jne 0x1800158be
lea rax, str.failed_query_for_get_ORG_CONF_TPL_MODULE
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x207
jmp 0x180015a7e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
je 0x18001590a
nop word [rax + rax]
lea rdx, [rbp - 0x30]
lea rcx, [r15 + 0x558]
call fcn.180009380
mov qword [rax], rdi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
jne 0x1800158e0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
mov dword [rbp + 0x40], 0x244
lea rax, [rbp - 0x80]
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x50], 8
mov qword [rbp + 0x58], rdi
mov dword [rbp + 0x60], 0x244
lea rax, [rbp - 0x78]
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x70], 8
mov qword [rbp + 0x78], rdi
mov dword [rbp + 0x80], 0x244
lea rax, [rbp - 0x70]
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x90], 8
mov qword [rbp + 0x98], rdi
mov dword [rbp + 0xa0], 0x244
lea rax, [rbp - 0x68]
mov qword [rbp + 0xa8], rax
mov dword [rbp + 0xb0], 8
mov qword [rbp + 0xb8], rdi
mov dword [rbp + 0xc0], 0x244
lea rax, [rbp - 0x60]
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xd0], 8
mov qword [rbp + 0xd8], rdi
mov dword [rbp + 0xe0], 0x1f0
lea rax, [rbp - 0x58]
mov qword [rbp + 0xe8], rax
mov dword [rbp + 0xf0], 4
mov qword [rbp + 0xf8], rdi
mov dword [rbp + 0x100], 0x1f0
lea rax, [rbp - 0x50]
mov qword [rbp + 0x108], rax
mov dword [rbp + 0x110], 4
mov qword [rbp + 0x118], rdi
mov dword [rbp + 0x120], 0x1f0
lea rax, [rbp - 0x4c]
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x130], 4
mov qword [rbp + 0x138], rdi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
mov dword [rsp + 0x28], 8
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, 1
lea r8, [rbp - 0x20]
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__ORDER_BY_CATEGORY_ID
call qword [rax + 0x48]
test al, al
jne 0x180015ad0
lea rax, str.failed_query_for_get_ORG_CONF_TPL_DETAIL
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x21a
lea rax, str.CConfirmationTemplateManager::getConfirmationTemplate
mov qword [rsp + 0x20], rax
mov rbx, qword [r12]
lea r9, str._s:_d__s.
mov r8d, 0x7cf
lea edx, [r8 + 1]
lea rcx, [rbp + 0x260]
call fcn.180024060
mov rax, qword [rbx]
mov r9, rsi
lea r8, [rbp + 0x260]
mov edx, 3
mov rcx, rbx
call qword [rax + 0x1a8]
mov edi, 0xfffffff9
jmp 0x180015be2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
je 0x180015bd0
nop dword [rax + rax]
mov ecx, 0x50
call fcn.180098674
mov qword [rsp + 0x60], rax
test rax, rax
je 0x180015b11
mov rcx, rax
call fcn.180007670
mov rbx, rax
jmp 0x180015b14
mov rbx, rdi
mov rax, qword [rbp - 0x80]
mov qword [rbx], rax
mov rax, qword [rbp - 0x78]
mov qword [rbx + 8], rax
mov rax, qword [rbp - 0x68]
mov qword [rbx + 0x18], rax
mov rax, qword [rbp - 0x70]
mov qword [rbx + 0x10], rax
mov rax, qword [rbp - 0x60]
mov qword [rbx + 0x20], rax
mov eax, dword [rbp - 0x58]
mov dword [rbx + 0x28], eax
mov eax, dword [rbp - 0x4c]
mov dword [rbx + 0x34], eax
lea rdx, [rbp - 0x68]
lea rcx, [r15 + 0x568]
call fcn.180009380
mov qword [rax], rbx
mov rdx, qword [rbp - 0x70]
cmp rdx, qword [rbp - 0x68]
je 0x180015bb5
mov r8, qword [r15 + 0x568]
mov rax, qword [r8 + 8]
mov rcx, r8
cmp byte [rax + 0x19], 0
jne 0x180015b90
cmp qword [rax + 0x20], rdx
jge 0x180015b84
mov rax, qword [rax + 0x10]
jmp 0x180015b8a
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x180015b78
cmp byte [rcx + 0x19], 0
jne 0x180015bb5
cmp rdx, qword [rcx + 0x20]
jl 0x180015bb5
cmp rcx, r8
je 0x180015bb5
mov rcx, qword [rcx + 0x28]
add rcx, 0x38
lea rdx, [rbp - 0x68]
call fcn.180009380
mov qword [rax], rbx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
call qword [rax + 0x50]
test al, al
jne 0x180015af0
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x48]
call fcn.180004f90
mov eax, edi
mov rcx, qword [rbp + 0xa30]
xor rcx, rsp
call fcn.180098830
add rsp, 0xb48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18000c1c0
nop
int3
add rcx, 8
jmp 0x180015440