Function at 0x4af580
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 0x507637
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x308
mov eax, dword [0x583a1c]
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.004ad720
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x4af5f3
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.0043a3c0
test esi, esi
jne 0x4af66a
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 0x4af8b2
push 0xb0
lea eax, [ebp - 0x2f0]
push 0
push eax
call fcn.004e54a0
lea eax, [ebp - 0x288]
mov dword [ebp - 0x2f0], 0x57323c
mov dword [ebp - 0x2e0], 0x57322c
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, 4
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2f4], 2
lea ecx, [ebp - 0x2f0]
push eax
call fcn.004aa220
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x2e0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2e4], eax
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x2f4], eax
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x2f0]
push 8
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 dword [ebp - 0x300], eax
mov dword [ebp - method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004e3cb3
add esp, 4
mov esi, eax
xorps xmm0, xmm0
push 1
movq qword [esi], xmm0
call fcn.004f9839
add esp, 4
mov dword [esi + 4], eax
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x2a4], esi
call fcn.004aa3e0
mov byte [ebp - 4], 0xc
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], 0xe
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.004b7ad0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2f0]
call fcn.004a90c0
mov byte [ebp - 4], 0xf
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], 0xe
lea ecx, [ebp - 0x234]
call fcn.0043a450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f0]
call fcn.004a8810
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.004e3bc5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret