Function at 0x4cbad8
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe6c
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
call fcn.00405198
xor eax, eax
push ebp
push 0x4cbd07
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, dword [ebp + 0x20]
call fcn.00403890
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x184]
xor ecx, ecx
mov edx, 0x160
call fcn.004036fc
cmp dword [ebp + 0x20], 0
je 0x4cbb91
cmp dword [ebp - 0x14], 0
je 0x4cbb91
mov eax, dword [ebp + 0x20]
call fcn.00409fe4
test al, al
jne 0x4cbb44
mov eax, dword [ebp + 0x20]
call fcn.004cbaa0
test al, al
je 0x4cbb67
push 0x4000
push 0x160
lea eax, [ebp - 0x184]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.004051a8
push eax
call sub.shell32.dll_SHGetFileInfoA
jmp 0x4cbb88
push 0x4010
push 0x160
lea eax, [ebp - 0x184]
push eax
push 0
mov eax, dword [ebp + 0x20]
call fcn.004051a8
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x10], eax
cmp byte [ebp + 0x1c], 0
je 0x4cbbb9
push 0x4000
push 0x160
lea eax, [ebp - 0x184]
push eax
push 0
push 0x4cbd14
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebp - 0x18], eax
jmp 0x4cbbd9
push 0x4001
push 0x160
lea eax, [ebp - 0x184]
push eax
push 0
push 0x4cbd14
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.comctl32.dll_ImageList_GetIconSize
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.0041bc38
cmp byte [ebp + 0x18], 0
je 0x4cbc24
cmp byte [ebp + 0x14], 0
jne 0x4cbc24
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0042b1a4
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.comctl32.dll_ImageList_Draw
mov al, byte [ebp + 0x18]
and al, byte [ebp + 0x14]
je 0x4cbcf1
mov dl, 1
mov eax, dword [0x428d70]
call fcn.0042f0f8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0
push 0
push 0
mov eax, dword [ebp - 0x24]
call fcn.0042f6c8
call fcn.0042b1a4
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.comctl32.dll_ImageList_Draw
mov eax, dword [ebp - 8]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x190], eax
fild dword [ebp - 0x1c]
fmul qword [ebp + 0xc]
call fcn.0040308c
push edx
push eax
mov eax, dword [ebp - 8]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
jno 0x4cbca7
call fcn.00403dd4
add esp, 8
mov dword [ebp - 0x18c], eax
fild dword [ebp - 0x20]
fmul qword [ebp + 0xc]
call fcn.0040308c
push edx
push eax
mov eax, dword [ebp - 0xc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
jno 0x4cbccf
call fcn.00403dd4
add esp, 8
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 4]
call fcn.004cb9b0
mov eax, dword [ebp - 0x24]
call fcn.00403e98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cbd0e
lea eax, [ebp + 0x20]
call fcn.00404ce8
ret