Function at 0x140003330
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140021410]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, rdx
mov r14, rcx
mov qword [rbp - 0x31], rdx
xor r15d, r15d
mov dword [rbp - 0x59], r15d
cmp qword [rdx + 0x18], 8
jb 0x140003381
mov rax, qword [rdx]
jmp 0x140003384
mov rax, rbx
mov r13d, 7
cmp word [rax], 0x7b
jne 0x1400033b4
cmp qword [rdx + 0x18], 8
jb 0x14000339c
mov rcx, qword [rdx]
jmp 0x14000339f
mov rcx, rbx
lea rdx, [rbp + 0x17]
call qword [sym.imp.ole32.dll_CLSIDFromString]
nop dword [rax + rax]
jmp 0x1400036c6
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
mov edx, 0x104
lea rcx, [rbp - 0x51]
call fcn.1400070ac
nop
mov rax, qword [rbp - 0x49]
mov rdi, qword [rbp - 0x51]
sub rax, rdi
sar rax, 1
cmp qword [rbx + 0x18], 8
jb 0x1400033e9
mov rcx, qword [rbx]
jmp 0x1400033ec
mov rcx, rbx
mov r8d, eax
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
nop dword [rax + rax]
or rsi, 0xffffffffffffffff
test eax, eax
je 0x140003539
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
cmp word [rdi], r15w
jne 0x14000342a
mov r8, r15
jmp 0x140003437
mov r8, rsi
inc r8
cmp word [rdi + r8*2], r15w
jne 0x14000342d
mov rdx, rdi
lea rcx, [rbp - 0x29]
call fcn.14000a150
nop
lea rax, [rbp - 0x29]
cmp rbx, rax
je 0x14000347c
cmp qword [rbx + 0x18], 8
jb 0x140003463
mov rcx, qword [rbx]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14000a530
nop
cmp qword [rbp - 0x11], 8
jb 0x140003493
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
mov r9, qword [rbx + 0x10]
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
dec r9
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.14000a238
mov esi, 1
mov dword [rbp - 0x59], esi
lea rax, [rbp - 0x29]
cmp rbx, rax
je 0x14000350a
cmp qword [rbx + 0x18], 8
jb 0x1400034f2
mov rcx, qword [rbx]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14000a530
and esi, 0xfffffffe
mov dword [rbp - 0x59], esi
cmp qword [rbp - 0x11], 8
jb 0x140003527
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
jmp 0x14000363d
lea rdx, str.._
mov rcx, rbx
call fcn.140007360
test rax, rax
je 0x14000363d
mov qword [rbp + 7], r15
mov qword [rbp + 0xf], r15
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r15
mov word [rbp - 9], r15w
mov r8d, 4
lea rdx, str.._
lea rcx, [rbp - 9]
call fcn.14000a150
nop
mov r9, rsi
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.14000a44c
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.14000a530
mov esi, 2
mov dword [rbp - 0x59], esi
lea rax, [rbp - 0x29]
cmp rbx, rax
je 0x1400035ef
cmp qword [rbx + 0x18], 8
jb 0x1400035d7
mov rcx, qword [rbx]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.14000a530
and esi, 0xfffffffd
mov dword [rbp - 0x59], esi
cmp qword [rbp - 0x11], 8
jb 0x14000360c
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp - 0x11], r13
mov qword [rbp - 0x19], r15
mov word [rbp - 0x29], r15w
cmp qword [rbp + 0xf], 8
jb 0x140003630
mov rcx, qword [rbp - 9]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbp + 0xf], r13
mov qword [rbp + 7], r15
mov word [rbp - 9], r15w
cmp qword [rbx + 0x18], 8
jb 0x140003649
mov rcx, qword [rbx]
jmp 0x14000364c
mov rcx, rbx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov r8d, 3
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140003731
lea rdx, [rbp + 0x17]
mov rcx, rax
call fcn.14000f234
test eax, eax
jne 0x14000371d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
nop
test rdi, rdi
je 0x1400036c6
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r15
movups xmm0, xmmword [rbp + 0x17]
movdqu xmmword [r14], xmm0
cmp qword [rbx + 0x18], 8
jb 0x1400036e5
mov rcx, qword [rbx]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x10], r15
mov word [rbx], r15w
mov rax, r14
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140012f80
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov dword [rbp - 0x55], eax
lea rdx, [0x14001f4b8]
lea rcx, [rbp - 0x55]
call sub.msvcrt.dll__CxxThrowException
int3
lea rcx, [rbp - 9]
call fcn.1400027d8
lea rdx, [0x14001f570]
lea rcx, [rbp - 9]
call sub.msvcrt.dll__CxxThrowException
int3