Function at 0x1400c02e0
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 [0x1408fe260]
call fcn.1400ea968
xor r12d, r12d
cmp dword [0x1408fb920], r12d
mov r14, rax
jne 0x1400c06ba
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
call fcn.1400c88f4
lea ecx, [r12 + 1]
call fcn.1400c84cc
mov qword [0x1408fba78], rax
test rax, rax
je 0x1400c08a6
lea rsi, [0x1408fba80]
lea rdx, str.My_Documents
mov rcx, rsi
call sub.msvcrt.dll_wcscpy
lea rdx, str.My_Computer
lea rcx, [0x1408fbe90]
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 [0x1408fc0a4]
lea r8, [rsp + 0x60]
test rax, rax
lea edx, [r12 + 5]
cmovne ecx, dword [rsp + 0x78]
mov dword [0x1408fc0a4], ecx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea rdi, [0x1408fbc88]
test eax, eax
jne 0x1400c0508
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x140879bd0], eax
test eax, eax
je 0x1400c04fb
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 0x1400c046d
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 0x1400c046d
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 0x1400c0479
mov eax, dword [rsp + 0x78]
mov dword [0x1408fc098], eax
jmp 0x1400c0480
mov dword [0x140879bd0], r12d
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
mov r9d, ebx
xor edx, edx
mov dword [rsp + 0x20], RealDriveType
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
jne 0x1400c04e6
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 0x1400c04e6
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 0x1400c04f4
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.msvcrt.dll_wcscpy
jmp 0x1400c04fb
mov dword [0x140879bd0], r12d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400c050f
mov dword [0x140879bd0], r12d
mov rcx, rdi
call sub.msvcrt.dll_wcslen
cmp word [rsi + rax*2 + 0x206], 0x5c
je 0x1400c0531
lea rdx, [0x1401afb28]
mov rcx, rdi
call sub.msvcrt.dll_wcscat
lea r8, [rsp + 0x68]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElemsize
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
xor edx, edx
mov r9d, ebx
lea r8, [rsp + 0x70]
test eax, eax
jne 0x1400c05b7
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x1408fc09c]
mov rcx, qword [rsp + 0x68]
test rax, rax
lea r8, [rsp + 0x70]
mov r9d, ebx
cmovne edx, dword [rsp + 0x78]
mov dword [rsp + 0x20], RealDriveType
mov dword [0x1408fc09c], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400c05aa
lea rdx, [rbp - 0x80]
lea rcx, [0x1408fbe90]
call sub.msvcrt.dll_wcscpy
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400c0614
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x1408fc09c]
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 [0x1408fc09c], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400c0614
lea rdx, [rbp - 0x80]
lea rcx, [0x1408fbe90]
call sub.msvcrt.dll_wcscpy
mov ebx, 0x140
lea rcx, [0x1408fb930]
xor edx, edx
mov r8d, ebx
call sub.msvcrt.dll_memset
lea rax, [0x1400be9bc]
lea rcx, [0x1401afdb8]
mov qword [0x1408fb938], rax
lea rax, [0x1400befb8]
mov dword [0x1408fb930], 0x18
mov qword [0x1408fb940], rax
lea rax, [fcn.1400bf938]
mov dword [0x1408fb934], ebx
mov qword [0x1408fb960], rax
lea rax, [0x1400bf110]
mov qword [0x1408fb958], rax
lea rax, [0x1400bf09c]
mov qword [0x1408fb948], rax
lea rax, [0x1400bf034]
mov qword [0x1408fba20], rax
lea rax, [0x1400bf8ac]
mov qword [0x1408fba18], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1408fb920], 1
mov qword [0x1408fc0b8], rax
cmp qword [0x1408fc0a8], r12
jne 0x1400c0708
mov rcx, qword [r14]
mov qword [0x1408fc0a8], rcx
jmp 0x1400c06df
call qword [sym.imp.USER32.dll_GetParent]
mov qword [0x1408fc0a8], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x1408fc0a8]
test rax, rax
jne 0x1400c06cf
lea r8, [0x1400bf19c]
lea edx, [rax - 4]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x1408fc0b0], rax
mov esi, dword [rbp + 0x4b0]
mov edi, 0x50010000
bt esi, 0x18
lea eax, [rdi + 0x20]
cmovb edi, eax
bt esi, 0x1a
jb 0x1400c0726
or edi, 2
bt esi, 0x1b
jb 0x1400c072f
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.1400cec18
mov rax, qword [0x14087fea0]
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 [0x14087fe98]
mov edx, 8
mov r8d, 0x238
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test r14, r14
je 0x1400c08a6
test rax, rax
je 0x1400c08a6
mov r9, qword [0x1408fba78]
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, [0x1400be6a8]
mov edx, 0xfffffffc
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x1408fe220]
mov rdx, r15
mov qword [0x1408fba70], rax
call fcn.1400eb298
lea rcx, [rbx + 0x10]
or qword [rax + 0x28], 0xffffffffffffffff
mov qword [rax + 0x20], rbx
lea rdx, [0x1401afb10]
mov qword [rbx], r14
mov dword [rbx + 0xc], esi
mov dword [rbx + 8], r15d
mov rdi, rax
call sub.msvcrt.dll_wcscpy
lea r9, [0x1408fb930]
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.1400c6dec
lea rdx, [0x14019856c]
mov rcx, rdi
mov rbx, rax
call fcn.1400bf938
mov rdx, qword [rbp + 0x4a8]
mov rcx, rdi
call fcn.1400bf938
mov rax, rbx
jmp 0x1400c08a8
xor eax, eax
add rsp, 0x540
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret