Function at 0x14009c994
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x14016b400]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15d, r9d
mov r14, r8
mov rsi, rdx
lea r13, str.base_stor_vssmodulescoord_srchwdelete.cxx
mov qword [rsp + 0x38], r13
lea rdi, str.CVssHardwareProviderWrapper::GetDosDevice
mov qword [rsp + 0x40], rdi
lea rax, str.CORHDELC
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0xbb2
mov r12d, 1
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x58], 0xff
xor ebx, ebx
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x77]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.14001cce0
nop
movsd xmm0, qword [str.__]
movsd qword [rbp + 0x60], xmm0
movzx eax, word [0x1400ff2a8]
mov word [rbp + 0x68], ax
test rsi, rsi
jne 0x14009caab
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], rdi
lea rax, str.CORHDELC
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0xbc0
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x77]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
xor r9d, r9d
lea r8, str.Invalid_device__s
jmp 0x14009cc25
mov r8d, 0xe
lea rdx, [0x14011ed88]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
jne 0x14009cbac
add rsi, 0x1c
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], rdi
lea rax, str.CORHDELC
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0xbc9
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, str.Device_found:__s...
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.14001cc70
mov rdx, r15
mov r8, rsi
mov rcx, r14
call fcn.1400a68dc
mov dword [rbp - 8], eax
shr eax, 0x1f
test al, al
je 0x14009cd48
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], rdi
lea rax, str.CORHDELC
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0xbce
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r15d
mov r9, r14
lea r8, str.StringCbCopyW__p__d__s_
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.1400dbc64
jmp 0x14009cd4b
lea rax, [rbp + 0x60]
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x14009cbb7
lea rdx, [rbp + 0x60]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsncmp]
test eax, eax
je 0x14009cc38
mov qword [rsp + 0x38], r13
lea rax, str.CVssHardwareProviderWrapper::GetDosDevice
mov qword [rsp + 0x40], rax
lea rax, str.CORHDELC
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0xbdb
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, str.Invalid_device_prefix__s
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.14001cc70
jmp 0x14009cd4b
lea rax, [rbp + 0x60]
inc rdi
cmp word [rax + rdi*2], bx
jne 0x14009cc3c
lea rdi, [rsi + rdi*2]
mov qword [rsp + 0x38], r13
lea rsi, str.CVssHardwareProviderWrapper::GetDosDevice
mov qword [rsp + 0x40], rsi
lea rax, str.CORHDELC
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0xbe2
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, str.Symlink:__s...
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.14001cc70
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_QueryDosDeviceW]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x58], 0xff
mov dword [rbp - 0x28], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x60]
test eax, eax
lea rax, str.CORHDELC
mov qword [rsp + 0x48], rax
jne 0x14009cd23
mov dword [rsp + 0x50], 0xbe8
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, str.QueryDosDeviceW__s____ld_
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.14001cc70
jmp 0x14009cd4b
mov dword [rsp + 0x50], 0xbee
call sub.msvcrt.dll_memset
mov r9, r14
lea r8, str.Device_found:__s...
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.14001cc70
mov bl, r12b
mov dl, bl
lea rcx, [rbp - 0x10]
call fcn.14001cbf4
mov bl, al
lea rcx, [rbp - 0x10]
call fcn.14001ce00
mov al, bl
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400321c0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret