Function at 0x10005e9fc
Capabilities:
Get disk information

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3b0
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov qword [r11 + 8], rbp
mov qword [r11 + 0x18], rsi
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
mov rbp, rdx
lea r13, [0x1000091d0]
mov qword [rsp + 0x70], r13
lea r14, [0x10000c2b0]
mov qword [rsp + 0x78], r14
lea r15, [0x1000091b8]
mov qword [r11 - 0x358], r15
mov dword [rsp + 0x88], 0xe20
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], 0xff
xor r12d, r12d
mov word [r11 - 0x2c8], r12w
mov byte [r11 - 0x2c6], r12b
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [r11 - 0x340]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x120]
call fcn.1000e8000
nop
mov qword [rsp + 0x68], r12
lea rdi, [0x100035878]
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x50], 0xf003f
lea r8, [0x100006360]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.100102448
cmp al, r12b
je 0x10005ecf7
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r12
xor r9d, r9d
lea r8, [rsp + 0x48]
lea rdx, [0x100006380]
lea rcx, [rsp + 0x50]
call fcn.1001028e8
cmp al, r12b
je 0x10005ece5
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rdi
lea rdx, [0x1000063a0]
lea rcx, [rsp + 0x30]
call fcn.1000612f4
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.1000613b8
xor eax, eax
or rcx, 0xffffffffffffffff
mov rsi, qword [rsp + 0x38]
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
cmp word [rsi + rcx*2 - 4], 0x5c
je 0x10005eb8e
lea rdx, [0x1000021a0]
lea rcx, [rsp + 0x30]
call fcn.1000613b8
mov rsi, qword [rsp + 0x38]
mov r8d, 0x104
lea rdx, [rsp + 0x190]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
cmp eax, r12d
je 0x10005ec34
mov rdx, rbp
lea rcx, [rsp + 0x190]
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, r12d
sete dil
lea rcx, [0x100008430]
lea rax, [0x100008440]
cmp dil, r12b
cmovne rax, rcx
mov qword [rsp + 0x20], rax
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8634
nop
cmp rsi, r12
je 0x10005ec11
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp qword [rsp + 0x48], r12
je 0x10005ec24
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rsp + 0x50]
call fcn.100103354
nop
jmp 0x10005ed33
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r15
mov dword [rsp + 0x88], 0xe36
mov dword [rsp + 0x8c], 1
mov dword [rsp + 0x90], 0xff
mov word [rsp + 0x110], r12w
mov byte [rsp + 0x112], r12b
mov byte [rsp + 0x113], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x98]
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
cmp eax, r12d
cmovle ecx, eax
mov dword [rsp + 0x20], ecx
lea r9, [rsp + 0x30]
lea r8, [0x10000c2f0]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x120]
call fcn.1000e91dc
nop
cmp rsi, r12
je 0x10005ece5
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
cmp qword [rsp + 0x48], r12
je 0x10005ecf7
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rax, [0x100008440]
mov qword [rsp + 0x20], rax
lea r9, [0x100008450]
mov r8d, 0xaa
lea rdx, [0x100008420]
lea rcx, [rsp + 0x120]
call fcn.1000e8634
nop
lea rcx, [rsp + 0x50]
call fcn.100103354
nop
mov dil, r12b
lea rcx, [rsp + 0x120]
call fcn.1000e80ec
mov al, dil
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.100130830
lea r11, [rsp + 0x3b0]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret