Function at 0x180018f20
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x850]
sub rsp, 0x950
mov rax, qword [0x180064038]
xor rax, rsp
mov qword [rbp + 0x840], rax
mov rsi, r9
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], r8
test rdx, rdx
jne 0x180018f62
lea eax, [rdx + 1]
jmp 0x18001915e
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8d, 0x6c
lea rdx, str.SELECT_ID_CREATOR_ID_DATE_CREATE_MODIFIER_ID_DATE_MODIFY_TITLE_VERIFY_LICENCE_FROM_ORG_CONF_TPL_WHERE_ID___
lea rcx, [rsp + 0x48]
call fcn.1800237e0
nop
mov dword [rsp + 0x68], 0x244
lea rax, [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 8
xor edi, edi
mov qword [rbp - 0x80], rdi
mov dword [rbp - 0x70], 0x244
mov qword [rbp - 0x68], rsi
mov dword [rbp - 0x60], 8
mov qword [rbp - 0x58], rdi
mov dword [rbp - 0x50], 0x244
lea rax, [rsi + 0x10]
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x40], 8
mov qword [rbp - 0x38], rdi
mov dword [rbp - 0x30], 0x244
lea rax, [rsi + 0x18]
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], 8
mov qword [rbp - 0x18], rdi
mov dword [rbp - 0x10], 0x244
lea rax, [rsi + 0x20]
mov qword [rbp - 8], rax
mov dword [rbp], 8
mov qword [rbp + 8], rdi
mov dword [rbp + 0x10], 0x244
lea rax, [rsi + 0x28]
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 8
mov qword [rbp + 0x28], rdi
mov dword [rbp + 0x30], 0x1c4
lea rax, [rsi + 0x30]
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], 0x1f4
mov qword [rbp + 0x48], rdi
mov dword [rbp + 0x50], 0x244
lea rax, [rsi + 8]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x60], 4
mov qword [rbp + 0x68], rdi
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov dword [rsp + 0x28], 7
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
lea r9d, [rdi + 1]
lea r8, [rsp + 0x68]
mov rcx, rax
call r10
test al, al
jne 0x1800190fa
mov rbx, qword [r14]
lea rax, str.failed_query_for_get_ORG_CONF_TPL_with_id
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x118f
lea rax, str.CConfirmationTemplateManager::getconfirmationTemplateWithId
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x70]
call fcn.1800236b0
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0x70]
lea edx, [rdi + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
mov edi, 0xfffffff9
jmp 0x180019123
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rdx, qword [rax]
mov r8, qword [rdx + 0x50]
xor edx, edx
mov rcx, rax
call r8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18001915c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180019157
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001917b
call fcn.180027070
mov eax, edi
mov rcx, qword [rbp + 0x840]
xor rcx, rsp
call fcn.180027050
add rsp, 0x950
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18002db84
int3
add rcx, 8
jmp 0x180018f20