Function at 0x140067bd0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r12, rdx
mov rdi, rcx
lea rdx, str.SELECT_System.ItemNameDisplay__System.FileAttributes_FROM_SystemIndex_WHERE_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_stream__AND_NOT_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_hidden__AND_NOT_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_link__AND_System.Shell.OmitFromView___true_AND_System.ContentType_IS_NOT_NULL
lea rcx, [rbp + 0x50]
call fcn.140004b44
nop
xor r13d, r13d
mov ebx, r13d
mov r14d, r13d
mov esi, r13d
lea r15, [0x1400b9730]
mov r8d, dword [rsi + r15]
lea rdx, [rbp - 0x18]
mov rcx, qword [rdi + 8]
call fcn.1400683b4
mov rax, qword [rbp - 0x10]
add r14d, dword [rax + 8]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
add rsi, 4
cmp rsi, 0x10
jb 0x140067c1b
test r14d, r14d
je 0x140067d0e
mov r14d, r13d
lea rdx, str._AND__
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r13w
jne 0x140067c65
mov r8d, eax
lea rcx, [rbp + 0x50]
call fcn.140004550
mov rsi, r13
cmp rsi, 0x10
jae 0x140067ced
mov r8d, dword [rsi + r15]
lea rdx, [rbp - 0x28]
mov rcx, qword [rdi + 8]
call fcn.1400683b4
nop
mov r15, qword [rbp - 0x20]
cmp qword [r15 + 8], r13
jbe 0x140067cca
test r14d, r14d
je 0x140067cbb
mov r8d, 4
lea rdx, str._OR
lea rcx, [rbp + 0x50]
call fcn.140004550
lea r8, [rbp + 0x50]
lea rdx, [rbp - 0x28]
call fcn.140066984
mov ebx, eax
add r14d, dword [r15 + 8]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
add rsi, 4
test ebx, ebx
lea r15, [0x1400b9730]
jns 0x140067c7e
lea rdx, [0x1400b31f4]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], r13w
jne 0x140067cf8
mov r8d, eax
lea rcx, [rbp + 0x50]
call fcn.140004550
test ebx, ebx
js 0x140067deb
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x50]
lea rdx, [0x1400ba988]
mov rax, qword [rax + 0x38]
call qword [case.0x1400688bc.0]
mov ebx, eax
test eax, eax
js 0x140067deb
mov qword [rbp + 0x40], r13
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
lea rdx, [rbp + 0x40]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp + 0x58]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str.:s_f
xor edx, edx
mov rax, qword [rax + 0x20]
call qword [case.0x1400688bc.0]
mov ebx, eax
test eax, eax
js 0x140067dd4
lea r9, [rdi + 0x30]
mov r8, r12
mov rdx, qword [rbp + 0x40]
call fcn.1400671c8
mov ebx, eax
test eax, eax
js 0x140067dd4
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rbp + 0x40]
cmp rdx, rcx
je 0x140067dd8
mov rsi, rcx
test rcx, rcx
je 0x140067db5
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rbp + 0x40]
test rdx, rdx
je 0x140067dce
mov rax, qword [rdx]
mov rcx, rdx
mov rax, qword [rax + 0x10]
call qword [case.0x1400688bc.0]
mov rcx, qword [rbp + 0x40]
mov qword [rdi + 0x28], rsi
jmp 0x140067dd8
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140067deb
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400688bc.0]
nop
mov rdx, qword [rbp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140067e10
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
mov eax, ebx
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret