Function at 0x14002bd50
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xd0
mov rax, qword [0x1402e7d18]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov r14, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x27], rax
lea r13, vtable.SqliteStatement.0
mov qword [rbp - 9], r13
xor r15d, r15d
mov dword [rbp - 1], r15d
mov qword [rbp + 7], rcx
lea rdx, str.SELECT_ID__VALUE_FROM_STATISTICS_ORDER_BY_ID
mov qword [rbp + 0xf], rdx
movdqu xmmword [rbp + 0x17], xmm0
mov byte [rbp + 0x27], al
lea r8d, [rax + 6]
lea rcx, [0x14029b200]
call fcn.1400e3d50
movzx ecx, byte [rbp + 0x27]
mov r12d, 1
test eax, eax
cmove ecx, r12d
mov byte [rbp + 0x27], cl
lea rax, vtable.DatabaseCreationStatement.0
mov qword [rbp - 9], rax
mov edi, r15d
lea rcx, [rbp - 9]
call fcn.14002afd0
cmp eax, 0x64
jne 0x14002be41
mov ebx, dword [rbp - 0x49]
cmp dword [rbp - 1], 2
jne 0x14002be2c
xor edx, edx
mov rcx, qword [rbp + 0x17]
call fcn.14018ac70
mov ebx, eax
cmp dword [rbp - 1], 2
jne 0x14002be2c
mov edx, r12d
mov rcx, qword [rbp + 0x17]
call fcn.14018ad60
mov rdi, rax
movsxd rcx, ebx
mov qword [rsi + rcx*8], rdi
lea rcx, [rbp - 9]
call fcn.14002afd0
cmp eax, 0x64
je 0x14002be04
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x41], r13
mov dword [rbp - 0x39], r15d
mov qword [rbp - 0x31], r14
lea rdx, str.SELECT_SUM_CLUSTERS__FROM_SEGMENTS_WHERE_________FILE_ID__0xFFFFFF___32__OR__________FILE_ID_IN__SELECT_FILE_ID_FROM_SYSTEM_FILES____AND______SEGMENT_ID__0__
mov qword [rbp - 0x29], rdx
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x11], al
lea r8d, [rax + 6]
lea rcx, [0x14029b200]
call fcn.1400e3d50
movzx ecx, byte [rbp - 0x11]
test eax, eax
cmove ecx, r12d
mov byte [rbp - 0x11], cl
lea rax, vtable.DatabaseCreationStatement.0
mov qword [rbp - 0x41], rax
lea rcx, [rbp - 0x41]
call fcn.14002afd0
mov ebx, eax
cmp eax, 0x64
jne 0x14002becc
cmp dword [rbp - 0x39], 2
jne 0x14002bebd
xor edx, edx
mov rcx, qword [rbp - 0x21]
call fcn.14018ad60
mov rdi, rax
mov qword [rsi + 0x78], rdi
lea rcx, [rbp - 0x41]
call fcn.14002afd0
mov ebx, eax
cmp ebx, 0x65
jne 0x14002bed9
mov ebx, r15d
jmp 0x14002bf93
test ebx, ebx
je 0x14002bf8e
cmp ebx, 0x64
je 0x14002bf8e
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
mov r8d, 0x61
lea rdx, str.D:qba2workspace17493SSE_Storage_NGSAImplementation_sourcecommonDatabaseDatabaseSchema.cpp
lea rcx, [rbp - 0x69]
call fcn.140007590
lea rax, [0x1402eb3e0]
mov rcx, qword [0x1402eb3e0]
cmp rcx, rax
je 0x14002bf55
test dword [rcx + 0x44], 0x100
je 0x14002bf55
cmp byte [rcx + 0x41], 1
jb 0x14002bf55
lea r9, [rbp - 0x69]
cmp qword [rbp - 0x51], 0x10
cmovae r9, qword [rbp - 0x69]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0x89
mov rcx, qword [rcx + 0x38]
call fcn.14002b920
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x14002bf93
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bf87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bfe4
call fcn.1401544b8
jmp 0x14002bf93
mov ebx, 0x10d9
mov qword [rbp - 0x41], r13
mov rcx, qword [rbp - 0x21]
call fcn.14018bcc0
mov qword [rbp - 0x21], r15
mov dword [rbp - 0x39], r15d
mov qword [rbp - 9], r13
mov rcx, qword [rbp + 0x17]
call fcn.14018bcc0
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140154650
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400e3a60
nop
int3