Function at 0x1400bcef0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r14
push r15
sub rsp, 0x20
mov rbx, rcx
lea rax, vtable.Component.0
mov qword [rcx], rax
mov dword [rcx + 8], 0xffffffff
xor esi, esi
mov dword [rcx + 0xc], esi
lea rdi, [rcx + 0x10]
mov rcx, rdi
call fcn.14002bc50
nop
lea rax, vtable.Database.0
mov qword [rbx], rax
lea rax, vtable.Database.1.0
mov qword [rdi], rax
lea rax, vtable.Database.2.0
mov qword [rbx + 0x48], rax
mov dword [rbx + 0x50], 5
lea rbp, vtable.SqliteStatement.0
mov qword [rbx + 0x58], rbp
mov dword [rbx + 0x60], esi
mov qword [rbx + 0x68], rdi
lea rdx, str.UPDATE_SEGMENTS_SET_CLUSTERS_clusters_WHERE_FILE_ID_Id_AND_SEGMENT_ID_Seg
mov qword [rbx + 0x70], rdx
mov qword [rbx + 0x78], rsi
mov qword [rbx + 0x80], rsi
mov byte [rbx + 0x88], sil
lea r8d, [rsi + 6]
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bcfa3
mov byte [rbx + 0x88], 1
lea r14, vtable.TransactionSafeStatement.0
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x90], rbp
mov dword [rbx + 0x98], esi
mov qword [rbx + 0xa0], rdi
lea rdx, str.INSERT_OR_IGNORE_INTO_SEGMENTS_VALUES___Id___Seg__0_
mov qword [rbx + 0xa8], rdx
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0xb8], rsi
mov byte [rbx + 0xc0], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd002
mov byte [rbx + 0xc0], 1
mov qword [rbx + 0x90], r14
mov qword [rbx + 0xc8], rbp
mov dword [rbx + 0xd0], esi
mov qword [rbx + 0xd8], rdi
lea rdx, str.INSERT_OR_IGNORE_INTO_FILES_EXT__EXT_NAME__BIAS__VALUES__LOWER__Name___256_
mov qword [rbx + 0xe0], rdx
mov qword [rbx + 0xe8], rsi
mov qword [rbx + 0xf0], rsi
mov byte [rbx + 0xf8], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd05d
mov byte [rbx + 0xf8], 1
mov qword [rbx + 0xc8], r14
mov qword [rbx + 0x100], rbp
mov dword [rbx + 0x108], esi
mov qword [rbx + 0x110], rdi
lea rdx, str.DELETE_FROM_FILES_WHERE_FILE_ID___Id
mov qword [rbx + 0x118], rdx
mov qword [rbx + 0x120], rsi
mov qword [rbx + 0x128], rsi
mov byte [rbx + 0x130], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd0b8
mov byte [rbx + 0x130], 1
mov qword [rbx + 0x100], r14
mov qword [rbx + 0x138], rbp
mov dword [rbx + 0x140], esi
mov qword [rbx + 0x148], rdi
lea rdx, str.INSERT_INTO_PINNED_APPLICATIONS__FILE_ID__PATH__DELETED__VALUES___file_id___path___deleted_
mov qword [rbx + 0x150], rdx
mov qword [rbx + 0x158], rsi
mov qword [rbx + 0x160], rsi
mov byte [rbx + 0x168], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd113
mov byte [rbx + 0x168], 1
mov qword [rbx + 0x138], r14
mov qword [rbx + 0x170], rbp
mov dword [rbx + 0x178], esi
mov qword [rbx + 0x180], rdi
lea rdx, str.UPDATE_PINNED_APPLICATIONS_SET_FILE_ID___file_id__DELETED___deleted__PIN_ACTION___pin_action_WHERE_PATH___path
mov qword [rbx + 0x188], rdx
mov qword [rbx + 0x190], rsi
mov qword [rbx + 0x198], rsi
mov byte [rbx + 0x1a0], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd16e
mov byte [rbx + 0x1a0], 1
mov qword [rbx + 0x170], r14
mov qword [rbx + 0x1a8], rbp
mov dword [rbx + 0x1b0], esi
mov qword [rbx + 0x1b8], rdi
lea rdx, str.UPDATE_PINNED_APPLICATIONS_SET_DELETED___deleted__PIN_ACTION___pin_action_WHERE_FILE_ID___file_id_AND_PATH___path
mov qword [rbx + 0x1c0], rdx
mov qword [rbx + 0x1c8], rsi
mov qword [rbx + 0x1d0], rsi
mov byte [rbx + 0x1d8], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd1c9
mov byte [rbx + 0x1d8], 1
mov qword [rbx + 0x1a8], r14
mov qword [rbx + 0x1e0], rbp
mov dword [rbx + 0x1e8], esi
mov qword [rbx + 0x1f0], rdi
lea rdx, str.UPDATE_PINNED_APPLICATIONS_SET_FILE_ID___file_id_WHERE_PATH___path
mov qword [rbx + 0x1f8], rdx
mov qword [rbx + 0x200], rsi
mov qword [rbx + 0x208], rsi
mov byte [rbx + 0x210], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd224
mov byte [rbx + 0x210], 1
mov qword [rbx + 0x1e0], r14
mov qword [rbx + 0x218], rbp
mov dword [rbx + 0x220], esi
mov qword [rbx + 0x228], rdi
lea rdx, str.UPDATE_PINNED_APPLICATIONS_SET_PIN_ACTION___pin_action_WHERE_FILE_ID___id
mov qword [rbx + 0x230], rdx
mov qword [rbx + 0x238], rsi
mov qword [rbx + 0x240], rsi
mov byte [rbx + 0x248], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd27f
mov byte [rbx + 0x248], 1
mov qword [rbx + 0x218], r14
mov qword [rbx + 0x250], rbp
mov dword [rbx + 0x258], esi
mov qword [rbx + 0x260], rdi
lea rdx, str.DELETE_FROM_PINNED_APPLICATIONS_WHERE_FILE_ID___file_id
mov qword [rbx + 0x268], rdx
mov qword [rbx + 0x270], rsi
mov qword [rbx + 0x278], rsi
mov byte [rbx + 0x280], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd2da
mov byte [rbx + 0x280], 1
mov qword [rbx + 0x250], r14
mov qword [rbx + 0x288], rbp
mov dword [rbx + 0x290], esi
mov qword [rbx + 0x298], rdi
lea rdx, str.UPDATE_FILES_SET_FILE_SIZE_LOG2___size_WHERE_FILE_ID___file_id
mov qword [rbx + 0x2a0], rdx
mov qword [rbx + 0x2a8], rsi
mov qword [rbx + 0x2b0], rsi
mov byte [rbx + 0x2b8], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd335
mov byte [rbx + 0x2b8], 1
mov qword [rbx + 0x288], r14
mov qword [rbx + 0x2c0], rbp
mov dword [rbx + 0x2c8], esi
mov qword [rbx + 0x2d0], rdi
lea rdx, str.INSERT_OR_IGNORE_INTO_HIERARCHY__PID__CHID__DIRTY__VALUES___pid___chid___dirty_
mov qword [rbx + 0x2d8], rdx
mov qword [rbx + 0x2e0], rsi
mov qword [rbx + 0x2e8], rsi
mov byte [rbx + 0x2f0], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd390
mov byte [rbx + 0x2f0], 1
mov qword [rbx + 0x2c0], r14
mov qword [rbx + 0x2f8], rbp
mov dword [rbx + 0x300], esi
mov qword [rbx + 0x308], rdi
lea rdx, str.DELETE_FROM_HIERARCHY_WHERE_CHID___chid_AND_DIRTY__1
mov qword [rbx + 0x310], rdx
mov qword [rbx + 0x318], rsi
mov qword [rbx + 0x320], rsi
mov byte [rbx + 0x328], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd3eb
mov byte [rbx + 0x328], 1
mov qword [rbx + 0x2f8], r14
mov qword [rbx + 0x330], rbp
mov dword [rbx + 0x338], esi
mov qword [rbx + 0x340], rdi
lea rdx, str.UPDATE_FILES_SET_FILE_EXT_ID___SELECT_FILE_EXT_ID_FROM_FILES_EXT_WHERE_FILES_EXT.EXT_NAME__LOWER__name__WHERE_FILE_ID_Id
mov qword [rbx + 0x348], rdx
mov qword [rbx + 0x350], rsi
mov qword [rbx + 0x358], rsi
mov byte [rbx + 0x360], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd446
mov byte [rbx + 0x360], 1
mov qword [rbx + 0x330], r14
mov qword [rbx + 0x368], rbp
mov dword [rbx + 0x370], esi
mov qword [rbx + 0x378], rdi
lea rdx, str.INSERT_OR_IGNORE_INTO_FILES__FILE_ID__FMA__FMB__FILE_STATE__DIRTY__FILE_EXT_ID__FILE_SIZE_LOG2__VALUES___fileId__0__0____dirMask__coalesce__SELECT_FILE_STATE__1_FROM_FILES_WHERE_FILE_ID___parentId__0_____fileDirMask__0___SELECT_FILE_EXT_ID_FROM_FILES_EXT_WHERE_FILES_EXT.EXT_NAME__LOWER__name____0__
mov qword [rbx + 0x380], rdx
mov qword [rbx + 0x388], rsi
mov qword [rbx + 0x390], rsi
mov byte [rbx + 0x398], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd4a1
mov byte [rbx + 0x398], 1
mov qword [rbx + 0x368], r14
mov qword [rbx + 0x3a0], rbp
mov dword [rbx + 0x3a8], esi
mov qword [rbx + 0x3b0], rdi
lea rdx, str.UPDATE_HIERARCHY_SET_DIRTY__1_WHERE_CHID___chid
mov qword [rbx + 0x3b8], rdx
mov qword [rbx + 0x3c0], rsi
mov qword [rbx + 0x3c8], rsi
mov byte [rbx + 0x3d0], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd4fc
mov byte [rbx + 0x3d0], 1
mov qword [rbx + 0x3a0], r14
mov qword [rbx + 0x3d8], rbp
mov dword [rbx + 0x3e0], esi
mov qword [rbx + 0x3e8], rdi
lea r15, str.UPDATE_HIERARCHY_SET_DIRTY__0_WHERE_PID___pid_AND_CHID___chid
mov qword [rbx + 0x3f0], r15
mov qword [rbx + 0x3f8], rsi
mov qword [rbx + 0x400], rsi
mov byte [rbx + 0x408], 0
mov r8d, 6
mov rdx, r15
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd55a
mov byte [rbx + 0x408], 1
mov qword [rbx + 0x3d8], r14
mov qword [rbx + 0x410], rbp
mov dword [rbx + 0x418], esi
mov qword [rbx + 0x420], rdi
lea rdx, str.INSERT_OR_IGNORE_INTO_SYSTEM_FILES__FILE_ID__TYPE__VALUES___file_id___type_
mov qword [rbx + 0x428], rdx
mov qword [rbx + 0x430], rsi
mov qword [rbx + 0x438], rsi
mov byte [rbx + 0x440], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd5b5
mov byte [rbx + 0x440], 1
mov qword [rbx + 0x410], r14
mov qword [rbx + 0x448], rbp
mov dword [rbx + 0x450], esi
mov qword [rbx + 0x458], rdi
lea rdx, str.DELETE_FROM_SYSTEM_FILES_WHERE_FILE_ID___file_id
mov qword [rbx + 0x460], rdx
mov qword [rbx + 0x468], rsi
mov qword [rbx + 0x470], rsi
mov byte [rbx + 0x478], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd610
mov byte [rbx + 0x478], 1
mov qword [rbx + 0x448], r14
mov qword [rbx + 0x480], rbp
mov dword [rbx + 0x488], esi
mov qword [rbx + 0x490], rdi
lea rdx, str.DELETE_FROM_SYSTEM_FILES
mov qword [rbx + 0x498], rdx
mov qword [rbx + 0x4a0], rsi
mov qword [rbx + 0x4a8], rsi
mov byte [rbx + 0x4b0], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd66b
mov byte [rbx + 0x4b0], 1
mov qword [rbx + 0x480], r14
mov qword [rbx + 0x4b8], rbp
mov dword [rbx + 0x4c0], esi
mov qword [rbx + 0x4c8], rdi
lea rdx, str.UPDATE_FILES____SET_FILE_STATE__FILE_STATE__1_WHERE_FILE_ID___file_id_AND_EXISTS______SELECT_1_FROM_FILES_WHERE__________FILE_STATE__1___1__AND________FILE_ID_IN_____________SELECT_PID_FROM_HIERARCHY_WHERE_HIERARCHY.CHID___file_id_AND________________HIERARCHY.DIRTY__0___AND_____FILE_STATE__0x8000000000000000___0
mov qword [rbx + 0x4d0], rdx
mov qword [rbx + 0x4d8], rsi
mov qword [rbx + 0x4e0], rsi
mov byte [rbx + 0x4e8], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd6c6
mov byte [rbx + 0x4e8], 1
mov qword [rbx + 0x4b8], r14
mov dword [rbx + 0x4f0], 0x10
mov dword [rbx + 0x4f4], 0x1000
mov qword [rbx + 0x4f8], rbp
mov dword [rbx + 0x500], esi
mov qword [rbx + 0x508], rdi
lea rdx, str.INSERT_OR_IGNORE_INTO_FILES__FILE_ID__FMA__FMB__FILE_STATE__DIRTY__FILE_EXT_ID__FILE_SIZE_LOG2__VALUES___Id__0__0___state__0__0__0_
mov qword [rbx + 0x510], rdx
mov qword [rbx + 0x518], rsi
mov qword [rbx + 0x520], rsi
mov byte [rbx + 0x528], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd735
mov byte [rbx + 0x528], 1
mov qword [rbx + 0x4f8], r14
mov qword [rbx + 0x530], rbp
mov dword [rbx + 0x538], esi
mov qword [rbx + 0x540], rdi
lea rdx, str.UPDATE_FILES_SET_FILE_SIZE_LOG2_file_size_log2__DIRTY__0__FILE_EXT_ID___SELECT_FILE_EXT_ID_FROM_FILES_EXT_WHERE_FILES_EXT.EXT_NAME__LOWER__name__WHERE_FILE_ID_Id
mov qword [rbx + 0x548], rdx
mov qword [rbx + 0x550], rsi
mov qword [rbx + 0x558], rsi
mov byte [rbx + 0x560], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd790
mov byte [rbx + 0x560], 1
mov qword [rbx + 0x530], r14
mov qword [rbx + 0x568], rbp
mov dword [rbx + 0x570], esi
mov qword [rbx + 0x578], rdi
lea rdx, str.INSERT_OR_IGNORE_INTO_HIERARCHY__PID__CHID__DIRTY__VALUES___pid___chid__0_
mov qword [rbx + 0x580], rdx
mov qword [rbx + 0x588], rsi
mov qword [rbx + 0x590], rsi
mov byte [rbx + 0x598], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd7eb
mov byte [rbx + 0x598], 1
mov qword [rbx + 0x568], r14
mov qword [rbx + 0x5a0], rbp
mov dword [rbx + 0x5a8], esi
mov qword [rbx + 0x5b0], rdi
mov qword [rbx + 0x5b8], r15
mov qword [rbx + 0x5c0], rsi
mov qword [rbx + 0x5c8], rsi
mov byte [rbx + 0x5d0], 0
mov r8d, 6
mov rdx, r15
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd842
mov byte [rbx + 0x5d0], 1
mov qword [rbx + 0x5a0], r14
mov qword [rbx + 0x5d8], rbp
mov dword [rbx + 0x5e0], esi
mov qword [rbx + 0x5e8], rdi
lea rdx, str.SELECT__FROM_GLOBAL_PARAMS
mov qword [rbx + 0x5f0], rdx
mov qword [rbx + 0x5f8], rsi
mov qword [rbx + 0x600], rsi
mov byte [rbx + 0x608], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd89d
mov byte [rbx + 0x608], 1
lea rax, vtable.BiasEnumrationStatement.0
mov qword [rbx + 0x5d8], rax
mov qword [rbx + 0x610], rbp
mov dword [rbx + 0x618], esi
mov qword [rbx + 0x620], rdi
lea rdx, str.SELECT_FILES.FILE_ID___FILES.FILE_STATE_FROM_FILES__SEGMENTS_WHERE_FILES.FILE_ID__SEGMENTS.FILE_ID_AND_SEGMENTS.SEGMENT_ID___segment_id_AND_SEGMENTS.CLUSTERS___0_ORDER_BY_SEGMENTS.CLUSTERS_DESC
mov qword [rbx + 0x628], rdx
mov qword [rbx + 0x630], rsi
mov qword [rbx + 0x638], rsi
mov byte [rbx + 0x640], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd8ff
mov byte [rbx + 0x640], 1
lea rax, vtable.SelectedFilesInfoStatement.0
mov qword [rbx + 0x610], rax
mov qword [rbx + 0x648], rbp
mov dword [rbx + 0x650], esi
mov qword [rbx + 0x658], rdi
lea rdx, str.DELETE_FROM_SELECTED_FILES_WHERE_CHANNEL_ID___param
mov qword [rbx + 0x660], rdx
mov qword [rbx + 0x668], rsi
mov qword [rbx + 0x670], rsi
mov byte [rbx + 0x678], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd961
mov byte [rbx + 0x678], 1
mov qword [rbx + 0x648], r14
mov qword [rbx + 0x680], rbp
mov dword [rbx + 0x688], esi
mov qword [rbx + 0x690], rdi
lea rdx, str.INSERT_OR_IGNORE_INTO_SELECTED_FILES__FILE_ID__CHANNEL_ID__VALUES___Id___channel_
mov qword [rbx + 0x698], rdx
mov qword [rbx + 0x6a0], rsi
mov qword [rbx + 0x6a8], rsi
mov byte [rbx + 0x6b0], 0
mov r8d, 6
lea rcx, [0x14028bee0]
call fcn.1400e3d60
test eax, eax
jne 0x1400bd9bc
mov byte [rbx + 0x6b0], 1
mov qword [rbx + 0x680], r14
lea rcx, [rbx + 0x6b8]
lea r8, str.BEGIN_TRANSACTION
mov rdx, rdi
call fcn.140032d10
nop
lea rcx, [rbx + 0x6f8]
lea r8, str.COMMIT_TRANSACTION
mov rdx, rdi
call fcn.140032d10
nop
lea rcx, [rbx + 0x738]
lea r8, str.ROLLBACK_TRANSACTION
mov rdx, rdi
call fcn.140032d10
nop
mov rax, rbx
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret