Function at 0x408b3d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41af50
mov eax, dword fs:[0]
push eax
sub esp, 0x278
push ebx
push esi
push edi
mov eax, dword [0x433028]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov ecx, dword [0x433df8]
xor ebx, ebx
push ebx
push ebx
push ebx
mov byte [0x4349b8], bl
push ebx
mov byte [0x4349ba], bl
push ebx
mov byte [0x4349b9], 1
call dword [sym.imp.pcoshelper.dll_Ordinal_328]
mov ecx, dword [0x433df8]
call dword [sym.imp.pcoshelper.dll_Ordinal_324]
mov eax, dword [0x433df8]
mov ecx, dword [eax + 0xea4]
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
call dword [sym.imp.pcoshelper.dll_Ordinal_326]
mov eax, dword [0x433df8]
mov ecx, dword [eax + 0xea4]
call dword [sym.imp.pcoshelper.dll_Ordinal_327]
mov byte [esp + 0x17], bl
cmp byte [0x4349bb], bl
jne 0x408c04
cmp byte [0x4349bc], bl
jne 0x408c04
push ebx
push str.DirectFastRemove
push str.Removal
mov ecx, 0x434888
call sub.mfc90u.dll_CWinApp::GetProfileIntW
mov edi, dword [ebp + 8]
test eax, eax
setne al
mov byte [edi + 0x18c], al
jmp 0x408c14
mov eax, dword [ebp + 8]
mov byte [eax + 0x18c], bl
mov byte [esp + 0x17], 1
mov edi, eax
push 1
lea eax, [edi + 0x3d0]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
movzx eax, byte [edi + 0x18c]
mov ecx, dword [0x433dfc]
push ebx
mov dword [ecx + 0x100], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [edi + 0x240]
cmp esi, ebx
je 0x408c74
xor edi, edi
call fcn.00416576
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x240]
cmp ecx, ebx
je 0x408c6e
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push ebx
call esi
mov edi, dword [ebp + 8]
push 0x14
call sub.mfc90u.dll_new
pop ecx
cmp eax, ebx
je 0x408c94
mov dword [eax], vtable.CArray_int__int_const__.0
mov dword [eax + 4], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
jmp 0x408c96
xor eax, eax
mov dword [edi + 0x240], eax
mov eax, dword [0x433dfc]
mov esi, dword [eax + 0x48]
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], esi
call dword [0x424328]
lea ecx, [esp + 0x18]
mov dword [esp + 0x290], ebx
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
cmp esi, ebx
mov dword [esp + 0x10], ebx
jle 0x408ddc
mov ecx, dword [esp + 0x10]
call fcn.00413fc1
mov esi, eax
cmp esi, ebx
je 0x408dca
push 1
push 0x38
push esi
call sub.mfc90u.dll_AfxIsValidAddress
test eax, eax
je 0x408dca
cmp byte [esi + 0x34], bl
je 0x408dca
lea eax, [esp + 0x30]
push eax
mov eax, esi
call fcn.004169ca
lea ecx, [esp + 0x2c]
call dword [0x424328]
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x294], 2
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
movzx eax, ax
push eax
lea ecx, [esp + 0x30]
call dword [0x424660]
push ebx
push dword [esp + 0x30]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
test eax, eax
jge 0x408d81
lea eax, [esp + 0x38]
push 0x42863c
push eax
lea esi, [esp + 0x34]
call fcn.004038b1
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 3
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x38]
mov byte [esp + 0x290], 2
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 esi, dword [edi + 0x240]
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x54], eax
jl 0x408e62
lea edi, [eax + 1]
call fcn.00416576
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
mov dword [eax + edx*4], ecx
lea ecx, [esp + 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, [esp + 0x30]
mov byte [esp + 0x290], 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]
mov edi, dword [ebp + 8]
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x40]
jl 0x408ccf
push ebx
push ebx
push 0x402
push dword [edi + 0x1b0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x4263a8
lea ecx, [edi + 0x1e4]
call sub.mfc90u.dll_CWnd::SetWindowTextW
lea ecx, [edi + 0x244]
call sub.mfc90u.dll_CWnd::SetFocus
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
je 0x4090ae
cmp byte [edi + 0x18c], bl
jne 0x4090ae
cmp byte [esp + 0x17], bl
jne 0x4090ae
push ebx
push 0x42863c
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
call dword [0x424328]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 4
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
jmp 0x408f48
call fcn.004174a2
push dword [esp + 0x10]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov byte [esp + 0x290], 5
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 1
jne 0x408f11
push 0x4272fc
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x408eb3
cmp eax, 4
jne 0x408f11
lea eax, [esp + 0x48]
push 0x427960
push eax
lea ecx, [esp + 0x28]
call fcn.0040373e
lea ecx, [esp + 0x58]
push 0x427958
push ecx
mov esi, eax
mov byte [esp + 0x2a0], 6
call fcn.004038b1
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [esp + 0x50]
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, [esp + 0x48]
mov byte [esp + 0x290], 5
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 eax, dword [esp + 0x10]
inc eax
push eax
push ebx
lea ecx, [esp + 0x20]
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, [esp + 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], eax
mov byte [esp + 0x290], 4
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 dword [esp + 0x10], 0xffffffff
jne 0x408e67
cmp byte [edi + 0x18c], bl
jne 0x40909d
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
je 0x40909d
mov eax, dword [eax - 0xc]
dec eax
push eax
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Mid]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 8
call dword [0x424334]
lea ecx, [esp + 0x58]
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, [esp + 0x28]
call dword [0x424328]
push 0x4263a8
push 0x427964
lea eax, [esp + 0x44]
push eax
mov ecx, 0x434888
mov byte [esp + 0x29c], 9
call dword [sym.imp.pcoshelper.dll_Ordinal_727]
mov byte [esp + 0x290], 0xa
push dword [esp + 0x1c]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea ecx, [esp + 0x3c]
mov byte [esp + 0x290], 9
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor esi, esi
inc esi
push esi
push ebx
push dword [0x433df8]
push 0x24
push dword [esp + 0x38]
call dword [sym.imp.pcoshelper.dll_Ordinal_258]
add esp, 0x14
cmp eax, 7
jne 0x409093
mov ecx, dword [0x433df8]
mov byte [0x4349b9], bl
call dword [sym.imp.pcoshelper.dll_Ordinal_379]
mov ecx, dword [0x433df8]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.pcoshelper.dll_Ordinal_383]
mov eax, dword [0x433df8]
mov ecx, dword [eax + 0xea4]
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
call dword [sym.imp.pcoshelper.dll_Ordinal_326]
mov eax, dword [0x433df8]
mov ecx, dword [eax + 0xea4]
call dword [sym.imp.pcoshelper.dll_Ordinal_382]
mov eax, dword [0x433df8]
mov ecx, dword [eax + 0xea4]
push 0x4b1
call dword [sym.imp.pcoshelper.dll_Ordinal_273]
lea ecx, [esp + 0x28]
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, [esp + 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]
jmp 0x409251
lea ecx, [esp + 0x28]
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, [esp + 0x1c]
mov byte [esp + 0x290], 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]
mov eax, dword [edi + 0x240]
cmp dword [eax + 8], ebx
jle 0x409217
lea ecx, [esp + 0x24]
call dword [0x424328]
push 0xe000
lea ecx, [esp + 0x28]
mov byte [esp + 0x294], 0xb
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::LoadStringW]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.pcoshelper.dll_Ordinal_498]
mov byte [esp + 0x294], 0xc
lea ecx, [esp + 0x50]
mov dword [esp], 0x427980
push ecx
mov esi, eax
call fcn.004038b1
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
mov byte [esp + 0x2a0], 0xd
call fcn.0040a739
add esp, 0x10
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x294], 0xe
call dword [0x424334]
lea ecx, [esp + 0x44]
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, [esp + 0x4c]
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, [esp + 0x34]
mov byte [esp + 0x290], 0xb
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 byte [0x4349bc], bl
jne 0x409206
cmp byte [0x435080], bl
jne 0x409206
mov byte [0x435080], 1
call sub.mfc90u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc90u.dll_CCmdTarget::BeginWaitCursor
lea esi, [edi + 0x244]
push ebx
mov ecx, esi
mov byte [esp + 0x294], 0xf
call sub.mfc90u.dll_CWnd::EnableWindow
call sub.mfc90u.dll_AfxGetThread
cmp eax, ebx
je 0x4091ad
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4091af
xor eax, eax
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.pcoshelper.dll_Ordinal_19]
push ecx
mov byte [esp + 0x294], 0x10
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [0x42433c]
lea ecx, [esp + 0x60]
call dword [sym.imp.pcoshelper.dll_Ordinal_346]
push 1
mov ecx, esi
call sub.mfc90u.dll_CWnd::EnableWindow
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], 0xf
call dword [sym.imp.pcoshelper.dll_Ordinal_98]
mov byte [esp + 0x290], 0xb
call fcn.0040a810
lea ecx, [esp + 0x24]
mov byte [esp + 0x290], 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]
push 1
push 0x13bc
mov ecx, edi
call sub.mfc90u.dll_CWnd::GetDlgItem
mov ecx, eax
call sub.mfc90u.dll_CWnd::EnableWindow
mov eax, dword [0x433dfc]
mov ecx, dword [edi + 0x240]
push ebx
push ebx
push ebx
push ebx
push eax
push 0x415089
mov esi, eax
mov dword [eax + 0x68], ecx
call sub.mfc90u.dll_AfxBeginThread
mov dword [esi + 0x84], eax
lea ecx, [esp + 0x18]
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 [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4