Function at 0x1000c622c
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.1000e842c
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, [0x100039468]
mov qword [rsp + 0x30], rax
mov rdx, r12
lea rcx, [rsp + 0x30]
call fcn.100061300
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
cmp word [r12 + rcx*2 - 4], 0x5c
je 0x1000c6349
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x30]
call fcn.1000613c4
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 0x1000c6447
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.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
lea r8d, [rdi - 0x5a]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8a60
nop
cmp rsi, rbx
je 0x1000c6433
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e8518
xor al, al
jmp 0x1000c659a
mov r8d, edi
mov rdx, rbp
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, ebx
jne 0x1000c6530
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.1000e9608
lea rdx, [0x100008440]
mov qword [rsp + 0x20], rdx
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0xf0]
call fcn.1000e8a60
nop
cmp rsi, rbx
je 0x1000c652e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1000c658b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
cmp word [rbp + rcx*2 - 4], 0x5c
jne 0x1000c654c
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.1000e8a60
nop
cmp rsi, rbx
je 0x1000c6589
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
mov bl, 1
lea rcx, [rsp + 0xf0]
call fcn.1000e8518
mov al, bl
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.100130df0
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