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

Disassembly:
sub esp, 0x2d0
push ebx
push ebp
push esi
push edi
push dword [0x6c8ed8]
call fcn.0052e287
xor esi, esi
mov dword [esp + 0x18], eax
cmp dword [0x6c5460], esi
jne 0x50cf09
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
push 1
call fcn.00514d7e
push str.My_Documents
push 0x6c5468
mov dword [0x6c5c8c], eax
call sub.MSVCRT.dll_wcscpy
push str.My_Computer
push 0x6c5a80
call sub.MSVCRT.dll_wcscpy
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x20]
add esp, 0x10
push eax
push 5
push esi
call ebp
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ebx, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
jne 0x50cd98
push 0x6c5670
push dword [esp + 0x14]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [0x6c5c90], eax
test eax, eax
je 0x50cd90
push 0x4009
push 0x2b4
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x20]
call edi
test eax, eax
jne 0x50cd16
push 0x4001
push 0x2b4
lea eax, [esp + 0x34]
push eax
push esi
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call edi
test eax, eax
jne 0x50cd16
push 0x4001
push 0x2b4
lea eax, [esp + 0x34]
push eax
push esi
push 0x6c5670
call edi
test eax, eax
je 0x50cd21
mov eax, dword [esp + 0x30]
mov dword [0x6c5464], eax
jmp 0x50cd27
mov dword [0x6c5c90], esi
push 0x208
push 0x2b4
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x20]
call edi
test eax, eax
jne 0x50cd77
push 0x200
push 0x2b4
lea eax, [esp + 0x34]
push eax
push esi
push str.::450d8fba_ad25_11d0_98a8_0800361b1103
call edi
test eax, eax
jne 0x50cd77
push 0x200
push 0x2b4
lea eax, [esp + 0x34]
push eax
push esi
push 0x6c5670
call edi
test eax, eax
je 0x50cd8a
lea eax, [esp + 0x38]
push eax
push 0x6c5468
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
jmp 0x50cd90
mov dword [0x6c5c90], esi
push dword [esp + 0x10]
call ebx
jmp 0x50cd9e
mov dword [0x6c5c90], esi
push 0x6c5670
call sub.MSVCRT.dll_wcslen
pop ecx
cmp word [eax*2 + 0x6c566e], 0x5c
je 0x50cdc5
push 0x5deea0
push 0x6c5670
call sub.MSVCRT.dll_wcscat
pop ecx
pop ecx
push 0x6c5670
mov esi, 0x6c5878
push esi
call sub.MSVCRT.dll_wcscpy
cmp word [0x6c5878], 0
pop ecx
pop ecx
je 0x50cdfe
xor ebp, ebp
movzx eax, word [esi]
push eax
call sub.MSVCRT.dll_tolower
mov word [esi], ax
lea esi, [esi + 2]
pop ecx
cmp word [esi], bp
jne 0x50cde3
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [esp + 0x14]
xor esi, esi
push eax
push 0x11
push esi
call ebp
test eax, eax
lea eax, [esp + 0x2c]
jne 0x50ce61
push 0x4009
mov ebp, 0x2b4
push ebp
push eax
push esi
push dword [esp + 0x24]
call edi
test eax, eax
je 0x50ce32
mov eax, dword [esp + 0x30]
mov dword [0x6c5c88], eax
push 0x208
push ebp
lea eax, [esp + 0x34]
push eax
push esi
push dword [esp + 0x24]
call edi
test eax, eax
je 0x50ce59
lea eax, [esp + 0x38]
push eax
push 0x6c5a80
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
push dword [esp + 0x14]
call ebx
jmp 0x50cea7
push 0x4001
mov ebx, 0x2b4
mov ebp, str.::20D04FE0_3AEA_1069_A2D8_08002B30309D
push ebx
push eax
push esi
push ebp
call edi
test eax, eax
je 0x50ce83
mov eax, dword [esp + 0x30]
mov dword [0x6c5c88], eax
push 0x200
push ebx
lea eax, [esp + 0x34]
push eax
push esi
push ebp
call edi
test eax, eax
je 0x50cea7
lea eax, [esp + 0x38]
push eax
push 0x6c5a80
call sub.MSVCRT.dll_wcscpy
pop ecx
pop ecx
mov esi, 0xa4
xor eax, eax
push esi
push eax
push 0x6c5c98
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [0x6c5c98], 0x19
mov dword [0x6c5c9c], esi
mov dword [0x6c5ca0], 0x50c33b
mov dword [0x6c5ca4], 0x50c4fc
mov dword [0x6c5cb4], 0x50c581
mov dword [0x6c5cb0], 0x50c514
mov dword [0x6c5cc8], 0x50c53b
mov dword [0x6c5460], 1
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x2f4]
push eax
and edi, 0x100
lea eax, [esp + 0x2f4]
push eax
mov esi, edi
lea eax, [esp + 0x2f4]
neg esi
push eax
sbb esi, esi
lea eax, [esp + 0x2f4]
and esi, 0xfffeffff
push eax
add esi, 0x50010003
call fcn.00519488
xor eax, eax
push eax
push dword [0x6c3554]
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push dword [eax]
push 0x15e
push dword [esp + 0x304]
push dword [esp + 0x304]
push dword [esp + 0x304]
push esi
xor esi, esi
push esi
push str.ComboBoxEx32
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x50d0b5
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
je 0x50d00c
push esi
push esi
push 0x407
push ebx
call ebp
mov edi, eax
mov eax, dword [0x6c5c94]
test eax, eax
jne 0x50cfdc
push str.shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x50cfd3
push str.SHAutoComplete
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6c5c94], eax
jmp 0x50cfd8
mov eax, dword [0x6c5c94]
test eax, eax
je 0x50cfe1
push 1
push edi
call eax
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x50c275
push 0xfffffffffffffffc
push edi
call esi
push 0xfffffffffffffff0
push edi
mov dword [0x6c5d3c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x10000
push eax
push 0xfffffffffffffff0
push edi
call esi
xor esi, esi
push dword [0x6c5c8c]
push esi
push 0x402
push ebx
call ebp
push dword [esp + 0x2e4]
push dword [0x6c8ed4]
call fcn.0052e8e3
mov esi, eax
mov eax, dword [esp + 0x2fc]
push 0x208
push 8
mov dword [esi + 0x10], eax
push dword [0x6c3550]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0x6c5c98
push ebx
push esi
push dword [esp + 0x2f0]
mov dword [esi + 0x14], eax
call fcn.00513b57
or dword [0x6bea6c], 0xffffffff
mov edi, 0x153
push 0xf
push 0xffffffffffffffff
push edi
push dword [esi]
mov ebx, eax
call ebp
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2f4]
sub ecx, 0xf
sub eax, ecx
mov dword [0x6bea6c], ecx
push eax
push 0xffffffffffffffff
push edi
push dword [esi]
call ebp
push dword [esp + 0x2f8]
push esi
call fcn.0050c581
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x2d0
ret 0x1c