Function at 0x1400090a0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4390]
mov eax, 0x4490
call fcn.14002f320
sub rsp, rax
mov rax, qword [rdx + 8]
xor r14d, r14d
mov dword [rdx + 0x10], r14d
mov rbx, rdx
test rax, rax
je 0x1400090da
mov word [rax], r14w
lea rax, [rbp + 0x188]
mov dword [rbp + 0x180], r14d
mov qword [rbp + 0x178], rax
lea rdx, str.._c:
lea rax, [0x1401b7690]
mov dword [rbp + 0x184], 0x104
mov r8d, 0x43
mov qword [rbp + 0x170], rax
lea rcx, [rbp + 0x170]
mov word [rbp + 0x188], r14w
call fcn.1400038c0
mov rcx, qword [rbp + 0x178]
xorps xmm0, xmm0
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
xor edx, edx
mov dword [rbp + 0x43b0], r14d
movups xmmword [rsp + 0x50], xmm0
lea r8d, [r9 + 3]
mov dword [rsp + 0x20], 3
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400091cd
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x43b0]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 0x20
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x560000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rdi
test eax, eax
jne 0x1400091c7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x44c0]
add rsp, 0x4490
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], 1
jb 0x1400091b1
mov r8d, dword [rsp + 0x58]
lea rdx, str..PHYSICALDRIVE_u
lea rcx, [rbp + 0x170]
mov qword [rsp + 0x44b8], rsi
call fcn.1400038c0
mov rcx, qword [rbp + 0x178]
xor r9d, r9d
mov qword [rsp + 0x30], r14
xor edx, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000936b
xor eax, eax
mov qword [rsp + 0x38], r14
lea rdi, [rbp + 0x390]
mov dword [rbp + 0x43b0], r14d
mov ecx, 0x1000
lea r8, [rsp + 0x40]
rep stosd dword [rdi], eax
lea rdi, [rsp + 0x40]
mov ecx, 3
rep stosd dword [rdi], eax
lea rax, [rbp + 0x43b0]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x30], rax
mov r9d, recv
lea rax, [rbp + 0x390]
mov dword [rsp + 0x28], 0x4000
mov edx, 0x2d1400
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140009362
cmp dword [rbp + 0x43b0], 0x28
jb 0x140009362
xor edx, edx
lea rcx, [rbp + 0x70]
mov r8d, 0x100
call fcn.14014e180
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x100
call fcn.14014e180
mov eax, dword [rbp + 0x39c]
test eax, eax
je 0x1400092ed
mov edx, 0x100
lea r8, [rbp + 0x390]
add r8, rax
lea rcx, [rbp + 0x70]
lea r9d, [rdx - 1]
call fcn.14003ff6c
mov eax, dword [rbp + 0x3a0]
test eax, eax
je 0x140009314
mov edx, 0x100
lea r8, [rbp + 0x390]
add r8, rax
lea rcx, [rsp + 0x70]
lea r9d, [rdx - 1]
call fcn.14003ff6c
cmp byte [rbp + 0x70], r14b
je 0x140009347
lea r8, [rbp + 0x70]
mov rcx, rbx
cmp byte [rsp + 0x70], r14b
je 0x14000933b
lea r9, [rsp + 0x70]
lea rdx, str._S__S
call fcn.1400038c0
jmp 0x140009362
lea rdx, [0x1401ba71c]
call fcn.1400038c0
cmp byte [rsp + 0x70], r14b
je 0x140009362
lea r8, [rsp + 0x70]
mov rcx, rbx
lea rdx, [0x1401ba71c]
call fcn.1400038c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbx + 0x10], 1
mov rsi, qword [rsp + 0x44b8]
jb 0x1400091b1
mov rax, qword [rbx + 8]
test rax, rax
je 0x1400091b1
cmp word [rax], r14w
je 0x1400091b1
mov al, 1
jmp 0x1400091b3