Function at 0x4ce040
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 0x4ce2be
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
mov ecx, 0x10
mov dl, 1
mov eax, dword [0x451b4c]
call fcn.00464fb8
mov dword [0x5c0c74], eax
push 0x20
mov ecx, 0x20
mov dl, 1
mov eax, dword [0x451b4c]
call fcn.00464fb8
mov dword [0x5c0c78], eax
push 0x4000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
lea eax, [ebp - 0x168]
call fcn.004cdff4
mov eax, dword [ebp - 0x168]
call fcn.004040dc
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, eax
mov eax, dword [0x5c0c78]
call fcn.004652dc
mov eax, dword [0x5c0c78]
mov byte [eax + 0x36], 1
push 0x4001
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
lea eax, [ebp - 0x168]
call fcn.004cdff4
mov eax, dword [ebp - 0x168]
call fcn.004040dc
push eax
call sub.shell32.dll_SHGetFileInfoA
mov edx, eax
mov eax, dword [0x5c0c74]
call fcn.004652dc
mov eax, dword [0x5c0c74]
mov byte [eax + 0x36], 1
mov eax, dword [0x5bc2d0]
cmp dword [eax], 2
jne 0x4ce2a5
mov eax, dword [0x5bbab4]
cmp dword [eax + 4], 0x40047
jl 0x4ce2a5
push 0x4ce2cc
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ce2a5
xor eax, eax
push ebp
push 0x4ce29e
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.004cdff4
mov eax, dword [ebp - 0x168]
call fcn.004040dc
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.004cdff4
mov eax, dword [ebp - 0x168]
call fcn.004040dc
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.00436cf4
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.00436cf4
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.00436cf4
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.00436cf4
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 0x4ce2a5
cmp dword [ebp - 4], 0
je 0x4ce29d
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 0x4ce2c5
lea eax, [ebp - 0x168]
call fcn.00403c9c
ret