Function at 0x10008e19
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100421da
mov eax, dword fs:[0]
push eax
mov eax, 0x18cc
call fcn.10032480
mov eax, dword [0x10058684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, 0x3ff
xor ebx, ebx
push esi
lea eax, [ebp - 0x40f]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x1834], edi
mov byte [ebp - 0x410], bl
call fcn.10024270
add esp, 0xc
push esi
lea eax, [ebp - 0x80f]
push ebx
push eax
mov byte [ebp - 0x810], bl
call fcn.10024270
add esp, 0xc
xor eax, eax
mov esi, 0x7fe
push esi
mov word [ebp - 0x1810], ax
lea eax, [ebp - 0x180e]
push ebx
push eax
call fcn.10024270
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push ebx
push eax
call fcn.10024270
lea eax, [edi + 0x1c]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x1830], ebx
mov dword [ebp - 0x183c], ebx
mov dword [ebp - 0x1838], ebx
jb 0x10008ede
mov eax, dword [eax]
mov esi, 0x400
push esi
lea ecx, [ebp - 0x810]
push ecx
lea ecx, [ebp - 0x1838]
push ecx
lea ecx, [ebp - 0x183c]
push ecx
lea ecx, [ebp - 0x1830]
push ecx
push esi
lea ecx, [ebp - 0x410]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [ebp - 0x410]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10008f18
sub eax, edi
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jbe 0x10008f70
push esi
lea eax, [ebp - 0x1810]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push eax
push ebx
push ebx
call edi
push esi
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.10024270
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x410]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1810]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x810]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10008f79
sub eax, edx
cmp eax, ebx
jbe 0x10008fcb
push esi
lea eax, [ebp - 0x1010]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
call edi
push esi
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.10024270
add esp, 0xc
push ebx
push ebx
push esi
lea eax, [ebp - 0x810]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1010]
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x18d8]
push eax
call fcn.1000a06a
mov dword [ebp - 4], ebx
push dword [ebp - 0x1830]
lea eax, [ebp - 0x18d8]
push eax
call fcn.10009df0
push ebx
mov ecx, eax
call fcn.1000ce6a
lea eax, [ebp - 0x182c]
push eax
lea ecx, [ebp - 0x18d8]
call fcn.1000a124
mov edi, dword [ebp - 0x1834]
add edi, 0x8c
mov esi, eax
mov byte [ebp - 4], 1
call fcn.1000cf26
push ebx
push 1
lea ecx, [ebp - 0x182c]
mov byte [ebp - 4], bl
call fcn.10003236
mov esi, dword [ebp - 0x1834]
lea eax, [ebp - 0x410]
push eax
lea ecx, [esi + 0x70]
call fcn.1000d06f
lea eax, [ebp - 0x810]
push eax
lea ecx, [esi + 0xa8]
call fcn.1000d06f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1888]
call fcn.1000a0e5
lea eax, [ebp - 0x1888]
push eax
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.1001cac4
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001d73b
leave
ret