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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040481c
xor eax, eax
push ebp
push 0x4cff89
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x4cff3b
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetMalloc
lea eax, [ebp - 0x17c]
mov edx, dword [ebp - 4]
call fcn.00404bcc
mov eax, dword [ebp - 0x17c]
call fcn.004ceb60
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, ebx
call fcn.0046cab8
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00407684
test eax, eax
je 0x4cfd0e
push 0x108
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x4cfee8
mov eax, dword [ebp - 4]
call fcn.004ce774
test al, al
jne 0x4cfd47
lea eax, [ebp - 0x180]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040488c
mov eax, dword [ebp - 0x180]
mov edx, 0x4cffa4
call fcn.00408b6c
test eax, eax
jne 0x4cfd70
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.0040482c
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x4cfee8
mov eax, dword [ebp - 4]
call fcn.004ce750
test al, al
je 0x4cfda2
push 0x4011
push 0x2000
lea eax, [ebp - 0x178]
push eax
push 0x10
mov eax, dword [ebp - 4]
call fcn.0040482c
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x4cfee8
cmp dword [ebp - 4], 0
je 0x4cfee8
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 4]
call fcn.00404bcc
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x14]
call fcn.004ce798
mov eax, dword [ebp - 0x14]
mov edx, 0x4cffb4
call fcn.00404778
jne 0x4cfec4
mov eax, ebx
call fcn.0045cef4
test al, al
jne 0x4cfe28
cmp byte [ebx + 0x338], 0
je 0x4cfe28
mov eax, ebx
call fcn.004d024c
inc eax
jle 0x4cfe28
mov eax, ebx
call fcn.004d024c
mov esi, eax
mov dword [ebp - 0x174], esi
mov dword [ebp - 8], esi
push esi
call sub.user32.dll_DestroyIcon
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
call fcn.00403db0
jmp 0x4cff42
cmp byte [ebx + 0x344], 0
je 0x4cfe7e
mov eax, dword [0x4f14ec]
mov eax, dword [eax]
mov esi, dword [eax + 0x98]
cmp word [ebx + 0x2fa], 0
je 0x4cfe5a
push esi
lea ecx, [ebp - 0x15]
mov edx, ebx
mov eax, dword [ebx + 0x2fc]
call dword [ebx + 0x2f8]
cmp byte [ebp - 0x15], 0
jne 0x4cfee8
mov eax, dword [ebx + 0x2e0]
mov edx, esi
call fcn.004736ac
mov edx, eax
mov dword [ebp - 0x174], edx
mov dword [ebp - 8], edx
jmp 0x4cfee8
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
push 0x4cffbc
call sub.shell32.dll_SHGetFileInfoA
cmp word [ebx + 0x30a], 0
je 0x4cfee8
mov eax, dword [ebp - 0x178]
push eax
mov ecx, 0x4cffcc
mov edx, ebx
mov eax, dword [ebx + 0x30c]
call dword [ebx + 0x308]
jmp 0x4cfee8
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
mov eax, dword [ebp - 0x14]
call fcn.0040482c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x174]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cff42
xor eax, eax
push ebp
push 0x4cff26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x174]
push eax
call sub.user32.dll_DestroyIcon
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cff2d
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cff90
lea eax, [ebp - 0x184]
call fcn.00404a78
lea eax, [ebp - 0x180]
call fcn.0040436c
lea eax, [ebp - 0x17c]
call fcn.00404a78
lea eax, [ebp - 0x14]
call fcn.0040436c
lea eax, [ebp - 0xc]
call fcn.004060c8
lea eax, [ebp - 4]
call fcn.0040436c
ret