Function at 0x1400a7dc8
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x478]
sub rsp, 0x540
mov r15, rcx
mov rcx, qword [0x14064f1c0]
call fcn.1400d006c
xor r12d, r12d
cmp dword [0x14064ca60], r12d
mov r14, rax
jne 0x1400a81a2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
call fcn.1400b03dc
lea ecx, [r12 + 1]
call fcn.1400affb4
mov qword [0x14064cbb8], rax
test rax, rax
je 0x1400a838e
lea rsi, [0x14064cbc0]
lea rdx, str.My_Documents
mov rcx, rsi
call sub.msvcrt.dll_wcscpy
lea rdx, str.My_Computer
lea rcx, [0x14064cfd0]
call sub.msvcrt.dll_wcscpy
lea rcx, [rbp + 0x230]
mov edx, 0x104
mov word [rbp + 0x230], r12w
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, 0x2b8
lea r8, [rsp + 0x70]
lea rcx, [rbp + 0x230]
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [0x14064d1e4]
lea r8, [rsp + 0x60]
test rax, rax
lea edx, [r12 + 5]
cmovne ecx, dword [rsp + 0x78]
mov dword [0x14064d1e4], ecx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea rdi, [0x14064cdc8]
test eax, eax
jne 0x1400a7ff0
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x1405ccbb0], eax
test eax, eax
je 0x1400a7fe3
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400a7f55
lea r8, [rsp + 0x70]
lea rcx, str.::450d8fba_ad25_11d0_98a8_0800361b1103
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400a7f55
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400a7f61
mov eax, dword [rsp + 0x78]
mov dword [0x14064d1d8], eax
jmp 0x1400a7f68
mov dword [0x1405ccbb0], r12d
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x208
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400a7fce
lea r8, [rsp + 0x70]
lea rcx, str.::450d8fba_ad25_11d0_98a8_0800361b1103
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400a7fce
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov rcx, rdi
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400a7fdc
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.msvcrt.dll_wcscpy
jmp 0x1400a7fe3
mov dword [0x1405ccbb0], r12d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400a7ff7
mov dword [0x1405ccbb0], r12d
mov rcx, rdi
call sub.msvcrt.dll_wcslen
cmp word [rsi + rax*2 + 0x206], 0x5c
je 0x1400a8019
lea rdx, [0x140160230]
mov rcx, rdi
call sub.msvcrt.dll_wcscat
lea r8, [rsp + 0x68]
mov edx, 0x11
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor edx, edx
mov r9d, ebx
lea r8, [rsp + 0x70]
test eax, eax
jne 0x1400a809f
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x14064d1dc]
mov rcx, qword [rsp + 0x68]
test rax, rax
lea r8, [rsp + 0x70]
mov r9d, ebx
cmovne edx, dword [rsp + 0x78]
mov dword [rsp + 0x20], 0x208
mov dword [0x14064d1dc], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400a8092
lea rdx, [rbp - 0x80]
lea rcx, [0x14064cfd0]
call sub.msvcrt.dll_wcscpy
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400a80fc
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x14064d1dc]
lea r8, [rsp + 0x70]
test rax, rax
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov r9d, ebx
cmovne edx, dword [rsp + 0x78]
mov dword [rsp + 0x20], 0x200
mov dword [0x14064d1dc], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400a80fc
lea rdx, [rbp - 0x80]
lea rcx, [0x14064cfd0]
call sub.msvcrt.dll_wcscpy
mov ebx, 0x140
lea rcx, [0x14064ca70]
xor edx, edx
mov r8d, ebx
call sub.msvcrt.dll_memset
lea rax, [0x1400a64a4]
lea rcx, str.shell32.dll
mov qword [0x14064ca78], rax
lea rax, [0x1400a6aa0]
mov dword [0x14064ca70], 0x18
mov qword [0x14064ca80], rax
lea rax, [fcn.1400a7420]
mov dword [0x14064ca74], ebx
mov qword [0x14064caa0], rax
lea rax, [0x1400a6bf8]
mov qword [0x14064ca98], rax
lea rax, [0x1400a6b84]
mov qword [0x14064ca88], rax
lea rax, [0x1400a6b1c]
mov qword [0x14064cb60], rax
lea rax, [0x1400a7394]
mov qword [0x14064cb58], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x14064ca60], 1
mov qword [0x14064d1f8], rax
cmp qword [0x14064d1e8], r12
jne 0x1400a81f0
mov rcx, qword [r14]
mov qword [0x14064d1e8], rcx
jmp 0x1400a81c7
call qword [sym.imp.USER32.dll_GetParent]
mov qword [0x14064d1e8], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x14064d1e8]
test rax, rax
jne 0x1400a81b7
lea r8, [0x1400a6c84]
lea edx, [rax - 4]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x14064d1f0], rax
mov esi, dword [rbp + 0x4b0]
mov edi, 0x50010000
bt esi, 0x18
lea eax, [rdi + 0x20]
cmovb edi, eax
bt esi, 0x1a
jb 0x1400a820e
or edi, 2
bt esi, 0x1b
jb 0x1400a8217
or edi, 1
mov eax, 0x200
lea r9, [rbp + 0x4a0]
lea r8, [rbp + 0x498]
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x488]
bt esi, 0x14
mov ebx, r12d
cmovae ebx, eax
call fcn.1400b6298
mov rax, qword [0x1405d1728]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rax
or qword [rsp + 0x48], 0xffffffffffffffff
mov rax, qword [r14]
lea rdx, str.SysTreeView32
mov r9d, edi
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x4a0]
xor r8d, r8d
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x498]
mov ecx, ebx
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0x490]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x488]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, qword [0x1405d1720]
mov edx, 8
mov r8d, 0x238
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test r14, r14
je 0x1400a838e
test rax, rax
je 0x1400a838e
mov r9, qword [0x14064cbb8]
xor r8d, r8d
mov edx, 0x1109
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, 4
mov edx, 0x112c
mov r9d, r8d
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [0x1400a6190]
mov edx, 0xfffffffc
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x14064f180]
mov rdx, r15
mov qword [0x14064cbb0], rax
call fcn.1400d03c8
lea rcx, [rbx + 0x10]
or qword [rax + 0x28], 0xffffffffffffffff
mov qword [rax + 0x20], rbx
lea rdx, [0x140160218]
mov qword [rbx], r14
mov dword [rbx + 0xc], esi
mov dword [rbx + 8], r15d
mov rdi, rax
call sub.msvcrt.dll_wcscpy
lea r9, [0x14064ca70]
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.1400ae8d4
lea rdx, [0x140148d14]
mov rcx, rdi
mov rbx, rax
call fcn.1400a7420
mov rdx, qword [rbp + 0x4a8]
mov rcx, rdi
call fcn.1400a7420
mov rax, rbx
jmp 0x1400a8390
xor eax, eax
add rsp, 0x540
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret