Function at 0x412a74
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ca9c
mov eax, dword fs:[0]
push eax
mov eax, 0x1478
call fcn.00429b30
mov eax, dword [0x441028]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4420b4]
add esi, 0x11f8
xor eax, eax
call fcn.00406389
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 0x145c], 0xffffffff
or dword [ebx + 0x18c], 0xffffffff
xor esi, esi
push esi
push esi
push 0x147
push dword [ebx + 0x2d8]
mov dword [ebp - 0x1468], esi
call edi
cmp eax, esi
mov dword [ebp - 0x1458], eax
jl 0x412b3c
lea ecx, [ebp - 0x1450]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea eax, [ebp - 0x1450]
push eax
push dword [ebp - 0x1458]
lea ecx, [ebx + 0x2b8]
mov dword [ebp - 4], esi
call sub.mfc90u.dll_CComboBox::GetLBText
push esi
lea ecx, [ebp - 0x1450]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
or dword [ebp - 4], 0xffffffff
movzx eax, ax
lea ecx, [ebp - 0x1450]
mov dword [ebp - 0x1468], eax
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 0x412b42
mov dword [ebp - 0x1458], esi
push esi
push esi
push 0x146
push dword [ebx + 0x2d8]
call edi
mov edi, eax
jmp 0x412b68
push esi
push edi
push 0x144
push dword [ebx + 0x2d8]
call dword [sym.imp.USER32.dll_SendMessageW]
dec edi
jns 0x412b55
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x1470], eax
mov dword [ebp - 0x1454], 0x41
mov ecx, dword [ebp - 0x1454]
xor eax, eax
add ecx, 0xffffffbf
inc eax
shl eax, cl
mov ecx, dword [ebp - 0x1470]
test ecx, eax
je 0x412f34
mov eax, dword [0x433f74]
mov dword [ebp - 0x20], eax
mov eax, dword [0x433f78]
movzx ecx, word [ebp - 0x1454]
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x43417c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20]
push eax
mov word [ebp - 0x20], cx
mov word [ebp - 0x30], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x412bef
cmp eax, 2
jne 0x412f32
mov esi, pe_nt_image_headers32
push esi
lea eax, [ebp - 0x848]
push eax
xor edi, edi
push edi
push edi
push edi
push esi
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, edi
je 0x412f32
push edi
lea eax, [ebp - 0x1480]
push eax
push edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1478]
call dword [0x42f67c]
push eax
mov eax, 0x4420f8
mov dword [ebp - 4], 1
call fcn.00416651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1478]
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 eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1474]
call dword [0x42f7ec]
push eax
mov eax, 0x44210c
mov dword [ebp - 4], 2
call fcn.00416651
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1474]
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 esi
lea eax, [ebp - 0x648]
push eax
push dword [ebp - 0x147c]
push dword [ebp - 0x1480]
call dword [sym.imp.SolvusoftWMhelper.dll_int___cdecl_BytesToKBString_unsigned_long_long_unsigned___int64___wchar_t___unsigned_long_int_]
xor eax, eax
push 0x206
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x246]
push edi
push eax
call sub.MSVCR90.dll_memset
add esp, 0x1c
push 0x104
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x1464]
call dword [0x42f7ec]
lea eax, [ebp - 0xc48]
push eax
lea eax, [ebp - 0xa48]
push eax
lea eax, [ebp - 0x1448]
push eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], 3
push dword [ebp - 0x1464]
call dword [sym.imp.MSVCR90.dll__wsplitpath]
add esp, 0x14
lea ecx, [ebp - 0x144c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x1450]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [ebp - 0x1460]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1450]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1460]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
push dword [ebp - 0x1460]
inc dword [ebp - 0x145c]
lea ecx, [ebp - 0x1450]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
lea ecx, [ebp - 0x144c]
test eax, eax
jne 0x412e48
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
push 0x434184
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
lea eax, [ebp - 0x1450]
push eax
lea ecx, [ebp - 0x144c]
call dword [0x42f624]
push 0x434188
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
push 0x434cbc
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
push 0x430ef8
push str.IDS_SYS_DRIVE
lea eax, [ebp - 0x146c]
push eax
mov ecx, 0x441f98
call dword [sym.imp.SolvusoftWMhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push eax
lea ecx, [ebp - 0x144c]
mov byte [ebp - 4], 7
call dword [0x42f624]
lea ecx, [ebp - 0x146c]
mov byte [ebp - 4], 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 0x434cc4
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
mov eax, dword [ebp - 0x145c]
mov dword [ebx + 0x18c], eax
jmp 0x412e93
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
push 0x434184
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
push 0x434cc4
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x144c]
call dword [0x42f8b8]
lea eax, [ebp - 0x144c]
push eax
mov eax, dword [0x4420b4]
add eax, 0x11f8
call fcn.00416651
mov ax, word [ebp - 0x1468]
cmp ax, word [ebp - 0x20]
jne 0x412ecf
push edi
push edi
push 0x146
push dword [ebx + 0x2d8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1458], eax
push dword [ebp - 0x144c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0x143
push dword [ebx + 0x2d8]
call esi
push 0x12
push dword [ebp - 0x1454]
push 0x153
push dword [ebx + 0x2d8]
call esi
lea ecx, [ebp - 0x1460]
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 - 0x1450]
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 - 0x144c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1464]
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 dword [ebp - 0x1454]
cmp dword [ebp - 0x1454], 0x5a
jbe 0x412b81
lea edi, [ebx + 0x4ec]
cmp dword [edi], esi
jl 0x412f6d
push esi
push esi
push 0x146
push dword [ebx + 0x2d8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [edi]
cmp edi, eax
jge 0x412f6d
push edi
jmp 0x412f80
mov eax, dword [ebx + 0x18c]
cmp eax, esi
jl 0x412f7a
push eax
jmp 0x412f80
push dword [ebp - 0x1458]
lea eax, [ebx + 0x2b8]
call fcn.00416873
mov ecx, ebx
call fcn.00412fab
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042918e
leave
ret