Function at 0x1400dcf8c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x1401543b0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r13, r8
mov qword [rsp + 0x30], rdx
mov rsi, rdx
mov rdi, rcx
xor ebx, ebx
lea rcx, str.GetVolumeNameAndRelativeFilePath
lea ebp, [rbx + 1]
call fcn.140008368
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
mov r14d, ebx
call sub.msvcrt.dll_memset
mov r12d, ebx
mov r15d, ebx
test rsi, rsi
jne 0x1400dd042
lea r9d, [rsi + 0x57]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea edx, [rsi + 0x1c]
lea rax, str.pwszVolumeName
mov rcx, qword [rcx + 0x10]
lea r8, [0x14012caf0]
mov qword [rsp + 0x20], rax
call fcn.1400cc0d8
jmp 0x1400dd421
test rdi, rdi
jne 0x1400dd07d
lea r9d, [rdi + 0x57]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea edx, [rdi + 0x1d]
lea rax, str.wszFileName
jmp 0x1400dd028
test r13, r13
jne 0x1400dd0bc
lea r9d, [r13 + 0x57]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea edx, [r13 + 0x1e]
lea rax, str.pwszRelativeFilePath
jmp 0x1400dd028
mov qword [rsi], rbx
lea rdx, str.__
mov r8d, 4
mov qword [r13], rbx
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsnicmp]
test eax, eax
je 0x1400dd12e
mov rdx, rdi
lea rcx, str.__
call fcn.1400dde10
mov r15, rax
test rax, rax
jne 0x1400dd16e
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea edx, [r15 + 0x1f]
lea rax, str.wszSSQMSPrependedFileName
jmp 0x1400dd028
mov rcx, rdi
call fcn.1400dd9fc
mov r15, rax
test rax, rax
jne 0x1400dd16e
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea edx, [r15 + 0x20]
jmp 0x1400dd122
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [r15 + rdi*2], bx
jne 0x1400dd175
add edi, 2
lea ecx, [rdi + rdi]
call fcn.1400ddeec
mov r14, rax
test rax, rax
jne 0x1400dd1cc
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea edx, [r14 + 0x21]
lea rax, str.wszVolumePathBuffer
jmp 0x1400dd028
mov r8d, edi
mov rdx, rax
mov rcx, r15
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
jne 0x1400dd22b
mov ebp, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x22
lea rax, str.GetVolumePathNameW__wszSSQMSPrependedFileName__wszVolumePathBuffer__cchPathLength_
mov rcx, qword [0x140154180]
jmp 0x1400dd028
mov rax, rsi
inc rax
cmp word [r14 + rax*2], bx
jne 0x1400dd22e
cmp word [r14 + rax*2 - 2], 0x5c
je 0x1400dd2c9
lea r8, [0x1400e84e8]
mov rdx, rdi
mov rcx, r14
call fcn.14004b4c0
test eax, eax
jns 0x1400dd2c9
mov ecx, eax
mov ebp, ebx
call fcn.1400de1e4
mov ebx, eax
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea r8, [0x1400e84e8]
mov rdx, rdi
mov rcx, r14
call fcn.14004b4c0
mov rcx, qword [0x140154180]
lea r8, [0x14012caf0]
mov r9d, eax
mov edx, 0x23
lea rax, str.::StringCchCat__wszVolumePathBuffer__cchPathLength__L____
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.1400cc0d8
jmp 0x1400dd421
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1400dd326
mov ebp, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov edx, 0x24
lea rax, str.GetVolumeNameForVolumeMountPoint_wszVolumePathBuffer__wszVolumeNameBuffer__ARRAYSIZE_wszVolumeNameBuffer__
jmp 0x1400dd21f
lea rcx, [rsp + 0x40]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400dd32e
cmp word [rsp + rax*2 + 0x3e], 0x5c
jne 0x1400dd354
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x1400dd3c2
mov word [rsp + rax + 0x40], bx
mov rax, rsi
inc rax
cmp word [r14 + rax*2], bx
jne 0x1400dd357
cmp word [r14 + rax*2 - 2], 0x5c
jne 0x1400dd37d
mov rax, rsi
inc rax
cmp word [r14 + rax*2], bx
jne 0x1400dd36d
mov word [r14 + rax*2 - 2], bx
lea rcx, [rsp + 0x40]
call fcn.1400dd9fc
mov r12, rax
test rax, rax
jne 0x1400dd3c8
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea edx, [r12 + 0x25]
lea rax, str.wszVolumeName
jmp 0x1400dd028
call fcn.140020338
int3
inc rsi
cmp word [r14 + rsi*2], bx
jne 0x1400dd3c8
lea rcx, [r15 + rsi*2]
call fcn.1400dd9fc
test rax, rax
jne 0x1400dd412
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x140154180]
lea rax, [0x140154180]
cmp rcx, rax
je 0x1400dd421
test byte [rcx + 0x1c], 8
je 0x1400dd421
lea edx, [r9 + 0x18]
lea rax, str.wszRelativeFilePath
jmp 0x1400dd028
mov qword [r13], rax
mov rax, qword [rsp + 0x30]
mov qword [rax], r12
mov r12, rbx
mov rcx, r12
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov rcx, r15
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
lea rcx, str.GetVolumeNameAndRelativeFilePath
call fcn.1400084a8
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetLastError]
mov eax, ebp
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001ff30
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret