Function at 0x406416
Capabilities:
Get disk information

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x433028]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x2c
mov eax, 0x419c9b
call fcn.0041805c
mov eax, dword [ebp + 0x214]
mov esi, ecx
push eax
lea ecx, [ebp - 0x14]
call dword [0x424498]
xor ebx, ebx
push ebx
push ebx
push 0x1009
mov dword [ebp - 4], ebx
push dword [esi + 0x50c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
cmp eax, 1
lea ecx, [ebp - 0x14]
jl 0x406617
push ebx
push 0x42863c
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
mov edi, eax
mov dword [ebp - 0x18], ebx
cmp edi, 0xffffffff
je 0x406614
add esi, 0x4ec
mov dword [ebp - 0x30], esi
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
lea ecx, [ebp - 0x10]
cmp eax, 1
jne 0x40657a
push 0x4272fc
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xff
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4065ca
push 0x427304
lea ecx, [ebp - 0x20]
call dword [0x424498]
mov dword [ebp - 0x24], eax
push str.___
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call dword [0x424498]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040a739
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov esi, eax
mov byte [ebp - 4], 4
call fcn.004038b1
push dword [ebp - 0x24]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.0040a739
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [0x424334]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x20]
jmp 0x4065c0
dec eax
push eax
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::GetAt]
cmp ax, 0x5c
je 0x406596
push 0x427318
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push 0x4263a8
push str._SCANTAB_JUNK_FOLDER_LABEL
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x434888
call dword [sym.imp.pcoshelper.dll_Ordinal_727]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp - 0x30]
push ebx
push 2
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x18]
push 3
call sub.mfc90u.dll_CListCtrl::InsertItem
inc dword [ebp - 0x18]
inc edi
push edi
push ebx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Delete]
push ebx
push 0x42863c
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
lea ecx, [ebp - 0x10]
mov edi, eax
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
cmp edi, 0xffffffff
jne 0x406499
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.004179ba
add ebp, 0x20c
leave
ret 4