Function at 0x1400caac0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rdx
mov rdi, r9
mov dl, 1
mov rbx, r8
mov r14, rcx
call fcn.1400d48f0
mov qword [r14 + 0x50], rsi
lea rax, vtable.MetricTrimmer.0
mov qword [r14], rax
lea rcx, [r14 + 0x88]
xor ebp, ebp
lea rax, vtable.MetricTrimmer.1.0
mov qword [r14 + 0x40], rax
mov edx, 0x80000400
lea rax, vtable.MetricTrimmer.2.0
mov qword [r14 + 0x48], rax
lea rax, vtable.ServiceThread.0
mov qword [r14 + 0x58], rax
mov qword [r14 + 0x60], rbp
mov qword [r14 + 0x68], rbp
mov qword [r14 + 0x70], rbp
mov dword [r14 + 0x78], ebp
mov qword [r14 + 0x80], rbp
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov dword [r14 + 0xb0], 0xffffffff
lea rax, vtable.MetricTrimmer::MetricTrimmerThread.0
mov qword [r14 + 0x58], rax
lea rdx, str.SELECT_COUNT___FROM_FILES_WHERE_FMA___SPECIAL_VALUE
mov qword [r14 + 0xb8], r14
lea rax, str.trimming_state
mov qword [r14 + 0xd8], rax
lea r8d, [rbp + 6]
mov qword [r14 + 0xd0], rdi
lea rax, [rsi + 0x10]
mov qword [r14 + 0xc0], rsi
lea rdi, vtable.SqliteStatement.0
mov qword [r14 + 0xc8], rbx
lea rcx, [0x14028bee0]
mov qword [r14 + 0xe0], rbp
mov qword [r14 + 0xe8], rbp
mov qword [r14 + 0xf0], rbp
mov qword [r14 + 0xf8], rbp
mov qword [r14 + 0x100], 0x10
mov qword [r14 + 0x108], rbp
mov qword [r14 + 0x110], 0x1000
mov qword [r14 + 0x128], rax
mov qword [r14 + 0x118], rdi
mov dword [r14 + 0x120], ebp
mov qword [r14 + 0x130], rdx
mov qword [r14 + 0x138], rbp
mov qword [r14 + 0x140], rbp
mov byte [r14 + 0x148], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400cac1f
mov byte [r14 + 0x148], 1
lea rdx, str.SELECT_COUNT___FROM_FILES_WHERE_FMB___SPECIAL_VALUE
mov r8d, 6
lea rbx, vtable.TransactionSafeStatement.0
mov qword [r14 + 0x118], rbx
lea rcx, [0x14028bee0]
mov rax, qword [r14 + 0xc0]
add rax, 0x10
mov qword [r14 + 0x150], rdi
mov qword [r14 + 0x160], rax
mov dword [r14 + 0x158], ebp
mov qword [r14 + 0x168], rdx
mov qword [r14 + 0x170], rbp
mov qword [r14 + 0x178], rbp
mov byte [r14 + 0x180], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400cac8e
mov byte [r14 + 0x180], 1
mov qword [r14 + 0x150], rbx
lea rdx, str.SELECT_COUNT___FROM_FILES_WHERE_FMA____SPECIAL_VALUE
mov rax, qword [r14 + 0xc0]
lea rcx, [0x14028bee0]
add rax, 0x10
mov qword [r14 + 0x188], rdi
mov r8d, 6
mov qword [r14 + 0x198], rax
mov dword [r14 + 0x190], ebp
mov qword [r14 + 0x1a0], rdx
mov qword [r14 + 0x1a8], rbp
mov qword [r14 + 0x1b0], rbp
mov byte [r14 + 0x1b8], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400cacf6
mov byte [r14 + 0x1b8], 1
mov qword [r14 + 0x188], rbx
lea rdx, str.SELECT_COUNT___FROM_FILES_WHERE_FMB____SPECIAL_VALUE
mov rax, qword [r14 + 0xc0]
lea rcx, [0x14028bee0]
add rax, 0x10
mov qword [r14 + 0x1c0], rdi
mov r8d, 6
mov qword [r14 + 0x1d0], rax
mov dword [r14 + 0x1c8], ebp
mov qword [r14 + 0x1d8], rdx
mov qword [r14 + 0x1e0], rbp
mov qword [r14 + 0x1e8], rbp
mov byte [r14 + 0x1f0], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400cad5e
mov byte [r14 + 0x1f0], 1
mov qword [r14 + 0x1c0], rbx
lea rdx, str.SELECT_COUNT___FROM_FILES
mov rax, qword [r14 + 0xc0]
lea rcx, [0x14028bee0]
add rax, 0x10
mov qword [r14 + 0x1f8], rdi
mov r8d, 6
mov qword [r14 + 0x208], rax
mov dword [r14 + 0x200], ebp
mov qword [r14 + 0x210], rdx
mov qword [r14 + 0x218], rbp
mov qword [r14 + 0x220], rbp
mov byte [r14 + 0x228], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400cadc6
mov byte [r14 + 0x228], 1
mov qword [r14 + 0x1f8], rbx
lea rdx, str.UPDATE_FILES_SET_FMB__CAST_FMA___multipiler_AS_INTEGER__WHERE_FILE_ID_IN_SELECT_FILE_ID_FROM_FILES_WHERE_FMB___INVALID_VALUE_LIMIT__limitFiles_
mov rax, qword [r14 + 0xc0]
lea rcx, [0x14028bee0]
add rax, 0x10
mov qword [r14 + 0x230], rdi
mov r8d, 6
mov qword [r14 + 0x240], rax
mov dword [r14 + 0x238], ebp
mov qword [r14 + 0x248], rdx
mov qword [r14 + 0x250], rbp
mov qword [r14 + 0x258], rbp
mov byte [r14 + 0x260], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400cae2e
mov byte [r14 + 0x260], 1
mov qword [r14 + 0x230], rbx
lea rdx, str.UPDATE_FILES_SET_FMA__CAST_FMB___multiplier_AS_INTEGER__WHERE_FILE_ID_IN_SELECT_FILE_ID_FROM_FILES_WHERE_FMA___INVALID_VALUE_LIMIT__limitFiles_
mov rax, qword [r14 + 0xc0]
lea rcx, [0x14028bee0]
add rax, 0x10
mov qword [r14 + 0x268], rdi
mov r8d, 6
mov qword [r14 + 0x278], rax
mov dword [r14 + 0x270], ebp
mov qword [r14 + 0x280], rdx
mov qword [r14 + 0x288], rbp
mov qword [r14 + 0x290], rbp
mov byte [r14 + 0x298], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400cae96
mov byte [r14 + 0x298], 1
mov qword [r14 + 0x268], rbx
lea rdx, str.UPDATE_FILES_SET_FMA___SPECIAL_VALUE_WHERE_FILE_ID_IN_SELECT_FILE_ID_FROM_FILES_WHERE_FMA____SPECIAL_VALUE_LIMIT__limitFiles_
mov rax, qword [r14 + 0xc0]
lea rcx, [0x14028bee0]
add rax, 0x10
mov qword [r14 + 0x2a0], rdi
mov r8d, 6
mov qword [r14 + 0x2b0], rax
mov dword [r14 + 0x2a8], ebp
mov qword [r14 + 0x2b8], rdx
mov qword [r14 + 0x2c0], rbp
mov qword [r14 + 0x2c8], rbp
mov byte [r14 + 0x2d0], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400caefe
mov byte [r14 + 0x2d0], 1
mov qword [r14 + 0x2a0], rbx
lea rdx, str.UPDATE_FILES_SET_FMB___SPECIAL_VALUE_WHERE_FILE_ID_IN_SELECT_FILE_ID_FROM_FILES_WHERE_FMB____SPECIAL_VALUE_LIMIT__limitFiles_
mov rax, qword [r14 + 0xc0]
lea rcx, [0x14028bee0]
add rax, 0x10
mov qword [r14 + 0x2d8], rdi
mov r8d, 6
mov qword [r14 + 0x2e8], rax
mov dword [r14 + 0x2e0], ebp
mov qword [r14 + 0x2f0], rdx
mov qword [r14 + 0x2f8], rbp
mov qword [r14 + 0x300], rbp
mov byte [r14 + 0x308], bpl
call fcn.1400e3d60
test eax, eax
jne 0x1400caf66
mov byte [r14 + 0x308], 1
mov rbp, qword [rsp + 0x38]
mov rax, r14
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov qword [r14 + 0x2d8], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret