Function at 0x4573d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6848e6
mov eax, dword fs:[0]
push eax
mov eax, 0x302c
call fcn.005df450
mov eax, dword [0x763480]
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, ecx
push 0
push str..PhysicalDrive_d
lea eax, [ebp - 0x110]
xor bl, bl
push 0x100
push eax
call fcn.00455700
add esp, 0x10
lea eax, [ebp - 0x110]
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 0x457682
push 0x2710
lea eax, [ebp - 0x2ff0]
mov dword [ebp - 0x3030], 0
push 0
push eax
mov dword [ebp - 0x2ff4], 0
mov dword [ebp - 0x2ffc], 0
mov dword [ebp - 0x2ff8], 0
call fcn.006279a0
add esp, 0xc
lea eax, [ebp - 0x3030]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2ff0]
push eax
push 0xc
lea eax, [ebp - 0x2ffc]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x457682
lea eax, [ebp - 0x4f8]
mov ecx, edi
push eax
push 0
push dword [ebp - 0x2fd8]
lea eax, [ebp - 0x2ff0]
push eax
call fcn.004581c0
lea eax, [ebp - 0x8e0]
mov ecx, edi
push eax
push 0
push dword [ebp - 0x2fe0]
lea eax, [ebp - 0x2ff0]
push eax
call fcn.004581c0
cmp dword [edi + 0x23c], 0x10
lea eax, [edi + 0x228]
jb 0x457500
mov eax, dword [eax]
cmp byte [eax], bl
jne 0x457677
movsx eax, byte [ebp - 0x4f8]
push eax
call fcn.00633560
add esp, 4
test eax, eax
jne 0x457534
movsx eax, byte [ebp - 0x4e5]
push eax
call fcn.00633560
add esp, 4
test eax, eax
je 0x457677
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x302c], 0
mov dword [ebp - 0x301c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3018], 0xf
mov byte [ebp - 0x302c], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x457561
sub ecx, edx
lea eax, [ebp - 0x4f8]
push ecx
push eax
lea ecx, [ebp - 0x302c]
call fcn.00457e40
lea ecx, [ebp - 0x8e0]
mov dword [ebp - 0x3014], 0
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3004], 0
mov dword [ebp - 0x3000], 0xf
mov byte [ebp - 0x3014], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4575b2
sub ecx, edx
lea eax, [ebp - 0x8e0]
push ecx
push eax
lea ecx, [ebp - 0x3014]
call fcn.00457e40
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x302c]
mov dword [ebp - 0x3034], esp
mov ecx, esp
push eax
call fcn.00455a50
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3014]
mov ecx, esp
push eax
call fcn.00455a50
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00457800
mov edx, dword [ebp - 0x3000]
mov bl, 1
cmp edx, 0x10
jb 0x457641
mov ecx, dword [ebp - 0x3014]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x457637
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4576a0
push edx
push ecx
call fcn.005df40c
add esp, 8
mov edx, dword [ebp - 0x3018]
cmp edx, 0x10
jb 0x457677
mov ecx, dword [ebp - 0x302c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45766d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4576a0
push edx
push ecx
call fcn.005df40c
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x457684
xor al, al
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.005df41a
mov esp, ebp
pop ebp
ret
call fcn.00631407
int3