Function at 0x469f00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37cc
call fcn.004985b0
mov eax, dword [0x55c640]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0x108]
push ebx
push str..PhysicalDrive_d
push 0x100
push eax
mov esi, ecx
call fcn.00485ae5
add esp, 0x10
lea eax, [ebp - 0x108]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x469f9b
add esi, 0x800
mov ecx, 0x100
mov eax, esi
mov byte [eax], bl
lea eax, [eax + 1]
dec ecx
jne 0x469f61
lea eax, [ebp - 0x108]
push eax
push 0x144
push str._d_ReadPhysicalDriveInNTWithZeroRights_ERROR_CreateFileA__s__returned_INVALID_HANDLE_VALUE
push 0x100
push esi
call fcn.00485ae5
add esp, 0x14
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484516
mov esp, ebp
pop ebp
ret
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 0x37bc], ebx
lea eax, [ebp - 0x37b8]
movq qword [ebp - 0x37c8], xmm0
push 0
push eax
mov dword [ebp - 0x37c0], ebx
mov dword [ebp - 0x37c8], ebx
mov dword [ebp - 0x37c4], ebx
call fcn.00489f10
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x46a15d
mov ecx, dword [ebp - 0x37ac]
mov byte [ebp - 0xcc0], bl
test ecx, ecx
jle 0x46a029
lea eax, [ebp - 0xcc0]
push eax
lea eax, [ebp - 0x37b8]
push eax
call fcn.00469dc0
mov ecx, dword [ebp - 0x37a8]
mov byte [ebp - 0x8d8], bl
test ecx, ecx
jle 0x46a04c
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x37b8]
push eax
call fcn.00469dc0
mov ecx, dword [ebp - 0x37a4]
mov byte [ebp - 0x10a8], bl
test ecx, ecx
jle 0x46a06f
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x37b8]
push eax
call fcn.00469dc0
mov ecx, dword [ebp - 0x37a0]
xor al, al
mov byte [ebp - 0x4f0], al
test ecx, ecx
jle 0x46a09a
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x37b8]
push eax
call fcn.00469dc0
mov al, byte [ebp - 0x4f0]
cmp byte [esi], bl
jne 0x46a0fa
cbw
movzx eax, ax
push eax
call fcn.0049b50f
add esp, 4
test eax, eax
jne 0x46a0c8
movsx ax, byte [ebp - 0x4dd]
movzx eax, ax
push eax
call fcn.0049b50f
add esp, 4
test eax, eax
je 0x46a0fa
lea eax, [ebp - 0x4f0]
push eax
push 0x400
push esi
call fcn.00487d38
lea eax, [ebp - 0x8d8]
push eax
lea eax, [esi + 0x400]
push 0x400
push eax
call fcn.00487d38
add esp, 0x18
mov ebx, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call fcn.00489f10
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x46a187
add esi, 0x800
mov ecx, 0x100
mov eax, esi
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x46a146
lea eax, [ebp - 0x108]
push eax
push str._s_ReadPhysicalDriveInNTWithZeroRights_ERROR_DeviceIoControl____IOCTL_DISK_GET_DRIVE_GEOMETRY_EX__returned_0
jmp 0x46a17e
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esi, 0x800
mov edx, 0x100
mov ecx, esi
mov byte [ecx], bl
lea ecx, [ecx + 1]
dec edx
jne 0x46a170
push eax
push str.DeviceIOControl_IOCTL_STORAGE_QUERY_PROPERTY_error___d_n
push esi
call fcn.0046a970
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484516
mov esp, ebp
pop ebp
ret