Function at 0x4b2530
Capabilities:
Get storage device properties

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff8ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x208
mov eax, dword [0x6c9294]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], 0
xor eax, eax
mov byte [ebp - 0x71], al
xor ecx, ecx
mov byte [ebp - 0x72], cl
xor edx, edx
mov byte [ebp - 0x73], dl
movzx eax, byte [ebp - 0x71]
push eax
movzx ecx, byte [ebp - 0x72]
push ecx
movzx edx, byte [ebp - 0x73]
push edx
lea eax, [ebp - 0x1f0]
push eax
call fcn.004ae0c0
add esp, 0x10
mov ecx, eax
call fcn.004b22b0
push eax
lea ecx, [ebp - 0x54]
call fcn.0040bb70
mov dword [ebp - 4], 0
xor ecx, ecx
mov byte [ebp - 0x74], cl
xor edx, edx
mov byte [ebp - 0x75], dl
xor eax, eax
mov byte [ebp - 0x76], al
call fcn.004adee0
mov dword [ebp - 0xf0], eax
movzx ecx, byte [ebp - 0x74]
push ecx
movzx edx, byte [ebp - 0x75]
push edx
movzx eax, byte [ebp - 0x76]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004ae140
add esp, 0x10
mov ecx, eax
call fcn.004b23b0
push eax
lea ecx, [ebp - 0x118]
call fcn.0040bb70
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xe8]
call fcn.00403040
mov dword [ebp - 0xec], eax
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 0xec]
push eax
call dword [ebp - 0xf0]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.00403080
cmp dword [ebp - 0x80], 0xffffffff
jne 0x4b2693
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebx + 8]
call fcn.00409690
mov edx, dword [ebp - 0x84]
or edx, 1
mov dword [ebp - 0x84], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00403080
mov eax, dword [ebx + 8]
jmp 0x4b2aac
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x28], 0
call fcn.004adac0
mov dword [ebp - 0xf4], eax
push 0
lea edx, [ebp - 0x28]
push edx
push 8
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea ecx, [ebp - 0x34]
push ecx
push 0x2d1400
mov edx, dword [ebp - 0x80]
push edx
call dword [ebp - 0xf4]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.004b582b
add esp, 4
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x88]
push eax
push 0
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.004cebf0
add esp, 0xc
call fcn.004adac0
mov dword [ebp - 0x94], eax
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
push 0xc
lea edx, [ebp - 0x34]
push edx
push 0x2d1400
mov eax, dword [ebp - 0x80]
push eax
call dword [ebp - 0x94]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x18], 0
je 0x4b27ac
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x70]
add ecx, dword [eax + 0x18]
push ecx
lea ecx, [ebp - 0x130]
call fcn.0040bb70
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x54]
call fcn.004ae710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x130]
call fcn.00403080
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx + 0x14], 0
je 0x4b27fe
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x70]
add eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x148]
call fcn.0040bb70
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x54]
call fcn.004ae710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00403080
mov eax, dword [ebp - 0x7c]
cmp dword [eax + 0x10], 0
je 0x4b2850
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x70]
add edx, dword [ecx + 0x10]
push edx
lea ecx, [ebp - 0x160]
call fcn.0040bb70
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x54]
call fcn.004ae710
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00403080
lea esi, [ebp - 0x24]
xor eax, eax
xor ecx, ecx
push ebx
cpuid
mov esi, esi
mov dword [esi], eax
mov dword [esi + 4], ebx
pop ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
lea ecx, [ebp - 0x6c]
call fcn.004030d0
mov byte [ebp - 4], 5
push 4
mov edx, 4
shl edx, 0
lea eax, [ebp + edx - 0x24]
push eax
lea ecx, [ebp - 0x178]
call fcn.00434220
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x6c]
call fcn.004ae710
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x178]
call fcn.00403080
push 4
mov eax, 4
imul ecx, eax, 3
lea edx, [ebp + ecx - 0x24]
push edx
lea ecx, [ebp - 0x190]
call fcn.00434220
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.004ae710
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x190]
call fcn.00403080
push 4
mov edx, 4
shl edx, 1
lea eax, [ebp + edx - 0x24]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.00434220
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x6c]
call fcn.004ae710
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1a8]
call fcn.00403080
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.004096e0
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0xcc]
push edx
lea ecx, [ebp - 0x54]
call fcn.004ae710
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c0]
call fcn.00403080
lea eax, [ebp - 0x54]
push eax
call fcn.004b3c80
add esp, 4
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
push edx
call fcn.004b58a3
add esp, 4
cmp dword [ebp - 0x8c], 0
jne 0x4b29d9
mov dword [ebp - 0xd0], 0
jmp 0x4b29e9
mov dword [ebp - 0x70], 0x8123
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xd0], eax
call fcn.004ada10
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0x80]
push ecx
call dword [ebp - 0xd4]
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0xfc], esp
mov dword [ebp - 0xd8], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x100], esp
lea eax, [ebp - 0x54]
push eax
call fcn.004096e0
mov ecx, dword [ebp - 0xd8]
push ecx
call fcn.004b1540
add esp, 0x1c
mov dword [ebp - 0xf8], eax
lea edx, [ebp - 0x1d8]
push edx
call fcn.004b1540
add esp, 0x1c
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040a940
lea ecx, [ebp - 0x1d8]
call fcn.00403080
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebx + 8]
call fcn.00409690
mov eax, dword [ebp - 0x84]
or eax, 1
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.00403080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00403080
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b4fea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret