Function at 0x1400c3770
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 [0x14090aa00]
call fcn.1400eeac8
xor r12d, r12d
cmp dword [0x140907f80], r12d
mov r14, rax
jne 0x1400c3b4a
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
call fcn.1400cc8f4
lea ecx, [r12 + 1]
call fcn.1400cc4cc
mov qword [0x1409080d8], rax
test rax, rax
je 0x1400c3d36
lea rsi, [0x1409080e0]
lea rdx, str.My_Documents
mov rcx, rsi
call sub.msvcrt.dll_wcscpy
lea rdx, str.My_Computer
lea rcx, [0x1409084f0]
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 [0x140908704]
lea r8, [rsp + 0x60]
test rax, rax
lea edx, [r12 + 5]
cmovne ecx, dword [rsp + 0x78]
mov dword [0x140908704], ecx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea rdi, [0x1409082e8]
test eax, eax
jne 0x1400c3998
mov rcx, qword [rsp + 0x60]
mov rdx, rdi
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x1408863a0], eax
test eax, eax
je 0x1400c398b
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 0x1400c38fd
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 0x1400c38fd
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 0x1400c3909
mov eax, dword [rsp + 0x78]
mov dword [0x1409086f8], eax
jmp 0x1400c3910
mov dword [0x1408863a0], 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 0x1400c3976
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 0x1400c3976
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 0x1400c3984
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.msvcrt.dll_wcscpy
jmp 0x1400c398b
mov dword [0x1408863a0], r12d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400c399f
mov dword [0x1408863a0], r12d
mov rcx, rdi
call sub.msvcrt.dll_wcslen
cmp word [rsi + rax*2 + 0x206], 0x5c
je 0x1400c39c1
lea rdx, [0x1401b3b00]
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 0x1400c3a47
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x20], 0x4009
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x1409086fc]
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 [0x1409086fc], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400c3a3a
lea rdx, [rbp - 0x80]
lea rcx, [0x1409084f0]
call sub.msvcrt.dll_wcscpy
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400c3aa4
lea rcx, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
mov dword [rsp + 0x20], 0x4001
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edx, dword [0x1409086fc]
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 [0x1409086fc], edx
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x1400c3aa4
lea rdx, [rbp - 0x80]
lea rcx, [0x1409084f0]
call sub.msvcrt.dll_wcscpy
mov ebx, 0x140
lea rcx, [0x140907f90]
xor edx, edx
mov r8d, ebx
call sub.msvcrt.dll_memset
lea rax, [0x1400c1e4c]
lea rcx, [0x1401b3d98]
mov qword [0x140907f98], rax
lea rax, [0x1400c2448]
mov dword [0x140907f90], 0x18
mov qword [0x140907fa0], rax
lea rax, [fcn.1400c2dc8]
mov dword [0x140907f94], ebx
mov qword [0x140907fc0], rax
lea rax, [0x1400c25a0]
mov qword [0x140907fb8], rax
lea rax, [0x1400c252c]
mov qword [0x140907fa8], rax
lea rax, [0x1400c24c4]
mov qword [0x140908080], rax
lea rax, [0x1400c2d3c]
mov qword [0x140908078], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x140907f80], 1
mov qword [0x140908718], rax
cmp qword [0x140908708], r12
jne 0x1400c3b98
mov rcx, qword [r14]
mov qword [0x140908708], rcx
jmp 0x1400c3b6f
call qword [sym.imp.USER32.dll_GetParent]
mov qword [0x140908708], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, qword [0x140908708]
test rax, rax
jne 0x1400c3b5f
lea r8, [0x1400c262c]
lea edx, [rax - 4]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov qword [0x140908710], rax
mov esi, dword [rbp + 0x4b0]
mov edi, 0x50010000
bt esi, 0x18
lea eax, [rdi + 0x20]
cmovb edi, eax
bt esi, 0x1a
jb 0x1400c3bb6
or edi, 2
bt esi, 0x1b
jb 0x1400c3bbf
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.1400d2d84
mov rax, qword [0x14088c670]
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 [0x14088c668]
mov edx, 8
mov r8d, 0x238
mov r14, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test r14, r14
je 0x1400c3d36
test rax, rax
je 0x1400c3d36
mov r9, qword [0x1409080d8]
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, [0x1400c1b38]
mov edx, 0xfffffffc
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [0x14090a9c0]
mov rdx, r15
mov qword [0x1409080d0], rax
call fcn.1400ef3f8
lea rcx, [rbx + 0x10]
or qword [rax + 0x28], 0xffffffffffffffff
mov qword [rax + 0x20], rbx
lea rdx, [0x1401b3ae8]
mov qword [rbx], r14
mov dword [rbx + 0xc], esi
mov dword [rbx + 8], r15d
mov rdi, rax
call sub.msvcrt.dll_wcscpy
lea r9, [0x140907f90]
mov r8, r14
mov rdx, rdi
mov rcx, r15
call fcn.1400cadec
lea rdx, [0x14019c58c]
mov rcx, rdi
mov rbx, rax
call fcn.1400c2dc8
mov rdx, qword [rbp + 0x4a8]
mov rcx, rdi
call fcn.1400c2dc8
mov rax, rbx
jmp 0x1400c3d38
xor eax, eax
add rsp, 0x540
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret