Function at 0x5caabc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd18
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x20]
call fcn.00406d3c
xor eax, eax
push ebp
push 0x5cace0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0x20]
call fcn.00404bc4
mov esi, eax
lea eax, [ebp - 0x2d8]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00404b28
cmp dword [ebp + 0x20], 0
je 0x5cab79
cmp dword [ebp - 0x10], 0
je 0x5cab79
mov dl, 1
mov eax, dword [ebp + 0x20]
call fcn.0041f53c
test al, al
jne 0x5cab2f
mov eax, dword [ebp + 0x20]
call fcn.005caa94
test al, al
je 0x5cab52
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d8]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00407a50
push eax
call sub.shell32.dll_SHGetFileInfoW
jmp 0x5cab73
push 0x4010
push 0x2b4
lea eax, [ebp - 0x2d8]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.00407a50
push eax
call sub.shell32.dll_SHGetFileInfoW
mov esi, dword [ebp - 0x2d4]
cmp byte [ebp + 0x1c], 0
je 0x5caba0
push 0x4000
push 0x2b4
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0x5cacf0
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
jmp 0x5cabbf
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2d8]
push eax
push 0
push 0x5cacf0
call sub.shell32.dll_SHGetFileInfoW
mov edi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call sub.comctl32.dll_ImageList_GetIconSize
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
test bl, bl
je 0x5cac0b
cmp byte [ebp + 0x14], 0
jne 0x5cac0b
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0047208c
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
test byte [ebp + 0x14], bl
je 0x5cacca
mov dl, 1
mov eax, dword [0x46d9cc]
call fcn.00477308
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x5cacc3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00477c28
call fcn.0047208c
push eax
push esi
push edi
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2e4], eax
fild dword [ebp - 0x14]
fmul qword [ebp + 0xc]
call fcn.00404a30
add eax, dword [ebp - 8]
mov dword [ebp - 0x2e0], eax
fild dword [ebp - 0x18]
fmul qword [ebp + 0xc]
call fcn.00404a30
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x2e8]
mov eax, dword [ebp - 4]
call fcn.005ca9b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cacca
mov eax, dword [ebp - 0x1c]
call fcn.00405180
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cace7
lea eax, [ebp + 0x20]
call fcn.00406c58
ret