Function at 0x1000dff78
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, [0x100032f60]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8ba
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.1000e842c
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, [0x100039468]
mov qword [rsp + 0x30], rax
mov esi, ebx
cmp dword [rdi + 0x20], ebx
jbe 0x1000e00f2
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.1000b9828
cmp al, bl
jne 0x1000e00f2
inc esi
cmp esi, dword [rdi + 0x20]
jb 0x1000e00cb
cmp esi, dword [rdi + 0x20]
jne 0x1000e01b5
mov qword [rsp + 0x40], r14
lea rax, [0x100032f60]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8d0
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, [0x100032fd0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e9608
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0x120]
call fcn.1000e8518
xor al, al
jmp 0x1000e064a
mov esi, ebx
cmp dword [rdi + 0x10], ebx
jbe 0x1000e0259
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 0x1000e023f
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.1000b9440
cmp al, bl
je 0x1000e023f
lea r8, [r14 + 0x60]
xor r9d, r9d
mov rdx, r12
mov rcx, r15
call fcn.1000b9828
cmp al, bl
jne 0x1000e024a
inc esi
add rbp, 8
cmp esi, dword [rdi + 0x10]
jb 0x1000e01cb
mov r12, qword [rsp + 0xe8]
lea r14, [0x10002fd50]
cmp esi, dword [rdi + 0x10]
jne 0x1000e031c
mov qword [rsp + 0x40], r14
lea rax, [0x100032f60]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8f1
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, [0x100033030]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e9608
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8a60
nop
lea rcx, [rsp + 0x120]
call fcn.1000e8518
xor al, al
jmp 0x1000e064a
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.100061300
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 0x1000e0355
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x30]
call fcn.1000613c4
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 0x1000e045a
mov qword [rsp + 0x40], r14
lea rax, [0x100032f60]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x8ff
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, [0x100033090]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e9608
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
lea r8d, [rsi - 0x5a]
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8a60
nop
cmp rdi, rbx
je 0x1000e0446
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0x120]
call fcn.1000e8518
xor al, al
jmp 0x1000e064a
mov r8d, esi
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000e0552
mov qword [rsp + 0x40], r14
lea rax, [0x100032f60]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x903
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, [0x100033160]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e9608
lea r11, [0x100008440]
mov qword [rsp + 0x20], r11
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8a60
nop
cmp rdi, rbx
je 0x1000e054d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1000e063b
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 0x1000e0578
mov word [rsp + rcx*2 + 0x19c], bx
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x30]
call fcn.100061300
mov rdi, qword [rsp + 0x38]
mov qword [r13 + 0x30], rdi
mov qword [rsp + 0x40], r14
lea rax, [0x100032f60]
mov qword [rsp + 0x48], rax
lea rax, [0x10002fd38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x90f
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, [0x100033250]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.1000e9608
lea rdx, [0x100008430]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8a60
nop
mov bl, 1
lea rcx, [rsp + 0x120]
call fcn.1000e8518
mov al, bl
mov rcx, qword [rsp + 0x5c0]
xor rcx, rsp
call fcn.100130df0
mov rbx, qword [rsp + 0x610]
add rsp, 0x5d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret