Function at 0x140032ec0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push r13
push r14
push r15
mov eax, 0x80e0
call fcn.140140150
sub rsp, rax
mov rax, qword [0x1402a7d08]
xor rax, rsp
mov qword [rsp + 0x80c0], rax
mov r15, r9
mov ebp, edx
mov r14, r8
mov r13, rcx
mov rcx, qword [0x1402aa8a0]
lea rbx, [0x1402aa8a0]
cmp rcx, rbx
je 0x140032f31
test dword [rcx + 0x44], 0x100
je 0x140032f31
cmp byte [rcx + 0x41], 5
jb 0x140032f31
mov rcx, qword [rcx + 0x38]
lea r8, [0x140261730]
mov edx, 0xa
call fcn.140024300
mov rcx, qword [0x1402aa8a0]
test r14, r14
je 0x14003316f
test r15, r15
je 0x14003316f
mov qword [rsp + 0x80d8], rdi
cmp ebp, 0xffc
ja 0x140033168
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.1400f9a90
test eax, eax
jne 0x140033168
lfence
lea rdi, [rsp + 0xc8]
cmp ebp, 1
jbe 0x140032fb7
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.1400f9a90
test eax, eax
jne 0x140033168
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.0x140047660.0]
mov byte [r13 + 0x68], 0
mov rcx, qword [0x1402aa8a0]
cmp rcx, rbx
je 0x140033037
test dword [rcx + 0x44], 0x100
je 0x140033037
cmp byte [rcx + 0x41], 5
jb 0x140033037
mov rcx, qword [rcx + 0x38]
lea r8, [0x140261730]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.140024300
xor esi, esi
mov ebx, esi
test ebp, ebp
je 0x14003306c
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.14002ab90
test eax, eax
jne 0x1400330a4
add rdi, 8
cmp ebx, ebp
jb 0x140033050
mov rdi, rsi
test rbp, rbp
je 0x140033164
mov rbx, r15
nop dword [rax + rax]
mov rax, qword [r14 + rdi*8]
mov qword [rbx + 8], rax
test esi, esi
jne 0x14003314e
mov r8, r15
mov edx, edi
mov rcx, r13
call fcn.1400332d0
mov esi, eax
jmp 0x140033154
mov rcx, qword [0x1402aa8a0]
lea rdi, [0x1402aa8a0]
cmp rcx, rdi
je 0x140033111
test dword [rcx + 0x44], 0x100
je 0x1400330e2
cmp byte [rcx + 0x41], 2
jb 0x1400330e2
mov rcx, qword [rcx + 0x38]
lea r8, [0x140261730]
mov edx, 0xe
call fcn.140024300
mov rcx, qword [0x1402aa8a0]
cmp rcx, rdi
je 0x140033111
test dword [rcx + 0x44], 0x100
je 0x140033111
cmp byte [rcx + 0x41], 2
jb 0x140033111
mov rcx, qword [rcx + 0x38]
lea r8, [0x140261730]
mov edx, 0xd
mov r9d, 0x10d9
call fcn.140024320
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.140140100
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 0x140033080
xor eax, eax
jmp 0x140033116
mov eax, 0x57
jmp 0x140033126
cmp rcx, rbx
je 0x140033198
test dword [rcx + 0x44], 0x100
je 0x140033198
cmp byte [rcx + 0x41], 2
jb 0x140033198
mov rcx, qword [rcx + 0x38]
lea r8, [0x140261730]
mov edx, VariantTimeToDosDateTime
call fcn.140024300
mov eax, 6
jmp 0x14003312e