Function at 0x140051db0
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x14b0]
mov eax, 0x15b0
call fcn.140105bf0
sub rsp, rax
mov rax, qword [0x14016a900]
xor rax, rsp
mov qword [rbp + 0x14a0], rax
lea rax, str.ArcSort
mov rdi, rcx
xor r12d, r12d
lea rdx, str.FileSort
cmp byte [0x1401724a0], r12b
lea rcx, str.FileList
cmovne rdx, rax
xor r8d, r8d
call fcn.1400add30
mov ecx, eax
mov ebx, eax
and cl, 0x1f
cmp cl, 2
jne 0x140051fd3
mov rcx, qword [0x1401a6858]
lea edx, [r12 + 8]
call fcn.1401159c4
mov qword [0x1401a78d0], rax
test rax, rax
jne 0x140051e54
lea rcx, [0x1401af488]
call fcn.1400700a4
jmp 0x140052178
mov rcx, qword [rdi + 0x60]
lea r9, [rbp - 0x80]
xor r8d, r8d
mov qword [rbp - 0x7c], r12
mov edx, 0x104b
mov dword [rbp - 0x80], 4
mov r14d, r12d
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140051fd3
mov r15d, 0x50
mov ecx, dword [0x1401a68b4]
movzx eax, r12w
mov word [rbp + 0x1400], ax
mov esi, r14d
cmp ecx, 0xffffffff
je 0x140051ece
mov dword [rbp - 0x18], ecx
lea rax, [rbp + 0x1400]
mov rcx, qword [rdi + 0x60]
lea r9, [rbp - 0x20]
mov r8d, esi
mov qword [rbp - 8], rax
mov edx, 0x1073
mov dword [rbp], r15d
call qword [sym.imp.USER32.dll_SendMessageW]
movzx eax, word [rbp + 0x1400]
test ax, ax
jne 0x140051f88
mov r8, qword [rbp - 0x58]
lea rdx, [rbp + 0x300]
lea rcx, [0x1401a6850]
call fcn.140049308
lea rcx, [rbp + 0x300]
call fcn.1400876ec
mov edx, dword [rbp + 0x13a8]
lea r8, [rbp + 0x40]
mov rcx, rax
mov dword [rsp + 0x20], 0x410
mov r9d, 0x2b8
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x140051f88
cmp word [rbp + 0x258], r12w
jne 0x140051f43
mov r9, r15
lea r8, [rbp + 0x258]
lea rdx, [rbp + 0x300]
mov rcx, rdi
call fcn.14004c798
mov eax, dword [0x1401a68b4]
cmp eax, 0xffffffff
je 0x140051f72
mov rcx, qword [rdi + 0x60]
lea r9, [rbp - 0x20]
mov dword [rbp - 0x18], eax
mov r8, rsi
lea rax, [rbp + 0x258]
mov edx, 0x1074
mov qword [rbp - 8], rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8, r15
lea rdx, [rbp + 0x258]
lea rcx, [rbp + 0x1400]
call fcn.14009ccc8
lea rcx, [rbp + 0x1400]
call fcn.140111acc
mov rdx, qword [0x1401a78d0]
lea r9, [rbp - 0x80]
mov rcx, qword [rbp - 0x58]
inc r14d
xor r8d, r8d
mov qword [rdx + rcx*8], rax
mov edx, 0x104b
mov rcx, qword [rdi + 0x60]
mov dword [rbp - 0x7c], r14d
mov dword [rbp - 0x78], r12d
mov dword [rbp - 0x80], 4
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x140051e86
mov r8d, 1
lea rdx, str.ArchivesFirst
lea rcx, str.FileList
call fcn.1400add30
test eax, eax
je 0x140051ff3
or ebx, 0x40
xor r8d, r8d
lea rdx, str.FlatView
lea rcx, str.FileList
call fcn.1400add30
test eax, eax
je 0x140052011
bts ebx, 7
mov rcx, qword [rdi + 0x60]
lea r9, [0x14004a930]
movsxd r8, ebx
mov edx, 0x1030
call qword [sym.imp.USER32.dll_SendMessageW]
mov r14d, ebx
and r14d, 0x1f
cmp r14d, 2
jne 0x14005206b
cmp qword [0x1401a6858], r12
mov rsi, r12
jbe 0x14005205f
mov rcx, qword [0x1401a78d0]
mov rcx, qword [rcx + rsi*8]
call fcn.140110e68
inc rsi
cmp rsi, qword [0x1401a6858]
jb 0x140052043
mov rcx, qword [0x1401a78d0]
call fcn.140110e68
cmp qword [rdi + 0x68], r12
je 0x140052178
shr ebx, 5
lea rcx, [0x1401611a0]
or edx, 0xffffffff
mov eax, r12d
cmp dword [rcx], r14d
je 0x140052097
inc eax
add rcx, 0x28
cmp eax, 9
jb 0x140052085
jmp 0x1400520a7
cdqe
lea rcx, [rax + rax*4]
lea rax, [0x14016119c]
mov edx, dword [rax + rcx*8]
mov rcx, qword [rdi + 0x60]
xor r9d, r9d
movsxd r14, edx
xor r8d, r8d
mov edx, 0x1000
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, 0xffffff
je 0x1400520db
mov rcx, qword [rdi + 0x60]
xor r9d, r9d
mov r8, r14
mov edx, 0x108c
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x30], 4
mov esi, r12d
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x30]
movsxd r15, esi
mov edx, 0x120b
mov r8, r15
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140052138
mov eax, dword [rsp + 0x4c]
test eax, 0xe00
jne 0x140052118
inc esi
cmp esi, 0x10
jb 0x1400520e6
jmp 0x140052138
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x30]
and eax, 0xffffe1ff
mov r8, r15
mov edx, 0x120c
mov dword [rsp + 0x4c], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x30]
mov r8, r14
mov edx, 0x120b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x30]
not ebx
mov r8, r14
and ebx, 1
mov edx, 0x120c
shl ebx, 9
add ebx, 0x200
or dword [rsp + 0x4c], ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbp + 0x14a0]
xor rcx, rsp
call fcn.140105c50
lea r11, [rsp + 0x15b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret