Function at 0x661790
Capabilities:
Get storage device properties

Disassembly:
push 0xffffffffffffffff
push 0x771705
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x81f390]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x81f390]
xor eax, esp
push eax
lea eax, [esp + 0x310]
mov dword fs:[0], eax
mov eax, dword [esp + 0x324]
xor bl, bl
movdqa xmm0, xmmword [str.__V__]
mov ebp, dword [esp + 0x328]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x32c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x180]
movdqu xmmword [esp + 0x180], xmm0
push 0x80
movdqa xmm0, xmmword [0x79adf0]
push eax
movdqu xmmword [esp + 0x198], xmm0
mov byte [esp + 0x1f], bl
lea eax, [esp + 0x5c]
xorps xmm0, xmm0
mov byte [0x854418], bl
push eax
movdqu xmmword [esp + 0x1ac], xmm0
movdqu xmmword [esp + 0x1bc], xmm0
movdqu xmmword [esp + 0x1cc], xmm0
movdqu xmmword [esp + 0x1dc], xmm0
movdqu xmmword [esp + 0x1ec], xmm0
movdqu xmmword [esp + 0x1fc], xmm0
call fcn.006f8110
add esp, 0xc
lea esi, [esp + 0x54]
mov ecx, 0x20
lea edi, [esp + 0x180]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x140]
mov byte [esp + 0x200], 0x78
push eax
lea ecx, [esp + 0x184]
call fcn.0056d340
mov ecx, dword [esp + 0x154]
mov dword [esp + 0x318], 0
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], 0
mov byte [esp + 0x128], bl
cmp ecx, 0x10
jae 0x6618f7
mov eax, dword [esp + 0x150]
inc eax
je 0x661910
push eax
lea eax, [esp + 0x144]
push eax
lea eax, [esp + 0x130]
push eax
call fcn.006f7660
mov ecx, dword [esp + 0x160]
add esp, 0xc
jmp 0x661910
mov eax, dword [esp + 0x140]
mov dword [esp + 0x128], eax
mov dword [esp + 0x140], 0
mov eax, dword [esp + 0x150]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x154], 0xf
mov dword [esp + 0x150], 0
mov byte [esp + 0x140], 0
cmp ecx, 0x10
mov dword [esp + 0xec], 0xf
lea eax, [esp + 0x128]
mov dword [esp + 0xe8], 0
cmovae eax, dword [esp + 0x128]
mov edx, 0x77e880
test eax, eax
mov byte [esp + 0xd8], 0
mov byte [esp + 0x318], 1
cmovne edx, eax
cmp byte [edx], 0
jne 0x66198e
xor ecx, ecx
jmp 0x66199c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x661993
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xe0]
call fcn.00409620
mov dword [esp + 0xd4], vtable.wbs::StringBase_char_.0
cmp dword [esp + 0xec], 0x10
lea ecx, [esp + 0xd8]
mov eax, dword [esp + 0x320]
cmovae ecx, dword [esp + 0xd8]
movzx eax, al
push eax
push ecx
lea eax, [esp + 0x20c]
mov byte [esp + 0x320], 2
push 0x104
push eax
call fcn.00705738
add esp, 0x10
mov dword [esp + 0xd4], vtable.wbs::StringBase_char_.0
cmp dword [esp + 0xec], 0x10
jb 0x661a19
push dword [esp + 0xd8]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x13c], 0x10
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
jb 0x661a50
push dword [esp + 0x128]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x154], 0x10
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], 0
mov byte [esp + 0x128], 0
mov dword [esp + 0x318], 0xffffffff
jb 0x661a92
push dword [esp + 0x140]
call fcn.006f75a9
add esp, 4
mov byte [esp + 0x308], 0
call fcn.00665db0
push 0
push 0
push 3
mov eax, dword [eax + 0x44]
lea ecx, [esp + 0x210]
push 0
push 3
push 0
push ecx
call eax
mov esi, eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x318], 3
cmp esi, 0xffffffff
jne 0x661b0d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push str.N1__u
push 0x854418
call fcn.006f8da2
add esp, 0xc
push 0x11b1
call fcn.00606650
mov ecx, eax
call fcn.00606640
mov ecx, eax
call fcn.005fca70
mov dword [esp + 0x318], esi
jmp 0x661bf7
lea eax, [esp + 0x34]
mov dword [esp + 0x158], 0
push 8
mov dword [esp + 0x160], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x3c], 8
call fcn.006f2a95
push dword [esp + 0x38]
mov ebx, eax
call fcn.006f8afe
mov edi, dword [esp + 0x40]
add esp, 8
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], edi
mov byte [esp + 0x318], 4
call fcn.00665db0
push 0
lea ecx, [esp + 0x3c]
push ecx
mov eax, dword [eax + 0x40]
lea ecx, [esp + 0x160]
push edi
push ebx
push 0xc
push ecx
push 0x2d1400
push esi
call eax
test eax, eax
jne 0x661c1e
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push str.N2__u
push 0x854418
call fcn.006f8da2
add esp, 0xc
push 0x11b2
call fcn.00606650
mov ecx, eax
call fcn.00606640
mov ecx, eax
call fcn.005fca70
lea ecx, [esp + 0x30]
call fcn.006616e0
push esi
mov dword [esp + 0x31c], 0xffffffff
call fcn.00682ff0
mov bl, byte [esp + 0x1b]
add esp, 4
cmp byte [0x854418], 0
jne 0x6621f5
call edi
push eax
push str.N99__u
push 0x854418
call fcn.006f8da2
add esp, 0xc
jmp 0x6621f5
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0
xor edi, edi
xor ebx, ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x20], eax
test eax, eax
je 0x661c7b
push eax
call fcn.006f2a95
push dword [esp + 0x20]
mov edi, eax
call fcn.006f8afe
mov eax, dword [esp + 0x28]
add esp, 8
mov ebx, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x318], 5
cmp eax, ebx
jbe 0x661ca7
push eax
call fcn.006f2a95
push dword [esp + 0x20]
mov edi, eax
call fcn.006f8afe
mov eax, dword [esp + 0x28]
add esp, 8
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
call fcn.00665db0
push 0
lea ecx, [esp + 0x24]
push ecx
mov eax, dword [eax + 0x40]
lea ecx, [esp + 0x160]
push ebx
push edi
push 0xc
push ecx
push 0x2d1400
push esi
call eax
push 2
push 0x7822e8
lea ecx, [esp + 0xfc]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
call fcn.00409620
mov dword [esp + 0xf0], vtable.wbs::StringBase_char_.0
push 2
push 0x7822e8
lea ecx, [esp + 0xe0]
mov byte [esp + 0x320], 6
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], 0
mov byte [esp + 0xe0], 0
call fcn.00409620
mov dword [esp + 0xd4], vtable.wbs::StringBase_char_.0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x318], 7
push dword [eax + 0x10]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.006637b0
add esp, 0xc
lea ecx, [esp + 0xf0]
mov byte [esp + 0x318], 8
push ecx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.00452e90
mov ecx, eax
call fcn.00452f80
mov ecx, dword [esp + 0x48]
push eax
call fcn.004f59b0
cmp dword [esp + 0x124], 0x10
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
jb 0x661dc6
push dword [esp + 0x110]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0xec], 0x10
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], 0
mov byte [esp + 0x110], 0
mov dword [esp + 0xd4], vtable.wbs::StringBase_char_.0
jb 0x661e08
push dword [esp + 0xd8]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x108], 0x10
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov byte [esp + 0x318], 5
mov dword [esp + 0xf0], vtable.wbs::StringBase_char_.0
jb 0x661e52
push dword [esp + 0xf4]
call fcn.006f75a9
add esp, 4
push 2
push 0x7822e8
lea ecx, [esp + 0xfc]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
call fcn.00409620
mov dword [esp + 0xf0], vtable.wbs::StringBase_char_.0
push 2
push 0x7822e8
lea ecx, [esp + 0xe0]
mov byte [esp + 0x320], 9
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], 0
mov byte [esp + 0xe0], 0
call fcn.00409620
mov dword [esp + 0xd4], vtable.wbs::StringBase_char_.0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x318], 0xa
push dword [eax + 0x14]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.006637b0
add esp, 0xc
lea ecx, [esp + 0xf0]
mov byte [esp + 0x318], 0xb
push ecx
lea ecx, [esp + 0xd8]
push ecx
mov ecx, eax
call fcn.00452e90
mov ecx, eax
call fcn.00452f80
push eax
mov ecx, ebp
call fcn.004f59b0
cmp dword [esp + 0x124], 0x10
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
jb 0x661f4c
push dword [esp + 0x110]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0xec], 0x10
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], 0
mov byte [esp + 0x110], 0
mov dword [esp + 0xd4], vtable.wbs::StringBase_char_.0
jb 0x661f8e
push dword [esp + 0xd8]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x108], 0x10
mov dword [esp + 0xec], 0xf
mov dword [esp + 0xe8], 0
mov byte [esp + 0xd8], 0
mov byte [esp + 0x318], 5
mov dword [esp + 0xf0], vtable.wbs::StringBase_char_.0
jb 0x661fd8
push dword [esp + 0xf4]
call fcn.006f75a9
add esp, 4
push 2
push 0x7822e8
lea ecx, [esp + 0xfc]
mov dword [esp + 0x110], 0xf
mov dword [esp + 0x10c], 0
mov byte [esp + 0xfc], 0
call fcn.00409620
mov dword [esp + 0xf0], vtable.wbs::StringBase_char_.0
push 2
push 0x7822e8
lea ecx, [esp + 0x118]
mov byte [esp + 0x320], 0xc
mov dword [esp + 0x12c], 0xf
mov dword [esp + 0x128], 0
mov byte [esp + 0x118], 0
call fcn.00409620
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x318], 0xd
push dword [eax + 0x18]
push eax
lea eax, [esp + 0x16c]
push eax
call fcn.006637b0
add esp, 0xc
lea ecx, [esp + 0xf0]
mov byte [esp + 0x318], 0xe
push ecx
lea ecx, [esp + 0x110]
push ecx
mov ecx, eax
call fcn.00452e90
mov ecx, eax
call fcn.00452f80
mov ecx, dword [esp + 0x4c]
push eax
call fcn.004f59b0
cmp dword [esp + 0x17c], 0x10
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
jb 0x6620d4
push dword [esp + 0x168]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x124], 0x10
mov dword [esp + 0x17c], 0xf
mov dword [esp + 0x178], 0
mov byte [esp + 0x168], 0
mov dword [esp + method.wbs::StringBase_char_.virtual_0], vtable.wbs::StringBase_char_.0
jb 0x662116
push dword [esp + 0x110]
call fcn.006f75a9
add esp, 4
cmp dword [esp + 0x108], 0x10
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], 0
mov byte [esp + 0x110], 0
mov dword [esp + 0xf0], vtable.wbs::StringBase_char_.0
jb 0x662158
push dword [esp + 0xf4]
call fcn.006f75a9
add esp, 4
mov eax, dword [esp + 0x1c]
mov bl, 1
mov dword [esp + 0x108], 0xf
mov dword [esp + 0x104], 0
mov byte [esp + 0xf4], 0
mov byte [0x854418], 0
test eax, eax
je 0x6621b0
push eax
call fcn.006f8afe
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x34]
test eax, eax
je 0x6621e1
push eax
call fcn.006f8afe
add esp, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0xffffffff
push esi
mov dword [esp + 0x31c], 0xffffffff
call fcn.00682ff0
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x310]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.006f7ca4
add esp, 0x308
ret