Function at 0x49df0c
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.00404570
xor eax, eax
push ebp
push 0x49e235
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x49e1e7
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.00404918
mov eax, dword [ebp - 0x17c]
call fcn.0049cde8
mov esi, eax
lea eax, [ebp - 0x10]
push eax
push esi
mov eax, ebx
call fcn.0045d380
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.004071b8
test eax, eax
je 0x49dfba
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 0x49e194
mov eax, dword [ebp - 4]
call fcn.0049c9fc
test al, al
jne 0x49dff3
lea eax, [ebp - 0x180]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004045e0
mov eax, dword [ebp - 0x180]
mov edx, 0x49e250
call fcn.00408688
test eax, eax
jne 0x49e01c
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
mov eax, dword [ebp - 4]
call fcn.00404580
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x49e194
mov eax, dword [ebp - 4]
call fcn.0049c9d8
test al, al
je 0x49e04e
push 0x4011
push 0x2000
lea eax, [ebp - 0x178]
push eax
push 0x10
mov eax, dword [ebp - 4]
call fcn.00404580
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x49e194
cmp dword [ebp - 4], 0
je 0x49e194
lea eax, [ebp - 0x184]
mov edx, dword [ebp - 4]
call fcn.00404918
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x14]
call fcn.0049ca20
mov eax, dword [ebp - 0x14]
mov edx, 0x49e260
call fcn.004044cc
jne 0x49e170
mov eax, ebx
call fcn.0044e194
test al, al
jne 0x49e0d4
cmp byte [ebx + 0x338], 0
je 0x49e0d4
mov eax, ebx
call fcn.0049e4f8
inc eax
jle 0x49e0d4
mov eax, ebx
call fcn.0049e4f8
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.00403ba8
jmp 0x49e1ee
cmp byte [ebx + 0x344], 0
je 0x49e12a
mov eax, dword [0x4ac648]
mov eax, dword [eax]
mov esi, dword [eax + 0x98]
cmp word [ebx + 0x2fa], 0
je 0x49e106
push esi
lea ecx, [ebp - 0x15]
mov edx, ebx
mov eax, dword [ebx + 0x2fc]
call dword [ebx + 0x2f8]
cmp byte [ebp - 0x15], 0
jne 0x49e194
mov eax, dword [ebx + 0x2e0]
mov edx, esi
call fcn.0046407c
mov edx, eax
mov dword [ebp - 0x174], edx
mov dword [ebp - 8], edx
jmp 0x49e194
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
push 0x49e268
call sub.shell32.dll_SHGetFileInfoA
cmp word [ebx + 0x30a], 0
je 0x49e194
mov eax, dword [ebp - 0x178]
push eax
mov ecx, 0x49e278
mov edx, ebx
mov eax, dword [ebx + 0x30c]
call dword [ebx + 0x308]
jmp 0x49e194
push 0x4011
push 0x160
lea eax, [ebp - 0x178]
push eax
push 0x80
mov eax, dword [ebp - 0x14]
call fcn.00404580
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 0x49e1ee
xor eax, eax
push ebp
push 0x49e1d2
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 0x49e1d9
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e23c
lea eax, [ebp - 0x184]
call fcn.004047cc
lea eax, [ebp - 0x180]
call fcn.004040c0
lea eax, [ebp - 0x17c]
call fcn.004047cc
lea eax, [ebp - 0x14]
call fcn.004040c0
lea eax, [ebp - 0xc]
call fcn.00405cc8
lea eax, [ebp - 4]
call fcn.004040c0
ret