Function at 0x1000c6004
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x380
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rbp, r8
mov r12, rdx
lea r14, [0x100027570]
mov qword [rsp + 0x40], r14
lea r15, [0x100029ef0]
mov qword [rsp + 0x48], r15
lea rax, [0x100027558]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x686
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 + 0xf0]
call fcn.1000e8000
nop
mov word [rsp + 0x160], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x162]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], rbx
lea rax, [0x10000d460]
mov qword [rsp + 0x30], rax
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.1000610d0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
cmp word [r12 + rcx*2 - 4], 0x5c
je 0x1000c6121
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x30]
call fcn.100061194
mov edi, 0x104
mov r8d, edi
lea rdx, [rsp + 0x160]
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000c621f
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
lea rax, [0x100027558]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x694
mov dword [rsp + 0x5c], 6
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, [0x100029f60]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
lea r8d, [rdi - 0x5a]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8634
nop
cmp rsi, rbx
je 0x1000c620b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e80ec
xor al, al
jmp 0x1000c6372
mov r8d, edi
mov rdx, rbp
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000c6308
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
lea rax, [0x100027558]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x698
mov dword [rsp + 0x5c], 6
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 + 0x160]
lea r8, [0x100029fe0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e91dc
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8634
nop
cmp rsi, rbx
je 0x1000c6306
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1000c6363
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
cmp word [rbp + rcx*2 - 4], 0x5c
jne 0x1000c6324
mov word [rbp + rcx*2 - 4], bx
lea rax, [0x100008430]
mov qword [rsp + 0x20], rax
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8634
nop
cmp rsi, rbx
je 0x1000c6361
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov bl, 1
lea rcx, [rsp + 0xf0]
call fcn.1000e80ec
mov al, bl
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret