Function at 0x42bde0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e326
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x31f8
call fcn.0044a4d0
mov eax, dword [0x4622c0]
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 [0x45379b]
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
cmp dword [ebp - 0x1020], 0
je 0x42be6e
cmp dword [ebp - 0x1020], 0x1000
jbe 0x42bf4a
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 0x4559b8
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.00402c20
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.00402df0
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.00429930
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.00404940
jmp 0x42c219
lea ecx, [ebp - 0x1018]
mov dword [ebp - 0x101c], ecx
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x42c169
mov al, byte [0x4537aa]
mov byte [ebp - 0x3030], al
push 0xfff
push 0
lea ecx, [ebp - 0x302f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x6c
call fcn.00401070
add esp, 4
mov dword [ebp - 0x31e4], eax
cmp dword [ebp - 0x31e4], 0xa4
je 0x42bfab
jmp 0x42bfad
jmp 0x42bfb7
call fcn.00446ff0
call fcn.00446ff0
mov dl, byte [0x4537ab]
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 - 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
cmp dword [ebp - 0x202c], 1
jne 0x42c169
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], 2
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_]
push 0x1f
push 0x99
push 0x83
call fcn.0041e6e0
add esp, 0xc
mov dword [ebp - 0x31e8], eax
cmp dword [ebp - 0x31e8], 0x13b
je 0x42c082
jmp 0x42c084
jmp 0x42c08e
call fcn.00446640
call fcn.00423fe0
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 - 0x31ec], eax
mov ecx, dword [ebp - 0x31ec]
mov dword [ebp - 0x31f0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x31f0]
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], 2
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_]
call fcn.0041e840
test eax, eax
je 0x42c0f3
call fcn.00446640
call fcn.00422610
mov eax, dword [ebp - 0x31cc]
mov ecx, dword [ebp - 0x1024]
mov dword [eax + 0x1d4], ecx
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 0x42c31c
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
push 0x92
push 0x2f
push 0x7c
call fcn.0041e6e0
add esp, 0xc
cmp eax, 0xc1
jne 0x42c1ae
call fcn.0041ea70
test eax, eax
je 0x42c1ae
call fcn.00423fe0
mov eax, dword [ebp - 0x101c]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
test eax, eax
jne 0x42c1c3
jmp 0x42c1ec
push 0x59
push 0xd9
call fcn.0043da00
add esp, 8
cmp eax, 0x4b71
jne 0x42c1e7
call fcn.0041ea00
test eax, eax
je 0x42c1e7
call fcn.00446ff0
jmp 0x42bf56
jmp 0x42c219
lea ecx, [ebp - 0x31c8]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x31ac], esp
push 0x19
push 0x4559e0
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 - 0x31f4], eax
lea ecx, [ebp - 0x31a8]
call fcn.00402c20
mov dword [ebp - 0x31f8], eax
mov edx, dword [ebp - 0x31f8]
mov dword [ebp - 0x31fc], edx
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x31fc]
call fcn.00403090
mov dword [ebp - 0x3200], eax
mov eax, dword [ebp - 0x3200]
mov dword [ebp - 0x3204], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x3204]
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.00429930
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.00404940
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
call fcn.0041e990
mov dword [ebp - 0x3208], eax
cmp dword [ebp - 0x3208], 1
je 0x42c310
jmp 0x42c31a
call fcn.00422740
call fcn.00446ff0
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.0044a380
mov esp, ebp
pop ebp
ret