Function at 0x42b900
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d376
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x31f0
call fcn.00449690
mov eax, dword [0x4612c0]
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 - 0x31cc], ecx
mov al, byte [0x452263]
mov byte [ebp - 0x1018], al
push 0xfff
push 0
lea ecx, [ebp - 0x1017]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [ebp - 0x1018]
push edx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov dword [ebp - 0x1020], eax
push 0x7f
push 0x59
call fcn.0041c500
add esp, 8
cmp eax, 0x2c27
jne 0x42b98a
jmp 0x42b998
call fcn.00420000
call fcn.0041cf60
jmp 0x42b998
cmp dword [ebp - 0x1020], 0
je 0x42b9b1
cmp dword [ebp - 0x1020], 0x1000
jbe 0x42ba67
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3130]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3114], esp
push 0x25
push 0x454aa0
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 - 0x31d0], eax
lea ecx, [ebp - 0x3110]
call fcn.00402390
mov dword [ebp - 0x31d4], eax
mov ecx, dword [ebp - 0x31d4]
mov dword [ebp - 0x31d8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x31d8]
call fcn.00402690
mov dword [ebp - 0x31dc], eax
mov edx, dword [ebp - 0x31dc]
mov dword [ebp - 0x31e0], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x31e0]
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]
push eax
push 1
mov eax, dword [ebp - 0x31cc]
push eax
call fcn.004293c0
add esp, 0x10
mov byte [ebp - 4], 0
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 dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3110]
call fcn.004355a0
jmp 0x42bd29
lea ecx, [ebp - 0x1018]
mov dword [ebp - 0x101c], ecx
call fcn.0041c160
test eax, eax
je 0x42ba86
call fcn.00420bf0
call fcn.00420090
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x42bcd6
mov al, byte [0x452302]
mov byte [ebp - 0x3030], al
push 0xfff
push 0
lea ecx, [ebp - 0x302f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x93
push 0xb9
call fcn.00443eb0
add esp, 8
cmp eax, 0x49
jne 0x42bad6
jmp 0x42bae4
call fcn.00420110
call fcn.004269e0
jmp 0x42bae4
mov dl, byte [0x452303]
mov byte [ebp - 0x2028], dl
push 0xfff
push 0
lea eax, [ebp - 0x2027]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x1024], 0
mov dword [ebp - 4], 2
call fcn.00403d20
jmp 0x42bb35
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x202c], 0
push 0x1000
lea ecx, [ebp - 0x2028]
push ecx
push 0
push 0
lea edx, [ebp - 0x1024]
push edx
push 0x1000
lea eax, [ebp - 0x3030]
push eax
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x202c], eax
push 0x85
push 0x22
push 2
call fcn.00444100
add esp, 0xc
cmp eax, 0xa9
jne 0x42bb96
jmp 0x42bba4
call fcn.004078a0
call fcn.0041cf60
jmp 0x42bba4
cmp dword [ebp - 0x202c], 1
jne 0x42bcd6
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 - 4], 4
mov edx, dword [ebp - 0x1024]
push edx
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_]
call fcn.0041bea0
test eax, eax
je 0x42bbe9
call fcn.004078a0
lea eax, [ebp - 0x314c]
push eax
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 - 0x31e4], eax
mov ecx, dword [ebp - 0x31e4]
mov dword [ebp - 0x31e8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x31e8]
push edx
mov ecx, dword [ebp - 0x31cc]
add ecx, 0x1d8
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], 4
lea ecx, [ebp - 0x314c]
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 eax, dword [ebp - 0x31cc]
mov ecx, dword [ebp - 0x1024]
mov dword [eax + 0x1d4], ecx
call fcn.00406a20
test eax, eax
je 0x42bc60
call fcn.00420320
call fcn.0043ece0
call fcn.00403d20
test eax, eax
je 0x42bc73
call fcn.004203b0
call fcn.00420490
mov dword [ebp - 0x3150], 0
mov dword [ebp - 4], 0xffffffff
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 - 0x3150]
jmp 0x42be5f
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
call fcn.0041c4a0
test eax, eax
je 0x42bd08
call fcn.00426580
call fcn.004078a0
mov eax, dword [ebp - 0x101c]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
test eax, eax
jne 0x42bd1d
jmp 0x42bd22
jmp 0x42ba86
jmp 0x42bd29
lea ecx, [ebp - 0x31c8]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x31ac], esp
push 0x19
push 0x454ac8
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 - 0x31ec], eax
lea ecx, [ebp - 0x31a8]
call fcn.00402390
mov dword [ebp - 0x31f0], eax
mov edx, dword [ebp - 0x31f0]
mov dword [ebp - 0x31f4], edx
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x31f4]
call fcn.00402470
mov dword [ebp - 0x31f8], eax
mov eax, dword [ebp - 0x31f8]
mov dword [ebp - 0x31fc], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x31fc]
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]
push eax
push 1
mov ecx, dword [ebp - 0x31cc]
push ecx
call fcn.004293c0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x31c8]
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 dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x31a8]
call fcn.004355a0
push 0x23
call fcn.0041cab0
add esp, 4
mov dword [ebp - 0x3200], eax
cmp dword [ebp - 0x3200], 0x36
je 0x42bdee
jmp 0x42bdf0
jmp 0x42bdfa
call fcn.00420780
call fcn.00426580
mov dword [ebp - 4], 8
call fcn.0041c470
jmp 0x42be1f
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x31cc]
add edx, 0x1f8
push edx
mov ecx, dword [ebp - 0x31cc]
add ecx, 0x1d8
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 eax, dword [ebp - 0x31cc]
mov ecx, dword [ebp - 0x31cc]
mov edx, dword [ecx + 0x1f4]
mov dword [eax + 0x1d4], edx
xor eax, eax
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.00449600
mov esp, ebp
pop ebp
ret