Function at 0x1002a280
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041706
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x1005200c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x244], esi
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x22c], 0xf
mov dword [ebp - 0x230], 0
mov byte [ebp - 0x240], 0
push 5
push 0x10049dc4
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], 0
call fcn.1000b220
push 0xff
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x244]
push eax
push 0xff
lea eax, [ebp - 0x210]
push eax
push 0x10049dc0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
setne al
test al, al
jne 0x1002a357
lea eax, [ebp - 0x240]
mov ecx, esi
push eax
call fcn.1000aa00
mov ecx, dword [ebp - 0x22c]
cmp ecx, 0x10
jb 0x1002a4f3
inc ecx
push ecx
jmp 0x1002a4e8
sub esp, 8
lea ecx, [ebp - 0x300]
call fcn.1000ab10
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x244]
lea eax, [ecx*4]
push eax
push 0x1000a730
lea eax, [ecx + ecx]
push eax
push 0x1000a730
push ecx
push 0x1000a730
lea ecx, [ebp - 0x2f0]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.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_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.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_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP140.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_]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x300]
call fcn.1000aaf0
xor ecx, ecx
cmp dword [ebp - 0x218], ecx
jbe 0x1002a401
nop dword [eax + eax]
cmp dword [ebp - 0x214], 0x10
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
add byte [eax + ecx], 0x14
inc ecx
cmp ecx, dword [ebp - 0x218]
jb 0x1002a3e0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [ebp - 0x214]
cmp ecx, 0x10
jae 0x1002a442
mov eax, dword [ebp - 0x218]
add eax, 1
je 0x1002a454
push eax
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.VCRUNTIME140.dll_memmove]
mov ecx, dword [ebp - 0x214]
add esp, 0xc
jmp 0x1002a454
mov eax, dword [ebp - 0x228]
mov dword [esi], eax
mov dword [ebp - 0x228], 0
mov eax, dword [ebp - 0x218]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x300]
mov dword [esi + 0x14], ecx
mov dword [ebp - 0x214], 0xf
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x228], 0
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 - 0x300]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x304], eax
lea ecx, [ebp - 0x2e8]
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
call fcn.1000b490
lea ecx, [ebp - 0x2e8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2e0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x298]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov eax, dword [ebp - 0x22c]
cmp eax, 0x10
jb 0x1002a4f3
inc eax
push eax
push dword [ebp - 0x240]
call fcn.1000b6b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003da32
mov esp, ebp
pop ebp
ret