Function at 0x404dc0
Capabilities:
Get disk information
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x408ca6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1ac
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
push 0x40b220
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebp
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x1c4], ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
lea eax, [esi + 0xbc4]
push 0x10
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], 0x66
call fcn.004066f0
lea ecx, [esp + 0x20]
call fcn.00407ca4
cmp ebx, ebp
mov byte [esp + 0x1c4], 1
je 0x405056
lea edi, [esi + 0x6b8]
test bl, 1
je 0x40503f
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
call fcn.00407cc2
mov cl, byte [esp + 0x1c]
add cl, 0x41
push ecx
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::SetAt
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebx, eax
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00405b00
mov edx, dword [esp + 0x10]
push 0x301
lea ecx, [esp + 0x60]
push 0x160
push ecx
push ebp
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push ebx
push ecx
lea eax, [esp + 0x70]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00405850
push ebx
mov ecx, esi
call fcn.00405ab0
mov eax, dword [esi + 0xbd0]
mov edx, dword [esp + 0x18]
inc eax
push 0
mov dword [esi + 0xbd0], eax
lea eax, [esi + 0x16c]
push edx
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], ebp
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
push 0x50000007
lea ebp, [edi - 0x500]
push 0x40b49c
push str.SysTreeView32
push 0x200
mov ecx, ebp
call sub.MFC42.DLL_CWnd::CreateEx
mov edx, dword [esp + 0x18]
lea eax, [esi + 0xbbc]
inc edx
test eax, eax
mov dword [esp + 0x18], edx
je 0x404f39
mov eax, dword [eax + 4]
mov ecx, dword [edi - 0x4e0]
push eax
push 0
push 0x1109
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CImageList::FromHandle
push 0
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
push eax
add edx, 0x8e
lea eax, [esi + 0x16c]
push edx
push eax
lea eax, [esp + 0x48]
push eax
push 0x50800041
push 0x40b49c
push str.SysListView32
push 0x200
mov ecx, edi
call sub.MFC42.DLL_CWnd::CreateEx
lea eax, [esi + 0xbc4]
test eax, eax
je 0x404faf
mov eax, dword [eax + 4]
mov ecx, dword [edi + 0x20]
push eax
push 1
push 0x1003
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CImageList::FromHandle
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.File_Name
push 0
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertColumn
push 0xffffffffffffffff
push 0xffffffffffffffff
push 1
push str.Size
push 1
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertColumn
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.Date
push 2
mov ecx, edi
call sub.MFC42.DLL_CListCtrl::InsertColumn
push ebx
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
push edi
push ebp
mov ecx, esi
call fcn.00405120
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
inc eax
add edi, 0x40
mov dword [esp + 0x14], eax
mov dword [esi + 0xbb8], eax
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
shr ebx, 1
inc ecx
cmp ebx, ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], ecx
jne 0x404e43
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x54]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cdq
idiv dword [esp + 0x14]
mov edx, dword [esi + 0x18c]
push eax
push ebp
push 0x1331
push edx
call edi
push 5
lea ecx, [esi + 0x1f8]
call sub.MFC42.DLL_CWnd::ShowWindow
push 5
lea ecx, [esi + 0x6f8]
call sub.MFC42.DLL_CWnd::ShowWindow
mov dword [esi + 0xbcc], 1
mov eax, dword [esi + 0x18c]
push ebp
push 1
push 0x130c
push eax
call edi
mov eax, dword [esi + 0x164]
push 0x408
push 1
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
lea ecx, [esp + 0x20]
mov dword [esi + 0xbd4], 0xcb
mov byte [esp + 0x1c4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1b8
ret