Function at 0x48eeb0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2cdc
call fcn.004f5240
push ebx
push esi
push edi
xor edi, edi
lea eax, [esp + 0x3d8]
push edi
push str..PhysicalDrive_d
push eax
mov ebx, edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x3d8]
push edi
push edi
push 3
push edi
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
je 0x48f1c2
push 0x2710
xorps xmm0, xmm0
mov dword [esp + 0x14], edi
lea eax, [esp + 0x5dc]
movq qword [esp + 0x20], xmm0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.005065b0
add esp, 0xc
lea eax, [esp + 0x10]
push edi
push eax
push 0x2710
lea eax, [esp + 0x5e4]
push eax
push 0xc
lea eax, [esp + 0x30]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48f1bb
push 0x80
lea eax, [esp + 0x35c]
push edi
push eax
call fcn.005065b0
push 0x80
lea eax, [esp + 0x268]
push edi
push eax
call fcn.005065b0
push 0x80
lea eax, [esp + 0x1f4]
push edi
push eax
call fcn.005065b0
push 0x80
lea eax, [esp + 0x300]
push edi
push eax
call fcn.005065b0
mov edx, dword [esp + 0x614]
lea eax, [esp + 0x208]
add esp, 0x30
push eax
push ecx
lea ecx, [esp + 0x5e0]
call fcn.0048ec70
mov edx, dword [esp + 0x5f0]
lea eax, [esp + 0x260]
add esp, 8
push eax
push ecx
lea ecx, [esp + 0x5e0]
call fcn.0048ec70
mov edx, dword [esp + 0x5f4]
lea eax, [esp + 0x2e0]
add esp, 8
push eax
push ecx
lea ecx, [esp + 0x5e0]
call fcn.0048ec70
mov edx, dword [esp + 0x5f8]
lea eax, [esp + 0x360]
add esp, 8
push eax
push ecx
lea ecx, [esp + 0x5e0]
call fcn.0048ec70
push 0x1a0
lea eax, [esp + 0x3c]
mov dword [esp + 0x1dc], edi
xorps xmm0, xmm0
push edi
push eax
movlpd qword [esp + 0x3c], xmm0
call fcn.005065b0
lea ecx, [esp + 0x1ec]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f055
sub ecx, edx
je 0x48f074
xor ecx, ecx
mov al, byte [esp + ecx + 0x1d8]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x4f], al
test al, al
jne 0x48f062
lea ecx, [esp + 0x258]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48f080
sub ecx, edx
je 0x48f0be
lea edx, [esp + 0x258]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x48f094
lea edi, [esp + 0x50]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x48f0a2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
xor edi, edi
xor ecx, ecx
mov al, byte [esp + ecx + 0x2d8]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x14f], al
test al, al
jne 0x48f0c0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [esp + ecx + 0x358]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0xcf], al
test al, al
jne 0x48f0e0
lea ecx, [esp + 0xd0]
call fcn.0048ede0
lea ecx, [esp + 0x50]
call fcn.0048ede0
lea ecx, [esp + 0x150]
call fcn.0048ede0
push 0x2710
lea eax, [esp + 0x5dc]
push 0
push eax
call fcn.005065b0
add esp, 0xc
lea eax, [esp + 0x10]
push 0
push eax
push 0x2710
lea eax, [esp + 0x5e4]
push eax
push 0
push 0
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48f1bb
cmp dword [esp + 0x5e0], 0xc
mov eax, dword [esp + 0x5f0]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5f4]
mov dword [esp + 0x2c], eax
jne 0x48f1bb
lea edx, [esp + 0xd0]
mov dword [esp + 0x1d0], 2
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x48f190
sub edx, ecx
xor ecx, ecx
test edx, edx
jle 0x48f1b2
nop
movsx ax, byte [esp + ecx + 0xd0]
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, edx
jl 0x48f1a0
xor eax, eax
mov word [ebx + edx*2], ax
lea edi, [eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret