Function at 0x415da0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x70
or ecx, 0xffffffff
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, 0x42c4c0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x415dc3
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ebp, dword [esp + 0x84]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x415df0
mov al, byte [ecx - 1]
test al, al
je 0x415df0
cmp al, 0xff
je 0x415df0
test ebx, ebx
jne 0x415e16
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x415e41
test ebx, ebx
jne 0x415e00
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x415e41
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x415e0c
cmp eax, ebx
jae 0x415e1f
push 1
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
mov esi, 0x42c4c0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ebx + ecx], 0
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x30]
push 0x64
push eax
push 0x42ae70
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x415e70
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x70
ret 4
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, dword [esp + 0x10]
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
sub edx, ecx
cmp edx, 6
ja 0x415e96
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov esi, dword [ebp + 8]
add esi, 6
cmp esi, 0xfffffffd
jbe 0x415ea7
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x415ed7
mov al, byte [ecx - 1]
test al, al
je 0x415ed7
cmp al, 0xff
je 0x415ed7
test esi, esi
jne 0x415ef9
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x70
ret 4
test esi, esi
jne 0x415ef4
test ecx, ecx
je 0x415f1f
push esi
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x70
ret 4
cmp dword [ebp + 0xc], esi
jae 0x415f02
push esi
mov ecx, ebp
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Copy_unsigned_int_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add eax, ecx
mov cx, word [esp + 0x18]
mov dword [eax], edi
mov word [eax + 4], cx
mov edx, dword [ebp + 4]
mov dword [ebp + 8], esi
mov byte [esi + edx], 0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x70
ret 4