Function at 0x1400e4fbc
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 [section..data]
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.140007418
xor edx, edx
mov word [rsp + 0x40], bx
mov r8d, 0x206
lea rcx, [rsp + 0x42]
mov r14d, ebx
call sub.msvcrt.dll_memset
mov r12d, ebx
mov r15d, ebx
test rsi, rsi
jne 0x1400e5062
lea r9d, [rsi + 0x57]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea edx, [rsi + 0x1c]
lea rax, str.pwszVolumeName
jmp 0x1400e5431
test rdi, rdi
jne 0x1400e50a0
lea r9d, [rdi + 0x57]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea edx, [rdi + 0x1d]
lea rax, str.wszFileName
jmp 0x1400e5431
test r13, r13
jne 0x1400e50df
lea r9d, [r13 + 0x57]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea edx, [r13 + 0x1e]
lea rax, str.pwszRelativeFilePath
jmp 0x1400e5431
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 0x1400e5147
mov rdx, rdi
lea rcx, str.__
call fcn.1400e3854
mov r15, rax
test rax, rax
jne 0x1400e5191
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea edx, [r15 + 0x1f]
jmp 0x1400e5185
mov rcx, rdi
call fcn.140008170
mov r15, rax
test rax, rax
jne 0x1400e5191
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea edx, [r15 + 0x20]
lea rax, str.wszSSQMSPrependedFileName
jmp 0x1400e5431
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [r15 + rdi*2], bx
jne 0x1400e5198
add edi, 2
lea ecx, [rdi + rdi]
call fcn.140005bd0
mov r14, rax
test rax, rax
jne 0x1400e51ef
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea edx, [r14 + 0x21]
lea rax, str.wszVolumePathBuffer
jmp 0x1400e5431
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 0x1400e524e
mov ebp, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
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 [0x14015a290]
jmp 0x1400e5431
mov rax, rsi
inc rax
cmp word [r14 + rax*2], bx
jne 0x1400e5251
cmp word [r14 + rax*2 - 2], 0x5c
je 0x1400e52ec
lea r8, [0x1400f2048]
mov rdx, rdi
mov rcx, r14
call fcn.140006000
test eax, eax
jns 0x1400e52ec
mov ecx, eax
mov ebp, ebx
call fcn.1400e32f8
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea r8, [0x1400f2048]
mov rdx, rdi
mov rcx, r14
call fcn.140006000
mov rcx, qword [0x14015a290]
lea r8, str.yO4
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.1400d5cb0
jmp 0x1400e5457
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 0x1400e5349
mov ebp, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
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 0x1400e5242
lea rcx, [rsp + 0x40]
mov rax, rsi
inc rax
cmp word [rcx + rax*2], bx
jne 0x1400e5351
cmp word [rsp + rax*2 + 0x3e], 0x5c
jne 0x1400e5377
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x1400e53e6
mov word [rsp + rax + 0x40], bx
mov rax, rsi
inc rax
cmp word [r14 + rax*2], bx
jne 0x1400e537a
cmp word [r14 + rax*2 - 2], 0x5c
jne 0x1400e53a0
mov rax, rsi
inc rax
cmp word [r14 + rax*2], bx
jne 0x1400e5390
mov word [r14 + rax*2 - 2], bx
lea rcx, [rsp + 0x40]
call fcn.140008170
mov r12, rax
test rax, rax
jne 0x1400e53ec
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea edx, [r12 + 0x25]
lea rax, str.wszVolumeName
jmp 0x1400e5431
call fcn.140030a08
int3
inc rsi
cmp word [r14 + rsi*2], bx
jne 0x1400e53ec
lea rcx, [r15 + rsi*2]
call fcn.140008170
test rax, rax
jne 0x1400e5448
lea r9d, [rax + 0xe]
mov ebp, ebx
mov ebx, r9d
mov rcx, qword [0x14015a290]
lea rax, [0x14015a290]
cmp rcx, rax
je 0x1400e5457
test byte [rcx + 0x1c], 8
je 0x1400e5457
lea edx, [r9 + 0x18]
lea rax, str.wszRelativeFilePath
mov rcx, qword [rcx + 0x10]
lea r8, str.yO4
mov qword [rsp + 0x20], rax
call fcn.1400d5cb0
jmp 0x1400e5457
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.1400073f0
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.1400305f0
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret