Function at 0x4084ff
Capabilities:
Get disk size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x418578
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x42b028]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x42b028]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov esi, 0x42bc88
cmp byte [0x42be1e], bl
jne 0x40855b
push ebx
push esi
call fcn.00402589
cmp eax, ebx
je 0x408904
mov eax, dword [0x41fa74]
mov dword [esp + 0x58], eax
mov eax, dword [0x41fa78]
mov dword [esp + 0x5c], eax
xor eax, eax
lea edi, [esp + 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.00407575
mov word [esp + 0x58], ax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x24]
call dword [0x419724]
push ecx
mov dword [esp + 0x7c], ebx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
call fcn.00407ce9
cmp al, bl
je 0x4085f2
push 0x41fdb8
lea eax, [esp + 0x1c]
push str.IDS_SSD_DRIVE_CHECK
push eax
call dword [sym.imp.K9PCUhelper.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_STLoadStringFromMainINI_wchar_t_const___wchar_t_const__]
add esp, 0xc
push 1
push ebx
push ebx
mov byte [esp + 0x84], 1
push ebx
push dword [eax]
call dword [sym.imp.K9PCUhelper.dll_public:_static_int___cdecl_CMainApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
lea ecx, [esp + 0x2c]
add esp, 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]
jmp 0x4088fa
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push ebx
push 0x64
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.00415520
push dword [esp + 0x30]
push dword [esp + 0x30]
push edx
push eax
call fcn.00415640
cmp edx, ebx
ja 0x4086d9
jb 0x40863a
cmp eax, 8
jae 0x4086d9
cmp dword [esp + 0x28], ebx
ja 0x4086d9
jb 0x408654
cmp dword [esp + 0x24], 0x40000000
jae 0x4086d9
lea ecx, [esp + 0x1c]
call dword [0x419844]
push 0x41f998
push str.IDS_WARNING_LOW_FREESPACE
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov byte [esp + 0x84], 2
call dword [sym.imp.K9PCUhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CMainApp::LoadStringW_wchar_t_const___wchar_t_const__]
push eax
lea eax, [esp + 0x1c]
lea ecx, [edi + 0x42c]
push eax
mov byte [esp + 0x80], 3
call fcn.004089a9
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
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]
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 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]
push 1
push ebx
push ebx
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.K9PCUhelper.dll_public:_static_int___cdecl_CMainApp::AfxMessageBox_wchar_t_const___unsigned_int__class_CDialog___class_CRect___bool_]
lea ecx, [esp + 0x30]
jmp 0x4085e4
movzx eax, word [0x42bddc]
push ebx
push eax
mov eax, dword [0x42bde0]
mov eax, dword [eax + 0x14c0]
push 5
call fcn.0040c7fb
cmp eax, ebx
jne 0x40888a
call fcn.004083d3
cmp al, bl
jne 0x40888a
cmp byte [0x42be1e], bl
jne 0x408719
cmp byte [0x42be1d], bl
je 0x408787
push ebx
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov edi, 0x41f998
push edi
push str.IDS_SERVICE_ERR_MSG_SPC
push eax
mov ecx, esi
call dword [sym.imp.K9PCUhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CMainApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
push 1
push 1
push ebx
push 1
push ebx
push ecx
mov eax, esp
mov byte [esp + 0x9c], 5
mov dword [esp + 0x3c], esp
push edi
push str.IDS_SERVICE_MSG_SPC
push eax
mov ecx, esi
call dword [sym.imp.K9PCUhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CMainApp::LoadStringW_wchar_t_const___wchar_t_const__]
mov eax, dword [0x42bde0]
mov eax, dword [eax + 0x1520]
push 0xb
push eax
mov byte [esp + 0xa4], bl
call fcn.00413115
mov esi, dword [0x42bde0]
call fcn.00405595
jmp 0x4088fa
lea ecx, [esp + 0x34]
call sub.mfc90u.dll_CStringArray::CStringArray
push str.IDS_RESTART
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x80], 6
call dword [sym.imp.K9PCUhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CMainApp::LoadStringW_char_const__]
push eax
mov byte [esp + 0x7c], 7
push dword [esp + 0x40]
lea ecx, [esp + 0x3c]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 6
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, 0x41f998
push edi
push str.IDS_CAN
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call dword [sym.imp.K9PCUhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CMainApp::LoadStringW_wchar_t_const___wchar_t_const__]
push eax
mov byte [esp + 0x7c], 8
push dword [esp + 0x40]
lea ecx, [esp + 0x3c]
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x78], 6
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 0xc8
push 0x17e
push ebx
push ebx
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push edi
push str.IDS_SERVICE_MSG
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [sym.imp.K9PCUhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CMainApp::LoadStringW_wchar_t_const___wchar_t_const__]
push 1
mov byte [esp + 0x7c], 9
push dword [esp + 0x20]
lea ecx, [esp + 0x50]
push 1
push ebx
sub esp, 0x10
mov dword [esp + 0x34], esp
mov eax, esp
push ecx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x54]
push eax
push 2
push 0x10
push dword [esp + 0x44]
mov ecx, esi
call dword [sym.imp.K9PCUhelper.dll_public:_int___thiscall_CMainApp::ManualMessageBox_wchar_t_const___int__int__class_CStringArray___class_CRect__int__int__class_CDialog___bool_]
cmp eax, ebx
jne 0x408871
call fcn.00407aa3
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]
lea ecx, [esp + 0x34]
mov byte [esp + 0x78], bl
call fcn.00414166
jmp 0x4088fa
movzx eax, word [0x42bddc]
push ebx
push eax
mov eax, dword [0x42bde0]
mov eax, dword [eax + 0x14c0]
push 5
call fcn.0040c7fb
push ecx
lea eax, [edi + 0x42c]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
mov ecx, edi
mov byte [esp + 0x7c], 0xa
call fcn.00407575
movzx eax, ax
push eax
mov byte [esp + 0x80], bl
mov eax, dword [0x42bde0]
mov ecx, dword [eax + 0x14c0]
push 1
call fcn.00409b62
mov ecx, edi
cmp eax, ebx
je 0x4088ef
push 0x4b2
jmp 0x4088f4
push 0x4af
call dword [sym.imp.K9PCUhelper.dll_public:_void___thiscall_CDlgLeftSideChild::ChangeTheRightSideStep_enum_DLG_BTN_STEPS_]
lea ecx, [esp + 0x20]
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 + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00414918
mov esp, ebp
pop ebp
ret 4