Function at 0x140085244
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 [0x14015d3e0]
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.1400bec34
nop
movsd xmm0, qword [str.__]
movsd qword [rbp + 0x60], xmm0
movzx eax, word [0x140105368]
mov word [rbp + 0x68], ax
test rsi, rsi
jne 0x14008535b
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 0x1400854e5
mov r8d, 0xe
lea rdx, [0x14011ea78]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
nop dword [rax + rax]
test eax, eax
jne 0x140085466
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.140009fb0
mov rdx, r15
mov r8, rsi
mov rcx, r14
call fcn.14008e578
mov dword [rbp - 8], eax
shr eax, 0x1f
test al, al
je 0x14008545e
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.1400c132c
jmp 0x1400855ed
mov bl, r12b
jmp 0x1400855ed
lea rax, [rbp + 0x60]
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x140085471
lea rdx, [rbp + 0x60]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcsncmp]
nop dword [rax + rax]
test eax, eax
je 0x1400854f8
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.140009fb0
jmp 0x1400855ed
lea rax, [rbp + 0x60]
inc rdi
cmp word [rax + rdi*2], bx
jne 0x1400854fc
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.140009fb0
mov r8d, r15d
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_QueryDosDeviceW]
nop dword [rax + rax]
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 0x1400855f1
mov dword [rsp + 0x50], 0xbe8
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
mov r9, rdi
lea r8, str.QueryDosDeviceW__s____ld_
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x10]
call fcn.140009fb0
mov dl, bl
jmp 0x140085619
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.140009fb0
mov dl, r12b
lea rcx, [rbp - 0x10]
call fcn.140031dac
mov bl, al
lea rcx, [rbp - 0x10]
call fcn.140009990
mov al, bl
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400164a0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret