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

Disassembly:
sub esp, 0x4c0
push ebx
push ebp
push esi
push edi
push dword [0x6c7ea8]
call fcn.0052d287
xor edi, edi
mov ebp, eax
cmp dword [0x6c4d10], edi
jne 0x50d133
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.00512989
call fcn.00514100
push edi
call fcn.00513d7e
push 1
mov dword [0x6c6010], eax
call fcn.00513d7e
push str.My_Documents
push 0x6c4dc8
mov dword [0x6c4dc4], eax
call sub.MSVCRT.dll_wcscpy
push 0x5de1a8
push 0x6c51d8
call sub.MSVCRT.dll_wcscpy
push str.Size
push 0x6c53e0
call sub.MSVCRT.dll_wcscpy
push 0x5de1c0
push 0x6c55e8
call sub.MSVCRT.dll_wcscpy
push str.Attributes
push 0x6c57f0
call sub.MSVCRT.dll_wcscpy
push str.Created
push 0x6c59f8
call sub.MSVCRT.dll_wcscpy
push str.Modified
push 0x6c5c00
call sub.MSVCRT.dll_wcscpy
push str.Accessed
push 0x6c5e08
call sub.MSVCRT.dll_wcscpy
add esp, 0x40
xor eax, eax
mov word [esp + 0x2c8], ax
lea eax, [esp + 0x2c8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [esp + 0x14]
push 0x4001
mov ebx, 0x2b4
push ebx
push eax
push edi
lea eax, [esp + 0x2d8]
push eax
call esi
test eax, eax
je 0x50cec4
mov eax, dword [esp + 0x18]
mov dword [0x6c4d14], eax
lea eax, [esp + 0x10]
push eax
push 5
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x50cfb4
push 0x6c4fd0
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x6bda84], eax
test eax, eax
je 0x50cfa8
push 0x4009
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x50cf3a
push 0x4001
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x50cf3a
push 0x4001
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
push 0x6c4fd0
call esi
test eax, eax
je 0x50cf45
mov eax, dword [esp + 0x18]
mov dword [0x6c4d18], eax
jmp 0x50cf4b
mov dword [0x6bda84], edi
push 0x208
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
push dword [esp + 0x20]
call esi
test eax, eax
jne 0x50cf8f
push 0x200
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call esi
test eax, eax
jne 0x50cf8f
push 0x200
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
push 0x6c4fd0
call esi
test eax, eax
je 0x50cfa2
lea eax, [esp + 0x20]
push eax
push 0x6c4dc8
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
jmp 0x50cfa8
mov dword [0x6bda84], edi
push dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x50cfba
mov dword [0x6bda84], edi
push 0x6c4fd0
call sub.MSVCRT.dll_wcslen
pop ecx
cmp word [eax*2 + 0x6c4fce], 0x5c
je 0x50cfe1
push 0x5ddea0
push 0x6c4fd0
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x6c6020], eax
test eax, eax
je 0x50d047
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
mov ebx, 0x104
push ebx
push 0x6c51d8
push 0x2310
push eax
call esi
push ebx
push 0x6c53e0
push 0x2312
push dword [0x6c6020]
call esi
push ebx
push 0x6c55e8
push 0x2313
push dword [0x6c6020]
call esi
push ebx
push 0x6c5c00
push 0x2314
push dword [0x6c6020]
call esi
mov esi, 0xa4
push esi
push edi
push 0x6c4d20
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6c4d20], 0x17
mov dword [0x6c4d24], esi
mov dword [0x6c4d28], 0x50c224
mov dword [0x6c4d2c], 0x50c994
mov dword [0x6c4d3c], 0x50d5d7
mov dword [0x6c4d38], 0x50cc27
mov dword [0x6c4d30], 0x50cc0f
mov dword [0x6c4d54], 0x50c6fb
mov dword [0x6c4d58], 0x50ca61
mov dword [0x6c4d5c], 0x50d51f
mov dword [0x6c4d60], 0x50cabd
mov dword [0x6c4d64], 0x50d568
mov dword [0x6c4d48], 0x50d3da
mov dword [0x6c4d80], 0x50c0c4
mov dword [0x6c4d84], 0x50d38d
mov dword [0x6c4d98], 0x50d455
mov dword [0x6c4d9c], 0x50ca0b
mov dword [0x6c4d8c], 0x50d3f4
mov dword [0x6c4d88], 0x50c9cf
mov dword [0x6c4d94], 0x50d4f8
mov dword [0x6c4d90], 0x50ca3f
mov dword [0x6c4d10], 1
cmp dword [0x6c6014], edi
jne 0x50d172
mov eax, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x50d14e
push dword [0x6c6014]
call esi
push eax
mov dword [0x6c6014], eax
call esi
test eax, eax
jne 0x50d146
push 0x50cc50
push 0xfffffffffffffffc
push dword [0x6c6014]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [0x6c6018], eax
mov ebx, dword [esp + 0x4ec]
mov esi, 0x50010141
test ebx, 0x1000000
je 0x50d189
add esi, 8
test ebx, 0x200000
jne 0x50d194
or esi, 4
test bl, 0x20
je 0x50d19f
or esi, 0x8000
test ebx, 0x100000
jne 0x50d1ac
mov edi, 0x200
lea eax, [esp + 0x4e4]
push eax
lea eax, [esp + 0x4e4]
push eax
lea eax, [esp + 0x4e4]
push eax
lea eax, [esp + 0x4e4]
push eax
call fcn.00518488
push 0
push dword [0x6c2524]
push 0xffffffffffffffff
push dword [ebp]
push dword [esp + 0x4f4]
push dword [esp + 0x4f4]
push dword [esp + 0x4f4]
push dword [esp + 0x4f4]
push esi
push 0
push str.SysListView32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x22f4
push 8
push dword [0x6c2520]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test edi, edi
je 0x50d37e
test ebp, ebp
je 0x50d37e
cmp dword [0x6bda80], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x50d261
push 0
push 0
push 0x1023
push edi
call esi
push 0
push 0
push 0x1000
push edi
mov dword [0x6bda80], eax
call esi
mov dword [0x6c601c], eax
push dword [0x6c4dc4]
push 1
push 0x1003
push edi
call esi
push dword [0x6c6010]
push 0
push 0x1003
push edi
call esi
mov eax, 0x10000
test ebx, 0x400000
je 0x50d28f
inc eax
test ebx, 0x800000
je 0x50d29a
or eax, 0x10
test ebx, 0x2000000
je 0x50d2a5
or eax, 0x20
push eax
push eax
push 0x1036
push edi
call esi
push 0x50c713
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [esp + 0x4d4]
mov dword [0x6c6024], eax
push dword [0x6c7ea4]
call fcn.0052d8e3
mov esi, eax
mov eax, dword [esp + 0x4d4]
or dword [esi + 0x14], 0xffffffff
or dword [esi + 0x18], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x10], ebp
mov dword [ebp], edi
mov dword [ebp + 8], ebx
mov dword [ebp + 4], eax
test bl, 0x40
je 0x50d30b
and dword [ebp + 0x22f0], 0
mov dword [ebp + 0x22ec], 1
lea eax, [ebp + 0x214]
push 0x5ddfdc
push eax
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
push 0x6c4d20
push edi
push esi
push dword [esp + 0x4e0]
call fcn.00512b57
push 0x96
push str.PB_Explorer_Column_Name
or ebx, 0xffffffff
mov edi, eax
push ebx
push esi
call fcn.0050c0c4
push 0x50
push str.PB_Explorer_Column_Size
push ebx
push esi
call fcn.0050c0c4
push 0x50
push str.PB_Explorer_Column_Type
push ebx
push esi
call fcn.0050c0c4
push 0x50
push str.PB_Explorer_Column_Modified
push ebx
push esi
call fcn.0050c0c4
push dword [esp + 0x4e8]
push esi
call fcn.0050d5d7
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c0
ret 0x1c