Function at 0x43ff00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4665a4
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x32c4
call fcn.00462120
mov eax, dword [0x47e0b0]
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
mov byte [ebp - 4], 1
call fcn.004040b0
jmp 0x43ff69
mov dword [ebp - 4], 0
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
cmp dword [ebp - 0x1024], 0
jne 0x44007b
lea ecx, [ebp - 0x3114]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30f8], esp
push 0x22
push 0x4720ac
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 - 0x3250], eax
lea ecx, [ebp - 0x30f4]
call fcn.004024a0
mov dword [ebp - 0x3254], eax
mov edx, dword [ebp - 0x3254]
mov dword [ebp - 0x3258], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3258]
call fcn.00402730
mov dword [ebp - 0x325c], eax
mov eax, dword [ebp - 0x325c]
mov dword [ebp - 0x3260], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x3260]
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 - 0x3264], eax
mov ecx, dword [ebp - 0x3264]
push ecx
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 - 0x3268], eax
mov byte [ebp - 4], 5
lea edx, [ebp - 0x30d4]
push edx
mov ecx, 0x47e2cc
call fcn.00458f10
mov byte [ebp - 4], 4
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], 3
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.0044aa80
xor eax, eax
jmp 0x4405ce
cmp dword [ebp - 0x1024], 0x1000
jbe 0x440168
lea eax, [ebp - 0x3170]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3154], esp
push 0x22
push 0x4720d0
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 - 0x326c], eax
lea ecx, [ebp - 0x3150]
call fcn.004024a0
mov dword [ebp - 0x3270], eax
mov ecx, dword [ebp - 0x3270]
mov dword [ebp - 0x3274], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x3274]
call fcn.00402650
mov dword [ebp - 0x3278], eax
mov edx, dword [ebp - 0x3278]
mov dword [ebp - 0x327c], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x327c]
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 - 0x3280], eax
mov eax, dword [ebp - 0x3280]
push eax
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 - 0x3284], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3130]
push ecx
mov ecx, 0x47e2cc
call fcn.00458f10
mov byte [ebp - 4], 7
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], 6
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.0044aa80
xor eax, eax
jmp 0x4405ce
mov byte [ebp - 0x101d], 1
lea edx, [ebp - 0x1018]
mov dword [ebp - 0x101c], edx
movzx eax, byte [ebp - 0x101d]
test eax, eax
je 0x440373
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x44030c
mov dl, byte [0x46ad1a]
mov byte [ebp - 0x3030], dl
push 0xfff
push 0
lea eax, [ebp - 0x302f]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov cl, byte [0x46ad1b]
mov byte [ebp - 0x2028], cl
push 0xfff
push 0
lea edx, [ebp - 0x2027]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x2030], 0
push 0xa1
push 0xa5
push 0x6d
call fcn.004062d0
add esp, 0xc
mov dword [ebp - 0x3288], eax
cmp dword [ebp - 0x3288], 0x1b3
jne 0x440216
jmp 0x440224
call fcn.0040e370
call fcn.0040e450
jmp 0x440224
mov dword [ebp - 0x202c], 0
push 0x1000
lea eax, [ebp - 0x2028]
push eax
push 0
push 0
lea ecx, [ebp - 0x2030]
push ecx
push 0x1000
lea edx, [ebp - 0x3030]
push edx
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov dword [ebp - 0x202c], eax
cmp dword [ebp - 0x202c], 1
jne 0x44030c
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 - 0x328c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2030]
push ecx
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 edx, [ebp - 0x318c]
push edx
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 - 0x3290], eax
mov eax, dword [ebp - 0x3290]
mov dword [ebp - 0x3294], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x3294]
push ecx
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], 9
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_]
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 0x4405ce
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], 0xb
call fcn.00406390
jmp 0x44034d
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x101c]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
test eax, eax
jne 0x44036e
mov byte [ebp - 0x101d], 0
jmp 0x44017b
lea ecx, [ebp - 0x31ec]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x31d0], esp
push 0x22
push 0x4720f4
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 - 0x3298], eax
lea ecx, [ebp - 0x31cc]
call fcn.004024a0
mov dword [ebp - 0x329c], eax
mov edx, dword [ebp - 0x329c]
mov dword [ebp - 0x32a0], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x32a0]
call fcn.00402b40
mov dword [ebp - 0x32a4], eax
mov eax, dword [ebp - 0x32a4]
mov dword [ebp - 0x32a8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x32a8]
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 - 0x32ac], eax
mov ecx, dword [ebp - 0x32ac]
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 - 0x32b0], eax
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x31ac]
push edx
mov ecx, 0x47e2cc
call fcn.00458f10
mov byte [ebp - 4], 0xe
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], 0xd
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.0044aa80
push 0xd9
call fcn.00405900
add esp, 4
mov dword [ebp - 0x32b4], eax
cmp dword [ebp - 0x32b4], 0x147
jne 0x440481
call fcn.00406710
mov dword [ebp - 0x32b8], eax
cmp dword [ebp - 0x32b8], 0
je 0x440481
call fcn.00402210
xor eax, eax
jmp 0x4405ce
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.00462030
mov esp, ebp
pop ebp
ret