Function at 0x46eff0
Capabilities:
Get disk information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aec81
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x308
mov eax, dword [0x4cfa1c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x2f8], edi
lea ecx, [ebp - 0x318]
mov dword [ebp - 0x2f4], 0
call fcn.0046a9b0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x46f063
mov eax, dword [eax]
push 0x100
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
push 0x100
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x318]
call fcn.00446f30
test esi, esi
jne 0x46f0da
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], esi
mov dword [ebp - 0x2f4], 1
jmp 0x46f292
push 0xb0
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.00499a10
lea eax, [ebp - 0x288]
mov dword [ebp - 0x2f0], 0x4bd950
mov dword [ebp - 0x2e0], 0x4bd5f0
mov dword [ebp - 0x2fc], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 4], 3
mov dword [ebp - method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 4
add esp, 8
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2f4], 2
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00446160
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2f4], eax
lea eax, [ebp - 0x2d8]
mov ecx, eax
mov dword [ebp - 0x300], eax
call fcn.00447220
mov byte [ebp - 4], 6
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x2cc]
mov eax, dword [ebp - 0x2e0]
add ecx, dword [eax + 4]
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0x2e0]
push dword [ebp - 0x21c]
call fcn.00477190
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.00443cf0
mov byte [ebp - 4], 9
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x234]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x234], 0
movups xmmword [edi], xmm0
mov dword [ebp - 0x2f4], 3
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x234]
call fcn.00446fc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f0]
call fcn.00442890
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00497d9d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret