Function at 0x1400b7410
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.1400c03e0
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.api_ms_win_core_synch_l1_1_0.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, [0x1402441c0]
mov qword [r14 + 0xe0], rbp
test rsi, rsi
mov qword [r14 + 0xe8], rbp
mov qword [r14 + 0xf0], rbp
cmove rax, 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.1401a7c50
test eax, eax
jne 0x1400b7576
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
mov rcx, qword [r14 + 0xc0]
test rcx, rcx
mov qword [r14 + 0x150], rdi
mov dword [r14 + 0x158], ebp
mov qword [r14 + 0x168], rdx
lea rax, [rcx + 0x10]
mov qword [r14 + 0x170], rbp
cmove rax, rbp
mov qword [r14 + 0x178], rbp
lea rcx, [0x1402441c0]
mov qword [r14 + 0x160], rax
mov byte [r14 + 0x180], bpl
call fcn.1401a7c50
test eax, eax
jne 0x1400b75ec
mov byte [r14 + 0x180], 1
mov qword [r14 + 0x150], rbx
lea rdx, str.SELECT_COUNT___FROM_FILES_WHERE_FMA____SPECIAL_VALUE
mov rcx, qword [r14 + 0xc0]
mov r8d, 6
test rcx, rcx
mov qword [r14 + 0x188], rdi
mov dword [r14 + 0x190], ebp
mov qword [r14 + 0x1a0], rdx
lea rax, [rcx + 0x10]
mov qword [r14 + 0x1a8], rbp
cmove rax, rbp
mov qword [r14 + 0x1b0], rbp
lea rcx, [0x1402441c0]
mov qword [r14 + 0x198], rax
mov byte [r14 + 0x1b8], bpl
call fcn.1401a7c50
test eax, eax
jne 0x1400b765b
mov byte [r14 + 0x1b8], 1
mov qword [r14 + 0x188], rbx
lea rdx, str.SELECT_COUNT___FROM_FILES_WHERE_FMB____SPECIAL_VALUE
mov rcx, qword [r14 + 0xc0]
mov r8d, 6
test rcx, rcx
mov qword [r14 + 0x1c0], rdi
mov dword [r14 + 0x1c8], ebp
mov qword [r14 + 0x1d8], rdx
lea rax, [rcx + 0x10]
mov qword [r14 + 0x1e0], rbp
cmove rax, rbp
mov qword [r14 + 0x1e8], rbp
lea rcx, [0x1402441c0]
mov qword [r14 + 0x1d0], rax
mov byte [r14 + 0x1f0], bpl
call fcn.1401a7c50
test eax, eax
jne 0x1400b76ca
mov byte [r14 + 0x1f0], 1
mov qword [r14 + 0x1c0], rbx
lea rdx, str.SELECT_COUNT___FROM_FILES
mov rcx, qword [r14 + 0xc0]
mov r8d, 6
test rcx, rcx
mov qword [r14 + 0x1f8], rdi
mov dword [r14 + 0x200], ebp
mov qword [r14 + 0x210], rdx
lea rax, [rcx + 0x10]
mov qword [r14 + 0x218], rbp
cmove rax, rbp
mov qword [r14 + 0x220], rbp
lea rcx, [0x1402441c0]
mov qword [r14 + 0x208], rax
mov byte [r14 + 0x228], bpl
call fcn.1401a7c50
test eax, eax
jne 0x1400b7739
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 rcx, qword [r14 + 0xc0]
mov r8d, 6
test rcx, rcx
mov qword [r14 + 0x230], rdi
mov dword [r14 + 0x238], ebp
mov qword [r14 + 0x248], rdx
lea rax, [rcx + 0x10]
mov qword [r14 + 0x250], rbp
cmove rax, rbp
mov qword [r14 + 0x258], rbp
lea rcx, [0x1402441c0]
mov qword [r14 + 0x240], rax
mov byte [r14 + 0x260], bpl
call fcn.1401a7c50
test eax, eax
jne 0x1400b77a8
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 rcx, qword [r14 + 0xc0]
mov r8d, 6
test rcx, rcx
mov qword [r14 + 0x268], rdi
mov dword [r14 + 0x270], ebp
mov qword [r14 + 0x280], rdx
lea rax, [rcx + 0x10]
mov qword [r14 + 0x288], rbp
cmove rax, rbp
mov qword [r14 + 0x290], rbp
lea rcx, [0x1402441c0]
mov qword [r14 + 0x278], rax
mov byte [r14 + 0x298], bpl
call fcn.1401a7c50
test eax, eax
jne 0x1400b7817
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 rcx, qword [r14 + 0xc0]
mov r8d, 6
test rcx, rcx
mov qword [r14 + 0x2a0], rdi
mov dword [r14 + 0x2a8], ebp
mov qword [r14 + 0x2b8], rdx
lea rax, [rcx + 0x10]
mov qword [r14 + 0x2c0], rbp
cmove rax, rbp
mov qword [r14 + 0x2c8], rbp
lea rcx, [0x1402441c0]
mov qword [r14 + 0x2b0], rax
mov byte [r14 + 0x2d0], bpl
call fcn.1401a7c50
test eax, eax
jne 0x1400b7886
mov byte [r14 + 0x2d0], 1
mov qword [r14 + 0x2a0], rbx
lea rcx, [0x1402441c0]
mov rdx, qword [r14 + 0xc0]
mov r8d, 6
test rdx, rdx
mov qword [r14 + 0x2d8], rdi
mov dword [r14 + 0x2e0], ebp
mov qword [r14 + 0x2f8], rbp
lea rax, [rdx + 0x10]
mov qword [r14 + 0x300], rbp
cmove rax, rbp
mov byte [r14 + 0x308], bpl
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 qword [r14 + 0x2e8], rax
mov qword [r14 + 0x2f0], rdx
call fcn.1401a7c50
test eax, eax
jne 0x1400b78f5
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