Function at 0x10039c90
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 0x100f9a65
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x1014a440]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x20], 0x568fe4e5
mov dword [ebp - 0x1c], 0x3db7a7a7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x20], 0xc71f926f
mov dword [ebp - 0x1c], 0x8fdb461a
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x20], 0x6aea072e
mov dword [ebp - 0x1c], 0x2f92e529
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x20], 0x23acc528
mov dword [ebp - 0x1c], 0x6decfff0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x20], 0xaa1b8b9
mov dword [ebp - 0x1c], 0x4ececff7
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0xab7ef106
mov dword [ebp - 0x1c], 0xf9b2345e
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x6aea374b
mov dword [ebp - 0x1c], 0x2f92e529
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x20]
push 0
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0x1c]
push 0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x20], 0x23acc528
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x1c], 0x6decfff0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
movaps xmm1, xmmword [ebp - 0x90]
xorps xmm1, xmmword [ebp - 0xb0]
push 3
push 0
movaps xmmword [ebp - 0x90], xmm1
movaps xmm1, xmmword [ebp - 0x80]
push 3
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], ecx
xorps xmm1, xmmword [ebp - 0xa0]
push 0
push eax
mov dword [ebp - 0x60], esi
movaps xmmword [ebp - 0x80], xmm1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xorps xmm0, xmm0
mov dword [ebp - 0x60], edi
cmp edi, 0xffffffff
jne 0x10039e3e
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
jmp 0x10039fd0
movlpd qword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0x10039ff0
mov dword [ebp - 0x40], edi
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
push 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x50], 0
push eax
push 0xc
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10039ea8
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
jmp 0x10039fc5
mov edi, dword [ebp - 0x54]
push edi
call fcn.100cb689
add esp, 4
mov dword [ebp - 0x64], eax
push edi
push 0
push eax
call fcn.100ccff0
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov dword [ebp - 0x1c], eax
push 0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
push ecx
push edi
mov edi, dword [ebp - 0x60]
push eax
push 0xc
lea eax, [ebp - 0x50]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm0, xmm0
test eax, eax
jne 0x10039f16
push dword [ebp - 0x64]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
call fcn.100cacc4
add esp, 4
jmp 0x10039fc5
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10039f43
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
push eax
mov byte [esi], cl
call fcn.100cacc4
add esp, 4
jmp 0x10039fc5
lea edx, [ecx + eax]
mov dword [ebp - 0x2c], 0
mov ecx, edx
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x3c], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x60], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039f60
sub ecx, dword [ebp - 0x60]
push ecx
push edx
lea ecx, [ebp - 0x3c]
call fcn.1000ecf0
lea edx, [ebp - 0x59]
mov byte [ebp - 0x59], 0x20
lea ecx, [ebp - 0x3c]
call fcn.1003c3d0
push dword [ebp - 0x64]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x3c]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x3c], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
call fcn.100cacc4
add esp, 4
test edi, edi
je 0x10039fd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100cacb6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret