Function at 0x1400d8508
Capabilities:
Get file system object information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x40
mov r14, rdx
mov rdi, rcx
call sub.msvcrt.dll_wcslen
lea rbx, [rdi + rax*2]
jmp 0x1400d8538
cmp word [rbx], 0x2e
je 0x1400d853d
sub rbx, 2
cmp rbx, rdi
jae 0x1400d852e
lea rcx, [rbx + 2]
call sub.msvcrt.dll_wcslen
mov esi, 4
cmp rax, rsi
ja 0x1400d87e6
lea rdx, [rbx + 2]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscpy
lea rax, [rsp + 0x30]
cmp word [rax], 0x61
movzx ecx, word [rax]
jb 0x1400d8573
sub ecx, 0x20
mov word [rax], cx
add rax, 2
dec rsi
jne 0x1400d8567
lea rdx, [0x140174940]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400d87e6
lea rdx, [0x140174948]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400d87e6
lea rdx, [0x140174950]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400d87e6
lea rdx, [0x140174958]
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400d87e6
mov edx, dword [0x1408c282c]
xor ebx, ebx
test edx, edx
jle 0x1400d8617
movsxd rdx, ebx
lea rcx, [rsp + 0x30]
shl rdx, 4
add rdx, qword [0x1408c2d00]
call sub.msvcrt.dll_wcscmp
test eax, eax
je 0x1400d8668
mov edx, dword [0x1408c282c]
inc ebx
cmp ebx, edx
jl 0x1400d85ef
movsxd r8, dword [0x1408c2828]
lea eax, [rdx + 1]
mov esi, 8
movsxd rcx, eax
shl rcx, 4
cmp rcx, r8
jbe 0x1400d8692
mov rcx, qword [0x140845c04]
add r8d, 0x640
mov edx, esi
mov dword [0x1408c2828], r8d
movsxd r9, r8d
mov r8, qword [0x1408c2d00]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, dword [0x1408c282c]
mov qword [0x1408c2d00], rax
jmp 0x1400d8699
mov rdx, qword [0x1408c2d00]
mov rax, qword [0x1408c2cf8]
movsxd r8, ebx
add r8, r8
movsxd rcx, dword [rdx + r8*8 + 8]
lea rcx, [rax + rcx*2]
mov qword [r14], rcx
movsxd rax, dword [rdx + r8*8 + 0xc]
jmp 0x1400d8839
mov rax, qword [0x1408c2d00]
movsxd rcx, edx
lea rdx, [rsp + 0x30]
mov r8, rsi
shl rcx, 4
add rcx, rax
call sub.msvcrt.dll_memcpy
mov ebx, 0x2b8
lea rcx, [0x1408c2a40]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
lea r8, [0x1408c2a40]
mov r9d, ebx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x4401
call qword [sym.imp.SHELL32.DLL_SHGetFileInfoW]
mov ecx, dword [0x1408c2a48]
movsxd rdx, dword [0x1408c282c]
mov rax, qword [0x1408c2d00]
add rdx, rdx
lea rbx, [0x1408c2c58]
mov dword [rax + rdx*8 + 0xc], ecx
mov rcx, rbx
call sub.msvcrt.dll_wcslen
test rax, rax
jne 0x1400d8730
movsxd rdx, dword [0x1408c282c]
mov rax, qword [0x1408c2d00]
mov rcx, rdx
add rcx, rcx
and dword [rax + rcx*8 + 8], 0
jmp 0x1400d87dc
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov r9d, dword [0x1408c2824]
movsxd r10, dword [0x1408c2a38]
lea ecx, [r9 - 1]
add rax, r10
movsxd r8, ecx
cmp rax, r8
jbe 0x1400d8792
mov r8, qword [0x1408c2cf8]
mov rcx, qword [0x140845c04]
add r9d, 0x1f4
mov dword [0x1408c2824], r9d
movsxd r9, r9d
mov edx, esi
add r9, r9
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r10d, dword [0x1408c2a38]
mov rdx, rax
mov qword [0x1408c2cf8], rax
jmp 0x1400d8799
mov rdx, qword [0x1408c2cf8]
mov rax, qword [0x1408c2d00]
movsxd rcx, dword [0x1408c282c]
add rcx, rcx
mov dword [rax + rcx*8 + 8], r10d
movsxd rax, r10d
lea rcx, [rdx + rax*2]
mov rdx, rbx
call sub.msvcrt.dll_wcscpy
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov ecx, dword [0x1408c2a38]
mov edx, dword [0x1408c282c]
inc ecx
add eax, ecx
mov dword [0x1408c2a38], eax
inc edx
mov dword [0x1408c282c], edx
jmp 0x1400d882f
mov ebx, 0x2b8
lea rcx, [0x1408c2a40]
xor edx, edx
mov r8d, ebx
call sub.msvcrt.dll_memset
lea r8, [0x1408c2a40]
mov r9d, ebx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x4401
call qword [sym.imp.SHELL32.DLL_SHGetFileInfoW]
lea rbx, [0x1408c2830]
lea rdx, [0x1408c2c58]
mov rcx, rbx
call sub.msvcrt.dll_wcscpy
mov qword [r14], rbx
movsxd rax, dword [0x1408c2a48]
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
add rsp, 0x40
pop r14
ret