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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5417cb
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x583384]
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.00406110
mov ecx, eax
test ecx, ecx
jne 0x4ed635
push 0x80004005
call fcn.004063a0
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 0x4ed8f8
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 0x4ed74c
push 0x160
lea eax, [ebp - 0x170]
push 0
push eax
call fcn.00517590
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 0x4ed716
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 0x4ed740
lea eax, [ebp - 0x164]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ed724
sub eax, edx
lea ecx, [ebp - 0x174]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00407040
push dword [ebp - 0x178]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
inc esi
cmp esi, 2
jb 0x4ed692
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 0x4ed8f2
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp + edi*4 - 0x180]
movzx eax, ax
push eax
push dword [0x58d488]
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, eax
test esi, esi
je 0x4ed7b3
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 0x4ed780
push dword [ebx + 0x274]
lea eax, [ebp - 0x184]
push eax
lea ecx, [ebx + 0x260]
call fcn.0044b1b0
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.0044b1e0
push 1
push dword [ebx + 0x278]
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebx + 0x220]
call fcn.00440230
mov ecx, ebx
call fcn.004f1b90
push 0x30
lea eax, [ebp - 0x1b8]
push 0
push eax
call fcn.00517590
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 + 0x582a50]
mov ecx, ebx
call fcn.004ecfb0
add edi, 4
cmp edi, 0x14
jb 0x4ed8b2
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 0x4ed917
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.00513512
mov esp, ebp
pop ebp
ret