Function at 0x140001420
Capabilities:
Get storage device properties

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x118], rax
mov r12, rcx
mov qword [rbp + 0xa0], rcx
xor r15d, r15d
mov dword [rsp + 0x64], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x64], 1
xor eax, eax
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rax
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], al
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive0
lea rcx, [rbp - 0x80]
call fcn.140004910
nop
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], r15b
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive1
lea rcx, [rbp - 0x60]
call fcn.140004910
nop
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], r15b
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive2
lea rcx, [rbp - 0x40]
call fcn.140004910
nop
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r15b
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive3
lea rcx, [rbp - 0x20]
call fcn.140004910
nop
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 0xf
mov byte [rbp], r15b
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive4
lea rcx, [rbp]
call fcn.140004910
nop
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], r15b
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive5
lea rcx, [rbp + 0x20]
call fcn.140004910
nop
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], r15b
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive6
lea rcx, [rbp + 0x40]
call fcn.140004910
nop
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], r15b
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive7
lea rcx, [rbp + 0x60]
call fcn.140004910
nop
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], r15b
lea r8d, [r15 + 0x12]
lea rdx, str..PhysicalDrive8
lea rcx, [rbp + 0x80]
call fcn.140004910
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r15
mov ecx, 0x120
call fcn.140005d98
mov rbx, rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
add rax, 0x120
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x70], rax
lea rdi, [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rbp + 0xe8], xmm0
mov qword [rbp + 0xe8], rbx
mov qword [rbp + 0xf0], rbx
lea rax, [rbp + 0xc8]
mov qword [rbp + 0xf8], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140004830
add rbx, 0x20
mov qword [rbp + 0xf0], rbx
add rdi, 0x20
lea rax, [rbp + 0xa0]
cmp rdi, rax
jne 0x140001682
mov rdx, rbx
mov rcx, rbx
call fcn.140004f00
mov qword [rbp + 0xd0], rbx
lea r9, [fcn.140004790]
mov edx, 0x20
lea r8d, [rdx - 0x17]
lea rcx, [rbp - 0x80]
call fcn.140005dd4
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
mov rsi, r15
mov qword [rsp + 0x70], r15
mov qword [rbp + 0xf8], r15
mov edi, r15d
mov rax, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xc8]
sub rax, r8
sar rax, 5
mov r13, qword [rbp + 0xf0]
test rax, rax
je 0x1400017cb
mov rbx, r15
nop dword [rax + rax]
lea rcx, [rbx + r8]
cmp qword [rcx + 0x18], 0x10
jb 0x14000172e
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x100], rax
cmp rax, 0xffffffffffffffff
je 0x1400017c4
cmp r13, rsi
je 0x140001772
mov qword [r13], rax
add r13, 8
mov qword [rbp + 0xf0], r13
jmp 0x14000179b
lea r8, [rbp + 0x100]
mov rdx, r13
lea rcx, [rbp + 0xe8]
call fcn.140005500
mov rsi, qword [rbp + 0xf8]
mov qword [rsp + 0x70], rsi
mov r13, qword [rbp + 0xf0]
inc edi
add rbx, 0x20
mov rcx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xc8]
sub rcx, r8
sar rcx, 5
movsxd rax, edi
cmp rax, rcx
jb 0x140001720
jmp 0x1400017cb
mov r8, qword [rbp + 0xc8]
mov dword [rsp + 0x60], r15d
mov rcx, qword [rbp + 0xe8]
sub r13, rcx
sar r13, 3
test r13, r13
je 0x140001c87
mov r14, rcx
mov qword [rsp + 0x68], rcx
nop
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
mov r8d, 1
lea rdx, [0x140008534]
lea rcx, [rbp + 0xa8]
call fcn.140004910
nop
mov qword [rbp + 0x10c], 0
mov dword [rbp + 0x108], r15d
mov qword [rbp + 0x100], r15
mov dword [rbp + 0xe0], r15d
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp + 0x108]
mov edx, 0x2d1400
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14000198e
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], al
lea r8d, [rax + 1]
lea rdx, [0x140008534]
lea rcx, [rsp + 0x40]
call fcn.140004910
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa8]
call fcn.140004700
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000190e
inc rdx
mov rcx, qword [rsp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001cc8
call fcn.140005d90
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x140001931
lea rdx, [rbp + 0xa8]
mov rcx, rax
call fcn.140004830
add qword [r12 + 8], 0x20
jmp 0x140001944
lea r8, [rbp + 0xa8]
mov rdx, rax
mov rcx, r12
call fcn.140005920
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140001c5b
inc rdx
mov rcx, qword [rbp + 0xa8]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001984
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ccf
call fcn.140005d90
jmp 0x140001c5b
mov ebx, dword [rbp + 0x104]
mov ecx, ebx
call fcn.140005ea4
mov rdi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
mov r9d, 0xc
lea r8, [rbp + 0x108]
mov edx, 0x2d1400
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
test eax, eax
jne 0x140001a29
lea r8d, [rax + 1]
lea rdx, [0x140008534]
lea rcx, [rsp + 0x40]
call fcn.140004910
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa8]
call fcn.140004700
nop
jmp 0x1400018d1
mov eax, dword [rdi + 0x18]
test eax, eax
je 0x140001a69
lea rdx, [rdi + rax]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140001a40
lea rcx, [rsp + 0x40]
call fcn.140004910
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa8]
call fcn.140004700
nop
jmp 0x140001a93
mov r8d, 1
lea rdx, [0x140008534]
lea rcx, [rsp + 0x40]
call fcn.140004910
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa8]
call fcn.140004700
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140001ad0
inc rdx
mov rcx, qword [rsp + 0x40]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140001acb
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001cc8
call fcn.140005d90
mov rcx, rdi
call fcn.140005d90
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rbp + 0xa8]
mov rcx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
cmp qword [rbp + 0xc0], 0x10
jb 0x140001b0c
lea rdi, [rcx + r8]
mov rsi, rcx
mov rax, rcx
jmp 0x140001b1e
lea rdi, [rax + r8]
lea rsi, [rbp + 0xa8]
lea rax, [rbp + 0xa8]
mov r15, rdi
lea rbx, [rax + r8]
cmp rsi, rbx
je 0x140001b93
nop word [rax + rax]
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140001b45
inc rsi
cmp rsi, rbx
jne 0x140001b30
mov r8, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xa8]
cmp rsi, rbx
je 0x140001b93
lea r14, [rsi + 1]
cmp r14, rbx
je 0x140001b8e
movsx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140001b78
movzx eax, byte [r14]
mov byte [rsi], al
inc rsi
inc r14
cmp r14, rbx
jne 0x140001b61
mov r8, qword [rbp + 0xb8]
mov rcx, qword [rbp + 0xa8]
mov r14, qword [rsp + 0x68]
lea rax, [rbp + 0xa8]
mov rdx, rsi
cmp qword [rbp + 0xc0], 0x10
jb 0x140001bac
sub rdx, rcx
jmp 0x140001bb9
sub rdx, rax
mov r15, rdi
lea rcx, [rbp + 0xa8]
mov rax, r8
sub r15, rsi
sub rax, rdx
cmp rax, r15
cmovb r15, rax
add rcx, rdx
sub r8, r15
mov qword [rbp + 0xb8], r8
sub r8, rdx
inc r8
lea rdx, [rcx + r15]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x140001c08
lea rdx, [rbp + 0xa8]
mov rcx, rax
call fcn.140004830
add qword [r12 + 8], 0x20
jmp 0x140001c1b
lea r8, [rbp + 0xa8]
mov rdx, rax
mov rcx, r12
call fcn.140005920
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140001c58
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001ccf
call fcn.140005d90
xor r15d, r15d
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
add r14, 8
mov qword [rsp + 0x68], r14
cdqe
cmp rax, r13
jb 0x1400017f0
mov r8, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140001ce2
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
sar rdx, 3
lea rdx, [rdx*8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140005d90
mov r8, qword [rbp + 0xc8]
test r8, r8
je 0x140001d38
mov rdx, qword [rbp + 0xd0]
mov rcx, r8
call fcn.140004f00
mov rdx, qword [rbp + 0xd8]
mov rcx, qword [rbp + 0xc8]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005d90
mov rax, r12
mov rcx, qword [rbp + 0x118]
xor rcx, rsp
call fcn.140005d70
lea r11, [rsp + 0x220]
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