Function at 0x1000c5c48
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 [0x100175150]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rbp, r8
mov r12, rdx
lea r14, [0x100027420]
mov qword [rsp + 0x40], r14
lea r15, [0x100029da0]
mov qword [rsp + 0x48], r15
lea rax, [0x100027408]
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.1000e7c38
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, [0x1000391a8]
mov qword [rsp + 0x30], rax
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.100060fb0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
cmp word [r12 + rcx*2 - 4], 0x5c
je 0x1000c5d65
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x30]
call fcn.100061074
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 0x1000c5e63
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
lea rax, [0x100027408]
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, [0x100029e10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e8e14
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
lea r8d, [rdi - 0x5a]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e826c
nop
cmp rsi, rbx
je 0x1000c5e4f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
xor al, al
jmp 0x1000c5fb6
mov r8d, edi
mov rdx, rbp
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000c5f4c
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], r15
lea rax, [0x100027408]
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, [0x100029e90]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e8e14
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e826c
nop
cmp rsi, rbx
je 0x1000c5f4a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1000c5fa7
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
cmp word [rbp + rcx*2 - 4], 0x5c
jne 0x1000c5f68
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.1000e826c
nop
cmp rsi, rbx
je 0x1000c5fa5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov bl, 1
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
mov al, bl
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.1001303c0
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