Function at 0x10010c414
Capabilities:
Get disk size
Get volume information via ioctl

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0xa0
xor ebx, ebx
mov rsi, rcx
xor eax, eax
and dword [r11 + 0x10], ebx
lea rcx, [rsp + 0x40]
lea r8d, [rbx + 0x60]
xor edx, edx
mov qword [r11 + 0x18], rax
call sub.msvcrt.dll_memset
or qword [rsp + 0x30], 0xffffffffffffffff
lea r8d, [rbx + 3]
xor r9d, r9d
mov edx, 0xc0000000
mov rcx, rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
lea r15, [0x100002f60]
cmp rax, 0xffffffffffffffff
jne 0x10010c4d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
lea rdi, [0x1001653b8]
cmp rcx, rdi
je 0x10010c758
test byte [rcx + 0x1c], 1
je 0x10010c758
cmp byte [rcx + 0x19], 2
jb 0x10010c758
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x27]
mov r9, rsi
mov r8, r15
mov dword [rsp + 0x20], ebx
call fcn.10001ddb0
jmp 0x10010c751
and qword [rsp + 0x38], rbx
lea rax, [rsp + 0xd8]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
xor r8d, r8d
mov edx, 0x7405c
mov rcx, rbp
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10010c55d
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
lea rdi, [0x1001653b8]
cmp rcx, rdi
je 0x10010c748
test byte [rcx + 0x1c], 1
je 0x10010c748
cmp byte [rcx + 0x19], 2
jb 0x10010c748
mov edx, 0x27
jmp 0x10010c616
mov rcx, qword [0x1001653b8]
lea rdi, [0x1001653b8]
cmp rcx, rdi
je 0x10010c59d
test byte [rcx + 0x1c], 1
je 0x10010c59d
cmp byte [rcx + 0x19], 4
jb 0x10010c59d
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rcx + 0x10]
mov edx, 0x28
mov r9, rsi
mov r8, r15
mov qword [rsp + 0x20], rax
call fcn.10001e82c
and qword [rsp + 0x38], rbx
lea rax, [rsp + 0xd8]
xor r9d, r9d
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x90064
mov rcx, rbp
mov dword [rsp + 0x28], 0x60
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10010c62e
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
cmp rcx, rdi
je 0x10010c748
test byte [rcx + 0x1c], 1
je 0x10010c748
cmp byte [rcx + 0x19], 2
jb 0x10010c748
mov edx, 0x29
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov r8, r15
mov dword [rsp + 0x20], ebx
call fcn.10001ddb0
jmp 0x10010c748
mov r10, qword [0x1001653b8]
cmp r10, rdi
je 0x10010c672
test byte [r10 + 0x1c], 1
je 0x10010c672
cmp byte [r10 + 0x19], 4
jb 0x10010c672
mov eax, dword [rsp + 0x68]
mov rcx, qword [r10 + 0x10]
mov edx, 0x2a
mov r9, rsi
mov r8, r15
imul rax, qword [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.10001e82c
mov r10, qword [0x1001653b8]
mov r8d, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
mov rax, r8
imul rax, qword [rsp + 0x48]
cmp rax, rcx
jge 0x10010c748
mov rax, rcx
cqo
idiv r8
mov qword [rsp + 0xe8], rax
cmp r10, rdi
je 0x10010c6cd
test byte [r10 + 0x1c], 1
je 0x10010c6cd
cmp byte [r10 + 0x19], 4
jb 0x10010c6cd
mov qword [rsp + 0x20], rcx
mov rcx, qword [r10 + 0x10]
mov edx, 0x2b
mov r9, rsi
mov r8, r15
call fcn.10001e82c
and qword [rsp + 0x38], rbx
lea rax, [rsp + 0xd8]
lea r8, [rsp + 0xe8]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], ebx
and qword [rsp + 0x20], rbx
mov r9d, 8
mov edx, 0x900f0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10010c748
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
cmp rcx, rdi
je 0x10010c748
test byte [rcx + 0x1c], 1
je 0x10010c748
cmp byte [rcx + 0x19], 2
jb 0x10010c748
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c
mov r9d, ebx
mov r8, r15
call fcn.10001c878
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1001653b8]
test ebx, ebx
jns 0x10010c785
cmp rcx, rdi
je 0x10010c785
test byte [rcx + 0x1c], 1
je 0x10010c785
cmp byte [rcx + 0x19], 2
jb 0x10010c785
mov rcx, qword [rcx + 0x10]
mov edx, 0x2d
mov r9, rsi
mov r8, r15
mov dword [rsp + 0x20], ebx
call fcn.10001ddb0
mov eax, ebx
add rsp, 0xa0
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret