Function at 0x1401c8180
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c20]
mov eax, 0x1d20
call fcn.140247340
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1d70], rbx
mov r10, r9
mov rsi, r8
mov r14d, edx
mov rbx, rcx
cmp qword [rcx + 0x18], 0
je 0x1401c8861
mov r13d, 1
mov dword [rsp + 0x40], 0x617
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
lea rax, [rax + 1]
cmp word [r9 + rax*2], 0
jne 0x1401c81f0
lea edx, [rax + rax]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x40]
lea r8, [rbp + 0xde0]
mov rcx, r10
call fcn.14000a430
movsxd rax, dword [rsp + 0x40]
mov byte [rbp + rax + 0xde0], 0
mov dword [rsp + 0x40], 0x617
mov rcx, qword [rbp + 0x1c80]
mov rax, rdi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x1401c8240
lea edx, [rax + rax]
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x7c0]
call fcn.14000a430
movsxd rax, dword [rsp + 0x40]
mov byte [rbp + rax + 0x7c0], 0
lea rax, [rbp + 0x7c0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xde0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9d, dword [rsi + 0x30]
lea r8, str.SELECT_ID_PUBLISHER_DATA_FIRST_CHANGE_FLAGS_FID_FROM_LOG_WHERE_GONE0_AND_TYPE_u_AND_PAGE_u_AND_PATH_s_AND_NAME_s
mov edx, 0x820
lea rcx, [rbp - 0x60]
call fcn.14000b150
mov rbx, qword [rbx + 0x18]
xor r12d, r12d
mov r14d, r12d
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401c82db
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x60]
call qword [rax]
mov r14d, eax
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test r14d, r14d
je 0x1401c885c
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x28]
test eax, eax
je 0x1401c8826
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401c8826
mov r8d, 0xa
lea rdx, [rsp + 0x58]
call fcn.140251de0
mov dword [rsi + 0x10], eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 2]
call qword [rax + 0x28]
test eax, eax
je 0x1401c835c
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1401c835c
lea rcx, [rsi + 0x38]
mov r8, rdi
call fcn.14000af20
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 5]
call qword [rax + 0x28]
test eax, eax
je 0x1401c8388
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401c8388
call fcn.1401c1340
or dword [rsi + 0x24], eax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
mov r8d, r13d
xor edx, edx
call qword [rax + 0x28]
test eax, eax
je 0x1401c8457
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401c8457
mov dword [rsp + 0x40], 0x1040
mov rdx, rdi
nop
inc rdx
cmp byte [rcx + rdx], r12b
jne 0x1401c83c0
lea r9, [rsp + 0x40]
lea r8, [rbp + 0x1400]
call fcn.14003c9b0
movsxd rax, dword [rsp + 0x40]
shr rax, 1
mov word [rbp + rax*2 + 0x1400], r12w
lea rax, [rbp + 0x1400]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x1401c83f5
mov rdx, rbx
lea rcx, [rsi + 0x58]
call fcn.1400e5560
mov rax, qword [rsi + 0x60]
mov word [rax], r12w
test rbx, rbx
je 0x1401c842f
mov r9, rbx
lea r8, [rbp + 0x1400]
mov rdx, qword [rsi + 0x68]
mov rcx, qword [rsi + 0x60]
call fcn.140251f28
mov qword [rsi + 0x70], rbx
test dword [rsi + 0x24], 0x280
je 0x1401c8457
mov rdx, qword [rsi + 0x60]
lea rcx, [0x14037d1a0]
call fcn.140078710
test eax, eax
je 0x1401c8457
or dword [rsi + 0x24], 0x800
mov r15, qword [rbp + 0x1c88]
test r15, r15
je 0x1401c855e
lea rax, vtable.CSABUnicodeString.0
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x70], r12
mov ecx, 2
call fcn.140247068
mov r13, rax
mov qword [rbp - 0x80], rax
mov eax, 1
mov qword [rbp - 0x78], rax
mov word [r13], r12w
mov r12, qword [rsi + 0x40]
test r12, r12
jne 0x1401c84a4
xor r14d, r14d
jmp 0x1401c84ba
mov r14, rdi
nop word [rax + rax]
inc r14
cmp byte [r12 + r14], 0
jne 0x1401c84b0
lea rcx, [r14 + 1]
cmp rcx, 1
jbe 0x1401c84f7
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.140247068
mov rbx, rax
movzx eax, word [r13]
mov word [rbx], ax
mov edx, 2
mov rcx, r13
call fcn.140247060
mov r13, rbx
lea rax, [r14 + 1]
test r14, r14
je 0x1401c8515
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
mov r9d, r14d
mov r8, r12
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r12d, r12d
mov word [r13 + r14*2], r12w
mov rax, r13
sub r15, r13
movzx ecx, word [rax]
cmp cx, word [rax + r15]
jne 0x1401c853c
add rax, 2
test cx, cx
jne 0x1401c8524
mov ebx, r12d
jmp 0x1401c8541
sbb ebx, ebx
or ebx, 1
mov edx, 2
mov rcx, r13
call fcn.140247060
test ebx, ebx
je 0x1401c86d4
mov r13d, 1
jmp 0x1401c85bd
mov rbx, qword [rbp + 0x1c90]
test rbx, rbx
je 0x1401c86d4
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 6]
call qword [rax + 0x28]
test eax, eax
je 0x1401c86d4
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1401c86d4
sub rbx, rax
nop dword [rax]
movzx r8d, byte [rax]
movzx ecx, byte [rax + rbx]
sub r8d, ecx
jne 0x1401c85b4
inc rax
test ecx, ecx
jne 0x1401c85a0
test r8d, r8d
je 0x1401c86d4
lea rdx, [rsp + 0x60]
mov ecx, dword [rsi + 0x24]
call fcn.1401c1440
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r15, qword [rbp + 0x1c60]
mov r9d, dword [r15 + 0x20]
lea r8, str.UPDATE_LOG_SET_GONE_u__CHANGE1__FLAGS_s_WHERE_ID_u
mov edx, 0x820
lea rcx, [rbp - 0x60]
call fcn.14000b150
lea rax, [rbp - 0x60]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1401c8600
inc edi
mov ecx, edi
call fcn.140247068
mov qword [rbp + 0x1c60], rax
mov r8d, edi
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.1402496a0
mov rdi, qword [r15 + 0x30]
mov r14, qword [rdi + 8]
lea r9, [rbp + 0x1c60]
mov r8, r14
mov rdx, rdi
lea rcx, [r15 + 0x30]
call fcn.140009370
mov rcx, rax
mov rdx, qword [r15 + 0x38]
movabs rax, 0xaaaaaaaaaaaaaa9
sub rax, rdx
cmp rax, 1
jb 0x1401c888e
lea rax, [rdx + 1]
mov qword [r15 + 0x38], rax
mov qword [rdi + 8], rcx
mov qword [r14], rcx
mov dword [rsi + 0x24], 4
cmp qword [rsi + 0x48], 1
jae 0x1401c86c4
mov rcx, r13
call fcn.140247068
mov rbx, rax
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x1401c86b0
mov r8, qword [rsi + 0x50]
inc r8
mov rcx, rax
call fcn.1402496a0
mov rdx, r13
mov rcx, qword [rsi + 0x40]
call fcn.140247060
mov qword [rsi + 0x40], rbx
mov qword [rsi + 0x48], r13
mov byte [rbx], 0
mov qword [rsi + 0x50], r12
jmp 0x1401c882d
mov rbx, qword [rsi + 0x40]
mov byte [rbx], 0
mov qword [rsi + 0x50], r12
jmp 0x1401c882d
mov r13d, r12d
mov eax, dword [rsi + 0x10]
mov dword [rsp + 0x20], eax
mov r15, qword [rbp + 0x1c60]
mov r9d, dword [r15 + 0x20]
lea r8, str.UPDATE_LOG_SET_LAST_u_WHERE_ID_u
mov edx, 0x820
lea rcx, [rbp - 0x60]
call fcn.14000b150
lea rax, [rbp - 0x60]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1401c8702
inc edi
mov ecx, edi
call fcn.140247068
mov qword [rbp + 0x1c60], rax
mov r8d, edi
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.1402496a0
mov rdi, qword [r15 + 0x30]
mov r14, qword [rdi + 8]
lea r9, [rbp + 0x1c60]
mov r8, r14
mov rdx, rdi
lea rcx, [r15 + 0x30]
call fcn.140009370
mov rcx, rax
mov rdx, qword [r15 + 0x38]
movabs rax, 0xaaaaaaaaaaaaaa9
sub rax, rdx
cmp rax, 1
jb 0x1401c8881
lea rax, [rdx + 1]
mov qword [r15 + 0x38], rax
mov qword [rdi + 8], rcx
mov qword [r14], rcx
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 3]
call qword [rax + 0x28]
test eax, eax
je 0x1401c87ac
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401c87ac
mov r8d, 0xa
lea rdx, [rsp + 0x58]
call fcn.140251de0
mov dword [rsi + 0x18], eax
mov eax, dword [r15 + 0x24]
test eax, eax
je 0x1401c87f3
mov r8d, dword [rsi + 0x18]
cmp r8d, eax
jb 0x1401c87ec
mov rcx, qword [r15 + 0x50]
mov rax, qword [rcx]
cmp rax, rcx
je 0x1401c87e7
mov r9d, dword [rbp + 0x1c68]
mov rdx, qword [rax + 0x10]
cmp dword [rdx], r9d
je 0x1401c87e3
mov rax, qword [rax]
cmp rax, rcx
jne 0x1401c87d0
jmp 0x1401c87e7
mov r12d, dword [rdx + 4]
cmp r8d, r12d
jne 0x1401c87f3
or dword [rsi + 0x24], 0x400
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 4]
call qword [rax + 0x28]
test eax, eax
je 0x1401c882d
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1401c882d
call fcn.1402520ac
test eax, eax
jle 0x1401c882d
or dword [rsi + 0x24], 4
jmp 0x1401c882d
mov r15, qword [rbp + 0x1c60]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [r15 + 0x18]
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1401c8852
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r13d
jmp 0x1401c8866
mov eax, 1
mov rbx, qword [rsp + 0x1d70]
add rsp, 0x1d20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3
lea rcx, str.list_T__too_long
call fcn.1402453d0
int3