Function at 0x41dee0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b8e4f
push eax
mov eax, 0x2988
mov dword fs:[0], esp
call fcn.004b2280
mov eax, ecx
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
push esi
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
push edi
mov byte [eax], 0
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x14], 1
nop dword [eax]
push edi
lea eax, [ebp - 0x284]
mov dword [ebp - 0x1c], 0
push 0x4d9650
push eax
call fcn.0041d890
add esp, 0xc
lea eax, [ebp - 0x284]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x41e366
push 0
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
push 0x28
lea eax, [ebp - 0xd4]
movq qword [ebp - 0xb4], xmm0
push eax
push 0
push 0
push 0x700a0
push esi
movups xmmword [ebp - 0xd4], xmm0
movups xmmword [ebp - 0xc4], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41e359
cmp dword [ebp - 0xcc], 0xc
jne 0x41e359
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xb8]
push 0x2710
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2994]
push 0
push eax
call fcn.00453a70
add esp, 0xc
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x30], 0
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2994]
mov dword [ebp - 0x2c], 0
push eax
push 0xc
lea eax, [ebp - 0x30]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x41e359
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov dword [ebp - 0x184], 0x4d5a2c
mov dword [ebp - 0x174], 0x4d5adc
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
push 0
lea eax, [ebp - 0x16c]
mov dword [ebp - 4], 1
or dword [ebp - 0x14], 2
lea ecx, [ebp - 0x184]
push eax
call fcn.0040ab10
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x184]
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 - 0x184]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x188], eax
lea eax, [ebp - 0x16c]
mov ecx, eax
mov dword [ebp - 0xac], eax
call fcn.00407910
mov byte [ebp - 4], 3
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 - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x2994]
mov eax, dword [ebp - 0x2988]
add eax, ecx
lea ecx, [ebp - 0x90]
push eax
call fcn.004038f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2994]
mov eax, dword [ebp - 0x2984]
add eax, ecx
lea ecx, [ebp - 0x78]
push eax
call fcn.004038f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2994]
mov eax, dword [ebp - 0x2980]
add eax, ecx
lea ecx, [ebp - 0x60]
push eax
call fcn.004038f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2994]
mov eax, dword [ebp - 0x297c]
add eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.004038f0
push dword [ebp - 0x20]
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 9
push dword [ebp - 0x24]
push str.DiskSize:
push eax
call fcn.00407ea0
add esp, 8
mov ecx, eax
call fcn.0041bd30
lea eax, [ebp - 0x174]
push str._VendorIdOffset:
push eax
call fcn.00407ea0
lea edx, [ebp - 0x90]
mov ecx, eax
call fcn.00408350
lea eax, [ebp - 0x174]
push str._ProductIdOffset:
push eax
call fcn.00407ea0
lea edx, [ebp - 0x78]
mov ecx, eax
call fcn.00408350
lea eax, [ebp - 0x174]
push str._ProductRevisionOffset:
push eax
call fcn.00407ea0
lea edx, [ebp - 0x60]
mov ecx, eax
call fcn.00408350
lea eax, [ebp - 0x174]
push str._SerialNumberOffset:
push eax
call fcn.00407ea0
add esp, 0x20
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.00408350
push dword [ebp - 0x2978]
lea eax, [ebp - 0x174]
push str._BusType:
push eax
call fcn.00407ea0
add esp, 8
mov ecx, eax
call fcn.00414ff0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x184]
call fcn.00409f10
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00403890
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x41e253
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.00402350
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
mov byte [ebp - 0xd], 1
cmp eax, 0x10
jb 0x41e28b
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00402350
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x41e2b6
inc eax
lea ecx, [ebp - 0x60]
push eax
push dword [ebp - 0x60]
call fcn.00402350
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
cmp eax, 0x10
jb 0x41e2e1
inc eax
lea ecx, [ebp - 0x78]
push eax
push dword [ebp - 0x78]
call fcn.00402350
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x41e312
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.00402350
mov dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 0
call fcn.00409f30
lea eax, [ebp - 0x11c]
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
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004af589
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xd], 0
jne 0x41e370
inc edi
cmp edi, 0x10
jl 0x41df40
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret