Function at 0x4c5f10
Capabilities:
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x584f61
push eax
mov dword fs:[0], esp
sub esp, 0x394
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov eax, dword [esi + 0x68]
push eax
call edi
cmp eax, 4
jle 0x4c5f63
mov ecx, dword [esi + 0x68]
push ecx
call edi
lea edi, [eax - 1]
cmp edi, 3
jle 0x4c5f63
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [esi + 0x68]
push edi
push edx
call ebx
dec edi
cmp edi, 3
jg 0x4c5f56
lea eax, [esi + 0x64]
test eax, eax
je 0x4c5f6d
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0xe18]
push 1
push 0x1003
push eax
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov ecx, dword [esi + 0xe18]
push 0
push 0
push 0x1009
push ecx
call edi
mov eax, dword [esi + 0x1754]
xor ebp, ebp
test eax, eax
jle 0x4c61dd
xor ebx, ebx
mov edx, dword [esi + 0x1750]
mov dword [esp + 0x1c], 2
add edx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0
mov eax, dword [edx + 8]
test eax, eax
jne 0x4c5fdb
mov dword [esp + 0x38], 3
jmp 0x4c603d
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x44]
push 0x110
rep stosd dword es:[edi], eax
lea eax, [esp + 0x48]
push 0x160
push eax
add edx, 0x110
push 0x80
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4c601b
mov dword [esp + 0x38], 3
jmp 0x4c6037
mov ecx, dword [esi + 0x68]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
dec eax
mov dword [esp + 0x38], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0xe18]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1007
push ecx
call edi
mov edx, dword [esi + 0x1750]
lea ecx, [esp + 0x10]
lea eax, [ebx + edx + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0xdf8]
push ecx
push 0
push ebp
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esi + 0x1750]
mov eax, dword [ebx + edx + 8]
test eax, eax
jne 0x4c60c9
push 0x5e2878
push 1
push ebp
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItemText
push 0x5f3788
push 2
push ebp
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItemText
jmp 0x4c614b
push 0x5e2870
push 1
push ebp
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esi + 0x1750]
push 0
mov ecx, dword [ebx + eax + 0x21c]
push ecx
mov edx, dword [ebx + eax + 0x218]
lea eax, [esp + 0x1ac]
push edx
push eax
call fcn.0043bb90
add esp, 0x10
lea ecx, [esp + 0x1a4]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ac], 1
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x18]
mov ecx, edi
push edx
push 2
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x18]
mov byte [esp + 0x3ac], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x1750]
lea ecx, [ebx + eax + 0x110]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ac], 2
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
push 3
push ebp
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esi + 0x1750]
mov ecx, dword [ebx + eax]
push ecx
push ebp
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetCheck
lea ecx, [esp + 0x14]
mov byte [esp + 0x3ac], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x3ac], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x1754]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
inc ebp
add ebx, 0x238
cmp ebp, eax
jl 0x4c5fae
mov edx, dword [esi + 0xe18]
push 0
push 0
push 0x1004
push edx
call edi
test eax, eax
jle 0x4c6248
lea ebp, [esi + 0xdf8]
xor ebx, ebx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::GetHeaderCtrl
mov eax, dword [eax + 0x20]
push ebx
push ebx
push 0x1200
push eax
call edi
test eax, eax
jle 0x4c6297
mov ecx, dword [esi + 0xe18]
push 0xffff
push ebx
push 0x101e
push ecx
call edi
mov ecx, ebp
inc ebx
call sub.MFC42.DLL_CListCtrl::GetHeaderCtrl
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x1200
push edx
call edi
cmp ebx, eax
jl 0x4c6217
jmp 0x4c6297
lea ebp, [esi + 0xdf8]
xor ebx, ebx
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::GetHeaderCtrl
mov eax, dword [eax + 0x20]
push ebx
push ebx
push 0x1200
push eax
call edi
test eax, eax
jle 0x4c6297
mov ecx, dword [esi + 0xe18]
push 0xfffe
push ebx
push 0x101e
push ecx
call edi
mov ecx, ebp
inc ebx
call sub.MFC42.DLL_CListCtrl::GetHeaderCtrl
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x1200
push edx
call edi
cmp ebx, eax
jl 0x4c6268
push 2
mov ecx, esi
call fcn.004c76b0
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a0
ret