Function at 0x1000f8d98
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 0x1000f8dc1
cmp word [rdx], ax
je 0x1000f8dc1
cmp r8, rax
jne 0x1000f8dd9
lea r8, [0x100010988]
lea rcx, [0x100010230]
mov edx, 0x509
call fcn.10009a050
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 0x1000fb34c
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 0x1000fb391
cmp word [rcx], r13w
je 0x1000fb391
cmp rdx, r13
jne 0x1000fb3a9
lea r8, [0x100010988]
lea rcx, [0x100010d48]
mov edx, 0x75c
call fcn.10009a050
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 0x1000fb48a
lea r8, [rsp + 0x40]
mov r9b, r12b
xor edx, edx
mov rcx, rbx
call fcn.1000fb844
cmp eax, r13d
mov edi, eax
jl 0x1000fb445
mov ebp, dword [rsp + 0x40]
bt ebp, 0xa
jb 0x1000fb48a
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 0x1000fb52f
mov rcx, qword [0x1001653b8]
cmp rcx, r15
je 0x1000fb536
test byte [rcx + 0x1c], 8
je 0x1000fb536
cmp byte [rcx + 0x19], 2
jb 0x1000fb536
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ff0]
mov edx, 0xe
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.10001ddb0
jmp 0x1000fb52f
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 0x1000fb4b2
lea eax, [rcx - 1]
cmp word [rbx + rax*2], r14w
je 0x1000fb4ca
lea r8, [0x100011190]
lea rcx, [0x100010d48]
mov edx, 0x790
call fcn.10009a050
mov ebp, edi
lea rcx, [rsp + 0x70]
mov word [rbx + rbp*2 - 2], r13w
call fcn.1000fd1f4
lea rcx, [rsp + 0x70]
mov r9b, r12b
mov r8, rsi
mov rdx, rbx
mov qword [rsp + 0x20], r13
call fcn.1000fd360
lea rcx, [rsp + 0x70]
mov edi, eax
mov dword [rsp + 0x78], 4
call fcn.1000fd2f0
cmp eax, r13d
jge 0x1000fb51f
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.1000fd2b8
mov rcx, qword [0x1001653b8]
cmp edi, r13d
jl 0x1000fb56e
test byte [rsi], 0x10
jne 0x1000fb56e
mov edi, 0x80070057
cmp rcx, r15
je 0x1000fb56e
test byte [rcx + 0x1c], 8
je 0x1000fb56e
cmp byte [rcx + 0x19], 2
jb 0x1000fb56e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002ff0]
mov edx, 0xf
mov r9, rbx
call fcn.10001db08
mov eax, edi
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.10014e600
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret