Function at 0x14006cc64
Capabilities:
Get disk information via ioctl

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14028b7c8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, rdx
mov r13d, 1
xor r15d, r15d
bt dword [rcx + 0x18], 0x19
jae 0x14006ccbf
lea r8, [rsp + 0x50]
call fcn.14006c844
jmp 0x14006ccda
cmp dword [rdx + 0xf0], r13d
jne 0x14006ccd7
lea r8, [rsp + 0x50]
call fcn.14006c844
cmp eax, r15d
jne 0x14006cce3
mov eax, r15d
cmp eax, r15d
je 0x14006d191
mov dword [rsp + 0x40], r15d
cmp dword [rbx + 0x2c], 0xffffffff
jne 0x14006cd3f
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r15d
je 0x14006cd39
mov eax, dword [rsp + 0x84]
mov dword [rbx + 0x2c], eax
jmp 0x14006cd3f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, r15d
mov edi, 0x63
mov byte [rsp + 0xb8], dil
mov byte [rsp + 0xb9], r15b
lea r9, [rsp + 0xb8]
lea r8, [0x1401daf28]
mov edx, 0x40
lea rcx, [rsp + 0xc0]
call fcn.140044464
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14006d0a1
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2d1080
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r15d
je 0x14006d043
mov eax, dword [rbx + 0x2c]
cmp dword [rsp + 0x64], eax
jne 0x14006d096
cmp dword [rsp + 0x60], 7
jne 0x14006d096
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90028
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r15d
je 0x14006d03b
mov ecx, 0x28
call fcn.14013f12c
mov qword [rsp + 0x78], rax
cmp rax, r15
je 0x14006ce63
mov rcx, rax
call fcn.1400a74d8
mov rsi, rax
jmp 0x14006ce66
mov rsi, r15
mov dword [rsi + 0x18], edi
mov byte [rsp + 0xb8], dil
mov byte [rsp + 0xb9], 0x3a
mov byte [rsp + 0xba], 0x5c
mov byte [rsp + 0xbb], r15b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
cmp eax, r15d
je 0x14006cfee
mov eax, dword [rsp + 0x44]
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
mov eax, dword [rsp + 0x58]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm2, xmm0
mov eax, dword [rsp + 0x48]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm2, xmm1
movsd qword [rsi + 8], xmm2
mov eax, dword [rsp + 0x44]
pxor xmm2, xmm2
cvtsi2sd xmm2, rax
mov eax, dword [rsp + 0x5c]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm2, xmm0
mov eax, dword [rsp + 0x48]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm2, xmm1
movsd qword [rsi + 0x10], xmm2
mov ecx, 0x170
call fcn.14013f12c
mov qword [rsp + 0x78], rax
cmp rax, r15
je 0x14006cf45
mov edx, r14d
mov rcx, rax
call fcn.1400719e4
mov r13, rax
jmp 0x14006cf48
mov r13, r15
mov qword [rsi + 0x20], r13
call fcn.140045fd8
mov rcx, qword [rax + 0x70]
mov edx, dword [rcx + 0x10]
mov dword [r13 + 0x14c], edx
mov rdx, r13
mov rcx, qword [rax + 0x70]
call fcn.140004a74
movsd xmm5, qword [rsi + 0x10]
mulsd xmm5, qword [0x1401daf20]
divsd xmm5, qword [rsi + 8]
cvtsd2ss xmm0, xmm5
movss xmm6, dword [0x140230af8]
subss xmm6, xmm0
mov byte [rsp + 0xb8], dil
mov byte [rsp + 0xb9], 0x3a
mov byte [rsp + 0xba], r15b
mov rcx, qword [rsi + 0x20]
add rcx, 8
lea r9, [rsp + 0xb8]
lea r8, [0x1401daf10]
mov edx, 0x100
call fcn.140044464
mov r13d, 1
mov r8d, r13d
movaps xmm1, xmm6
mov rcx, qword [rsi + 0x20]
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rbx + 0x100], r15
jne 0x14006d02a
mov ecx, 0x18
call fcn.14013f12c
cmp rax, r15
je 0x14006d020
lea rcx, vtable.CTList_class_CVolume_.0
mov qword [rax], rcx
mov qword [rax + 8], r15
mov dword [rax + 0x10], r15d
jmp 0x14006d023
mov rax, r15
mov qword [rbx + 0x100], rax
mov rdx, rsi
mov rcx, qword [rbx + 0x100]
call fcn.14006c944
jmp 0x14006d096
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14006d096
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, r13d
jne 0x14006d096
mov dword [rsp + 0x40], r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x560000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r15d
jne 0x14006d096
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006d0a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
add edi, r13d
cmp edi, 0x7a
jl 0x14006cd47
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x18
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x70000
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, r15d
je 0x14006d186
movd xmm2, dword [rsp + 0x64]
cvtdq2pd xmm2, xmm2
mulsd xmm2, qword [0x1401daf08]
mov eax, dword [rsp + 0x60]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
addsd xmm2, xmm0
mov eax, dword [rsp + 0x6c]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm2, xmm1
mov eax, dword [rsp + 0x70]
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm2, xmm0
mov eax, dword [rsp + 0x74]
pxor xmm1, xmm1
cvtsi2sd xmm1, rax
mulsd xmm2, xmm1
movsd xmm0, qword [0x140230a18]
mulsd xmm2, xmm0
mulsd xmm2, xmm0
cvttsd2si rax, xmm2
mov dword [rbx + 0xf4], eax
mov ecx, dword [rsp + 0x68]
sub ecx, 0xb
je 0x14006d17b
cmp ecx, r13d
jne 0x14006d186
mov dword [rbx + 0xf8], r15d
jmp 0x14006d186
mov dword [rbx + 0xf8], r13d
or dword [rbx + 0x44], 0x10
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140156fd0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret