Function at 0x140047410
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x58]
sub rsp, 0x150
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140225e48]
xor rax, rsp
mov qword [rbp + 0x48], rax
xor edi, edi
mov dword [rbp - 0x68], edi
mov qword [rbp - 0x60], rcx
lea rax, str.UPDATE_FILES_SET_DIRTY__1_WHERE_FILE_ID__0xFFFFFFFFFFFF__8
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
lea rax, [rbp - 0x68]
mov qword [rbp - 0x38], rax
mov dword [rsp + 0x70], edi
mov qword [rsp + 0x78], rcx
lea rax, str.DELETE_FROM_SEGMENTS_WHERE_FILE_ID_NOT_IN__SELECT_FILE_ID_FROM_FILES_WHERE_FILES.DIRTY__0_
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rdi
lea rax, [rbp - 0x68]
test rax, rax
lea rax, [rsp + 0x70]
jne 0x140047491
mov qword [rbp - 0x38], rax
jmp 0x140047495
mov qword [rbp - 0x48], rax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x50], rcx
lea rax, str.DELETE_FROM_FILES_WHERE_DIRTY__1
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
lea rax, [rsp + 0x70]
test rax, rax
lea rax, [rsp + 0x48]
jne 0x1400474c9
mov qword [rbp - 0x38], rax
jmp 0x1400474cd
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rcx
lea rax, str.DELETE_FROM_FILES_EXT_WHERE_FILE_EXT_ID_NOT_IN__SELECT_FILE_EXT_ID_FROM_FILES_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x48]
test rax, rax
lea rax, [rsp + 0x20]
jne 0x14004750a
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x38], rax
jmp 0x140047518
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x20]
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x38]
call fcn.140003f10
mov ebx, eax
lea ecx, [rax - 0x64]
cmp ecx, 1
jbe 0x14004764b
test eax, eax
je 0x14004764b
mov edx, 0x153
lea rcx, [rbp - 0x38]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str.Recovery_called_by_Database__
lea rcx, [rbp + 8]
call fcn.14003eff0
nop
mov r8, qword [rbp - 0x20]
cmp r8, 8
jb 0x140047574
inc r8
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x38]
call fcn.14000c3a0
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], di
mov edx, ebx
lea rcx, [rbp + 0x28]
call fcn.14004af40
nop
mov r8, rax
lea rdx, str._._Error_code_
lea rcx, [rbp - 0x18]
call fcn.14003eff0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 8]
call fcn.14000ca10
nop
mov r8, qword [rbp]
cmp r8, 8
jb 0x1400475d2
inc r8
mov rdx, qword [rbp - 0x18]
lea rcx, [rbp - 0x18]
call fcn.14000c3a0
mov qword [rbp - 8], rdi
mov qword [rbp], 7
mov word [rbp - 0x18], di
mov r8, qword [rbp + 0x40]
cmp r8, 8
jb 0x1400475fc
inc r8
mov rdx, qword [rbp + 0x28]
lea rcx, [rbp + 0x28]
call fcn.14000c3a0
mov rcx, qword [0x14022c0d0]
test rcx, rcx
jne 0x140047626
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 + 8]
call fcn.140053390
nop
mov r8, qword [rbp + 0x20]
cmp r8, 8
jb 0x14004764b
inc r8
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 8]
call fcn.14000c3a0
nop
mov rcx, qword [rsp + 0x38]
call fcn.140056340
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x20], edi
mov rcx, qword [rsp + 0x60]
call fcn.140056340
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x48], edi
mov rcx, qword [rbp - 0x78]
call fcn.140056340
mov qword [rbp - 0x78], rdi
mov dword [rsp + 0x70], edi
mov rcx, qword [rbp - 0x50]
call fcn.140056340
xor eax, eax
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.1400eb3e0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret