Function at 0x1000dfb4c
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5d0
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x5c0], rax
mov r12, r9
mov qword [rsp + 0xe8], r9
mov rbp, r8
mov qword [rsp + 0xf0], r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [rsp + 0x630]
mov qword [rsp + 0xf8], rax
lea r14, [0x10002fd50]
mov qword [rsp + 0x40], r14
lea rax, [0x100032df0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x88d
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
xor ebx, ebx
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e8000
nop
mov dword [rsp + 0x100], ebx
xor eax, eax
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x118], rax
mov r13, rbx
mov word [rsp + 0x3b0], bx
mov esi, 0x206
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x3b2]
call sub.msvcrt.dll_memset
mov word [rsp + 0x1a0], bx
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x1a2]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], rbx
lea rax, [0x10000d460]
mov qword [rsp + 0x30], rax
mov esi, ebx
cmp dword [rdi + 0x20], ebx
jbe 0x1000dfcc6
mov eax, esi
lea r8, [rax + rax*2]
shl r8, 5
add r8, qword [rdi + 0x18]
xor r9d, r9d
mov rdx, rbp
mov rcx, r15
call fcn.1000b9608
cmp al, bl
jne 0x1000dfcc6
inc esi
cmp esi, dword [rdi + 0x20]
jb 0x1000dfc9f
cmp esi, dword [rdi + 0x20]
jne 0x1000dfd89
mov qword [rsp + 0x40], r14
lea rax, [0x100032df0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8a3
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r9, r12
lea r8, [0x100032e60]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8634
nop
lea rcx, [rsp + 0x120]
call fcn.1000e80ec
xor al, al
jmp 0x1000e021e
mov esi, ebx
cmp dword [rdi + 0x10], ebx
jbe 0x1000dfe2d
mov rbp, rbx
mov r12, qword [rsp + 0xf0]
mov rax, qword [rdi]
mov r13, qword [rax + rbp]
mov rax, qword [rdi + 8]
mov r14, qword [rax + rbp]
cmp qword [r13 + 0x30], rbx
jne 0x1000dfe13
mov dword [rsp + 0x100], 1
mov rcx, qword [r13 + 8]
lea rdx, [rsp + 0x108]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rdx + 0x10], rax
lea r8, [rsp + 0x100]
mov rdx, qword [rsp + 0xf8]
mov rcx, r15
call fcn.1000b9220
cmp al, bl
je 0x1000dfe13
lea r8, [r14 + 0x60]
xor r9d, r9d
mov rdx, r12
mov rcx, r15
call fcn.1000b9608
cmp al, bl
jne 0x1000dfe1e
inc esi
add rbp, 8
cmp esi, dword [rdi + 0x10]
jb 0x1000dfd9f
mov r12, qword [rsp + 0xe8]
lea r14, [0x10002fd50]
cmp esi, dword [rdi + 0x10]
jne 0x1000dfef0
mov qword [rsp + 0x40], r14
lea rax, [0x100032df0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8c4
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r9, r12
lea r8, [0x100032ec0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8634
nop
lea rcx, [rsp + 0x120]
call fcn.1000e80ec
xor al, al
jmp 0x1000e021e
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1000610d0
xor eax, eax
or rbp, 0xffffffffffffffff
mov rcx, rbp
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
cmp word [r12 + rcx*2 - 4], 0x5c
je 0x1000dff29
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x30]
call fcn.100061194
mov esi, 0x104
mov r8d, esi
lea rdx, [rsp + 0x3b0]
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000e002e
mov qword [rsp + 0x40], r14
lea rax, [0x100032df0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8d2
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
mov dword [rsp + 0x20], ecx
mov r9, r12
lea r8, [0x100032f20]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
lea r8d, [rsi - 0x5a]
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8634
nop
cmp rdi, rbx
je 0x1000e001a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x120]
call fcn.1000e80ec
xor al, al
jmp 0x1000e021e
mov r8d, esi
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000e0126
mov qword [rsp + 0x40], r14
lea rax, [0x100032df0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8d6
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0x3b0]
lea r8, [0x100032ff0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8634
nop
cmp rdi, rbx
je 0x1000e0121
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1000e020f
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x1a0]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0x19c], 0x5c
jne 0x1000e014c
mov word [rsp + rcx*2 + 0x19c], bx
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x30]
call fcn.1000610d0
mov rdi, qword [rsp + 0x38]
mov qword [r13 + 0x30], rdi
mov qword [rsp + 0x40], r14
lea rax, [0x100032df0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8e2
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, [0x1000330e0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
lea rdx, [0x100008430]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8634
nop
mov bl, 1
lea rcx, [rsp + 0x120]
call fcn.1000e80ec
mov al, bl
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.100130830
mov rbx, qword [rsp + 0x610]
add rsp, 0x5d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret