Function at 0x488900
Capabilities:
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5854bc
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2754
call fcn.00565580
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0x2750], eax
push ebx
push esi
push edi
mov eax, dword [0x6015a8]
xor eax, esp
push eax
lea eax, [esp + 0x2768]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edi
push edi
push str..PhysicalDrive_d
lea eax, [esp + 0x25dc]
push 0x80
push eax
call fcn.00460090
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0x25ec]
push ecx
call esi
mov ebx, eax
mov dword [esp + 0x30], ebx
cmp ebx, 0xffffffff
je 0x488ef9
mov edi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
push eax
lea edx, [esp + 0x44]
push edx
push 0x200
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
lea eax, [esp + 0x23e0]
push eax
push 0xc
lea ecx, [esp + 0x64]
push ecx
push 0x2d1400
push ebx
call edi
test eax, eax
je 0x488eee
cmp dword [esp + 0x23f0], 8
jne 0x488eee
push 0
lea edx, [esp + 0x44]
push edx
push 0x200
lea eax, [esp + 0x23e0]
push eax
push 0
push 0
push 0x41018
push ebx
call edi
test eax, eax
je 0x488eee
movzx ecx, byte [esp + 0x23d8]
push ecx
push str..Scsi_d:
lea edx, [esp + 0x265c]
push 0x104
push edx
call fcn.005647f1
add esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea eax, [esp + 0x266c]
push eax
call esi
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp ebx, 0xffffffff
je 0x488eea
xor edi, edi
push 0xc6
lea ecx, [esp + 0xe4]
push edi
push ecx
mov dword [esp + 0xe8], edi
call fcn.005635a0
push 0x7c
lea edx, [esp + 0x70]
push edi
push edx
mov dword [esp + 0x74], edi
call fcn.005635a0
push 0x803
lea eax, [esp + 0x3c9]
push edi
push eax
mov byte [esp + 0x3d0], 0
call fcn.005635a0
push 0x81c
lea ecx, [esp + 0xbe0]
push edi
push ecx
mov dword [esp + 0xbe4], edi
call fcn.005635a0
mov esi, dword [esp + 0x44]
add esp, 0x30
push 0xca
lea edx, [esp + 0xe0]
push edx
push 1
push ebx
mov ecx, esi
call fcn.004bc430
test eax, eax
jne 0x488ae0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x80
lea eax, [esp + 0x60]
push eax
push 0xa
push ebx
mov ecx, esi
call fcn.004bc430
test eax, eax
je 0x488ee3
cmp dword [esp + 0x78], edi
je 0x488ee3
push 0x820
lea ecx, [esp + 0xbb8]
push ecx
push 0x14
push ebx
mov ecx, esi
call fcn.004bc430
test eax, eax
je 0x488ee3
mov ecx, 0x201
lea esi, [esp + 0xbd0]
lea edi, [esp + 0x3ac]
rep movsd dword es:[edi], dword [esi]
mov ecx, str.rcraid
lea eax, [esp + 0xf8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x488b66
test dl, dl
je 0x488b62
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x488b66
add eax, 2
add ecx, 2
test dl, dl
jne 0x488b46
xor eax, eax
jmp 0x488b6b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x488bbb
mov ebx, dword [esp + 0x9c]
test ebx, ebx
jle 0x488bab
lea edx, [esp + 0x3cc]
movzx ecx, byte [esp + 0x3ac]
cmp eax, ecx
jl 0x488ba0
lea edi, [edx - 0x1c]
mov ecx, 0x10
lea esi, [esp + 0x3b0]
rep movsd dword es:[edi], dword [esi]
mov byte [edx], al
mov byte [edx + 0x1c], al
inc eax
add edx, 0x40
cmp eax, ebx
jl 0x488b81
mov byte [esp + 0x3ac], bl
mov ebx, dword [esp + 0x1c]
jmp 0x488d9b
mov edi, dword [esp + 0x7c]
imul edi, dword [esp + 0x78]
imul edi, edi, 0x88
push 4
push 0x1000
add edi, 0xc8
push edi
push 0
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp dword [esp + 0x78], 0
mov esi, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], 0
jle 0x488d8d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edi
push esi
push 0xb
push ebx
mov dword [esi + 0x1c], edx
call fcn.004bc430
test eax, eax
je 0x488d7a
cmp byte [esi + 0x2b], 0
mov dword [esp + 0x24], 0
jbe 0x488d7a
lea ebx, [esi + 0x9a]
cmp byte [ebx - 0x5a], 0
je 0x488d53
movzx edi, byte [ebx]
push 0xb8
call fcn.00551d80
add esp, 4
mov dword [esp + 0x34], eax
xor esi, esi
mov dword [esp + 0x2770], esi
cmp eax, esi
je 0x488c85
movzx ecx, byte [esp + 0x23da]
movzx edx, byte [esp + 0x23d9]
push ecx
movzx ecx, byte [esp + 0x23dc]
push edx
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, eax
call fcn.004bca50
mov esi, eax
mov ecx, dword [esp + 0x1c]
fld qword [0x5cadb8]
lea edx, [esp + 0x44]
fstp qword [esp + 0x44]
push edx
lea eax, [esp + 0x13d8]
push eax
push edi
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2780], 0xffffffff
call fcn.004be360
test eax, eax
je 0x488d45
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x13d4]
push edx
push esi
call fcn.004bf050
fldz
fld qword [esp + 0x44]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x488d15
fld qword [0x5cae48]
fnstcw word [esp + 0x22]
movzx eax, word [esp + 0x22]
fmul st(1), st(0)
or eax, 0xc00
mov dword [esp + 0x34], eax
fmulp st(1)
fldcw word [esp + 0x34]
fistp qword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov dword [esi + 0x94], eax
fldcw word [esp + 0x22]
jmp 0x488d17
fstp st(0)
mov dword [esi + 0x28], edi
mov edi, dword [esp + 0x14]
push esi
mov ecx, edi
mov dword [esi + 0x30], 4
mov dword [esi + 0x9c], 8
call fcn.00486d30
test eax, eax
jne 0x488d49
push esi
mov ecx, edi
call fcn.00486ce0
jmp 0x488d53
test esi, esi
je 0x488d53
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esi + 0x2b]
inc eax
add ebx, 0x88
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x488c32
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
jl 0x488bfd
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor esi, esi
cmp byte [esp + 0x3ac], 0
mov dword [esp + 0x24], esi
jbe 0x488ee3
lea edi, [esp + 0x3b0]
mov dword [esp + 0x18], edi
push 0xb8
call fcn.00551d80
add esp, 4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2770], 1
test eax, eax
je 0x488e04
movzx edx, byte [esp + 0x23da]
movzx ecx, byte [esp + 0x23d9]
push edx
movzx edx, byte [esp + 0x23dc]
push ecx
push edx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, eax
call fcn.004bca50
mov ebx, eax
jmp 0x488e06
xor ebx, ebx
mov eax, dword [ebx + 0x34]
push esi
push str.HDD__d
push 0x200
push eax
mov dword [esp + 0x2780], 0xffffffff
call fcn.00460090
push 0x200
lea ecx, [esp + 0x1c0]
push 0
push ecx
call fcn.005635a0
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add esp, 0x1c
push 0x200
lea edx, [esp + 0x1b0]
push edx
push 0
push 0xec
push edi
push eax
mov ecx, esi
call fcn.004bc510
test eax, eax
je 0x488eb1
lea ecx, [esp + 0x1ac]
push ecx
push ebx
mov ecx, esi
call fcn.004867f0
push 0x40
call fcn.00551d80
mov esi, edi
mov edi, eax
mov dword [ebx + 0x24], eax
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x18]
add esp, 4
push ebx
mov ecx, esi
mov dword [ebx + 0x9c], 8
call fcn.00486d30
test eax, eax
jne 0x488eb1
push ebx
mov ecx, esi
call fcn.00486ce0
jmp 0x488ebb
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
movzx ecx, byte [esp + 0x3ac]
inc esi
add edi, 0x40
cmp esi, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], edi
jl 0x488dba
mov ebx, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [esp + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x2c]
inc edi
cmp edi, 0x38
mov dword [esp + 0x2c], edi
jl 0x48894f
mov eax, 1
mov ecx, dword [esp + 0x2768]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2750]
xor ecx, esp
call fcn.00562d51
mov esp, ebp
pop ebp
ret