Function at 0x140028730
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1401a2920]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
xor r14d, r14d
mov dword [rbp - 0x28], r14d
lea rdx, str.SELECT_count___FROM_Folders_WHERE_MatchesFilter1_
lea rcx, [rbp - 0x10]
call qword [0x14011afb0]
nop
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x20]
lea r8d, [r14 - 1]
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rsi + 0xc0]
call qword [0x14011b190]
test eax, eax
jne 0x1400287c3
mov rcx, qword [rbp - 0x20]
call qword [0x14011b1a8]
cmp eax, 0x64
jne 0x1400287b9
xor edx, edx
mov rcx, qword [rbp - 0x20]
call qword [0x14011b208]
mov rcx, qword [rsi + 0xc8]
mov dword [rcx + 0x2e4], eax
mov rcx, qword [rbp - 0x20]
call qword [0x14011b1b0]
cmp qword [0x1401ab050], 5
jle 0x1400289a6
mov rbx, qword [0x1401ab048]
lea rcx, [rbx + 0x138]
call qword [0x14011af98]
mov rdx, rax
lea rcx, [rbp - 0x30]
call qword [0x14011af90]
mov dword [rbp - 0x28], 1
mov r9, qword [rbx + 0x138]
mov ecx, dword [r9 - 0x10]
lea rdx, str.SELECT_count___sum_Files.
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140028812
mov dword [rsp + 0x20], ecx
mov r8d, eax
lea rcx, [rbp - 0x30]
call qword [0x14011afa0]
nop
lea rcx, [rbp - 0x30]
call qword [0x14011af98]
mov rdx, rax
lea rcx, [rbp - 0x18]
call qword [0x14011af90]
mov dword [rbp - 0x28], 3
lea r9, str.__FROM_Folders_Files_WHERE_Files.DisplayFolderIdFolders.Id_AND_MatchesFilter1_
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [r9 + rax*2], 0
jne 0x140028860
mov rdx, qword [rbp - 0x30]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x18]
call qword [0x14011afa0]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x10]
call qword [0x14011b048]
nop
lea rcx, [rbp - 0x18]
call qword [0x14011a9b0]
nop
lea rcx, [rbp - 0x30]
call qword [0x14011a9b0]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x20]
mov r8d, 0xffffffff
mov rdx, qword [rbp - 0x10]
mov rcx, qword [rsi + 0xc0]
call qword [0x14011b190]
test eax, eax
jne 0x140028918
mov rcx, qword [rbp - 0x20]
call qword [0x14011b1a8]
cmp eax, 0x64
jne 0x14002890e
xor edx, edx
mov rcx, qword [rbp - 0x20]
call qword [0x14011b208]
mov rcx, qword [rsi + 0xc8]
mov dword [rcx + 0x2e0], eax
mov edx, 1
mov rcx, qword [rbp - 0x20]
call qword [0x14011b1e0]
mov rcx, qword [rsi + 0xc8]
mov qword [rcx + 0x2e8], rax
mov rcx, qword [rbp - 0x20]
call qword [0x14011b1b0]
lea rdx, str.UPDATE_Folders_SET_DirCount_SELECT_count___FROM_Folders_T2_WHERE_T2.MatchesFilter1_AND_T2.DisplayFolderIdFolders.Id__
lea rcx, [rbp - 0x10]
call qword [0x14011b040]
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call qword [0x14011b020]
mov rbx, rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x18]
mov r8d, 0xffffffff
mov rdx, qword [rax]
mov rcx, qword [rsi + 0xc0]
call qword [0x14011b190]
test eax, eax
jne 0x140028971
mov rcx, qword [rbp - 0x18]
call qword [0x14011b1a8]
mov rcx, qword [rbp - 0x18]
call qword [0x14011b1b0]
mov rcx, rbx
call qword [0x14011a9b0]
nop
lea rcx, [rbp - 0x10]
call qword [0x14011a9b0]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400feb00
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [0x14011aaa8]
nop
int3