Function at 0x140012f10
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x310], rbx
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r9, rdx
mov rdi, rcx
mov qword [rbp - 0x70], rcx
xor esi, esi
mov dword [rsp + 0x48], esi
test r8d, r8d
je 0x140012f76
lea rax, [0x14005aba8]
mov qword [rcx], rax
lea rax, vtable.Common::NonCopyable.0
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x48], 1
mov rax, qword [rcx]
movsxd rcx, dword [rax + 4]
lea rax, vtable.UsnFile.0
mov qword [rcx + rdi], rax
or rbx, 0xffffffffffffffff
mov qword [rdi + 8], rbx
cmp qword [rdx + 0x18], 8
jb 0x140012f9a
mov r9, qword [rdx]
mov r8d, 0x208
lea rdx, [rbp - 0x40]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x140013036
movabs rax, 0xf35f747b3b21f7f6
mov qword [rsp + 0x50], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x58], rax
lea rax, str.UsnFile::UsnFile
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0xed
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm1
lea rcx, [0x140056994]
call fcn.140005930
mov qword [rsp + 0x20], rax
mov r9d, 0x40007
lea r8, [0x14005abb0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000c540
lea rdx, [0x140077398]
lea rcx, [rsp + 0x40]
call fcn.140038520
int3
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rsi
mov word [rbp - 0x60], si
cmp word [rbp - 0x40], 0
jne 0x140013052
mov rbx, rsi
jmp 0x140013060
lea rax, [rbp - 0x40]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140013056
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140004610
nop
mov rax, qword [rbp - 0x50]
lea rcx, [rax - 1]
cmp rax, rcx
jae 0x14001308b
lea rcx, str.invalid_string_position
call fcn.14004b764
int3
mov qword [rbp - 0x50], rcx
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rax, qword [rbp - 0x60]
mov word [rax + rcx*2], si
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x140013161
movabs rax, 0xf35f747b3b21f7ff
mov qword [rsp + 0x50], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x58], rax
lea rax, str.UsnFile::UsnFile
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], 0xf6
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x80], xmm1
lea rcx, [0x140056994]
call fcn.140005930
mov qword [rsp + 0x20], rax
mov r9d, 0x40007
lea r8, [0x14005ac38]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.14000c540
lea rdx, [0x140077398]
lea rcx, [rsp + 0x40]
call fcn.140038520
nop
cmp qword [rbp - 0x48], 8
jb 0x140013172
mov rcx, qword [rbp - 0x60]
call fcn.1400376e4
nop
mov rax, rdi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140038d80
mov rbx, qword [rsp + 0x310]
add rsp, 0x2e0
pop rdi
pop rsi
pop rbp
ret