Function at 0x4578d0
Capabilities:
Get file system object information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x57b413
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c8
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x88]
mov esi, dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push edi
push eax
mov dword [esp + 0x3c], ebx
call esi
cmp eax, 4
jle 0x457930
mov ecx, dword [ebx + 0x88]
push ecx
call esi
lea esi, [eax - 1]
cmp esi, 3
jle 0x457930
mov edi, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [ebx + 0x88]
push esi
push edx
call edi
dec esi
cmp esi, 3
jg 0x457920
lea eax, [ebx + 0x84]
test eax, eax
je 0x45793d
mov eax, dword [eax + 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [ebx + 0xc0]
push 1
push 0x1003
push eax
call esi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov ecx, dword [ebx + 0xc0]
push 0
push 0
push 0x1009
push ecx
call esi
lea ecx, [ebx + 0x68]
call sub.MFC42.DLL_CMapStringToString::RemoveAll
push 0xffffffffffffffff
lea ecx, [ebx + 0x8c]
push 0
call fcn.004374d0
mov eax, dword [ebx + 0x60]
or edx, 0xffffffff
mov eax, dword [eax + 8]
mov ebp, dword [eax + 4]
cmp ebp, eax
je 0x457edc
test ebp, ebp
je 0x457edc
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x457ec9
mov al, byte [0x5f3788]
mov ecx, 0xff
mov byte [esp + 0x1d8], al
xor eax, eax
lea edi, [esp + 0x1d9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ecx, ecx
test esi, esi
stosb byte es:[edi], al
mov dword [esp + 0x14], ecx
jle 0x457ec9
mov eax, dword [ebp + 0x1c]
xor esi, esi
test eax, eax
mov dword [esp + 0x1c], esi
jle 0x457eb9
lea edi, [edx + 1]
mov dword [esp + 0x30], edi
imul eax, ecx
add eax, dword [ebp + 0x14]
cmp byte [eax + esi], 2
je 0x457ea9
mov ecx, dword [ebp + 0x18]
inc edx
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], edx
lea edx, [ecx + esi*4]
mov dword [esp + 0x50], 2
mov dword [esp + 0x58], 0
mov eax, dword [edx]
inc edi
mov dword [esp + 0x30], edi
cmp byte [eax + 0x14], 2
jne 0x457a39
mov dword [esp + 0x6c], 3
jmp 0x457aa1
mov ecx, 0x58
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov edx, dword [edx]
mov eax, dword [edx + 0xc]
test eax, eax
jne 0x457a52
mov eax, dword [edx + 0x10]
push 0x110
lea ecx, [esp + 0x7c]
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x457a7f
mov dword [esp + 0x6c], 3
jmp 0x457aa1
mov edx, dword [ebx + 0x88]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, dword [ebx + 0x88]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
dec eax
mov dword [esp + 0x6c], eax
mov edx, dword [ebx + 0xc0]
lea ecx, [esp + 0x50]
push ecx
push 0
push 0x1007
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov dword [esp + 0x5e0], 0
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push 0x5e0698
push ecx
mov byte [esp + 0x5ec], 1
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp + 0x18]
add esp, 0xc
mov eax, dword [edx + esi*4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
mov eax, dword [esp + 0x14]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0x68]
mov eax, dword [eax + 0x64]
push edx
push eax
push ecx
lea ecx, [esp + 0x34]
push str._d_u_d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
add esp, 0x14
lea ecx, [ebx + 0x68]
push edx
push eax
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [ebx + 0x94]
lea edi, [ebx + 0x8c]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.004374d0
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x18]
add ebx, 0xa0
mov dword [edx + esi*4], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
push 0
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edi, 0x5f3788
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x457bb7
mov eax, ecx
jmp 0x457bba
mov eax, dword [eax + 0x10]
lea edx, [esp + 0x1d8]
push edx
push eax
call fcn.0043c1a0
add esp, 8
lea eax, [esp + 0x1d8]
lea ecx, [esp + 0x10]
push eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
push ecx
push 1
push edi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x3c], eax
or eax, edx
mov dword [esp + 0x40], edx
jne 0x457c36
cmp byte [ecx + 0x14], 2
jne 0x457c26
push 0x5e2878
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
jmp 0x457c8c
push 0x5e2870
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
jmp 0x457c8c
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push 1
push ecx
push eax
lea eax, [esp + 0x1e4]
push eax
call fcn.0043bb90
mov ecx, dword [ebp + 0x18]
add esp, 0x10
mov edx, dword [ecx + esi*4]
cmp byte [edx + 0x14], 2
jne 0x457c72
lea eax, [esp + 0x1d8]
lea ecx, [esp + 0x10]
push eax
push str._s__
push ecx
jmp 0x457c84
lea edx, [esp + 0x1d8]
lea eax, [esp + 0x10]
push edx
push 0x5e4f54
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, dword [esp + 0x10]
push ecx
push 2
push edi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
imul edx, dword [esp + 0x14]
add edx, eax
mov al, byte [edx + esi]
test al, al
jne 0x457cb6
push 0x5e4f44
jmp 0x457cc6
cmp al, 2
jne 0x457cc1
push 0x5e4f34
jmp 0x457cc6
push 0x5e4f24
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x10]
mov ecx, ebx
push eax
push 3
push edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edi, 0x5f3788
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1d8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x14]
mov byte [esp + 0x5e0], 2
mov edx, dword [ecx + esi*4]
lea ecx, [esp + 0x2c]
add edx, 0x6c
push edx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5e0], 3
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + esi*4]
add ecx, 0x32
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e0], 4
call sub.MFC42.DLL_CString::TrimRight
lea edx, [esp + 0x2c]
push 0x5e0584
lea eax, [esp + 0x50]
push edx
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x24]
lea edx, [esp + 0x44]
push ecx
push eax
push edx
mov byte [esp + 0x5ec], 5
call sub.MFC42.DLL_operator_1
push 0x5e0580
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x5e8], 6
push eax
call sub.MFC42.DLL_operator
push 0x5e34fc
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x5ec], 7
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e4], 8
call fcn.00572d3c
lea ecx, [esp + 0x48]
mov byte [esp + 0x5e0], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x5e0], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x5e0], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x5e0], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push edx
push 4
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [ebp + 8]
mov ecx, ebx
push eax
push 0
push 0
push 0
push 0
push 4
push 0
push esi
call sub.MFC42.DLL_CListCtrl::SetItem
lea ecx, [esp + 0x24]
mov byte [esp + 0x5e0], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x5e0], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x5e0], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x5e0], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x5e0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x4579ef
mov eax, dword [ebp + 0x10]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jl 0x4579d7
mov eax, dword [ebx + 0x60]
mov ebp, dword [ebp + 4]
cmp ebp, dword [eax + 8]
je 0x457edc
test ebp, ebp
jne 0x45799f
mov ecx, dword [esp + 0x5d8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5d4
ret