Function at 0x4182d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fffd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push edi
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call dword [sym.imp.SysInfo.dll_public:_void___thiscall_CSoftware::constructor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.SysInfo.dll_public:_void___thiscall_CLogicalDrive::constructor_void_]
mov byte [ebp - 4], 3
push str.Scanning_Devices_Logical_Drive_s__for_informations_and_softwares..._n
call dword [sym.imp.SysInfo.dll_void___cdecl_AddLog_char_const__]
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x41838f
push str.Failed_in_call_to__GetLogicalDrives__function___n
call dword [sym.imp.SysInfo.dll_void___cdecl_AddLog_char_const__]
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.SysInfo.dll_public_virtual:_void___thiscall_CLogicalDrive::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call dword [sym.imp.SysInfo.dll_public_virtual:_void___thiscall_CSoftware::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
jmp 0x418798
mov dword [ebp - 0x10], 0
jmp 0x4183a1
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1a
ja 0x418763
mov ecx, dword [ebp - 0x80]
and ecx, 1
test ecx, ecx
je 0x418756
mov edx, dword [ebp - 0x10]
add edx, 0x41
push edx
push str._c:_
lea eax, [ebp - 0x4c]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, dword [ebp - 0x4c]
push ecx
push str._tGetting_Logical_Drive___s__properties...OK_n
call dword [sym.imp.SysInfo.dll_void___cdecl_AddLog_char_const__]
add esp, 8
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x7c]
call dword [sym.imp.SysInfo.dll_public:_int___thiscall_CLogicalDrive::RetrieveDriveInfo_char_const__]
test eax, eax
je 0x41844e
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x138]
call fcn.0041c9f0
test eax, eax
je 0x41843c
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x134], 0
mov edx, dword [ebp - 0x4c]
push edx
push str._tSearching_Softwares_on_Logical_Drive___s_..._n
call dword [sym.imp.SysInfo.dll_void___cdecl_AddLog_char_const__]
add esp, 8
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.00417740
jmp 0x41844c
mov ecx, dword [ebp - 0xb4]
mov dword [ecx + 0x134], 0
jmp 0x41845e
mov edx, dword [ebp - 0xb4]
mov dword [edx + 0x134], 0
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax + 0x134]
push ecx
lea ecx, [ebp - 0x7c]
call dword [sym.imp.SysInfo.dll_public:_void___thiscall_CLogicalDrive::SetFilesNumber_long_int_]
mov edx, dword [ebp - 0xb4]
add edx, 0x1e0
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xb0]
cmp dword [edx + 0x10], 0
jne 0x41854f
push 0x34
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0xb0]
add edx, 0x14
push edx
call sub.MFC42.DLL_CPlex::Create
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
add eax, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x18]
sub edx, 1
imul edx, edx, 0x34
mov eax, dword [ebp - 0x8c]
add eax, edx
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x18]
sub edx, 1
mov dword [ebp - 0x90], edx
jmp 0x418524
mov eax, dword [ebp - 0x90]
sub eax, 1
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x8c]
sub ecx, 0x34
mov dword [ebp - 0x8c], ecx
cmp dword [ebp - 0x90], 0
jl 0x41854f
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x8c]
mov dword [edx + 0x10], eax
jmp 0x418506
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0xb0]
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0xa8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x88]
mov dword [eax], 0
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 0xc]
add edx, 1
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0xc], edx
mov dword [ebp - 0xa4], 1
mov ecx, dword [ebp - 0x88]
add ecx, 8
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xa4]
imul ecx, ecx, 0x2c
xor eax, eax
mov edi, dword [ebp - 0xa0]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4185eb
mov eax, dword [ebp - 0xa0]
add eax, 0x2c
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa4]
sub edx, 1
mov dword [ebp - 0xa4], edx
test ecx, ecx
je 0x418662
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x9c], 0
je 0x418643
mov ecx, dword [ebp - 0x9c]
call dword [sym.imp.SysInfo.dll_public:_void___thiscall_CLogicalDrive::constructor_void_]
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], 0x432a8c
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xb8], edx
jmp 0x41864d
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 3
jmp 0x4185dc
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
add edx, 8
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x78]
mov dword [eax + 4], ecx
lea edx, [ebp - 0x74]
push edx
mov ecx, dword [ebp - 0xac]
add ecx, 8
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0xac]
add ecx, 0x10
call sub.MFC42.DLL_CString::operator
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0xac]
add ecx, 0x14
call sub.MFC42.DLL_CString::operator
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0xac]
add ecx, 0x18
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x60]
push ecx
mov ecx, dword [ebp - 0xac]
add ecx, 0x1c
call sub.MFC42.DLL_CString::operator
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x5c]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ebp - 0x58]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x54]
mov dword [eax + 0x28], ecx
mov edx, dword [ebp - 0xb0]
cmp dword [edx + 8], 0
je 0x418738
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x84]
mov dword [ecx], edx
jmp 0x418747
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x84]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x84]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x80]
shr ecx, 1
mov dword [ebp - 0x80], ecx
jmp 0x418398
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call dword [sym.imp.SysInfo.dll_public_virtual:_void___thiscall_CLogicalDrive::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call dword [sym.imp.SysInfo.dll_public_virtual:_void___thiscall_CSoftware::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret