Function at 0x10011dc58
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, [0x100002f20]
cmp rcx, r12
je 0x10011dcbd
test byte [rcx + 0x1c], 1
je 0x10011dcbd
cmp byte [rcx + 0x19], 4
jb 0x10011dcbd
mov rcx, qword [rcx + 0x10]
mov edx, 0x42
mov r8, r13
call fcn.10001c854
test rdi, rdi
jne 0x10011dcda
lea r8, [0x1000134d8]
lea rcx, [0x1000133c0]
mov edx, 0x890
call fcn.10009a050
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.10009b894
mov esi, 0x104
lea r8, [0x1000134f8]
lea rcx, [rsp + 0xa0]
mov rdx, rsi
mov r9, rax
call fcn.100043f10
mov ebx, eax
test eax, eax
jns 0x10011dd8e
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011def6
test byte [rcx + 0x1c], 1
je 0x10011ded4
cmp byte [rcx + 0x19], 2
jb 0x10011ded4
mov edx, 0x43
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.10001c878
jmp 0x10011decd
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0xa0]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x10011de05
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 0x10011def6
test byte [rcx + 0x1c], 1
je 0x10011ded4
cmp byte [rcx + 0x19], 2
jb 0x10011ded4
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0xa0]
mov edx, 0x44
mov r8, r13
mov dword [rsp + 0x20], ebx
call fcn.10001ddb0
jmp 0x10011decd
lea r9, [rsp + 0x2b0]
lea r8, [0x100013510]
lea rcx, [rsp + 0x4c0]
mov rdx, rsi
call fcn.100043f10
mov ebx, eax
test eax, eax
jns 0x10011de58
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011def6
test byte [rcx + 0x1c], 1
je 0x10011ded4
cmp byte [rcx + 0x19], 2
jb 0x10011ded4
mov edx, 0x45
jmp 0x10011dd7a
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x4c0]
xor r8d, r8d
call fcn.10009bac4
mov ebx, eax
test eax, eax
jns 0x10011dead
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011dea6
test byte [rcx + 0x1c], 1
je 0x10011dea6
cmp byte [rcx + 0x19], 2
jb 0x10011dea6
mov rcx, qword [rcx + 0x10]
mov edx, 0x46
mov r9d, eax
mov r8, r13
call fcn.10001c878
mov r11, qword [rsp + 0x30]
jmp 0x10011deb8
mov r11, qword [rsp + 0x30]
jmp 0x10011debf
mov rax, qword [rsp + 0x30]
xor r11d, r11d
mov qword [rdi], rax
mov rcx, qword [0x1001653b8]
test r11, r11
je 0x10011ded4
mov rcx, r11
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
cmp rcx, r12
je 0x10011def6
test byte [rcx + 0x1c], 1
je 0x10011def6
cmp byte [rcx + 0x19], 4
jb 0x10011def6
mov rcx, qword [rcx + 0x10]
mov edx, 0x47
mov r8, r13
call fcn.10001c854
mov eax, ebx
mov rcx, qword [rsp + 0x6d0]
xor rcx, rsp
call fcn.10014e600
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret