Function at 0x1000df784
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 [0x100175150]
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, [0x10002fc00]
mov qword [rsp + 0x40], r14
lea rax, [0x100032ca0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fbe8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x886
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.1000e7c38
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, [0x1000391a8]
mov qword [rsp + 0x30], rax
mov esi, ebx
cmp dword [rdi + 0x20], ebx
jbe 0x1000df8fe
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.1000b92c8
cmp al, bl
jne 0x1000df8fe
inc esi
cmp esi, dword [rdi + 0x20]
jb 0x1000df8d7
cmp esi, dword [rdi + 0x20]
jne 0x1000df9c1
mov qword [rsp + 0x40], r14
lea rax, [0x100032ca0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fbe8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x89c
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, [0x100032d10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e8e14
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e826c
nop
lea rcx, [rsp + 0x120]
call fcn.1000e7d24
xor al, al
jmp 0x1000dfe56
mov esi, ebx
cmp dword [rdi + 0x10], ebx
jbe 0x1000dfa65
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 0x1000dfa4b
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.1000b8ee0
cmp al, bl
je 0x1000dfa4b
lea r8, [r14 + 0x60]
xor r9d, r9d
mov rdx, r12
mov rcx, r15
call fcn.1000b92c8
cmp al, bl
jne 0x1000dfa56
inc esi
add rbp, 8
cmp esi, dword [rdi + 0x10]
jb 0x1000df9d7
mov r12, qword [rsp + 0xe8]
lea r14, [0x10002fc00]
cmp esi, dword [rdi + 0x10]
jne 0x1000dfb28
mov qword [rsp + 0x40], r14
lea rax, [0x100032ca0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fbe8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8bd
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, [0x100032d70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e8e14
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e826c
nop
lea rcx, [rsp + 0x120]
call fcn.1000e7d24
xor al, al
jmp 0x1000dfe56
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.100060fb0
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 0x1000dfb61
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x30]
call fcn.100061074
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 0x1000dfc66
mov qword [rsp + 0x40], r14
lea rax, [0x100032ca0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fbe8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8cb
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, [0x100032dd0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e8e14
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
lea r8d, [rsi - 0x5a]
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e826c
nop
cmp rdi, rbx
je 0x1000dfc52
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x120]
call fcn.1000e7d24
xor al, al
jmp 0x1000dfe56
mov r8d, esi
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000dfd5e
mov qword [rsp + 0x40], r14
lea rax, [0x100032ca0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fbe8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8cf
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, [0x100032ea0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e8e14
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e826c
nop
cmp rdi, rbx
je 0x1000dfd59
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1000dfe47
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 0x1000dfd84
mov word [rsp + rcx*2 + 0x19c], bx
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x30]
call fcn.100060fb0
mov rdi, qword [rsp + 0x38]
mov qword [r13 + 0x30], rdi
mov qword [rsp + 0x40], r14
lea rax, [0x100032ca0]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fbe8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8db
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, [0x100032f90]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e8e14
lea rdx, [0x100008430]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e826c
nop
mov bl, 1
lea rcx, [rsp + 0x120]
call fcn.1000e7d24
mov al, bl
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.1001303c0
mov rbx, qword [rsp + 0x610]
add rsp, 0x5d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret