Function at 0x1400b5330
Capabilities:
Get file system object information

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xa48]
sub rsp, 0xb20
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov r12, rcx
test edx, edx
je 0x1400b5381
mov eax, 1
jmp 0x1400b5741
mov edx, 0x4ca
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov qword [rsp + 0x40], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1004
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsp + 0x48], rax
mov r14, qword [r12 + 0x2c8]
cmp r14d, 0x64
jl 0x1400b53c2
mov r14d, 0x64
xor edi, edi
mov r13d, edi
mov rbx, qword [r12 + 0x2c0]
mov rbx, qword [rbx]
test r14d, r14d
jle 0x1400b5733
nop dword [rax + rax]
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x1400b5454
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [0x1400fa1e0]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHBindToParent]
test eax, eax
js 0x1400b5454
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rbp - 0x40]
mov r8d, 0x8000
mov rdx, qword [rsp + 0x38]
call qword [rax + 0x58]
test eax, eax
js 0x1400b5449
mov r9d, 0x104
lea r8, [rbp + 0x3e0]
mov rdx, rsi
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_StrRetToBufW]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
lea rcx, [rbp + 0x3e0]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test rsi, rsi
je 0x1400b5545
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [0x1400fa1e0]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHBindToParent]
test eax, eax
js 0x1400b54d5
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rbp - 0x40]
mov r8d, 0x8000
mov rdx, qword [rsp + 0x38]
call qword [rax + 0x58]
test eax, eax
js 0x1400b54ca
mov r9d, 0x104
lea r8, [rbp + 0x5f0]
mov rdx, rsi
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_StrRetToBufW]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
test rsi, rsi
je 0x1400b5545
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [0x1400fa1e0]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHBindToParent]
test eax, eax
js 0x1400b5545
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rbp - 0x40]
mov r8d, 0x8001
mov rdx, qword [rsp + 0x38]
call qword [rax + 0x58]
test eax, eax
js 0x1400b553a
mov r9d, 0x104
lea r8, [rbp + 0x800]
mov rdx, rsi
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_StrRetToBufW]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
mov dword [rsp + 0x20], 0x4008
mov r9d, 0x2b8
lea r8, [rbp + 0x120]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [r12 + 0x330]
mov dword [rbp + 0xd0], eax
mov qword [rbp + 0xf0], 7
mov qword [rbp + 0xe8], rdi
mov word [rbp + 0xd8], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x5f0]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x5f0]
lea rcx, [rbp + 0xd8]
call fcn.140009a30
nop
mov rdi, qword [r12 + 0x2e0]
mov rdi, qword [rdi]
lea r8, [rbp + 0xd0]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.140019e40
mov rdx, qword [r12 + 0x2e8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x1400b5726
lea rcx, [rdx + 1]
mov qword [r12 + 0x2e8], rcx
mov qword [rdi + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov r9, qword [r12 + 0x2e0]
mov r8, qword [r9]
add r8, 0x10
mov r9, qword [r9]
lea rdx, [rbp - 0x50]
lea rcx, [r12 + 0x2d8]
call fcn.140019700
nop
cmp qword [rbp + 0xf0], 8
jb 0x1400b5645
mov rcx, qword [rbp + 0xd8]
call fcn.14004b088
mov dword [rsp + 0x60], 7
lea rax, [rbp + 0x800]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x48]
add eax, r13d
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x68], 0
mov eax, dword [rbp + 0x128]
mov dword [rbp - 0x7c], eax
movsxd rcx, dword [r12 + 0x330]
mov qword [rbp - 0x78], rcx
lea eax, [rcx + 1]
mov dword [r12 + 0x330], eax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x104d
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp + 0xd8], 1
lea rcx, [rbp + 0x3e0]
mov qword [rbp + 0xe8], rcx
movsxd r8, eax
lea r9, [rbp + 0xd0]
mov edx, 0x1074
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rdi, qword [rbx]
cmp rbx, qword [r12 + 0x2c0]
je 0x1400b5710
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, rbx
call fcn.14004b088
dec qword [r12 + 0x2c8]
mov rbx, rdi
inc r13d
cmp r13d, r14d
mov edi, 0
jl 0x1400b53e0
jmp 0x1400b5733
lea rcx, str.list_T__too_long
call fcn.14002ba2c
nop
mov dword [r12 + 0x338], 1
xor eax, eax
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0xb20]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret