Function at 0x43acc0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f364
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x32f4
call fcn.0045af10
mov eax, dword [0x471090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x1024], 0
call fcn.00404e20
mov dword [ebp - 0x3250], eax
cmp dword [ebp - 0x3250], 0
je 0x43ad41
push 0xf9
call fcn.00404d40
add esp, 4
mov dword [ebp - 0x3254], eax
cmp dword [ebp - 0x3254], 0x177
jge 0x43ad41
call fcn.0040e480
jmp 0x43ad67
push 0xb2
call fcn.00404d40
add esp, 4
mov dword [ebp - 0x3258], eax
cmp dword [ebp - 0x3258], 0x10d
jne 0x43ad62
jmp 0x43ad67
call fcn.0040cfc0
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
lea eax, [ebp - 0x1018]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x1024], eax
push 0xf3
call fcn.00404d40
add esp, 4
mov dword [ebp - 0x325c], eax
mov ecx, dword [ebp - 0x325c]
mov dword [ebp - 0x3260], ecx
cmp dword [ebp - 0x3260], 0x16e
je 0x43adb5
jmp 0x43adb7
jmp 0x43adc1
call fcn.0040d0f0
call fcn.004013c0
cmp dword [ebp - 0x1024], 0
jne 0x43aeab
lea edx, [ebp - 0x3114]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30f8], esp
push 0x22
push 0x4663f4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x3264], eax
lea ecx, [ebp - 0x30f4]
call fcn.00401fe0
mov dword [ebp - 0x3268], eax
mov eax, dword [ebp - 0x3268]
mov dword [ebp - 0x326c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x326c]
call fcn.004022b0
mov dword [ebp - 0x3270], eax
mov ecx, dword [ebp - 0x3270]
mov dword [ebp - 0x3274], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x3274]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0x3278], eax
mov edx, dword [ebp - 0x3278]
push edx
lea ecx, [ebp - 0x30d4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0x327c], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x30d4]
push eax
mov ecx, 0x4712ac
call fcn.00452ca0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30d4]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3114]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30f4]
call fcn.00444890
xor eax, eax
jmp 0x43b487
cmp dword [ebp - 0x1024], 0x1000
jbe 0x43afc4
lea ecx, [ebp - 0x3170]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3154], esp
push 0x22
push 0x466418
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x3280], eax
lea ecx, [ebp - 0x3150]
call fcn.00401fe0
mov dword [ebp - 0x3284], eax
mov edx, dword [ebp - 0x3284]
mov dword [ebp - 0x3288], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3288]
call fcn.004021e0
mov dword [ebp - 0x328c], eax
mov eax, dword [ebp - 0x328c]
mov dword [ebp - 0x3290], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3290]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0x3294], eax
mov ecx, dword [ebp - 0x3294]
push ecx
lea ecx, [ebp - 0x3130]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0x3298], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x3130]
push edx
mov ecx, 0x4712ac
call fcn.00452ca0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3130]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3170]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3150]
call fcn.00444890
xor eax, eax
jmp 0x43b487
mov byte [ebp - 0x101d], 1
call fcn.00407210
mov dword [ebp - 0x32a4], eax
cmp dword [ebp - 0x32a4], 0
je 0x43afe9
call fcn.004161c0
call fcn.00425e40
lea ecx, [ebp - 0x1018]
mov dword [ebp - 0x101c], ecx
movzx edx, byte [ebp - 0x101d]
test edx, edx
je 0x43b259
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x43b194
mov cl, byte [0x463ad3]
mov byte [ebp - 0x3030], cl
push 0xfff
push 0
lea edx, [ebp - 0x302f]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov al, byte [0x463ae6]
mov byte [ebp - 0x2028], al
push 0xfff
push 0
lea ecx, [ebp - 0x2027]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x2030], 0
mov dword [ebp - 0x202c], 0
push 0x1000
lea edx, [ebp - 0x2028]
push edx
push 0
push 0
lea eax, [ebp - 0x2030]
push eax
push 0x1000
lea ecx, [ebp - 0x3030]
push ecx
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x202c], eax
cmp dword [ebp - 0x202c], 1
jne 0x43b194
push 1
push 3
lea ecx, [ebp - 0x30b8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
mov dword [ebp - 0x32a8], eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x2030]
push eax
lea ecx, [ebp - 0x30b0]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
lea ecx, [ebp - 0x318c]
push ecx
lea ecx, [ebp - 0x30b8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov dword [ebp - 0x32ac], eax
mov edx, dword [ebp - 0x32ac]
mov dword [ebp - 0x32b0], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x32b0]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x318c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
call fcn.004071b0
mov dword [ebp - 0x32b4], eax
mov ecx, dword [ebp - 0x32b4]
mov dword [ebp - 0x32b8], ecx
cmp dword [ebp - 0x32b8], 1
je 0x43b14c
jmp 0x43b156
call fcn.0040d140
call fcn.0040e480
mov dword [ebp - 0x3190], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30b8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov eax, dword [ebp - 0x3190]
jmp 0x43b487
mov edx, dword [ebp - 0x101c]
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
mov ecx, dword [ebp - 0x101c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x101c], edx
mov byte [ebp - 4], 9
call fcn.004070c0
jmp 0x43b1d5
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x101c]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
test eax, eax
jne 0x43b254
mov byte [ebp - 0x101d], 0
call fcn.00404030
mov dword [ebp - 0x32c0], eax
cmp dword [ebp - 0x32c0], 0
je 0x43b22c
push 0x23
push 0x72
call fcn.00403d00
add esp, 8
mov dword [ebp - 0x32c4], eax
cmp dword [ebp - 0x32c4], 0x11
jge 0x43b22c
call fcn.0040d610
jmp 0x43b254
push 0xfa
push 0x68
call fcn.004037c0
add esp, 8
mov dword [ebp - 0x32c8], eax
cmp dword [ebp - 0x32c8], 0x6590
jne 0x43b24f
jmp 0x43b254
call fcn.0040e480
jmp 0x43aff5
lea ecx, [ebp - 0x31ec]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x31d0], esp
push 0x22
push 0x46643c
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x32cc], eax
lea ecx, [ebp - 0x31cc]
call fcn.00401fe0
mov dword [ebp - 0x32d0], eax
mov edx, dword [ebp - 0x32d0]
mov dword [ebp - 0x32d4], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x32d4]
call fcn.004021e0
mov dword [ebp - 0x32d8], eax
mov eax, dword [ebp - 0x32d8]
mov dword [ebp - 0x32dc], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x32dc]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov dword [ebp - 0x32e0], eax
mov ecx, dword [ebp - 0x32e0]
push ecx
lea ecx, [ebp - 0x31ac]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0x32e4], eax
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x31ac]
push edx
mov ecx, 0x4712ac
call fcn.00452ca0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x31ac]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x31ec]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x31cc]
call fcn.00444890
push 0xa8
push 0x16
call fcn.004037c0
add esp, 8
mov dword [ebp - 0x32e8], eax
cmp dword [ebp - 0x32e8], 0xe70
jne 0x43b369
call fcn.00404e20
mov dword [ebp - 0x32ec], eax
cmp dword [ebp - 0x32ec], 0
je 0x43b369
call fcn.00425e40
xor eax, eax
jmp 0x43b487
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045ae26
mov esp, ebp
pop ebp
ret