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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54800b
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x58a710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00404730
mov ecx, eax
test ecx, ecx
jne 0x4f4f35
push 0x80004005
call fcn.004049a0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x174], esi
push 4
push 0
push 0x21
push 0x10
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x188], 0x11
mov dword [ebp - 0x184], 0x24
mov dword [ebp - 0x180], 0xf7
mov dword [ebp - 0x17c], 0xf8
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebx + 0x274], eax
test eax, eax
je 0x4f51f8
xor esi, esi
mov edi, dword [ebp + esi*4 - 0x188]
lea eax, [ebp - 0x178]
push eax
push edi
push dword [ebx + 4]
mov dword [ebp - 0x178], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4f504c
push 0x160
lea eax, [ebp - 0x170]
push 0
push eax
call fcn.0051d400
add esp, 0xc
lea eax, [ebp - 0x170]
push 0x309
push 0x160
push eax
push 0
push dword [ebp - 0x178]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x4f5016
push eax
push 0xffffffffffffffff
push dword [ebx + 0x274]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push dword [ebp - 0x170]
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp edi, 0x11
jne 0x4f5040
lea eax, [ebp - 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f5024
sub eax, edx
lea ecx, [ebp - 0x174]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00405640
push dword [ebp - 0x178]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
inc esi
cmp esi, 2
jb 0x4f4f92
push 4
push 0
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebx + 0x278], eax
test eax, eax
je 0x4f51f2
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x180]
movzx eax, ax
push eax
push dword [0x594b00]
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
test esi, esi
je 0x4f50b3
push esi
push 0xffffffffffffffff
push dword [ebx + 0x278]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
inc edi
cmp edi, 2
jb 0x4f5080
push dword [ebx + 0x274]
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebx + 0x260]
call fcn.0044c130
push 0
push dword [ebx + 0x274]
lea edi, [ebx + 0x21c]
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x184], edi
push eax
mov ecx, edi
call fcn.0044c160
push 1
push dword [ebx + 0x278]
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebx + 0x220]
call fcn.00440d70
mov ecx, ebx
call fcn.004f9410
push 0x30
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.0051d400
mov esi, dword [ebp - 0x174]
lea eax, [ebp - 0x1bc]
add esp, 0xc
mov dword [ebp - 0x1a4], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x1bc], 0xffff0000
mov dword [ebp - 0x1b8], 0xffff0002
push eax
push 0
push 0x1100
push dword [edi]
mov dword [ebp - 0x1b4], 0x23
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x190], 0
call esi
push 0
push 0
push 0x110a
push dword [edi]
mov dword [ebp - 0x17c], eax
call esi
mov esi, eax
xor edi, edi
push esi
push dword [edi + 0x589d00]
mov ecx, ebx
call fcn.004f48b0
add edi, 4
cmp edi, 0x14
jb 0x4f51b2
mov ebx, dword [ebp - 0x17c]
mov esi, dword [ebp - 0x184]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 2
push 0x1102
push dword [esi]
call edi
push ebx
push 9
push 0x110b
push dword [esi]
call edi
mov esi, dword [ebp - 0x174]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4f5217
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005193a0
mov esp, ebp
pop ebp
ret