Function at 0x45aa60
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd70
mov eax, dword [0x4b0070]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0xd70], eax
mov esi, ecx
mov dword [ebp - 0xd64], 0
xor bl, bl
nop
test bl, bl
jne 0x45aec3
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.00469580
push dword [ebp - 0xd64]
lea eax, [ebp - 0x50c]
push str..PhysicalDrive_d
push 0xff
push eax
call fcn.00459680
add esp, 0x1c
lea eax, [ebp - 0x50c]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd68], eax
cmp eax, 0xffffffff
je 0x45aead
push 0x800
lea eax, [ebp - 0xd0c]
mov dword [ebp - 0xd6c], 0
push 0
push eax
mov dword [ebp - 0xd58], 0
mov dword [ebp - 0xd60], 0
mov dword [ebp - 0xd5c], 0
call fcn.00469580
add esp, 0xc
lea eax, [ebp - 0xd6c]
push 0
push eax
push 0x800
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd60]
push eax
push 0x2d1400
push dword [ebp - 0xd68]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x45ae9b
push 0x100
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00469580
push 0x100
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00469580
push 0x100
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.00469580
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.00459fe0
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.00459fe0
mov edx, dword [ebp - 0xcf4]
lea eax, [ebp - 0x10c]
push eax
push 1
lea ecx, [ebp - 0xd0c]
call fcn.00459fe0
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.00470f30
add esp, 0x40
test eax, eax
jne 0x45ac1a
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.00470f30
add esp, 4
test eax, eax
je 0x45aea1
xorps xmm0, xmm0
mov dword [ebp - 0xd14], 0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0xd10], 0
movups xmmword [ebp - 0xd24], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ac41
sub ecx, edx
lea eax, [ebp - 0x10c]
push ecx
push eax
lea ecx, [ebp - 0xd24]
call fcn.0040eca0
lea eax, [ebp - 0xd24]
cmp esi, eax
je 0x45acb3
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x45ac9a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x45ac90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45aed6
mov eax, edx
push ecx
push eax
call fcn.00467ca1
add esp, 8
movups xmm0, xmmword [ebp - 0xd24]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xd14]
movq qword [esi + 0x10], xmm0
jmp 0x45aced
mov ecx, dword [ebp - 0xd10]
cmp ecx, 0x10
jb 0x45aced
mov edx, dword [ebp - 0xd24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ace3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45aed6
push ecx
push edx
call fcn.00467ca1
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0xd2c], 0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0xd28], 0
movups xmmword [ebp - 0xd3c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ad14
sub ecx, edx
lea eax, [ebp - 0x20c]
push ecx
push eax
lea ecx, [ebp - 0xd3c]
call fcn.0040eca0
lea eax, [ebp - 0xd3c]
cmp edi, eax
je 0x45ad86
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x45ad6d
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x45ad63
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45aed6
mov eax, edx
push ecx
push eax
call fcn.00467ca1
add esp, 8
movups xmm0, xmmword [ebp - 0xd3c]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0xd2c]
movq qword [edi + 0x10], xmm0
jmp 0x45adc0
mov ecx, dword [ebp - 0xd28]
cmp ecx, 0x10
jb 0x45adc0
mov edx, dword [ebp - 0xd3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45adb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45aed6
push ecx
push edx
call fcn.00467ca1
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0xd44], 0
lea ecx, [ebp - 0x30c]
mov dword [ebp - 0xd40], 0
movups xmmword [ebp - 0xd54], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45ade7
sub ecx, edx
lea eax, [ebp - 0x30c]
push ecx
push eax
lea ecx, [ebp - 0xd54]
call fcn.0040eca0
mov ebx, dword [ebp - 0xd70]
lea eax, [ebp - 0xd54]
cmp ebx, eax
je 0x45ae61
mov ecx, dword [ebx + 0x14]
cmp ecx, 0x10
jb 0x45ae46
mov eax, dword [ebx]
inc ecx
cmp ecx, 0x1000
jb 0x45ae3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45aed6
mov eax, edx
push ecx
push eax
call fcn.00467ca1
add esp, 8
movups xmm0, xmmword [ebp - 0xd54]
movups xmmword [ebx], xmm0
movq xmm0, qword [ebp - 0xd44]
movq qword [ebx + 0x10], xmm0
mov bl, 1
jmp 0x45aea1
mov ecx, dword [ebp - 0xd40]
cmp ecx, 0x10
jb 0x45ae97
mov edx, dword [ebp - 0xd54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45ae8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45aed6
push ecx
push edx
call fcn.00467ca1
add esp, 8
mov bl, 1
jmp 0x45aea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xd68]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xd64]
inc eax
mov dword [ebp - 0xd64], eax
cmp eax, 0x10
jl 0x45aa90
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046780a
mov esp, ebp
pop ebp
ret
call fcn.0046c9ef
int3