Function at 0x140048af0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140225e48]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15, rcx
xor edi, edi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rcx
lea rax, str.SELECT_COUNT___FROM_FILES_WHERE_FILE_METRIC____MaxFileMetric
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x48]
call fcn.14000cde0
mov ebx, eax
test eax, eax
jne 0x140048b71
lea edx, [rdi + 1]
movabs r8, 0xfffffffffffffff
mov rcx, qword [rsp + 0x60]
call fcn.140064ee0
mov ebx, eax
mov r8d, 1
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.14000ce60
test ebx, ebx
jne 0x140048bfb
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140048bab
add eax, 0xfffffffd
cmp eax, 1
ja 0x140048bbb
mov rcx, qword [rsp + 0x60]
call fcn.140056910
mov dword [rsp + 0x48], 1
jmp 0x140048bbb
lea rcx, [rsp + 0x48]
call fcn.14000cde0
mov ebx, eax
test eax, eax
jne 0x140048bfb
mov rcx, qword [rsp + 0x60]
call fcn.140055990
mov ebx, eax
mov ecx, eax
sub ecx, 0x64
je 0x140048bf3
cmp ecx, 1
je 0x140048be9
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.14000ce70
mov dword [rsp + 0x48], 3
jmp 0x140048bfb
mov dword [rsp + 0x48], 4
jmp 0x140048bfb
mov dword [rsp + 0x48], 2
cmp ebx, 0x65
je 0x140048d28
test ebx, ebx
je 0x140048d28
cmp ebx, 0x64
je 0x140048d31
mov edx, 0x10a
lea rcx, [rbp - 0x60]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str.Recovery_called_by_Database__
lea rcx, [rbp - 0x20]
call fcn.14003eff0
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x140048c52
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.14000c3a0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov edx, ebx
lea rcx, [rbp]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str._._Error_code_
lea rcx, [rbp - 0x40]
call fcn.14003eff0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000ca10
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x140048cb0
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000c3a0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140048cda
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.14000c3a0
mov rcx, qword [0x14022c0d0]
test rcx, rcx
jne 0x140048d04
lea r8d, [rcx + 0x3e]
lea rdx, str.d:qba1workspace2210_sse_storage_ngsaimplementation_source_serviceOptaneService.h
lea rcx, str.mInstance
call fcn.14011eac4
mov rcx, qword [0x14022c0d0]
lea rdx, [rbp - 0x20]
call fcn.140053390
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x140048d28
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000c3a0
cmp ebx, 0x64
jne 0x140049402
cmp dword [rsp + 0x48], 2
jne 0x14004930c
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.140055f20
test eax, eax
jle 0x140049404
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x78], r15
lea rax, str.SELECT_COUNT___FROM_FILES_WHERE_FILE_METRIC___0_
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
lea rcx, [rsp + 0x70]
call fcn.14000cde0
mov ebx, eax
test eax, eax
jne 0x140048dbb
mov rcx, qword [rbp - 0x78]
call fcn.140055990
mov ebx, eax
mov ecx, eax
sub ecx, 0x64
je 0x140048db3
cmp ecx, 1
je 0x140048da9
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14000ce70
mov dword [rsp + 0x70], 3
jmp 0x140048dbb
mov dword [rsp + 0x70], 4
jmp 0x140048dbb
mov dword [rsp + 0x70], 2
lea eax, [rbx - 0x64]
cmp eax, 1
jbe 0x140048ec0
test ebx, ebx
je 0x140048ec0
mov edx, 0x116
lea rcx, [rbp - 0x40]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str.Recovery_called_by_Database__
lea rcx, [rbp - 0x20]
call fcn.14003eff0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x140048e0c
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000c3a0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov edx, ebx
lea rcx, [rbp]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str._._Error_code_
lea rcx, [rbp - 0x60]
call fcn.14003eff0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000ca10
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x140048e6a
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.14000c3a0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140048e94
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.14000c3a0
call fcn.14004af00
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.140053390
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x140048ec0
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000c3a0
mov r14d, edi
cmp dword [rsp + 0x70], 2
jne 0x140048edd
xor edx, edx
mov rcx, qword [rbp - 0x78]
call fcn.140055f20
mov r14d, eax
jmp 0x140048fd1
mov edx, 0x119
lea rcx, [rbp - 0x40]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str.Recovery_called_by_Database__
lea rcx, [rbp - 0x20]
call fcn.14003eff0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x140048f1a
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000c3a0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov edx, 0x15
lea rcx, [rbp]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str._._Error_code_
lea rcx, [rbp - 0x60]
call fcn.14003eff0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000ca10
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x140048f7b
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.14000c3a0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140048fa5
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.14000c3a0
call fcn.14004af00
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.140053390
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x140048fd1
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000c3a0
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], r15
lea rax, str.UPDATE_FILES_SET_FILE_METRICFILE_METRIC_2_WHERE_FILE_METRIC___0_ORDER_BY_FILE_ID_ASC_LIMIT__max_limit_
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov esi, dword [r15 + 0x68]
lea rcx, [rsp + 0x20]
call fcn.14000cde0
mov ebx, eax
test eax, eax
jne 0x140049015
mov r8d, esi
lea edx, [rax + 1]
mov rcx, qword [rsp + 0x38]
call fcn.140064bf0
mov ebx, eax
mov r8d, 1
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.14000ce60
lea eax, [rbx - 0x64]
cmp eax, 1
jbe 0x14004912c
test ebx, ebx
je 0x14004912c
mov edx, 0x11e
lea rcx, [rbp - 0x40]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str.Recovery_called_by_Database__
lea rcx, [rbp - 0x20]
call fcn.14003eff0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x140049078
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000c3a0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov edx, ebx
lea rcx, [rbp]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str._._Error_code_
lea rcx, [rbp - 0x60]
call fcn.14003eff0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000ca10
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1400490d6
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.14000c3a0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140049100
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.14000c3a0
call fcn.14004af00
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.140053390
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x14004912c
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000c3a0
mov eax, r14d
cdq
idiv dword [r15 + 0x68]
inc eax
test eax, eax
jle 0x1400492eb
mov esi, eax
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x140049164
add eax, 0xfffffffd
cmp eax, 1
ja 0x140049174
mov rcx, qword [rsp + 0x38]
call fcn.140056910
mov dword [rsp + 0x20], 1
jmp 0x140049174
lea rcx, [rsp + 0x20]
call fcn.14000cde0
mov ebx, eax
test eax, eax
jne 0x1400491b4
mov rcx, qword [rsp + 0x38]
call fcn.140055990
mov ebx, eax
mov ecx, eax
sub ecx, 0x64
je 0x1400491ac
cmp ecx, 1
je 0x1400491a2
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.14000ce70
mov dword [rsp + 0x20], 3
jmp 0x1400491b4
mov dword [rsp + 0x20], 4
jmp 0x1400491b4
mov dword [rsp + 0x20], 2
cmp ebx, 0x65
je 0x1400492e1
test ebx, ebx
je 0x1400492e1
cmp ebx, 0x64
je 0x1400492e1
mov edx, 0x123
lea rcx, [rbp - 0x40]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str.Recovery_called_by_Database__
lea rcx, [rbp - 0x20]
call fcn.14003eff0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x14004920b
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000c3a0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov edx, ebx
lea rcx, [rbp]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str._._Error_code_
lea rcx, [rbp - 0x60]
call fcn.14003eff0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000ca10
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x140049269
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.14000c3a0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140049293
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.14000c3a0
mov rcx, qword [0x14022c0d0]
test rcx, rcx
jne 0x1400492bd
lea r8d, [rcx + 0x3e]
lea rdx, str.d:qba1workspace2210_sse_storage_ngsaimplementation_source_serviceOptaneService.h
lea rcx, str.mInstance
call fcn.14011eac4
mov rcx, qword [0x14022c0d0]
lea rdx, [rbp - 0x20]
call fcn.140053390
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x1400492e1
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000c3a0
sub rsi, 1
jne 0x140049140
mov rcx, qword [rsp + 0x38]
call fcn.140056340
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x20], edi
mov rcx, qword [rbp - 0x78]
call fcn.140056340
jmp 0x140049402
mov edx, 0x10f
lea rcx, [rbp - 0x40]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str.Recovery_called_by_Database__
lea rcx, [rbp - 0x20]
call fcn.14003eff0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x140049349
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.14000c3a0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], di
mov edx, 0x15
lea rcx, [rbp]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str._._Error_code_
lea rcx, [rbp - 0x60]
call fcn.14003eff0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.14000ca10
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1400493aa
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.14000c3a0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], di
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x1400493d4
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.14000c3a0
call fcn.14004af00
mov rcx, rax
lea rdx, [rbp - 0x20]
call fcn.140053390
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x140049404
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.14000c3a0
jmp 0x140049404
mov edi, ebx
mov rcx, qword [rsp + 0x60]
call fcn.140056340
mov eax, edi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400eb3e0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret