Function at 0x101ba47
Capabilities:
Get disk information

Disassembly:
push 0x60
mov eax, 0x102f182
call fcn.0102d2d6
and dword [ebp - 0x20], 0
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
mov ebx, 0x1006c98
push ebx
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 0x118
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], 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 - 0x6c]
mov byte [ebp - 4], 1
call fcn.01011355
xor eax, eax
lea edi, [ebp - 0xf]
stosb byte es:[edi], al
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
lea edi, [ebp - 0x11]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 3
stosb byte es:[edi], al
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 - 0x1c], esp
lea eax, [ebp - 0xf]
push eax
push 0x1006c5c
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 - 0x18], esp
lea eax, [ebp - 0x10]
push eax
push ebx
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__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
push 0x11c
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x11]
push eax
push esi
mov byte [ebp - 4], 5
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 - 0x6c]
push eax
mov byte [ebp - 4], 3
call fcn.010111d2
add esp, 0x2c
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
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 eax, [ebp - 0x44]
push eax
call fcn.01017de2
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
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_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x44]
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_]
xor eax, eax
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
lea eax, [ebp - 0x11]
push eax
push 0
push 0x104
lea ecx, [ebp - 0x34]
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 - 0x34]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.010110b2
mov edi, dword [eax + 8]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 8
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]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
lea ecx, [ebp - 0x48]
mov edi, eax
mov byte [ebp - 4], 7
call fcn.01011176
test edi, edi
jne 0x101bd34
xor eax, eax
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
lea edi, [ebp - 0xf]
stosb byte es:[edi], al
push 0x1006b68
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 - 0xf]
push eax
push ebx
mov byte [ebp - 4], 9
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 0x123
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x12]
push eax
push esi
mov byte [ebp - 4], 0xa
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 - 0x6c]
push eax
mov byte [ebp - 4], 7
call fcn.010111d2
add esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
test eax, eax
jg 0x101bc37
mov dword [ebp - 0x18], eax
jmp 0x101bc48
mov ecx, eax
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x101bd34
push 0x1006b68
xor eax, eax
sub esp, 0x10
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x24], 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 - 0x6c]
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 - 0x24], 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 - 0x6c]
push eax
call fcn.010114c6
mov esi, dword [ebp - 0x18]
xor eax, eax
add esp, 0x18
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.01010552
mov byte [ebp - 4], 0xb
mov ecx, eax
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 - 0x24], 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 - 0x6c]
push eax
call fcn.010114c6
add esp, 0x18
lea ecx, [ebp - 0x44]
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__::destructor_void_]
xor eax, eax
sub esp, 0x10
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x24], 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 - 0x6c]
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
xor eax, eax
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
lea edi, [ebp - 0xf]
lea ecx, [ebp - 0x34]
stosb byte es:[edi], al
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 - 0x24], esp
lea eax, [ebp - 0x12]
push eax
push 0x1006b18
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 - 0x10]
push eax
push ebx
mov byte [ebp - 4], 0xc
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 0x124
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0xf]
push eax
push esi
mov byte [ebp - 4], 0xd
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 - 0x6c]
push eax
mov byte [ebp - 4], 7
call fcn.010111d2
mov ecx, dword [ebp + 8]
xor eax, eax
add esp, 0x3c
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
lea eax, [ebp - 0x12]
push eax
push 0
push 0x104
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__]
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], 1
call fcn.010110b2
mov ecx, dword [ebp + 8]
mov edi, dword [eax + 8]
mov byte [ebp - 4], 0xe
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 - 0x34]
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 dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
lea ecx, [ebp - 0x48]
mov edi, eax
mov byte [ebp - 4], 7
call fcn.01011176
test edi, edi
jne 0x101bf14
xor eax, eax
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
push 0x1006a08
sub esp, 0x10
lea edi, [ebp - 0xf]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x12]
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 - 0x10]
push eax
push ebx
mov byte [ebp - 4], 0xf
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 0x128
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0xf]
push eax
push esi
mov byte [ebp - 4], 0x10
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 - 0x6c]
push eax
mov byte [ebp - 4], 7
call fcn.010111d2
add esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
test eax, eax
jg 0x101be89
mov dword [ebp - 0x18], eax
jmp 0x101be9a
mov ecx, eax
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x101bf14
push 0x1006a08
xor eax, eax
sub esp, 0x10
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
mov ecx, esp
mov dword [ebp - 0x24], 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 - 0x6c]
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 - 0x24], 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 - 0x6c]
push eax
call fcn.010114c6
mov esi, dword [ebp - 0x18]
xor eax, eax
add esp, 0x18
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.01010552
mov byte [ebp - 4], 0x11
jmp 0x101bcc1
mov ecx, dword [ebp + 8]
xor eax, eax
lea edi, [ebp - 0x12]
stosb byte es:[edi], al
lea edi, [ebp - 0x10]
stosb byte es:[edi], al
lea edi, [ebp - 0xf]
stosb byte es:[edi], al
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 - 0x24], esp
lea eax, [ebp - 0x12]
push eax
push 0x1005a50
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 - 0x10]
push eax
push ebx
mov byte [ebp - 4], 0x12
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 0x129
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0xf]
push eax
push esi
mov byte [ebp - 4], 0x13
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 - 0x6c]
push eax
mov byte [ebp - 4], 7
call fcn.010111d2
add esp, 0x3c
lea ecx, [ebp - 0x34]
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 - 0x6c]
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, dword [ebp + 8]
call fcn.0102d387
ret 0x14