Function at 0x4a06e4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x168], eax
xor eax, eax
push ebp
push 0x4a0962
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
mov ecx, 0x10
mov dl, 1
mov eax, dword [0x43e098]
call fcn.004514e4
mov dword [0x585a88], eax
push 0x20
mov ecx, 0x20
mov dl, 1
mov eax, dword [0x43e098]
call fcn.004514e4
mov dword [0x585a8c], eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
lea eax, [ebp - 0x168]
call fcn.004a0698
mov eax, dword [ebp - 0x168]
call fcn.0040404c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, eax
mov eax, dword [0x585a8c]
call fcn.00451808
mov eax, dword [0x585a8c]
mov byte [eax + 0x36], 1
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
lea eax, [ebp - 0x168]
call fcn.004a0698
mov eax, dword [ebp - 0x168]
call fcn.0040404c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, eax
mov eax, dword [0x585a88]
call fcn.00451808
mov eax, dword [0x585a88]
mov byte [eax + 0x36], 1
mov eax, dword [0x582064]
cmp dword [eax], 2
jne 0x4a0949
mov eax, dword [0x581884]
cmp dword [eax + 4], 0x40047
jl 0x4a0949
push 0x4a0970
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a0949
xor eax, eax
push ebp
push 0x4a0942
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
lea eax, [ebp - 0x168]
call fcn.004a0698
mov eax, dword [ebp - 0x168]
call fcn.0040404c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov esi, eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
lea eax, [ebp - 0x168]
call fcn.004a0698
mov eax, dword [ebp - 0x168]
call fcn.0040404c
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edi, eax
push 0x8000
push 0x10
push 0x10
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, esi
call fcn.004231c4
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1d
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 1
mov edx, ebx
mov eax, edi
call fcn.004231c4
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x10
push 0x10
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, esi
call fcn.004231c4
push eax
push esi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
push 0x8000
push 0x20
push 0x20
push 1
push 0x1e
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_LoadImageA
mov ebx, eax
push 2
mov edx, ebx
mov eax, edi
call fcn.004231c4
push eax
push edi
call sub.comctl32.dll_ImageList_SetOverlayImage
push ebx
call sub.user32.dll_DestroyIcon
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0949
cmp dword [ebp - 4], 0
je 0x4a0941
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0969
lea eax, [ebp - 0x168]
call fcn.00403c0c
ret