Function at 0x457fd0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b8c4
mov eax, dword fs:[0]
push eax
mov eax, 0x27dc
call fcn.00514b80
mov eax, dword [0x5a4eec]
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 edi, edx
mov esi, ecx
mov dword [ebp - 0x2724], esi
push 0x98
lea eax, [ebp - 0x27c8]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x27d0], esi
mov dword [ebp - 0x27cc], 0
call fcn.00517500
add esp, 4
lea ecx, [ebp - 0x27c8]
call fcn.0044bbc0
mov dword [ebp - 4], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x458071
mov eax, dword [esi]
jmp 0x458073
mov eax, esi
mov byte [eax], 0
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x27cc], 1
jb 0x45808a
mov eax, dword [edi]
jmp 0x45808c
mov eax, edi
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x458206
push 0x2710
lea eax, [ebp - 0x2720]
push 0
push eax
call fcn.00517500
add esp, 0xc
mov dword [ebp - 0x2728], 0
lea eax, [ebp - 0x2724]
xorps xmm0, xmm0
movq qword [ebp - 0x2730], xmm0
mov dword [ebp - 0x2730], 0
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2720]
mov dword [ebp - 0x272c], 0
push eax
push 0xc
lea eax, [ebp - 0x2730]
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4581a6
mov eax, dword [ebp - 0x2708]
test eax, eax
je 0x458158
lea edx, [ebp - 0x2720]
add edx, eax
cmp byte [edx], 0
jne 0x458136
xor ecx, ecx
jmp 0x458149
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x458140
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.0044b730
mov eax, dword [ebp - 0x2708]
push eax
mov edx, str.DeviceIoControl_ok:_off
lea ecx, [ebp - 0x27c8]
call fcn.00450060
mov ecx, eax
call fcn.0044c2b0
mov edx, str.__number
mov ecx, eax
call fcn.00450060
mov edx, esi
mov ecx, eax
call fcn.00453b50
push eax
call fcn.00453dc0
add esp, 4
lea eax, [ebp - 0x27e8]
lea ecx, [ebp - 0x27c8]
push eax
call fcn.0044bae0
mov byte [ebp - 4], 2
jmp 0x4581e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.DeviceIoControl_error:
lea ecx, [ebp - 0x27c8]
call fcn.00450060
mov ecx, eax
call fcn.0044c2b0
push eax
call fcn.00453dc0
add esp, 4
lea eax, [ebp - 0x27e8]
lea ecx, [ebp - 0x27c8]
push eax
call fcn.0044bae0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x4581eb
mov eax, dword [eax]
mov ecx, eax
call fcn.004541e0
lea ecx, [ebp - 0x27e8]
call fcn.0044b890
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x458272
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.Open_disk_error:_path
lea ecx, [ebp - 0x27c8]
call fcn.00450060
mov edx, edi
mov ecx, eax
call fcn.00453b50
mov edx, str.__error
mov ecx, eax
call fcn.00450060
mov ecx, eax
call fcn.0044c2b0
push eax
call fcn.00453dc0
add esp, 4
lea eax, [ebp - 0x27e8]
lea ecx, [ebp - 0x27c8]
push eax
call fcn.0044bae0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x458260
mov eax, dword [eax]
mov ecx, eax
call fcn.004541e0
lea ecx, [ebp - 0x27e8]
call fcn.0044b890
lea ecx, [ebp - 0x2778]
call fcn.0044bb00
lea eax, [ebp - 0x2778]
mov dword [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00513411
add esp, 4
mov eax, esi
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.00514739
mov esp, ebp
pop ebp
ret