Function at 0x180020820
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10d8]
mov eax, 0x11d8
call fcn.1800987d0
sub rsp, rax
mov rax, qword [0x1800f68a8]
xor rax, rsp
mov qword [rbp + 0x10c0], rax
mov r12, r9
mov qword [rbp + 0xf0], r9
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov qword [rbp + 0xe8], r8
mov rdi, qword [rbp + 0x1140]
xor ecx, ecx
test r8, r8
je 0x180020887
cmp r8, qword [r9 + 0x38]
je 0x180022137
mov rdx, qword [r9 + 8]
test rdx, rdx
je 0x180022137
cmp qword [r9 + 0x18], rcx
je 0x180022137
mov byte [rsp + 0x60], cl
mov qword [rbp + 0xe0], rcx
mov ebx, 1
test r8, r8
js 0x180021284
mov dword [rbp + 0xf8], 0x244
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], 8
mov qword [rbp + 0x110], rcx
lea rcx, [rbp - 0x30]
call fcn.180020680
mov r13, rax
mov rdx, qword [r12]
lea rcx, [rbp + 0x80]
call fcn.180020680
mov r15, rax
mov r8, qword [r12 + 8]
lea rdx, [rbp + 0x60]
mov rcx, r14
call fcn.180017710
nop
mov r8, rax
lea rdx, str.SELECT_CONF_TPL_ID_FROM
lea rcx, [rbp + 0x40]
call fcn.180003a80
mov r14, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xf
jb 0x18002096e
lea rax, [rcx + 0xf]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x18002094f
mov rax, qword [r14]
lea rbx, [rax + rcx]
mov r8d, 0xf
lea rdx, str._WHERE_ORG_ID_
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + 0xf], 0
jmp 0x180020990
mov qword [rsp + 0x20], 0xf
lea r9, str._WHERE_ORG_ID_
xor r8d, r8d
lea edx, [r8 + 0xf]
mov rcx, r14
call fcn.180005850
mov r14, rax
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov r9, r15
lea r8, [rbp - 0x70]
movzx edx, byte [rsp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.1800069a0
nop
mov rcx, qword [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
mov rax, rdx
sub rax, rcx
cmp rax, 0x10
jb 0x180020a2b
lea rax, [rcx + 0x10]
mov qword [rbp + 0xb0], rax
lea rbx, [rbp + 0xa0]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0xa0]
add rbx, rcx
mov r8d, 0x10
lea rdx, str._AND_MODULE_ID_
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + 0x10], 0
lea rax, [rbp + 0xa0]
jmp 0x180020a4e
mov qword [rsp + 0x20], 0x10
lea r9, str._AND_MODULE_ID_
xor r8d, r8d
lea edx, [r8 + 0x10]
lea rcx, [rbp + 0xa0]
call fcn.180005850
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, r13
lea r8, [rbp - 0x50]
movzx edx, byte [rsp + 0x60]
lea rcx, [rbp + 0xc0]
call fcn.1800069a0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180020ac5
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020abf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022162
call fcn.1800986b0
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x180020b06
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020b01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022168
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180020b59
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020b53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002216e
call fcn.1800986b0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x180020b94
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020b8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022174
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x180020be0
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020bdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002217a
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x180020c32
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020c2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022180
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180020c84
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020c7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022186
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
cmp qword [rbp + 0xe8], 0
jne 0x180020d24
mov rcx, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x180020cfc
lea rax, [rcx + 0xe]
mov qword [rbp + 0xd0], rax
lea rbx, [rbp + 0xc0]
cmp rdx, 0x10
cmovae rbx, qword [rbp + 0xc0]
add rbx, rcx
mov r8d, 0xe
lea rdx, str._AND_REF_ID_0
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + 0xe], 0
jmp 0x180020e49
mov qword [rsp + 0x20], 0xe
lea r9, str._AND_REF_ID_0
xor r8d, r8d
lea edx, [r8 + 0xe]
lea rcx, [rbp + 0xc0]
call fcn.180005850
jmp 0x180020e49
mov rdx, qword [r12 + 0x18]
lea rcx, [rsp + 0x70]
call fcn.180020680
nop
mov r8, rax
lea rdx, str._AND_REF_ID_
lea rcx, [rbp - 0x70]
call fcn.180003a80
mov r9, rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x180020d58
mov r9, qword [rax]
mov r15, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
sub rax, r15
cmp r14, rax
ja 0x180020da9
lea rax, [r14 + r15]
mov qword [rbp + 0xd0], rax
lea rbx, [rbp + 0xc0]
cmp rcx, 0x10
cmovae rbx, qword [rbp + 0xc0]
lea rcx, [rbx + r15]
mov r8, r14
mov rdx, r9
call fcn.18009a890
lea rax, [r14 + rbx]
mov byte [rax + r15], 0
jmp 0x180020dc1
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0xc0]
call fcn.180005850
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180020dfc
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020df7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002218c
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180020e49
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180020e44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022192
call fcn.1800986b0
lea rdx, [r12 + 0x28]
mov qword [rbp + 0x10], rdx
mov rdx, qword [rdx]
lea rcx, [rbp + 0x20]
call fcn.180020680
mov r15, rax
lea rdx, [r12 + 0x10]
mov qword [rbp + 0x18], rdx
mov rdx, qword [rdx]
lea rcx, [rsp + 0x70]
call fcn.180020680
nop
mov r8, rax
lea rdx, str._AND_PROCESS_TYPE
lea rcx, [rbp - 0x10]
call fcn.180003a80
mov r14, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x10
jb 0x180020ed5
lea rax, [rcx + 0x10]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180020eb6
mov rax, qword [r14]
lea rbx, [rax + rcx]
mov r8d, 0x10
lea rdx, [0x1800cb130]
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + 0x10], 0
jmp 0x180020ef7
mov qword [rsp + 0x20], 0x10
lea r9, [0x1800cb130]
xor r8d, r8d
lea edx, [r8 + 0x10]
mov rcx, r14
call fcn.180005850
mov r14, rax
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov r9, r15
lea r8, [rbp - 0x70]
movzx edx, byte [rsp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.1800069a0
nop
lea r9, [rbp - 0x50]
mov r14, qword [rbp - 0x50]
mov r13, qword [rbp - 0x38]
cmp r13, 0x10
cmovae r9, r14
mov r12, qword [rbp + 0xd0]
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
sub rax, r12
mov r15, qword [rbp - 0x40]
cmp r15, rax
ja 0x180020f9b
lea rax, [r12 + r15]
mov qword [rbp + 0xd0], rax
lea rbx, [rbp + 0xc0]
cmp rcx, 0x10
cmovae rbx, qword [rbp + 0xc0]
lea rcx, [rbx + r12]
mov r8, r15
mov rdx, r9
call fcn.18009a890
lea rax, [rbx + r12]
mov byte [rax + r15], 0
jmp 0x180020fba
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp + 0xc0]
call fcn.180005850
mov r13, qword [rbp - 0x38]
mov r14, qword [rbp - 0x50]
cmp r13, 0x10
jb 0x180020ff2
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180020fe9
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180022198
mov rcx, r14
call fcn.1800986b0
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18002102e
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021028
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002219e
call fcn.1800986b0
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x180021069
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021064
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221a4
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800210b6
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800210b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221aa
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180021103
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800210fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221b0
call fcn.1800986b0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0x10
cmovae rdx, qword [rbp + 0xc0]
mov ebx, 1
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0xf8]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call r10
test al, al
jne 0x180021204
mov r15, qword [rsp + 0x68]
mov rbx, qword [r15]
lea rax, str.failed_query_for_get_CONF_TPL_ID_FROM_ITS_CONFIG
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x577
lea rax, str.CConfirmationTemplateManager::updateConfirmationTemplateConfig
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x120]
call fcn.180024060
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0x120]
lea edx, [r9 + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x180021fe0
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221b6
call fcn.1800986b0
mov eax, 0xfffffff9
jmp 0x180022139
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]
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x18002126e
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021269
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221b6
call fcn.1800986b0
mov r12, qword [rbp + 0xf0]
mov r15, qword [rbp + 0x10]
mov r13, qword [rbp + 0x18]
mov r14, qword [rsp + 0x68]
jmp 0x18002128c
lea r15, [r9 + 0x28]
lea r13, [r9 + 0x10]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
mov rcx, qword [rbp + 0xe0]
mov rax, qword [rbp + 0xe8]
test rax, rax
je 0x1800212c0
jle 0x1800212cc
test rcx, rcx
jne 0x1800212c9
test rax, rax
jg 0x1800219d7
test rcx, rcx
jg 0x1800219d7
test rax, rax
je 0x18002202d
mov byte [rsp + 0x60], 1
test rax, rax
jle 0x1800214b5
mov qword [rbp + 0xf0], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov r8d, 0xdc
lea rdx, str.SELECT_COUNT_TPL.ID__FROM_ORG_CONF_TPL_TPL_INNER_JOIN_ORG_CONF_TPL_MODULE_MO_ON_MO.CONF_TPL_ID__TPL.ID_INNER_JOIN_ORG_CONF_TPL_ORG_ORG_ON_ORG.CONF_TPL_ID__TPL.ID_WHERE_TPL.ID____AND_ORG.ORG_ID____AND_MO.MODULE_ID___
lea rcx, [rbp + 0xa0]
call fcn.180004090
nop
mov dword [rbp + 0x120], 0x244
lea rax, [rbp + 0xe8]
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x130], 8
xor ecx, ecx
mov qword [rbp + 0x138], rcx
mov dword [rbp + 0x140], 0x244
mov qword [rbp + 0x148], r12
mov dword [rbp + 0x150], 8
mov qword [rbp + 0x158], rcx
mov dword [rbp + 0x160], 0x244
lea rax, [r12 + 8]
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x170], 8
mov qword [rbp + 0x178], rcx
mov dword [rbp + 0xf8], 0x244
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], 8
mov qword [rbp + 0x110], rcx
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x48]
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0xf8]
mov qword [rsp + 0x20], rcx
mov r9d, 3
lea r8, [rbp + 0x120]
mov rcx, rax
call r10
test al, al
jne 0x180021464
mov rbx, qword [r14]
lea rax, str.failed_query_for_check_module_id_and_org_id_of_an_CONF_TPL_ID
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x5bf
lea rax, str.CConfirmationTemplateManager::updateConfirmationTemplateConfig
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x8f0]
call fcn.180024060
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0x8f0]
lea edx, [r9 + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
mov ebx, 0xfffffff9
jmp 0x180021496
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 rdx, qword [rsi]
mov rcx, rsi
call qword [rdx]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x60]
cmp qword [rbp + 0xf0], 0
jne 0x1800214a9
lea rcx, [rbp + 0xa0]
call fcn.180008410
mov eax, ebx
jmp 0x180022139
lea rcx, [rbp + 0xa0]
call fcn.180008410
mov dword [rbp + 0x120], 0x244
lea rax, [rbp + 0xe8]
mov qword [rbp + 0x128], rax
mov dword [rbp + 0x130], 8
xor ecx, ecx
mov qword [rbp + 0x138], rcx
mov dword [rbp + 0x140], 0x244
lea rax, [r12 + 0x18]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x150], 8
mov qword [rbp + 0x158], rcx
mov dword [rbp + 0x160], 0x244
lea rbx, [r12 + 0x20]
mov qword [rbp + 0x168], rbx
mov dword [rbp + 0x170], 8
mov qword [rbp + 0x178], rcx
mov dword [rbp + 0x180], 0x244
mov qword [rbp + 0x188], r12
mov dword [rbp + 0x190], 8
mov qword [rbp + 0x198], rcx
mov dword [rbp + 0x1a0], 0x244
mov qword [rbp + 0x1a8], r15
mov dword [rbp + 0x1b0], 8
mov qword [rbp + 0x1b8], rcx
mov dword [rbp + 0x1c0], 0x244
mov qword [rbp + 0x1c8], r13
mov dword [rbp + 0x1d0], 8
mov qword [rbp + 0x1d8], rcx
mov r8, qword [r12 + 8]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.180017710
nop
mov r8, rax
lea rdx, str.UPDATE
lea rcx, [rbp + 0xf8]
call fcn.180003a80
nop
mov r8d, 0x70
lea rdx, str._SET_CONF_TPL_ID____WHERE_REF_ID____AND_REF_DETAIL_ID____AND_ORG_ID____AND_REF_TYPE____AND_PROCESS_TYPE___
mov rcx, rax
call fcn.18000c880
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x180021651
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002164c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221bc
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp + 0x108], xmm0
mov byte [rbp + 0xf8], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1800216a4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18002169f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221c2
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x38]
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
xor ecx, ecx
mov dword [rsp + 0x50], ecx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 6]
lea r8, [rbp + 0x120]
mov rcx, rax
call r10
test al, al
jne 0x180021799
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov rbx, qword [r14]
lea rax, str.failed_query_for_update_PA_CONF_TPL_CONFIG
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x5db
lea rax, str.CConfirmationTemplateManager::updateConfirmationTemplateConfig
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x8f0]
call fcn.180024060
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0x8f0]
lea edx, [r9 + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
nop
lea rcx, [rbp + 0xa0]
call fcn.180008410
mov eax, 0xfffffff9
jmp 0x180022139
lea rcx, [rbp + 0xa0]
call fcn.180008410
mov dword [rbp + 0x120], 0x244
mov qword [rbp + 0x128], r12
mov dword [rbp + 0x130], 8
xor ecx, ecx
mov qword [rbp + 0x138], rcx
mov dword [rbp + 0x140], 0x244
lea rax, [r12 + 0x18]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x150], 8
mov qword [rbp + 0x158], rcx
mov dword [rbp + 0x160], 0x244
mov qword [rbp + 0x168], rbx
mov dword [rbp + 0x170], 8
mov qword [rbp + 0x178], rcx
mov dword [rbp + 0x180], 0x244
mov qword [rbp + 0x188], r15
mov dword [rbp + 0x190], 8
mov qword [rbp + 0x198], rcx
mov dword [rbp + 0x1a0], 0x244
mov qword [rbp + 0x1a8], r13
mov dword [rbp + 0x1b0], 8
xor r13d, r13d
mov qword [rbp + 0x1b8], r13
mov r8, qword [r12 + 8]
lea rdx, [rbp + 0xf8]
mov rcx, r14
call fcn.1800177f0
nop
mov r8, rax
lea rdx, str.DELETE_FROM
lea rcx, [rbp + 0x20]
call fcn.180003a80
nop
lea r8d, [r13 + 0x5c]
lea rdx, str._WHERE_ORG_ID____AND_REF_ID____AND_REF_DETAIL_ID____AND_REF_TYPE____AND_PROCESS_TYPE___
mov rcx, rax
call fcn.18000c880
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 0xf
mov byte [rax], r13b
lea rcx, [rbp + 0x20]
call fcn.180008410
nop
lea rcx, [rbp + 0xf8]
call fcn.180008410
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x38]
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 5]
lea r8, [rbp + 0x120]
mov rcx, rax
call r10
test al, al
jne 0x1800219c6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov rbx, qword [r14]
lea rax, str.failed_query_for_delete_old_confirmation_template_data
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x5f1
lea rax, str.CConfirmationTemplateManager::updateConfirmationTemplateConfig
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x8f0]
call fcn.180024060
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0x8f0]
lea edx, [r13 + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
nop
lea rcx, [rbp + 0xa0]
call fcn.180008410
lea eax, [r13 - 7]
jmp 0x180022139
lea rcx, [rbp + 0xa0]
call fcn.180008410
jmp 0x180022030
mov byte [rsp + 0x60], 1
lea rbx, [r12 + 8]
mov r8, qword [rbx]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.180017710
nop
mov r8, rax
lea rdx, str.INSERT_INTO
lea rcx, [rbp + 0xf8]
call fcn.180003a80
mov r14, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xb9
jb 0x180021a5f
lea rax, [rcx + 0xb9]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180021a38
mov rax, qword [r14]
lea rbx, [rax + rcx]
mov r8d, 0xb9
lea rdx, str._ORG_ID_CONF_TPL_ID_MODULE_ID_PROCESS_TYPE_REF_ID_REF_DETAIL_ID_REF_TYPE__VALUES________________ON_DUPLICATE_KEY_UPDATE_CONF_TPL_ID__PROCESS_TYPE__REF_ID__REF_DETAIL_ID__REF_TYPE_
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + 0xb9], 0
lea rbx, [r12 + 8]
jmp 0x180021a82
mov qword [rsp + 0x20], 0xb9
lea r9, str._ORG_ID_CONF_TPL_ID_MODULE_ID_PROCESS_TYPE_REF_ID_REF_DETAIL_ID_REF_TYPE__VALUES________________ON_DUPLICATE_KEY_UPDATE_CONF_TPL_ID__PROCESS_TYPE__REF_ID__REF_DETAIL_ID__REF_TYPE_
xor r8d, r8d
mov edx, 0xb9
mov rcx, r14
call fcn.180005850
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [r14 + 0x10], 0
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [rbp + 0x110]
cmp rdx, 0x10
jb 0x180021b03
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021afe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221c8
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp + 0x108], xmm0
mov byte [rbp + 0xf8], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180021b56
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021b51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221ce
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
jle 0x180021b89
mov rax, qword [rbp + 0xe0]
test rax, rax
cmove rax, rcx
mov qword [rbp + 0xe0], rax
mov dword [rbp + 0x120], 0x244
mov qword [rbp + 0x128], r12
mov dword [rbp + 0x130], 8
xor r8d, r8d
mov qword [rbp + 0x138], r8
mov dword [rbp + 0x140], 0x244
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x150], 8
mov qword [rbp + 0x158], r8
mov dword [rbp + 0x160], 0x244
mov qword [rbp + 0x168], rbx
mov dword [rbp + 0x170], 8
mov qword [rbp + 0x178], r8
mov dword [rbp + 0x180], 0x244
mov qword [rbp + 0x188], r13
mov dword [rbp + 0x190], 8
mov qword [rbp + 0x198], r8
mov dword [rbp + 0x1a0], 0x244
lea rcx, [r12 + 0x18]
mov qword [rbp + 0x1a8], rcx
mov dword [rbp + 0x1b0], 8
mov qword [rbp + 0x1b8], r8
mov dword [rbp + 0x1c0], 0x244
lea rax, [r12 + 0x20]
mov qword [rbp + 0x1c8], rax
mov dword [rbp + 0x1d0], 8
mov qword [rbp + 0x1d8], r8
mov dword [rbp + 0x1e0], 0x244
mov qword [rbp + 0x1e8], r15
mov dword [rbp + 0x1f0], 8
mov qword [rbp + 0x1f8], r8
mov dword [rbp + 0x200], 0x244
lea rdx, [rbp + 0xe0]
mov qword [rbp + 0x208], rdx
mov dword [rbp + 0x210], 8
mov qword [rbp + 0x218], r8
mov dword [rbp + 0x220], 0x244
mov qword [rbp + 0x228], r13
mov dword [rbp + 0x230], 8
xor r13d, r13d
mov qword [rbp + 0x238], r13
mov dword [rbp + 0x240], 0x244
mov qword [rbp + 0x248], rcx
mov dword [rbp + 0x250], 8
mov qword [rbp + 0x258], r13
mov dword [rbp + 0x260], 0x244
mov qword [rbp + 0x268], rax
mov dword [rbp + 0x270], 8
mov qword [rbp + 0x278], r13
mov dword [rbp + 0x280], 0x244
mov qword [rbp + 0x288], r15
mov dword [rbp + 0x290], 8
mov qword [rbp + 0x298], r13
mov r8, qword [rbx]
lea rdx, [rbp + 0x20]
mov r15, qword [rsp + 0x68]
mov rcx, r15
call fcn.180017710
nop
mov r8, rax
lea rdx, str.INSERT_INTO
lea rcx, [rbp - 0x30]
call fcn.180003a80
mov r14, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0xba
jb 0x180021db9
lea rax, [rcx + 0xba]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180021d97
mov rax, qword [r14]
lea rbx, [rax + rcx]
mov r8d, 0xba
lea rdx, str._ORG_ID_CONF_TPL_ID_MODULE_ID_PROCESS_TYPE_REF_ID_REF_DETAIL_ID_REF_TYPE__VALUES_________________ON_DUPLICATE_KEY_UPDATE_CONF_TPL_ID__PROCESS_TYPE__REF_ID__REF_DETAIL_ID__REF_TYPE_
mov rcx, rbx
call fcn.18009a890
mov byte [rbx + 0xba], 0
jmp 0x180021ddc
mov qword [rsp + 0x20], 0xba
lea r9, str._ORG_ID_CONF_TPL_ID_MODULE_ID_PROCESS_TYPE_REF_ID_REF_DETAIL_ID_REF_TYPE__VALUES_________________ON_DUPLICATE_KEY_UPDATE_CONF_TPL_ID__PROCESS_TYPE__REF_ID__REF_DETAIL_ID__REF_TYPE_
xor r8d, r8d
mov edx, 0xba
mov rcx, r14
call fcn.180005850
mov r14, rax
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp], xmm1
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0xa0]
call fcn.180008c40
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x180021e49
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021e43
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221d4
call fcn.1800986b0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x180021e84
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021e7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221da
call fcn.1800986b0
movdqa xmm0, xmmword [0x1800ce970]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180021ed0
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021ecb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800221e0
call fcn.1800986b0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rcx, qword [rax]
mov r10, qword [rcx + 0x38]
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rdx, qword [rbp + 0xa0]
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
mov r9d, 0xc
lea r8, [rbp + 0x120]
mov rcx, rax
call r10
test al, al
jne 0x180021fea
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov rbx, qword [r15]
lea rax, str.failed_query_for_insert_ORG_CONF_TPL_CONFIG
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x5a2
lea rax, str.CConfirmationTemplateManager::updateConfirmationTemplateConfig
mov qword [rsp + 0x20], rax
lea r9, str._s:_d__s.
mov edx, 0x7d0
lea r8d, [rdx - 1]
lea rcx, [rbp + 0x8f0]
call fcn.180024060
mov rax, qword [rbx]
xor r9d, r9d
lea r8, [rbp + 0x8f0]
lea edx, [r9 + 3]
mov rcx, rbx
call qword [rax + 0x1a8]
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x180021fe0
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002215c
call fcn.1800986b0
mov eax, 0xfffffff9
jmp 0x180022139
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x180022035
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180022026
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18002215c
call fcn.1800986b0
jmp 0x180022035
xor r13d, r13d
mov r15, qword [rsp + 0x68]
cmp byte [rbp + 0x1148], 0
je 0x180022126
cmp byte [rsp + 0x60], 0
je 0x180022126
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
mov qword [rbp + 0xd0], r13
lea rax, [rbp + 0x120]
mov edx, 4
nop dword [rax + rax]
movups xmm0, xmmword [rdi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rdi + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rdi + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rdi + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rdi, [rdi + 0x80]
sub rdx, 1
jne 0x180022070
movups xmm0, xmmword [rdi]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x10], xmm1
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x120]
mov r8, r12
mov rdx, rsi
mov rcx, r15
call fcn.18001ee60
test eax, eax
je 0x18002211a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
nop
lea rcx, [rbp + 0xc0]
call fcn.180008970
mov eax, 0xffffffff
jmp 0x180022139
lea rcx, [rbp + 0xc0]
call fcn.180008970
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
xor eax, eax
mov rcx, qword [rbp + 0x10c0]
xor rcx, rsp
call fcn.180098830
add rsp, 0x11d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
nop
call fcn.18009f234
int3