Function at 0x1401451c4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r15d, r15d
mov r13, rdx
mov edi, r15d
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x18], r15
mov rbx, rcx
mov dword [rbp - 0x20], r15d
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140145226
test byte [rcx + 0x1c], 0x20
je 0x140145226
cmp byte [rcx + 0x19], 4
jb 0x140145226
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x16]
lea r8, [0x140163500]
call fcn.14000c328
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
nop dword [rax + rax]
mov r12d, eax
test eax, eax
jne 0x14014525d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140145485
movzx ebx, ax
or ebx, 0x80070000
jmp 0x140145485
or rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rbx + rax*2], r15w
jne 0x140145264
dec eax
mov rcx, rbx
cmp word [rbx + rax*2], 0x5c
je 0x14014528c
lea r8, [rbp - 0x18]
lea rdx, [0x14014ff70]
call fcn.140091810
jmp 0x140145298
xor r8d, r8d
lea rdx, [rbp - 0x18]
call fcn.140091bf0
mov r14, qword [rbp - 0x18]
mov ebx, eax
test eax, eax
js 0x14014545d
lea r9, [rbp + 0x58]
mov word [rbp + 0x50], r15w
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x1401452f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
je 0x1401452f2
test eax, eax
jle 0x14014545d
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14014545d
mov ecx, dword [rbp + 0x58]
add rcx, rcx
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
xor ebx, ebx
mov r15, rax
test rax, rax
jne 0x140145318
mov ebx, 0x8007000e
jmp 0x14014545d
mov r8d, dword [rbp + 0x58]
lea r9, [rbp - 0x20]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
nop dword [rax + rax]
test eax, eax
jne 0x14014535a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14014544e
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14014544e
inc rsi
cmp word [r15 + rsi*2], bx
jne 0x14014535a
test esi, esi
je 0x1401453be
lea eax, [rsi + 1]
lea rcx, [rax + rax]
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r11, rax
test rax, rax
jne 0x14014538f
mov ebx, 0x8007000e
jmp 0x14014544e
mov r8, r15
mov rdx, rbx
mov rcx, r11
call fcn.140006530
mov ebx, eax
test eax, eax
js 0x1401453aa
mov rdi, r11
xor ebx, ebx
jmp 0x14014541b
mov rcx, r11
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14014544e
mov ecx, 1
mov eax, ebx
cmp eax, 0x1a
jae 0x140145401
test r12d, ecx
je 0x1401453d5
add ecx, ecx
inc eax
jmp 0x1401453c5
add ax, 0x41
mov word [rbp + 0x52], bx
lea r8, [rbp - 0x10]
mov word [rbp + 0x50], ax
lea rdx, [0x1401634dc]
lea rcx, [rbp + 0x50]
call fcn.140091810
mov rdi, qword [rbp - 0x10]
mov ebx, eax
test eax, eax
js 0x14014544e
xor ebx, ebx
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
nop dword [rax + rax]
test eax, eax
je 0x140145336
mov rcx, qword [0x1401758e0]
test rcx, rcx
je 0x140145433
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea r8, [0x1401758e0]
mov qword [0x1401758e0], rbx
mov rdx, r13
mov rcx, rdi
call fcn.140091810
mov ebx, eax
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r14, r14
je 0x140145471
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rdi, rdi
je 0x140145485
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1401454b9
test byte [rcx + 0x1c], 0x20
je 0x1401454b9
cmp byte [rcx + 0x19], 4
jb 0x1401454b9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140163500]
mov edx, 0x17
call fcn.14000c328
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret