Function at 0x180068b50
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
mov eax, 0x3878
call fcn.1800e9570
sub rsp, rax
mov rax, qword [0x180173200]
xor rax, rsp
mov qword [rsp + 0x3860], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x40], 0
jmp 0x180068b99
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x10
jge 0x180068f26
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x3890]
mov ecx, dword [rsp + 0x3888]
cmp dword [rax], ecx
jl 0x180068bc5
jmp 0x180068f26
mov r8d, dword [rsp + 0x40]
lea rdx, str..PhysicalDrive_d
lea rcx, [rsp + 0x90]
call fcn.180005290
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
xor edx, edx
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x180068c22
jmp 0x180068f21
mov dword [rsp + 0x4c], 0
mov r8d, ntohl
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.18012a620
mov dword [rsp + 0x80], 0
mov dword [rsp + 0x84], 0
mov r8d, 0x2710
xor edx, edx
lea rcx, [rsp + 0x1150]
call fcn.18012a620
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2710
lea rax, [rsp + 0x1150]
mov qword [rsp + 0x20], rax
mov r9d, ntohl
lea r8, [rsp + 0x80]
mov edx, 0x2d1400
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x180068f0c
lea rax, [rsp + 0x1150]
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x970]
xor r8d, r8d
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x1150]
call fcn.180068730
lea r9, [rsp + 0x580]
xor r8d, r8d
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x10]
lea rcx, [rsp + 0x1150]
call fcn.180068730
lea r9, [rsp + 0xd60]
xor r8d, r8d
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x14]
lea rcx, [rsp + 0x1150]
call fcn.180068730
lea r9, [rsp + 0x190]
mov r8d, 1
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 0x18]
lea rcx, [rsp + 0x1150]
call fcn.180068730
lea rcx, [rsp + 0x190]
call fcn.1800fb030
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x180068dc7
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x190]
and eax, 0xff
mov ecx, eax
call fcn.1800fc4a0
test eax, eax
jne 0x180068dc7
cmp dword [rsp + 0x44], 0x14
jl 0x180068d92
mov dword [rsp + 0x48], 1
jmp 0x180068d9a
mov dword [rsp + 0x48], 0
mov eax, 1
imul rax, rax, 0x13
movsx eax, byte [rsp + rax + 0x190]
and eax, 0xff
mov ecx, eax
call fcn.1800fc4a0
mov ecx, dword [rsp + 0x48]
and ecx, eax
mov eax, ecx
test eax, eax
je 0x180068e71
mov rax, qword [rsp + 0x3890]
movsxd rax, dword [rax]
imul rax, rax, 0xc0c
mov rcx, qword [rsp + 0x3880]
add rcx, rax
mov rax, rcx
lea rdx, [rsp + 0x190]
mov rcx, rax
call fcn.1800faf60
mov rax, qword [rsp + 0x3890]
movsxd rax, dword [rax]
imul rax, rax, 0xc0c
mov rcx, qword [rsp + 0x3880]
lea rax, [rcx + rax + 0x401]
lea rdx, [rsp + 0x580]
mov rcx, rax
call fcn.1800faf60
mov rax, qword [rsp + 0x3890]
movsxd rax, dword [rax]
imul rax, rax, 0xc0c
mov rcx, qword [rsp + 0x3880]
lea rax, [rcx + rax + 0x802]
lea rdx, [rsp + 0x970]
mov rcx, rax
call fcn.1800faf60
mov rax, qword [rsp + 0x3890]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x3890]
mov dword [rcx], eax
mov r8d, 0x2710
xor edx, edx
lea rcx, [rsp + 0x1150]
call fcn.18012a620
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x2710
lea rax, [rsp + 0x1150]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x700a0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180068eca
jmp 0x180068f0a
lea rax, [rsp + 0x1150]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax + 8], 0xc
jne 0x180068eec
mov dword [rsp + 0x50], 1
jmp 0x180068ef4
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x180068f16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x74], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180068b8f
mov rcx, qword [rsp + 0x3860]
xor rcx, rsp
call fcn.1800e95d0
add rsp, 0x3878
ret