Function at 0x10011dbb4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x6e0
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x6d0], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x1001653b8]
lea r12, [0x1001653b8]
lea r13, [0x100002f60]
cmp rcx, r12
je 0x10011dc19
test byte [rcx + 0x1c], 1
je 0x10011dc19
cmp byte [rcx + 0x19], 4
jb 0x10011dc19
mov rcx, qword [rcx + 0x10]
mov edx, 0x42
mov r8, r13
call fcn.10001c7b8
test rdi, rdi
jne 0x10011dc36
lea r8, [0x100013568]
lea rcx, [0x100013450]
mov edx, 0x890
call fcn.100099ad8
and qword [rdi], 0
mov esi, 0x208
lea rcx, [rsp + 0xa0]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x2b0]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x4c0]
mov r8, rsi
xor edx, edx
call sub.msvcrt.dll_memset
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x38]
mov rdx, rbx
call fcn.10009b2bc
mov esi, 0x104
lea r8, [0x100013588]
lea rcx, [rsp + 0xa0]
mov rdx, rsi
mov r9, rax
call fcn.100043ec0
mov ebx, eax
test eax, eax
jns 0x10011dcea
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011de52
test byte [rcx + 0x1c], 1
je 0x10011de30
cmp byte [rcx + 0x19], 2
jb 0x10011de30
mov edx, 0x43
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.10001c7dc
jmp 0x10011de29
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0xa0]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x10011dd61
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011de52
test byte [rcx + 0x1c], 1
je 0x10011de30
cmp byte [rcx + 0x19], 2
jb 0x10011de30
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0xa0]
mov edx, 0x44
mov r8, r13
mov dword [rsp + 0x20], ebx
call fcn.10001daa4
jmp 0x10011de29
lea r9, [rsp + 0x2b0]
lea r8, [0x1000135a0]
lea rcx, [rsp + 0x4c0]
mov rdx, rsi
call fcn.100043ec0
mov ebx, eax
test eax, eax
jns 0x10011ddb4
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011de52
test byte [rcx + 0x1c], 1
je 0x10011de30
cmp byte [rcx + 0x19], 2
jb 0x10011de30
mov edx, 0x45
jmp 0x10011dcd6
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x4c0]
xor r8d, r8d
call fcn.10009b4ec
mov ebx, eax
test eax, eax
jns 0x10011de09
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011de02
test byte [rcx + 0x1c], 1
je 0x10011de02
cmp byte [rcx + 0x19], 2
jb 0x10011de02
mov rcx, qword [rcx + 0x10]
mov edx, 0x46
mov r9d, eax
mov r8, r13
call fcn.10001c7dc
mov r11, qword [rsp + 0x30]
jmp 0x10011de14
mov r11, qword [rsp + 0x30]
jmp 0x10011de1b
mov rax, qword [rsp + 0x30]
xor r11d, r11d
mov qword [rdi], rax
mov rcx, qword [0x1001653b8]
test r11, r11
je 0x10011de30
mov rcx, r11
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011de52
test byte [rcx + 0x1c], 1
je 0x10011de52
cmp byte [rcx + 0x19], 4
jb 0x10011de52
mov rcx, qword [rcx + 0x10]
mov edx, 0x47
mov r8, r13
call fcn.10001c7b8
mov eax, ebx
mov rcx, qword [rsp + 0x6d0]
xor rcx, rsp
call fcn.10014e480
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret