Function at 0x447a80
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x47216b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x4ab028]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ab028]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
push edi
push edi
mov dword [esp + 0x70], eax
mov eax, dword [eax + 0x188]
push 0x1009
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
lea ecx, [esp + 0x58]
push esi
push ecx
mov dword [esp + 0x108], edi
call dword [sym.imp.Common.dll_void___cdecl_SBGetFixedDiskW_class_std::vector_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____class_std::allocator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_______int_]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ecx, ebx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add esp, 8
add eax, edx
je 0x447d57
mov ebx, dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x44]
add eax, esi
mov esi, 8
cmp dword [eax + 0x14], esi
jb 0x447b42
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x58]
call dword [0x479d34]
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x108], 1
mov edx, dword [esp + 0x5c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x447d16
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x7c], ecx
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x80], eax
fild qword [esp + 0x7c]
mov eax, dword [esp + 0x90]
xor edx, edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x6c], edx
fild qword [esp + 0x6c]
mov dword [esp + 0x74], ecx
mov ecx, eax
and eax, 0x7fffffff
fchs
mov dword [esp + 0x78], eax
faddp st(1)
and ecx, 0x80000000
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], edx
fld st(0)
mov eax, dword [esp + 0x58]
fld qword [0x497a58]
add eax, dword [esp + 0x44]
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 0x9c]
fild qword [esp + 0x74]
fild qword [esp + 0x84]
fchs
faddp st(1)
fld st(0)
fmulp st(2)
fxch st(1)
fstp qword [esp + 0xa4]
fdivrp st(1)
fstp qword [esp + 0xac]
cmp dword [eax + 0x14], esi
jb 0x447c34
mov eax, dword [eax]
mov esi, dword [esp + 0x68]
push edx
push edx
push edx
push edx
push eax
push edi
add esi, 0x168
push 1
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CListCtrl::InsertItem]
lea ecx, [esp + 0x48]
call dword [0x479d7c]
lea ecx, [esp + 0x50]
call dword [0x479d7c]
lea ecx, [esp + 0x4c]
call dword [0x479d7c]
fld qword [esp + 0x9c]
sub esp, 8
mov byte [esp + 0x108], 4
fstp qword [esp]
lea edx, [esp + 0x50]
push str._.2f
push edx
call ebx
fld qword [esp + 0xb4]
add esp, 8
fstp qword [esp]
lea eax, [esp + 0x58]
push str._.2f
push eax
call ebx
fld qword [esp + 0xbc]
fmul qword [0x497aa0]
add esp, 8
lea ecx, [esp + 0x54]
fstp qword [esp]
push str._.2f__
push ecx
call ebx
mov edx, dword [esp + 0x58]
add esp, 0x10
push edx
push 2
push edi
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CListCtrl::SetItemText]
mov eax, dword [esp + 0x50]
push eax
push 3
push edi
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CListCtrl::SetItemText]
mov ecx, dword [esp + 0x4c]
push ecx
push 4
push edi
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CListCtrl::SetItemText]
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [esp + 0x54]
mov byte [esp + 0x100], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
add dword [esp + 0x44], 0x1c
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x447b30
mov ebx, dword [esp + 0x5c]
test esi, esi
je 0x447d9a
cmp esi, ebx
je 0x447d90
mov edi, 7
cmp dword [esi + 0x14], 8
jb 0x447d76
mov ecx, dword [esi]
push ecx
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov word [esi], dx
add esi, 0x1c
cmp esi, ebx
jne 0x447d64
mov esi, dword [esp + 0x58]
push esi
call dword [sym.imp.mfc100u.dll_delete]
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.0046bf30
mov esp, ebp
pop ebp
ret 4