Function at 0x14001a4c0
Capabilities:
Get disk information via ioctl

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14007c668]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12d, edx
mov r15, rcx
mov qword [rbp - 0x39], rcx
xor eax, eax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
mov dword [rbp - 0x21], 0x20
movups xmm0, xmmword [0x14005c3b8]
movups xmmword [rbp + 0x1f], xmm0
lea r9d, [rax + 0x12]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x1f]
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001a751
xor r13d, r13d
mov ebx, r13d
xor edx, edx
lea r8, [rbp - 0x21]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
cmp eax, 1
jne 0x14001a748
mov dword [rbp - 0x3d], r13d
xor edx, edx
mov r8d, 0x200
lea rcx, [0x140092440]
call fcn.14003fab0
lea rax, [rbp - 0x3d]
mov qword [rsp + 0x20], rax
mov r9d, 0x200
lea r8, [0x140092440]
lea rdx, [rbp - 0x21]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstanceIdW]
lea rdx, [0x140092440]
lea rcx, [rbp - 1]
call fcn.14000a680
nop
lea rdx, [0x140060b10]
lea rcx, [rbp - 0x61]
call fcn.14000a680
nop
lea rdx, [0x14005c620]
lea rcx, [rsp + 0x48]
call fcn.14000a680
nop
lea r8, [rbp - 0x61]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 1]
call fcn.140014fd0
nop
lea rcx, [rsp + 0x48]
call fcn.140002990
nop
lea rcx, [rbp - 0x61]
call fcn.140002990
mov edx, 0x81
lea rcx, [0x14008ea20]
call fcn.14000a780
mov rcx, rax
call fcn.140009de0
mov rdi, rax
lea rcx, [rbp - 1]
call fcn.140009de0
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea r9, str.._
lea r8, str._s_s_s
mov edx, 0x100
lea rcx, [0x140092240]
call fcn.14000e2d0
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
lea rcx, [0x140092240]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14001a6d1
xor eax, eax
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], eax
mov dword [rbp - 0x39], r13d
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xc
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov edi, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp - 0x2d], r12d
jne 0x14001a6d1
cmp edi, 1
je 0x14001a6e3
lea rcx, [rbp - 1]
call fcn.140002990
inc ebx
mov edx, ebx
jmp 0x14001a550
mov dword [rbp - 0x41], r13d
xor r8d, r8d
mov edx, dword [rbp - 0xd]
lea rcx, [rbp - 0x41]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
xor edx, edx
mov r8d, 0x200
lea rcx, [0x140092440]
call fcn.14003fab0
xor r9d, r9d
mov r8d, 0x100
lea rdx, [0x140092440]
mov ecx, dword [rbp - 0x41]
call qword [sym.imp.SETUPAPI.dll_CM_Get_Device_IDW]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
lea rdx, [0x140092440]
mov rcx, r15
call fcn.14000a680
nop
lea rcx, [rbp - 1]
call fcn.140002990
jmp 0x14001a760
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
lea rdx, [0x140055950]
mov rcx, r15
call fcn.14000a680
mov rax, r15
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14003e040
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret