Function at 0x1000ffb04
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x7a0
mov qword [rsp + 0x150], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x790], rax
mov rsi, rdx
mov rbx, rcx
lea r15, [0x10003b820]
mov qword [rsp + 0x30], r15
lea rbp, [0x10003c3b0]
mov qword [rsp + 0x38], rbp
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x368
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
xor r12d, r12d
mov word [r11 - 0x708], r12w
mov byte [r11 - 0x706], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e842c
nop
mov rdx, qword [rsi + 0x10]
xor eax, eax
or r14, 0xffffffffffffffff
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
mov r13d, 0x104
cmp rcx, r13
jb 0x1000ffbf9
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
cmp qword [rbx + 8], r12
je 0x1001004a0
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp al, r12b
je 0x1001004a0
lea r8d, [rdi + 1]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
cmp eax, r12d
jne 0x1000ffd01
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbp
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x37a
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov rdi, qword [rsi + 0x20]
mov rbx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, [0x10003c4b0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x160]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbp, rcx
jne 0x1000ffd5f
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
mov rcx, r14
mov rdi, qword [rsi + 0x10]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rbp, rcx
ja 0x1001003e7
mov r8, rbp
lea rdx, [rsp + 0x160]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x1001003e7
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
call fcn.100100bf0
cmp al, r12b
je 0x1000ffe64
mov qword [rsp + 0x30], r15
lea rax, [0x10003c3b0]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x396
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r8, [0x10003c540]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
mov rdx, r13
lea rcx, [rsp + 0x160]
mov edi, r12d
lea rax, [rdx + 0x7ffffefa]
cmp rax, r12
je 0x1000ffe94
movzx eax, word [rcx]
cmp ax, r12w
je 0x1000ffe94
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1000ffe72
cmp rdx, r12
jne 0x1000ffea2
sub rcx, 2
mov edi, 0x8007007a
mov word [rcx], r12w
mov dword [rsp + 0xe8], edi
cmp edi, r12d
jge 0x1000fff7c
mov qword [rsp + 0x30], r15
lea rax, [0x10003c3b0]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x39d
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x10003c5a0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
cmp word [rsp + rbp*2 + 0x15e], 0x5c
je 0x10010007a
lea r8, [0x1000021a0]
mov rdx, r13
lea rcx, [rsp + 0x160]
call fcn.1000527c4
mov edi, eax
mov dword [rsp + 0xe8], eax
cmp eax, r12d
jge 0x10010007a
mov qword [rsp + 0x30], r15
lea rax, [0x10003c3b0]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x3a6
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x10003c2a0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
mov r8d, r13d
lea rdx, [rsp + 0x580]
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
mov edi, eax
mov dword [rsp + 0xe8], eax
cmp eax, r12d
jge 0x10010016a
mov qword [rsp + 0x30], r15
lea rax, [0x10003c3b0]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x3b0
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x160]
lea r8, [0x10000c2f0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
mov r9, r12
mov qword [rsp + 0xd8], r12
cmp qword [rbx + 8], r12
jne 0x100100182
mov edi, 0x80004005
jmp 0x1001001a6
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
lea r8, [rsp + 0xd8]
lea rdx, [rsp + 0x580]
call qword [rax + 0x48]
mov edi, eax
mov r9, qword [rsp + 0xd8]
mov dword [rsp + 0xe8], edi
cmp edi, r12d
jge 0x10010027b
mov qword [rsp + 0x30], r15
lea rax, [0x10003c3b0]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x3b9
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x580]
lea r8, [0x10003c600]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
mov rax, qword [rsi + 0x10]
lea rcx, [rax + rbp*2]
mov qword [rsp + 0x20], rcx
lea r8, [0x10000a068]
mov rdx, r13
lea rcx, [rsp + 0x370]
call fcn.100052890
mov edi, eax
mov dword [rsp + 0xe8], eax
cmp eax, r12d
jge 0x10010036d
mov qword [rsp + 0x30], r15
lea rax, [0x10003c3b0]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x3c3
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9d, edi
lea r8, [0x10003bce0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x370]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x36c], 0x5c
jne 0x100100394
mov word [rsp + rcx*2 + 0x36c], r12w
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x370]
call fcn.100061300
lea rdx, [0x100008430]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
mov al, 1
jmp 0x10010055a
mov qword [rsp + 0x30], r15
lea rax, [0x10003c3b0]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x390
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r8, [0x10003c500]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
jmp 0x10010055a
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbp
lea rax, [0x10003b800]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x372
mov dword [rsp + 0x4c], 4
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov rdx, qword [rsi + 0x20]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsi + 0x10]
lea r8, [0x10003c420]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e8518
xor al, al
mov rcx, qword [rsp + 0x790]
xor rcx, rsp
call fcn.100130df0
mov rbx, qword [rsp + 0x7f0]
add rsp, 0x7a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret