Function at 0x42d9b0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f316
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x31fc
call fcn.0044b580
mov eax, dword [0x4632c0]
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 [0x45474a]
mov byte [ebp - 0x1018], al
push 0xfff
push 0
lea ecx, [ebp - 0x1017]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.0043f860
mov dword [ebp - 0x31d0], eax
cmp dword [ebp - 0x31d0], 1
je 0x42da23
jmp 0x42da2d
call fcn.004278c0
call fcn.00447380
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 0x42da5e
cmp dword [ebp - 0x1020], 0x1000
jbe 0x42db35
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 0x4572a0
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 - 0x31d4], eax
lea ecx, [ebp - 0x3110]
call fcn.00402290
mov dword [ebp - 0x31d8], eax
mov ecx, dword [ebp - 0x31d8]
mov dword [ebp - 0x31dc], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x31dc]
call fcn.004023a0
mov dword [ebp - 0x31e0], eax
mov edx, dword [ebp - 0x31e0]
mov dword [ebp - 0x31e4], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x31e4]
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.0042b540
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.00403c90
jmp 0x42de0f
lea ecx, [ebp - 0x1018]
mov dword [ebp - 0x101c], ecx
push 0x94
push 0xbb
push 0xc6
call fcn.0043fb70
add esp, 0xc
cmp eax, 0x14f
jne 0x42db61
jmp 0x42db6f
call fcn.00428bd0
call fcn.00422080
jmp 0x42db6f
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x42ddcf
mov al, byte [0x45474b]
mov byte [ebp - 0x3030], al
push 0xfff
push 0
lea ecx, [ebp - 0x302f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x81
push 0xeb
call fcn.0041c6a0
add esp, 8
cmp eax, 0x766b
jne 0x42dbc1
jmp 0x42dbcf
call fcn.00428bd0
call fcn.00422160
jmp 0x42dbcf
mov dl, byte [0x45475a]
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
call fcn.0041c760
test eax, eax
je 0x42dc0e
call fcn.00424570
call fcn.00446a30
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 0x42ddcf
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 byte [ebp - 4], 3
call fcn.0043f860
jmp 0x42dc94
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_]
call fcn.00445c30
mov dword [ebp - 0x31e8], eax
cmp dword [ebp - 0x31e8], 1
je 0x42dcc4
jmp 0x42dcce
call fcn.00403ff0
call fcn.00446a30
call fcn.0041d0f0
mov dword [ebp - 0x31ec], eax
cmp dword [ebp - 0x31ec], 1
je 0x42dce4
jmp 0x42dcee
call fcn.004221f0
call fcn.00403ff0
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 - 0x31f0], eax
mov ecx, dword [ebp - 0x31f0]
mov dword [ebp - 0x31f4], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x31f4]
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_]
push 0xb3
push 0x81
call fcn.0041d0c0
add esp, 8
cmp eax, 0x59
jne 0x42dd59
jmp 0x42dd67
call fcn.00422320
call fcn.00422390
jmp 0x42dd67
mov eax, dword [ebp - 0x31cc]
mov ecx, dword [ebp - 0x1024]
mov dword [eax + 0x1d4], ecx
call fcn.0041d090
mov dword [ebp - 0x31f8], eax
cmp dword [ebp - 0x31f8], 1
je 0x42dd8f
jmp 0x42dd99
call fcn.00446a30
call fcn.00422400
call fcn.0043f860
test eax, eax
je 0x42dda7
call fcn.00422530
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 0x42def2
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 eax, dword [ebp - 0x101c]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
test eax, eax
jne 0x42de03
jmp 0x42de08
jmp 0x42db6f
jmp 0x42de0f
lea ecx, [ebp - 0x31c8]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x31ac], esp
push 0x19
push 0x4572c8
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 - 0x31fc], eax
lea ecx, [ebp - 0x31a8]
call fcn.00402290
mov dword [ebp - 0x3200], eax
mov edx, dword [ebp - 0x3200]
mov dword [ebp - 0x3204], edx
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x3204]
call fcn.00402530
mov dword [ebp - 0x3208], eax
mov eax, dword [ebp - 0x3208]
mov dword [ebp - 0x320c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x320c]
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.0042b540
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.00403c90
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.0044b4f4
mov esp, ebp
pop ebp
ret