Function at 0x4c9ca4
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 0x4c9ed3
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 0x4c9d5d
cmp dword [ebp - 0x14], 0
je 0x4c9d5d
mov eax, dword [ebp + 0x20]
call fcn.00409fc4
test al, al
jne 0x4c9d10
mov eax, dword [ebp + 0x20]
call fcn.004c9c6c
test al, al
je 0x4c9d33
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 0x4c9d54
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 0x4c9d85
push 0x4000
push 0x160
lea eax, [ebp - 0x184]
push eax
push 0
push 0x4c9ee0
call sub.shell32.dll_SHGetFileInfoA
mov dword [ebp - 0x18], eax
jmp 0x4c9da5
push 0x4001
push 0x160
lea eax, [ebp - 0x184]
push eax
push 0
push 0x4c9ee0
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.0041bb4c
cmp byte [ebp + 0x18], 0
je 0x4c9df0
cmp byte [ebp + 0x14], 0
jne 0x4c9df0
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0042b024
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 0x4c9ebd
mov dl, 1
mov eax, dword [0x428bf0]
call fcn.0042ef78
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.0042f548
call fcn.0042b024
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 0x4c9e73
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 0x4c9e9b
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.004c9b7c
mov eax, dword [ebp - 0x24]
call fcn.00403e98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c9eda
lea eax, [ebp + 0x20]
call fcn.00404ce8
ret