Function at 0x1000f894c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor eax, eax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, rax
je 0x1000f8975
cmp word [rdx], ax
je 0x1000f8975
cmp r8, rax
jne 0x1000f898d
lea r8, [0x1000109a8]
lea rcx, [0x100010250]
mov edx, 0x509
call fcn.100099ad8
mov r8b, byte [rsi + 0x6b1]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1000faf00
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r13d, r13d
mov r12b, r8b
mov rsi, rdx
mov rbx, rcx
cmp rcx, r13
je 0x1000faf45
cmp word [rcx], r13w
je 0x1000faf45
cmp rdx, r13
jne 0x1000faf5d
lea r8, [0x1000109a8]
lea rcx, [0x100010d68]
mov edx, 0x75c
call fcn.100099ad8
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea r15, [0x1001653b8]
cmp eax, r13d
je 0x1000fb03e
lea r8, [rsp + 0x40]
mov r9b, r12b
xor edx, edx
mov rcx, rbx
call fcn.1000fb3f8
cmp eax, r13d
mov edi, eax
jl 0x1000faff9
mov ebp, dword [rsp + 0x40]
bt ebp, 0xa
jb 0x1000fb03e
xor edx, edx
mov r8d, 0x250
mov rcx, rsi
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x4c]
mov rcx, qword [rsp + 0x44]
mov qword [rsi + 0xc], rax
mov rax, qword [rsp + 0x54]
mov dword [rsi], ebp
mov qword [rsi + 0x14], rax
mov eax, dword [rsp + 0x5c]
mov qword [rsi + 4], rcx
mov dword [rsi + 0x1c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x20], eax
jmp 0x1000fb0e3
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1000fb0ea
test byte [rcx + 0x1c], 8
je 0x1000fb0ea
cmp byte [rcx + 0x19], 2
jb 0x1000fb0ea
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003030]
mov edx, 0xe
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.10001daa4
jmp 0x1000fb0e3
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasw ax, word [rdi]
lea r14d, [rax + 0x5c]
not rcx
dec rcx
mov rdi, rcx
cmp ecx, r13d
jbe 0x1000fb066
lea eax, [rcx - 1]
cmp word [rbx + rax*2], r14w
je 0x1000fb07e
lea r8, [0x1000111b0]
lea rcx, [0x100010d68]
mov edx, 0x790
call fcn.100099ad8
mov ebp, edi
lea rcx, [rsp + 0x70]
mov word [rbx + rbp*2 - 2], r13w
call fcn.1000fcda8
lea rcx, [rsp + 0x70]
mov r9b, r12b
mov r8, rsi
mov rdx, rbx
mov qword [rsp + 0x20], r13
call fcn.1000fcf14
lea rcx, [rsp + 0x70]
mov edi, eax
mov dword [rsp + 0x78], 4
call fcn.1000fcea4
cmp eax, r13d
jge 0x1000fb0d3
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [rsp + 0x70]
mov word [rbx + rbp*2 - 2], r14w
call fcn.1000fce6c
mov rcx, qword [0x1001653b8]
cmp edi, r13d
jl 0x1000fb122
test byte [rsi], 0x10
jne 0x1000fb122
mov edi, 0x80070057
cmp rcx, r15
je 0x1000fb122
test byte [rcx + 0x1c], 8
je 0x1000fb122
cmp byte [rcx + 0x19], 2
jb 0x1000fb122
mov rcx, qword [rcx + 0x10]
lea r8, [0x100003030]
mov edx, 0xf
mov r9, rbx
call fcn.10001da24
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.10014e480
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret