Function at 0x1000ff530
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, [0x10003b6c0]
mov qword [rsp + 0x30], r15
lea rbp, [0x10003c250]
mov qword [rsp + 0x38], rbp
lea rax, [0x10003b6a0]
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.1000e8000
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 0x1000ff625
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
cmp qword [rbx + 8], r12
je 0x1000ffecc
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 0x68]
cmp al, r12b
je 0x1000ffecc
lea r8d, [rdi + 1]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
cmp eax, r12d
jne 0x1000ff72d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbp
lea rax, [0x10003b6a0]
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, [0x10003c350]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
xor eax, eax
mov rcx, r14
lea rdi, [rsp + 0x160]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbp, rcx
jne 0x1000ff78b
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
mov rcx, r14
mov rdi, qword [rsi + 0x10]
repne scasw ax, word [rdi]
not rcx
dec rcx
cmp rbp, rcx
ja 0x1000ffe13
mov r8, rbp
lea rdx, [rsp + 0x160]
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, r12d
jne 0x1000ffe13
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
call fcn.10010061c
cmp al, r12b
je 0x1000ff890
mov qword [rsp + 0x30], r15
lea rax, [0x10003c250]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b6a0]
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, [0x10003c3e0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
mov rdx, r13
lea rcx, [rsp + 0x160]
mov edi, r12d
lea rax, [rdx + 0x7ffffefa]
cmp rax, r12
je 0x1000ff8c0
movzx eax, word [rcx]
cmp ax, r12w
je 0x1000ff8c0
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1000ff89e
cmp rdx, r12
jne 0x1000ff8ce
sub rcx, 2
mov edi, 0x8007007a
mov word [rcx], r12w
mov dword [rsp + 0xe8], edi
cmp edi, r12d
jge 0x1000ff9a8
mov qword [rsp + 0x30], r15
lea rax, [0x10003c250]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b6a0]
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, [0x10003c440]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
cmp word [rsp + rbp*2 + 0x15e], 0x5c
je 0x1000ffaa6
lea r8, [0x1000021a0]
mov rdx, r13
lea rcx, [rsp + 0x160]
call fcn.100052624
mov edi, eax
mov dword [rsp + 0xe8], eax
cmp eax, r12d
jge 0x1000ffaa6
mov qword [rsp + 0x30], r15
lea rax, [0x10003c250]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b6a0]
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, [0x10003c140]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
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 0x1000ffb96
mov qword [rsp + 0x30], r15
lea rax, [0x10003c250]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b6a0]
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.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
mov r9, r12
mov qword [rsp + 0xd8], r12
cmp qword [rbx + 8], r12
jne 0x1000ffbae
mov edi, 0x80004005
jmp 0x1000ffbd2
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 0x1000ffca7
mov qword [rsp + 0x30], r15
lea rax, [0x10003c250]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b6a0]
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, [0x10003c4a0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
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.1000526f0
mov edi, eax
mov dword [rsp + 0xe8], eax
cmp eax, r12d
jge 0x1000ffd99
mov qword [rsp + 0x30], r15
lea rax, [0x10003c250]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b6a0]
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, [0x10003bb80]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
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 0x1000ffdc0
mov word [rsp + rcx*2 + 0x36c], r12w
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x370]
call fcn.1000610d0
lea rdx, [0x100008430]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
mov al, 1
jmp 0x1000fff86
mov qword [rsp + 0x30], r15
lea rax, [0x10003c250]
mov qword [rsp + 0x38], rax
lea rax, [0x10003b6a0]
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, [0x10003c3a0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
jmp 0x1000fff86
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], rbp
lea rax, [0x10003b6a0]
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, [0x10003c2c0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
call fcn.1000e8634
nop
lea rcx, [rsp + 0xe0]
call fcn.1000e80ec
xor al, al
mov rcx, qword [rsp + 0x790]
xor rcx, rsp
call fcn.100130830
mov rbx, qword [rsp + 0x7f0]
add rsp, 0x7a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret