Function at 0x45b9f0
Capabilities:
Get file system object information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57ba61
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 + 0x64]
push eax
call edi
cmp eax, 4
jle 0x45ba43
mov ecx, dword [esi + 0x64]
push ecx
call edi
lea edi, [eax - 1]
cmp edi, 3
jle 0x45ba43
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Remove]
mov edx, dword [esi + 0x64]
push edi
push edx
call ebx
dec edi
cmp edi, 3
jg 0x45ba36
lea eax, [esi + 0x60]
test eax, eax
je 0x45ba4d
mov eax, dword [eax + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [esi + 0x3c0]
push 1
push 0x1003
push eax
call edi
push eax
call sub.MFC42.DLL_CImageList::FromHandle
mov ecx, dword [esi + 0x3c0]
push 0
push 0
push 0x1009
push ecx
call edi
mov eax, dword [esi + 0x74]
xor ebp, ebp
test eax, eax
jle 0x45bc9a
xor ebx, ebx
mov edx, dword [esi + 0x70]
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 0x45bab5
mov dword [esp + 0x38], 3
jmp 0x45bb11
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 0x45baf5
mov dword [esp + 0x38], 3
jmp 0x45bb11
mov ecx, dword [esi + 0x64]
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov edx, dword [esi + 0x64]
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
dec eax
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 0x3c0]
lea eax, [esp + 0x1c]
push eax
push 0
push 0x1007
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0x70]
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 + 0x3a0]
push ecx
push 0
push ebp
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov edx, dword [esi + 0x70]
mov eax, dword [ebx + edx + 8]
test eax, eax
jne 0x45bb98
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 0x45bc17
push 0x5e2870
push 1
push ebp
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::SetItemText
mov eax, dword [esi + 0x70]
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 + 0x70]
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 + 0x70]
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 + 0x74]
inc ebp
add ebx, 0x238
cmp ebp, eax
jl 0x45ba8b
mov ecx, dword [esp + 0x3a4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a0
ret