Function at 0x180030a60
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc58
mov rax, qword [0x18007b028]
xor rax, rsp
mov qword [rsp + 0xc40], rax
cmp qword [rsp + 0xc80], 0
je 0x180030ab0
mov rax, qword [rsp + 0xc88]
mov rax, qword [rax + 0x38]
cmp qword [rsp + 0xc80], rax
je 0x180030ace
mov rax, qword [rsp + 0xc88]
cmp qword [rax + 8], 0
je 0x180030ace
mov rax, qword [rsp + 0xc88]
cmp qword [rax + 0x18], 0
jne 0x180030ad5
xor eax, eax
jmp 0x180032080
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x7f0], 0
cmp qword [rsp + 0xc80], 0
jl 0x1800310db
mov dword [rsp + 0x8d8], 0x244
lea rax, [rsp + 0x7f0]
mov qword [rsp + 0x8e0], rax
mov dword [rsp + 0x8e8], 8
mov qword [rsp + 0x8f0], 0
mov rax, qword [rsp + 0xc88]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0x4d0]
call fcn.180003a80
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0xc88]
mov rdx, qword [rax]
lea rcx, [rsp + 0x4b0]
call fcn.180003a80
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0xc88]
mov r8, qword [rax + 8]
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0xc70]
call fcn.180027b80
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x130], rax
mov r8, qword [rsp + 0x130]
lea rdx, [0x18005d778]
lea rcx, [rsp + 0x470]
call fcn.180005500
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x140], rax
lea r8, str._WHERE_ORG_ID_
mov rdx, qword [rsp + 0x140]
lea rcx, [rsp + 0x450]
call fcn.180005300
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x158]
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x430]
call fcn.1800054d0
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
lea r8, str._AND_MODULE_ID_
mov rdx, qword [rsp + 0x170]
lea rcx, [rsp + 0x410]
call fcn.180005300
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x190], rax
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x190]
lea rcx, [rsp + 0x800]
call fcn.1800054d0
nop
lea rcx, [rsp + 0x410]
call fcn.180003010
nop
lea rcx, [rsp + 0x430]
call fcn.180003010
nop
lea rcx, [rsp + 0x450]
call fcn.180003010
nop
lea rcx, [rsp + 0x470]
call fcn.180003010
nop
lea rcx, [rsp + 0x490]
call fcn.180003010
nop
lea rcx, [rsp + 0x4b0]
call fcn.180003010
nop
lea rcx, [rsp + 0x4d0]
call fcn.180003010
cmp qword [rsp + 0xc80], 0
jne 0x180030d75
lea rdx, str._AND_REF_ID_0
lea rcx, [rsp + 0x800]
call fcn.180005080
jmp 0x180030e0b
mov rax, qword [rsp + 0xc88]
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x510]
call fcn.180003a80
mov qword [rsp + 0x198], rax
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1a0], rax
mov r8, qword [rsp + 0x1a0]
lea rdx, str._AND_REF_ID_
lea rcx, [rsp + 0x4f0]
call fcn.180005500
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x800]
call fcn.1800050a0
nop
lea rcx, [rsp + 0x4f0]
call fcn.180003010
nop
lea rcx, [rsp + 0x510]
call fcn.180003010
mov rax, qword [rsp + 0xc88]
mov rdx, qword [rax + 0x28]
lea rcx, [rsp + 0x390]
call fcn.180003a80
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0xc88]
mov rdx, qword [rax + 0x10]
lea rcx, [rsp + 0x3b0]
call fcn.180003a80
mov qword [rsp + 0x1c8], rax
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x1d0], rax
mov r8, qword [rsp + 0x1d0]
lea rdx, str._AND_PROCESS_TYPE
lea rcx, [rsp + 0x3d0]
call fcn.180005500
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
lea r8, [0x18005d6c8]
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x3f0]
call fcn.180005300
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x200], rax
mov r8, qword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x200]
lea rcx, [rsp + 0x2f0]
call fcn.1800054d0
mov qword [rsp + 0x208], rax
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x210], rax
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x800]
call fcn.1800050a0
nop
lea rcx, [rsp + 0x2f0]
call fcn.180003010
nop
lea rcx, [rsp + 0x3f0]
call fcn.180003010
nop
lea rcx, [rsp + 0x3d0]
call fcn.180003010
nop
lea rcx, [rsp + 0x3b0]
call fcn.180003010
nop
lea rcx, [rsp + 0x390]
call fcn.180003010
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x220], rax
lea rcx, [rsp + 0x800]
call fcn.180002fe0
mov qword [rsp + 0x218], rax
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x8d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x218]
mov rcx, qword [rsp + 0x88]
call qword [rsp + 0x220]
movzx eax, al
test eax, eax
jne 0x180031055
mov dword [rsp + 0x28], 0xfffffff9
lea rax, str.failed_query_for_get_CONF_TPL_ID_FROM_ITS_CONFIG
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x577
lea rdx, [0x18005d808]
mov rax, qword [rsp + 0xc70]
mov rcx, qword [rax]
call fcn.180019010
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x800]
call fcn.180003010
mov eax, dword [rsp + 0x64]
jmp 0x180032080
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x228], rax
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0x228]
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x98]
call qword [rax + 0x60]
nop
lea rcx, [rsp + 0x800]
call fcn.180003010
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xa0]
call qword [rax + 8]
cmp qword [rsp + 0xc80], 0
je 0x180031137
cmp qword [rsp + 0xc80], 0
jle 0x1800316b5
cmp qword [rsp + 0x7f0], 0
jne 0x1800316b5
cmp qword [rsp + 0xc80], 0
jg 0x180031151
cmp qword [rsp + 0x7f0], 0
jle 0x1800316b5
mov byte [rsp + 0x60], 1
mov rax, qword [rsp + 0xc88]
mov r8, qword [rax + 8]
lea rdx, [rsp + 0x350]
mov rcx, qword [rsp + 0xc70]
call fcn.180027b80
mov qword [rsp + 0x230], rax
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x238], rax
mov r8, qword [rsp + 0x238]
lea rdx, [0x18005d940]
lea rcx, [rsp + 0x370]
call fcn.180005500
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x248], rax
lea r8, 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 rdx, qword [rsp + 0x248]
lea rcx, [rsp + 0x838]
call fcn.180005300
nop
lea rcx, [rsp + 0x370]
call fcn.180003010
nop
lea rcx, [rsp + 0x350]
call fcn.180003010
cmp qword [rsp + 0xc80], 0
jle 0x180031221
cmp qword [rsp + 0x7f0], 0
jne 0x180031221
mov rax, qword [rsp + 0xc80]
mov qword [rsp + 0x7f0], rax
mov dword [rsp + 0xac0], 0x244
mov rax, qword [rsp + 0xc88]
mov qword [rsp + 0xac8], rax
mov dword [rsp + 0xad0], 8
mov qword [rsp + 0xad8], 0
mov dword [rsp + 0xae0], 0x244
lea rax, [rsp + 0x7f0]
mov qword [rsp + 0xae8], rax
mov dword [rsp + 0xaf0], 8
mov qword [rsp + 0xaf8], 0
mov dword [rsp + 0xb00], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 8
mov qword [rsp + 0xb08], rax
mov dword [rsp + 0xb10], 8
mov qword [rsp + 0xb18], 0
mov dword [rsp + 0xb20], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x10
mov qword [rsp + 0xb28], rax
mov dword [rsp + 0xb30], 8
mov qword [rsp + 0xb38], 0
mov dword [rsp + 0xb40], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x18
mov qword [rsp + 0xb48], rax
mov dword [rsp + 0xb50], 8
mov qword [rsp + 0xb58], 0
mov dword [rsp + 0xb60], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x20
mov qword [rsp + 0xb68], rax
mov dword [rsp + 0xb70], 8
mov qword [rsp + 0xb78], 0
mov dword [rsp + 0xb80], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x28
mov qword [rsp + 0xb88], rax
mov dword [rsp + 0xb90], 8
mov qword [rsp + 0xb98], 0
mov dword [rsp + 0xba0], 0x244
lea rax, [rsp + 0x7f0]
mov qword [rsp + 0xba8], rax
mov dword [rsp + 0xbb0], 8
mov qword [rsp + 0xbb8], 0
mov dword [rsp + 0xbc0], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x10
mov qword [rsp + 0xbc8], rax
mov dword [rsp + 0xbd0], 8
mov qword [rsp + 0xbd8], 0
mov dword [rsp + 0xbe0], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x18
mov qword [rsp + 0xbe8], rax
mov dword [rsp + 0xbf0], 8
mov qword [rsp + 0xbf8], 0
mov dword [rsp + 0xc00], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x20
mov qword [rsp + 0xc08], rax
mov dword [rsp + 0xc10], 8
mov qword [rsp + 0xc18], 0
mov dword [rsp + 0xc20], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x28
mov qword [rsp + 0xc28], rax
mov dword [rsp + 0xc30], 8
mov qword [rsp + 0xc38], 0
mov rax, qword [rsp + 0xc88]
mov r8, qword [rax + 8]
lea rdx, [rsp + 0x530]
mov rcx, qword [rsp + 0xc70]
call fcn.180027b80
mov qword [rsp + 0x250], rax
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x258], rax
mov r8, qword [rsp + 0x258]
lea rdx, [0x18005da10]
lea rcx, [rsp + 0x310]
call fcn.180005500
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x268], rax
lea r8, 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 rdx, qword [rsp + 0x268]
lea rcx, [rsp + 0x330]
call fcn.180005300
mov qword [rsp + 0x270], rax
mov rdx, qword [rsp + 0x270]
lea rcx, [rsp + 0x838]
call fcn.1800039d0
lea rcx, [rsp + 0x330]
call fcn.180003010
nop
lea rcx, [rsp + 0x310]
call fcn.180003010
nop
lea rcx, [rsp + 0x530]
call fcn.180003010
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x280], rax
lea rcx, [rsp + 0x838]
call fcn.180002fe0
mov qword [rsp + 0x278], rax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0xc
lea r8, [rsp + 0xac0]
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0xa8]
call qword [rsp + 0x280]
movzx eax, al
test eax, eax
jne 0x1800316a3
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xb0]
call qword [rax + 0x18]
mov dword [rsp + 0x28], 0xfffffff9
lea rax, str.failed_query_for_insert_ORG_CONF_TPL_CONFIG
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x5a2
lea rdx, [0x18005da50]
mov rax, qword [rsp + 0xc70]
mov rcx, qword [rax]
call fcn.180019010
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x838]
call fcn.180003010
mov eax, dword [rsp + 0x68]
jmp 0x180032080
lea rcx, [rsp + 0x838]
call fcn.180003010
jmp 0x180031f63
cmp qword [rsp + 0xc80], 0
je 0x180031f63
mov byte [rsp + 0x60], 1
cmp qword [rsp + 0xc80], 0
jle 0x18003194b
mov qword [rsp + 0x7f8], 0
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, [rsp + 0x858]
call fcn.1800030a0
nop
mov dword [rsp + 0x900], 0x244
lea rax, [rsp + 0xc80]
mov qword [rsp + 0x908], rax
mov dword [rsp + 0x910], 8
mov qword [rsp + 0x918], 0
mov dword [rsp + 0x920], 0x244
mov rax, qword [rsp + 0xc88]
mov qword [rsp + 0x928], rax
mov dword [rsp + 0x930], 8
mov qword [rsp + 0x938], 0
mov dword [rsp + 0x940], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 8
mov qword [rsp + 0x948], rax
mov dword [rsp + 0x950], 8
mov qword [rsp + 0x958], 0
mov dword [rsp + 0x8b8], 0x244
lea rax, [rsp + 0x7f8]
mov qword [rsp + 0x8c0], rax
mov dword [rsp + 0x8c8], 8
mov qword [rsp + 0x8d0], 0
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x290], rax
lea rcx, [rsp + 0x858]
call fcn.180002fe0
mov qword [rsp + 0x288], rax
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x8b8]
mov qword [rsp + 0x20], rax
mov r9d, 3
lea r8, [rsp + 0x900]
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0xb8]
call qword [rsp + 0x290]
movzx eax, al
test eax, eax
jne 0x18003189d
mov dword [rsp + 0x28], 0xfffffff9
lea rax, str.failed_query_for_check_module_id_and_org_id_of_an_CONF_TPL_ID
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x5bf
lea rdx, [0x18005dca0]
mov rax, qword [rsp + 0xc70]
mov rcx, qword [rax]
call fcn.180019010
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x858]
call fcn.180003010
mov eax, dword [rsp + 0x6c]
jmp 0x180032080
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x298], rax
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x298]
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc8]
call qword [rax + 0x60]
cmp qword [rsp + 0x7f8], 0
jne 0x18003193e
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x858]
call fcn.180003010
mov eax, dword [rsp + 0x70]
jmp 0x180032080
lea rcx, [rsp + 0x858]
call fcn.180003010
mov dword [rsp + 0xa00], 0x244
lea rax, [rsp + 0xc80]
mov qword [rsp + 0xa08], rax
mov dword [rsp + 0xa10], 8
mov qword [rsp + 0xa18], 0
mov dword [rsp + 0xa20], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x18
mov qword [rsp + 0xa28], rax
mov dword [rsp + 0xa30], 8
mov qword [rsp + 0xa38], 0
mov dword [rsp + 0xa40], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x20
mov qword [rsp + 0xa48], rax
mov dword [rsp + 0xa50], 8
mov qword [rsp + 0xa58], 0
mov dword [rsp + 0xa60], 0x244
mov rax, qword [rsp + 0xc88]
mov qword [rsp + 0xa68], rax
mov dword [rsp + 0xa70], 8
mov qword [rsp + 0xa78], 0
mov dword [rsp + 0xa80], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x28
mov qword [rsp + 0xa88], rax
mov dword [rsp + 0xa90], 8
mov qword [rsp + 0xa98], 0
mov dword [rsp + 0xaa0], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x10
mov qword [rsp + 0xaa8], rax
mov dword [rsp + 0xab0], 8
mov qword [rsp + 0xab8], 0
mov rax, qword [rsp + 0xc88]
mov r8, qword [rax + 8]
lea rdx, [rsp + 0x570]
mov rcx, qword [rsp + 0xc70]
call fcn.180027b80
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2a0]
mov qword [rsp + 0x2a8], rax
mov r8, qword [rsp + 0x2a8]
lea rdx, [0x18005ddc8]
lea rcx, [rsp + 0x550]
call fcn.180005500
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2b8], rax
lea r8, str._SET_CONF_TPL_ID____WHERE_REF_ID____AND_REF_DETAIL_ID____AND_ORG_ID____AND_REF_TYPE____AND_PROCESS_TYPE___
mov rdx, qword [rsp + 0x2b8]
lea rcx, [rsp + 0x898]
call fcn.180005300
nop
lea rcx, [rsp + 0x550]
call fcn.180003010
nop
lea rcx, [rsp + 0x570]
call fcn.180003010
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x2c8], rax
lea rcx, [rsp + 0x898]
call fcn.180002fe0
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 6
lea r8, [rsp + 0xa00]
mov rdx, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0xd8]
call qword [rsp + 0x2c8]
movzx eax, al
test eax, eax
jne 0x180031c63
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xe0]
call qword [rax + 0x18]
mov dword [rsp + 0x28], 0xfffffff9
lea rax, str.failed_query_for_update_PA_CONF_TPL_CONFIG
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x5db
lea rdx, [0x18005deb8]
mov rax, qword [rsp + 0xc70]
mov rcx, qword [rax]
call fcn.180019010
mov dword [rsp + 0x74], eax
lea rcx, [rsp + 0x898]
call fcn.180003010
mov eax, dword [rsp + 0x74]
jmp 0x180032080
lea rcx, [rsp + 0x898]
call fcn.180003010
mov dword [rsp + 0x960], 0x244
mov rax, qword [rsp + 0xc88]
mov qword [rsp + 0x968], rax
mov dword [rsp + 0x970], 8
mov qword [rsp + 0x978], 0
mov dword [rsp + 0x980], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x18
mov qword [rsp + 0x988], rax
mov dword [rsp + 0x990], 8
mov qword [rsp + 0x998], 0
mov dword [rsp + 0x9a0], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x20
mov qword [rsp + 0x9a8], rax
mov dword [rsp + 0x9b0], 8
mov qword [rsp + 0x9b8], 0
mov dword [rsp + 0x9c0], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x28
mov qword [rsp + 0x9c8], rax
mov dword [rsp + 0x9d0], 8
mov qword [rsp + 0x9d8], 0
mov dword [rsp + 0x9e0], 0x244
mov rax, qword [rsp + 0xc88]
add rax, 0x10
mov qword [rsp + 0x9e8], rax
mov dword [rsp + 0x9f0], 8
mov qword [rsp + 0x9f8], 0
mov rax, qword [rsp + 0xc88]
mov r8, qword [rax + 8]
lea rdx, [rsp + 0x5b0]
mov rcx, qword [rsp + 0xc70]
call fcn.180027ca0
mov qword [rsp + 0x2d0], rax
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x2d8], rax
mov r8, qword [rsp + 0x2d8]
lea rdx, [0x18005e328]
lea rcx, [rsp + 0x590]
call fcn.180005500
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
lea r8, str._WHERE_ORG_ID____AND_REF_ID____AND_REF_DETAIL_ID____AND_REF_TYPE____AND_PROCESS_TYPE___
mov rdx, qword [rsp + 0x2e8]
lea rcx, [rsp + 0x878]
call fcn.180005300
nop
lea rcx, [rsp + 0x590]
call fcn.180003010
nop
lea rcx, [rsp + 0x5b0]
call fcn.180003010
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x100], rax
lea rcx, [rsp + 0x878]
call fcn.180002fe0
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 5
lea r8, [rsp + 0x960]
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xe8]
call qword [rsp + 0x100]
movzx eax, al
test eax, eax
jne 0x180031f56
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
call qword [rax + 0x18]
mov dword [rsp + 0x28], 0xfffffff9
lea rax, str.failed_query_for_delete_old_confirmation_template_data
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x5f1
lea rdx, str.CConfirmationTemplateManager::updateConfirmationTemplateConfig
mov rax, qword [rsp + 0xc70]
mov rcx, qword [rax]
call fcn.180019010
mov dword [rsp + 0x78], eax
lea rcx, [rsp + 0x878]
call fcn.180003010
mov eax, dword [rsp + 0x78]
jmp 0x180032080
lea rcx, [rsp + 0x878]
call fcn.180003010
movzx eax, byte [rsp + 0xc98]
test eax, eax
je 0x18003204b
movzx eax, byte [rsp + 0x60]
test eax, eax
je 0x18003204b
mov edx, 0x18
lea rcx, [rsp + 0x820]
call fcn.180003480
lea rcx, [rsp + 0x820]
call fcn.180004e10
nop
lea rax, [rsp + 0x5d0]
mov rdi, rax
mov rsi, qword [rsp + 0xc90]
mov ecx, 0x220
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x820]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5d0]
mov r8, qword [rsp + 0xc88]
mov rdx, qword [rsp + 0xc78]
mov rcx, qword [rsp + 0xc70]
call fcn.18002ef80
test eax, eax
je 0x18003203e
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x18]
mov dword [rsp + 0x7c], 0xffffffff
lea rcx, [rsp + 0x820]
call fcn.180004d20
mov eax, dword [rsp + 0x7c]
jmp 0x180032080
lea rcx, [rsp + 0x820]
call fcn.180004d20
mov rax, qword [rsp + 0xc78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc78]
call qword [rax]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xd0]
call qword [rax + 0x10]
xor eax, eax
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.180037d10
add rsp, 0xc58
pop rdi
pop rsi
ret