Function at 0x140032ea0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push r13
push r14
push r15
mov eax, 0x80e0
call fcn.1401546b0
sub rsp, rax
mov rax, qword [0x1402d7d18]
xor rax, rsp
mov qword [rsp + 0x80c0], rax
mov r15, r9
mov ebp, edx
mov r14, r8
mov r13, rcx
mov rcx, qword [0x1402daa50]
lea rbx, [0x1402daa50]
cmp rcx, rbx
je 0x140032f11
test dword [rcx + 0x44], 0x100
je 0x140032f11
cmp byte [rcx + 0x41], 5
jb 0x140032f11
mov rcx, qword [rcx + 0x38]
lea r8, [0x140290dc0]
mov edx, 0xa
call fcn.140024250
mov rcx, qword [0x1402daa50]
test r14, r14
je 0x14003314f
test r15, r15
je 0x14003314f
mov qword [rsp + 0x80d8], rdi
cmp ebp, 0xffc
ja 0x140033148
lea r8, str.SELECT_FILES.FILE_ID_id__FILES.FILE_STATE__SEGMENTS.SEGMENT_ID__SEGMENTS.CLUSTERS____FROM_FILES_LEFT_JOIN_SEGMENTS_on_SEGMENTS.FILE_ID__FILES.FILE_ID____WHERE__id___
mov edx, 0x8096
lea rcx, [rsp + 0x20]
call fcn.140108b44
test eax, eax
jne 0x140033148
lfence
lea rdi, [rsp + 0xc8]
cmp ebp, 1
jbe 0x140032f97
lea eax, [rbp - 1]
lea rdx, [rax*8]
movabs rax, 0x3f3d646920524f20
mov rcx, rdx
lea rdi, [rsp + 0xc8]
shr rcx, 3
rep stosq qword [rdi], rax
lea rdi, [rsp + 0xc8]
add rdi, rdx
lea rdx, [rsp + 0x80b6]
mov rcx, rdi
sub rdx, rdi
lea r8, str.__ORDER_BY_id
call fcn.140108b44
test eax, eax
jne 0x140033148
mov byte [rdi + 0xd], al
lea rdx, [rsp + 0x20]
mov rax, qword [r13 + 8]
lea rcx, [r13 + 8]
mov qword [rsp + 0x8118], rsi
mov qword [rsp + 0x80d0], r12
mov rax, qword [rax]
call qword [case.0x140047d56.0]
mov byte [r13 + 0x68], 0
mov rcx, qword [0x1402daa50]
cmp rcx, rbx
je 0x140033017
test dword [rcx + 0x44], 0x100
je 0x140033017
cmp byte [rcx + 0x41], 5
jb 0x140033017
mov rcx, qword [rcx + 0x38]
lea r8, [0x140290dc0]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140024250
xor esi, esi
mov ebx, esi
test ebp, ebp
je 0x14003304c
mov rdi, r14
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rdi]
lea rcx, [r13 + 8]
inc ebx
mov edx, ebx
call fcn.14002ab40
test eax, eax
jne 0x140033084
add rdi, 8
cmp ebx, ebp
jb 0x140033030
mov rdi, rsi
test rbp, rbp
je 0x140033144
mov rbx, r15
nop dword [rax + rax]
mov rax, qword [r14 + rdi*8]
mov qword [rbx + 8], rax
test esi, esi
jne 0x14003312e
mov r8, r15
mov edx, edi
mov rcx, r13
call fcn.1400332c0
mov esi, eax
jmp 0x140033134
mov rcx, qword [0x1402daa50]
lea rdi, [0x1402daa50]
cmp rcx, rdi
je 0x1400330f1
test dword [rcx + 0x44], 0x100
je 0x1400330c2
cmp byte [rcx + 0x41], 2
jb 0x1400330c2
mov rcx, qword [rcx + 0x38]
lea r8, [0x140290dc0]
mov edx, 0xe
call fcn.140024250
mov rcx, qword [0x1402daa50]
cmp rcx, rdi
je 0x1400330f1
test dword [rcx + 0x44], 0x100
je 0x1400330f1
cmp byte [rcx + 0x41], 2
jb 0x1400330f1
mov rcx, qword [rcx + 0x38]
lea r8, [0x140290dc0]
mov edx, 0xd
mov r9d, 0x10d9
call fcn.140024270
mov eax, 0x10d9
mov rsi, qword [rsp + 0x8118]
mov r12, qword [rsp + 0x80d0]
mov rdi, qword [rsp + 0x80d8]
mov rcx, qword [rsp + 0x80c0]
xor rcx, rsp
call fcn.140154660
add rsp, 0x80e0
pop r15
pop r14
pop r13
pop rbp
pop rbx
ret
mov dword [rbx], 2
inc rdi
add rbx, 0x28
cmp rdi, rbp
jb 0x140033060
xor eax, eax
jmp 0x1400330f6
mov eax, 0x57
jmp 0x140033106
cmp rcx, rbx
je 0x140033178
test dword [rcx + 0x44], 0x100
je 0x140033178
cmp byte [rcx + 0x41], 2
jb 0x140033178
mov rcx, qword [rcx + 0x38]
lea r8, [0x140290dc0]
mov edx, VariantTimeToDosDateTime
call fcn.140024250
mov eax, 6
jmp 0x14003310e