Function at 0x1400417c0
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc90]
sub rsp, 0xd90
mov rax, qword [0x1400c2138]
xor rax, rsp
mov qword [rbp + 0xc80], rax
xor r13d, r13d
mov r12, r8
mov bl, r13b
mov edi, r13d
mov r15, rdx
mov r14, rcx
test bl, bl
jne 0x140041bbc
xor edx, edx
lea rcx, [rbp + 0x280]
mov r8d, 0x200
call fcn.140061fe0
mov r9d, edi
lea r8, str..PhysicalDrive_d
mov edx, 0xff
lea rcx, [rbp + 0x280]
call fcn.140041dc4
xor r9d, r9d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea rcx, [rbp + 0x280]
xor edx, edx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140041bb1
xor edx, edx
mov dword [rsp + 0x40], r13d
mov r8d, 0x800
mov qword [rsp + 0x6c], r13
lea rcx, [rbp + 0x480]
mov dword [rsp + 0x68], r13d
call fcn.140061fe0
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x68]
lea rax, [rbp + 0x480]
mov dword [rsp + 0x28], 0x800
mov r9d, 0xc
mov qword [rsp + 0x20], rax
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140041ba2
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x100
call fcn.140061fe0
xor edx, edx
lea rcx, [rbp + 0x80]
mov r8d, 0x100
call fcn.140061fe0
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x100
call fcn.140061fe0
mov edx, dword [rbp + 0x490]
lea r9, [rbp + 0x80]
xor r8d, r8d
lea rcx, [rbp + 0x480]
call fcn.14004122c
mov edx, dword [rbp + 0x494]
lea r9, [rbp + 0x180]
xor r8d, r8d
lea rcx, [rbp + 0x480]
call fcn.14004122c
call fcn.1400174e8
mov edx, dword [rbp + 0x498]
lea r9, [rbp - 0x80]
cmp eax, 0xb
lea rcx, [rbp + 0x480]
mov r8d, r13d
setl r8b
call fcn.14004122c
movsx ecx, byte [rbp - 0x80]
call fcn.140073e60
test eax, eax
jne 0x140041989
movsx ecx, byte [rbp - 0x6d]
call fcn.140073e60
test eax, eax
je 0x140041ba8
mov qword [rsp + 0x48], r13
lea rax, [rbp - 0x80]
mov qword [rsp + 0x58], r13
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x60], 0xf
inc rbx
cmp byte [rax + rbx], r13b
jne 0x1400419a4
lea rcx, [rsp + 0x48]
cmp rbx, 0xf
ja 0x1400419d0
mov r8, rbx
mov qword [rsp + 0x58], rbx
lea rdx, [rbp - 0x80]
call fcn.140061930
mov byte [rsp + rbx + 0x48], r13b
jmp 0x1400419df
lea r9, [rbp - 0x80]
mov r8b, r13b
mov rdx, rbx
call fcn.14000f964
lea rax, [rsp + 0x48]
cmp r14, rax
je 0x1400419f9
mov r8b, r13b
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140015d94
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140041a36
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041a31
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041bf4
call fcn.14005cb40
mov qword [rsp + 0x48], r13
lea rax, [rbp + 0x80]
mov qword [rsp + 0x58], r13
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x60], 0xf
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140041a54
lea rcx, [rsp + 0x48]
cmp rbx, 0xf
ja 0x140041a83
mov r8, rbx
mov qword [rsp + 0x58], rbx
lea rdx, [rbp + 0x80]
call fcn.140061930
mov byte [rsp + rbx + 0x48], r13b
jmp 0x140041a95
lea r9, [rbp + 0x80]
mov r8b, r13b
mov rdx, rbx
call fcn.14000f964
lea rax, [rsp + 0x48]
cmp r15, rax
je 0x140041aaf
mov r8b, r13b
lea rdx, [rsp + 0x48]
mov rcx, r15
call fcn.140015d94
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140041aec
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041ae7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041be8
call fcn.14005cb40
mov qword [rsp + 0x48], r13
lea rax, [rbp + 0x180]
mov qword [rsp + 0x58], r13
or rbx, 0xffffffffffffffff
mov qword [rsp + 0x60], 0xf
inc rbx
cmp byte [rax + rbx], r13b
jne 0x140041b0a
lea rcx, [rsp + 0x48]
cmp rbx, 0xf
ja 0x140041b39
mov r8, rbx
mov qword [rsp + 0x58], rbx
lea rdx, [rbp + 0x180]
call fcn.140061930
mov byte [rsp + rbx + 0x48], r13b
jmp 0x140041b4b
lea r9, [rbp + 0x180]
mov r8b, r13b
mov rdx, rbx
call fcn.14000f964
lea rax, [rsp + 0x48]
cmp r12, rax
je 0x140041b65
mov r8b, r13b
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.140015d94
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140041b9e
mov rcx, qword [rsp + 0x48]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041b99
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140041bee
call fcn.14005cb40
mov bl, 1
jmp 0x140041ba8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, 0x10
jl 0x140041802
mov al, bl
mov rcx, qword [rbp + 0xc80]
xor rcx, rsp
call fcn.14005ccc0
mov rbx, qword [rsp + 0xde8]
add rsp, 0xd90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140067514
int3
call fcn.140067514
int3
call fcn.140067514
int3