Function at 0x1014ed3
Capabilities:
Get disk information

Disassembly:
push 0x64
mov eax, 0x102e579
call fcn.0102d2d6
xor ebx, ebx
mov dword [ebp - 0x20], ebx
xor eax, eax
lea edi, [ebp - 0xd]
stosb byte es:[edi], al
sub esp, 0x10
lea edi, [ebp - 0xe]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0xd]
push eax
push 0x1003890
mov dword [ebp - 4], 1
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
push 0x1cd
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0xe]
push eax
mov esi, 0x1002b10
push esi
mov byte [ebp - 4], 2
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.01011355
xor eax, eax
lea edi, [ebp - 0xf]
stosb byte es:[edi], al
lea eax, [ebp - 0xf]
push eax
push ebx
push 0x104
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_int__unsigned_short_int__class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 4
call fcn.010110b2
mov edi, dword [eax + 8]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call dword [sym.imp.msvcp60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::length_void_const]
push eax
push edi
lea ecx, [ebp + 0xc]
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov edi, dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
push eax
call edi
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x4c]
inc bl
mov byte [ebp - 4], 4
call fcn.01011176
test bl, bl
je 0x1015176
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x38]
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::resize_unsigned_int__unsigned_short_int_]
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x4c]
call fcn.010110b2
mov ebx, dword [eax + 8]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call dword [sym.imp.msvcp60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::length_void_const]
push eax
push ebx
lea ecx, [ebp + 0xc]
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call edi
mov edi, eax
neg edi
sbb edi, edi
lea ecx, [ebp - 0x4c]
inc edi
mov byte [ebp - 4], 4
call fcn.01011176
test edi, edi
jne 0x1015176
xor eax, eax
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
mov ebx, 0x1003768
push ebx
sub esp, 0x10
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x10]
push eax
push 0x1002c84
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 0x11]
push eax
push 0x1003890
mov byte [ebp - 4], 7
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
push 0x1db
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x12]
push eax
push esi
mov byte [ebp - 4], 8
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 4
call fcn.010111d2
add esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
mov esi, eax
test eax, eax
jle 0x1015093
and esi, 0xffff
or esi, 0x80070000
test eax, eax
je 0x1015176
push ebx
xor eax, eax
sub esp, 0x10
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x12]
push eax
push 0x1002c48
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x70]
push eax
call fcn.010114c6
add esp, 0x18
push dword [ebp - 0x1c]
xor eax, eax
sub esp, 0x10
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x12]
push eax
push 0x1002c18
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x70]
push eax
call fcn.010114c6
xor eax, eax
add esp, 0x18
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
push esi
lea eax, [ebp - 0x48]
push eax
call fcn.01010552
mov ecx, eax
mov byte [ebp - 4], 9
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x12]
push eax
push 0x100246c
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x70]
push eax
call fcn.010114c6
add esp, 0x18
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
xor eax, eax
sub esp, 0x10
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x12]
push eax
push 0x10023d8
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [ebp - 0x70]
push eax
call fcn.010114c6
add esp, 0x14
push 0x103138c
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call sub.msvcrt.dll__CxxThrowException
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
mov ecx, ebx
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], 1
call dword [sym.imp.msvcp60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
mov esi, eax
jmp 0x10151da
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x101519e
sub eax, edx
sar eax, 1
mov ecx, ebx
mov edi, eax
call dword [sym.imp.msvcp60.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::length_void_const]
cmp eax, edi
jbe 0x10151c3
push esi
mov ecx, ebx
call dword [sym.imp.msvcp60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_unsigned_short_int_const__]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10151c8
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x1015199
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.01011422
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call dword [sym.imp.msvcp60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov eax, ebx
call fcn.0102d387
ret 0x14