Function at 0x708520
Capabilities:
Get storage device properties

Disassembly:
mov eax, dword [0x7bc9b0]
test eax, eax
je 0x70852e
jmp 0x708540
jmp 0x708a20
mov eax, 0x3428
call fcn.0070b410
lea eax, [esp + 4]
push ebx
push eax
xor ebx, ebx
push 0xf003f
push ebx
push 0x7aa2b4
push 0x80000002
mov dword [esp + 0x20], 4
call dword [0x7cb81c]
test eax, eax
je 0x70857f
or eax, 0xffffffff
pop ebx
add esp, 0x3428
ret
push ebp
push esi
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov ebp, dword [0x7cb724]
mov esi, ebx
shl esi, 8
push 0x7aa2a8
lea edi, [esp + esi + 0x23c]
push edi
call ebp
mov ecx, dword [esp + 0x28]
add esp, 8
mov eax, ecx
inc ecx
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
lea edx, [esp + 0x1c]
push 0
lea ecx, [esp + esi + 0x252]
push edx
mov edx, dword [esp + 0x28]
push ecx
push eax
push edx
mov dword [esp + 0x30], 0xf6
call dword [0x7cb7e0]
test eax, eax
jne 0x7086c8
lea eax, [esp + 0x24]
push eax
push 0xf003f
push 0
push edi
push 0x80000002
call dword [0x7cb81c]
test eax, eax
jne 0x7086b4
push edi
call fcn.007089c0
mov dword [esp + 0x2c], eax
add eax, esi
lea ecx, [esp + 0x13c]
push edi
mov byte [esp + eax + 0x240], 0x5c
push ecx
mov byte [esp + eax + 0x245], 0
call ebp
add esp, 0xc
xor ebp, ebp
cmp ebx, 0x32
jge 0x7086b4
mov edi, esi
lea edx, [esp + 0x138]
lea esi, [esp + edi + 0x238]
push edx
push esi
call dword [0x7cb724]
push esi
call fcn.007089c0
add esp, 0xc
lea edx, [esp + 0x30]
mov ecx, 0x100
mov ebx, ebp
push edx
sub ecx, eax
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
push esi
mov dword [esp + 0x28], ecx
inc ebp
call fcn.007089c0
mov edx, dword [esp + 0x3c]
add eax, edi
add esp, 4
lea ecx, [esp + eax + 0x24c]
push ecx
push ebx
push edx
call dword [0x7cb7e0]
test eax, eax
jne 0x7086b0
mov edx, dword [esp + 0x1c]
add edi, 0x100
inc edx
cmp edi, 0x3200
mov dword [esp + 0x1c], edx
jl 0x708639
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
push eax
call dword [0x7cb810]
cmp ebx, 0x32
jl 0x70858a
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x7cb810]
mov ebp, dword [esp + 0x343c]
mov dword [esp + 0x20], 0
test ebx, ebx
jle 0x7089a0
mov esi, dword [0x7cb7dc]
lea edx, [esp + 0x238]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push ecx
push 0x80000002
call dword [0x7cb81c]
test eax, eax
mov ebx, 0x100
jne 0x70896f
mov ecx, 0x40
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0x7aa298
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], ebx
call esi
lea eax, [esp + 0x38]
push 8
lea ecx, [ebp + 0x50]
push eax
push ecx
call fcn.007089e0
add esp, 0xc
test eax, eax
jne 0x708964
mov ecx, 0x40
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0x7aa28c
push eax
mov dword [esp + 0x28], ebx
call esi
lea ecx, [esp + 0x38]
push 0x10
lea edx, [ebp + 0x60]
push ecx
push edx
call fcn.007089e0
add esp, 0xc
test eax, eax
je 0x7087c4
mov eax, dword [esp + 0x14]
push eax
jmp 0x708969
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push 0x7aa27c
push ecx
mov dword [esp + 0x28], ebx
call esi
lea edx, [esp + 0x38]
push 4
lea eax, [ebp + 0x74]
push edx
push eax
call fcn.007089e0
add esp, 0xc
test eax, eax
je 0x708813
mov ecx, dword [esp + 0x14]
push ecx
jmp 0x708969
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0x7aa26c
push edx
mov dword [esp + 0x28], ebx
call esi
lea eax, [esp + 0x38]
push eax
call fcn.0070bb88
xor ecx, ecx
add esp, 4
mov cl, byte [ebp + 1]
cmp ecx, eax
jne 0x708964
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push 0
push 0x7aa264
push eax
mov dword [esp + 0x28], ebx
call esi
lea ecx, [esp + 0x38]
push ecx
call fcn.0070bb88
mov edx, dword [ebp]
add esp, 4
and edx, 0xff
cmp edx, eax
je 0x7088ad
mov eax, dword [esp + 0x14]
push eax
jmp 0x708969
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push 0
push 0x7aa244
push ecx
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], ebx
call esi
test eax, eax
jne 0x70892e
movsx edx, byte [esp + 0x38]
push edx
lea eax, [esp + 0x13c]
push 0x7aa238
push eax
call dword [0x7cb724]
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call dword [0x7cb598]
cmp eax, 5
jne 0x708927
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x38]
mov byte [eax + ebp + 0x10], dl
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
push eax
jmp 0x708969
mov eax, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0x7aa22c
push ecx
mov byte [ebp + 0x10], 0x3f
mov dword [esp + 0x40], 0
call esi
mov edx, dword [esp + 0x14]
push edx
call dword [0x7cb810]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
add ecx, ebx
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
jne 0x7086ff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7089a0
cmp eax, 2
jl 0x7089a4
mov cl, byte [eax + ebp + 0xf]
mov byte [eax + ebp + 0x10], cl
dec eax
jne 0x708995
mov byte [ebp + 0x10], 0x3f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x3428
ret
mov eax, 0x5e7c
call fcn.0070b410
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push 0x7aa33c
push 0x80000002
call dword [0x7cb81c]
test eax, eax
je 0x708a54
or eax, 0xffffffff
add esp, 0x5e7c
ret
push ebx
push ebp
push esi
mov esi, 0x41
push edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], esi
lea ebp, [esp + 0xae0]
mov ebx, dword [0x7cb724]
push esi
lea ecx, [esp + 0x40]
push 0x7aa238
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x40]
push edx
call dword [0x7cb598]
cmp eax, 5
jne 0x708e48
push esi
lea eax, [esp + 0x80]
mov edi, 0x100
push 0x7aa32c
push eax
mov byte [esp + 0x4e], 0
mov dword [esp + 0x28], edi
call ebx
add esp, 0xc
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xbc]
lea eax, [esp + 0x18]
push ecx
push edx
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x88]
push 0
push ecx
push edx
mov dword [esp + 0x30], 3
call dword [0x7cb7dc]
test eax, eax
jne 0x708e48
mov esi, dword [esp + 0x1c]
xor ecx, ecx
test esi, esi
jle 0x708b18
mov eax, ecx
add ecx, 2
cdq
sub eax, edx
mov dl, byte [esp + ecx + 0xba]
sar eax, 1
cmp ecx, esi
mov byte [esp + eax + 0x1bc], dl
jl 0x708afc
mov eax, dword [esp + 0x14]
lea ecx, [ebp - 0x124]
push eax
push 0x7aa328
push ecx
call ebx
mov dl, byte [esp + 0x1cc]
add esp, 0xc
cmp dl, 0x23
lea eax, [esp + 0x1c0]
lea ecx, [ebp - 0x120]
je 0x708b53
mov byte [ecx], dl
mov dl, byte [eax + 1]
inc ecx
inc eax
cmp dl, 0x23
jne 0x708b47
inc eax
mov byte [ecx], 0
lea esi, [ebp - 0x100]
mov cl, byte [eax]
mov edx, esi
cmp cl, 0x23
je 0x708b72
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x23
jne 0x708b66
mov cl, byte [eax + 1]
inc eax
mov byte [edx], 0
cmp cl, 0x23
mov edx, ebp
je 0x708b8c
mov byte [edx], cl
mov cl, byte [eax + 1]
inc edx
inc eax
cmp cl, 0x23
jne 0x708b80
push ebp
lea eax, [ebp - 0x120]
push esi
push eax
lea edx, [esp + 0x5c8]
push 0x7aa300
push edx
call ebx
add esp, 0x14
lea eax, [esp + 0x24]
lea ecx, [esp + 0x5bc]
mov dword [esp + 0x18], 1
push eax
push 0x20019
push 0
push ecx
push 0x80000002
mov dword [esp + 0x30], edi
call dword [0x7cb81c]
test eax, eax
jne 0x708c2a
lea edx, [esp + 0x1c]
lea eax, [esp + 0xbc]
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push 0x7aa2f0
push edx
mov dword [esp + 0x30], 3
call dword [0x7cb7dc]
test eax, eax
jne 0x708c1f
lea eax, [esp + 0xbc]
lea ecx, [ebp + 0x100]
push eax
push 0x7aa2ec
push ecx
call ebx
add esp, 0xc
mov edx, dword [esp + 0x24]
push edx
call dword [0x7cb810]
push 0
push 0
push 3
push 0
push 3
lea eax, [esp + 0x50]
push 0x80000000
push eax
call dword [0x7cb5b4]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
je 0x708e48
mov ecx, 0x264
xor eax, eax
mov edi, 0x7bc020
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
xor edi, edi
xor ecx, ecx
push edi
push edx
push 0x990
push 0x7bc020
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
push 0xc
push eax
mov dword [esp + 0x4c], ecx
push 0x2d1400
push esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call dword [0x7cb670]
test eax, eax
jne 0x708cae
push esi
jmp 0x708e42
mov eax, dword [0x7bc02c]
lea esi, [ebp + 0x200]
cmp eax, edi
jne 0x708cfd
push 0x7bc050
push 0x7aa2e4
push esi
mov dword [0x7bc02c], 0x30
call ebx
mov ecx, dword [0x7bc02c]
lea edi, [ebp + 0x209]
lea edx, [ecx + 0x7bc028]
push edx
push 0x7aa2dc
push edi
call ebx
mov eax, dword [0x7bc02c]
lea ecx, [eax + 0x7bc038]
push ecx
jmp 0x708d33
lea edx, [eax + 0x7bc020]
push edx
push 0x7aa2e4
push esi
call ebx
mov eax, dword [0x7bc030]
lea edi, [ebp + 0x209]
lea ecx, [eax + 0x7bc020]
push ecx
push 0x7aa2dc
push edi
call ebx
mov edx, dword [0x7bc034]
lea eax, [edx + 0x7bc020]
push eax
lea ebx, [ebp + 0x21a]
push 0x7aa2d4
push ebx
call dword [0x7cb724]
add esp, 0x24
push 8
push esi
mov esi, dword [esp + 0x5e98]
lea ecx, [esi + 0x50]
push ecx
call fcn.007089e0
add esp, 0xc
test eax, eax
je 0x708d6c
mov edx, dword [esp + 0x10]
push edx
jmp 0x708e42
push 0x10
lea eax, [esi + 0x60]
push edi
push eax
call fcn.007089e0
add esp, 0xc
test eax, eax
jne 0x708e3d
push 4
lea edx, [esi + 0x74]
push ebx
push edx
call fcn.007089e0
add esp, 0xc
test eax, eax
je 0x708da0
mov eax, dword [esp + 0x10]
push eax
jmp 0x708e42
mov al, byte [esp + 0x1bc]
lea edi, [esp + 0x1bc]
cmp al, 0x7b
je 0x708dba
mov al, byte [edi + 1]
inc edi
cmp al, 0x7b
jne 0x708db2
push 3
lea ebx, [ebp - 0x120]
push 0x7aa2d0
push ebx
call fcn.007089e0
add esp, 0xc
test eax, eax
jne 0x708df4
push 5
lea ecx, [esi + 0x40]
push 0x7aa2c8
push ecx
call fcn.007089e0
add esp, 0xc
test eax, eax
jne 0x708d62
sub edi, 4
jmp 0x708e0b
push 4
push 0x7aa2c0
push ebx
call fcn.007089e0
add esp, 0xc
test eax, eax
jne 0x708e3d
sub edi, 3
movsx eax, byte [edi]
movsx ecx, byte [esi + 1]
sub eax, 0x30
cmp eax, ecx
jne 0x708e35
mov eax, dword [esp + 0x20]
mov dl, byte [esp + 0x14]
mov byte [eax + esi + 0x10], dl
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
push eax
call dword [0x7cb4dc]
add ebp, 0x343
jmp 0x708e48
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x7cb4dc]
mov esi, dword [esp + 0x14]
inc esi
cmp esi, 0x5a
mov dword [esp + 0x14], esi
jle 0x708a70
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
test ecx, ecx
pop ebx
jne 0x708e85
mov edx, dword [esp + 0x5e80]
mov ecx, dword [esp + 0x18]
push ecx
mov byte [edx + 0x10], 0x3f
call dword [0x7cb810]
xor eax, eax
add esp, 0x5e7c
ret
cmp ecx, 2
jl 0x708ea0
mov eax, dword [esp + 0x5e80]
dec ecx
mov dl, byte [eax + ecx + 0x10]
mov byte [eax + ecx + 0x11], dl
jne 0x708e8a
mov byte [eax + 0x10], 0x3f
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x7cb810]
xor eax, eax
add esp, 0x5e7c
ret