Function at 0x100135998
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r13
sub rsp, 0x40
and dword [rax + 0x18], 0
and qword [rax + 0x20], 0
and dword [rax + 0x10], 0
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
jne 0x1001359d5
lea r8, [0x100014b48]
lea rcx, [0x100014b10]
mov edx, 0x2c5
call fcn.100099ad8
lea rdx, [rsp + 0x88]
mov rcx, rbp
mov byte [rsi], 0
call fcn.10009b37c
lea rdi, [0x1001653b8]
mov ebx, eax
test eax, eax
js 0x100135be8
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
and dword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x88]
mov r13d, eax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x100135b86
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x78]
mov rcx, rbp
mov edi, eax
call fcn.100136d34
test eax, eax
jns 0x100135ab8
mov rcx, qword [0x1001653b8]
lea rdx, [0x1001653b8]
cmp rcx, rdx
je 0x100135a9e
test byte [rcx + 0x1c], 1
je 0x100135a9e
cmp byte [rcx + 0x19], 3
jb 0x100135a9e
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e50]
mov edx, 0x1f
mov r9, rbp
mov dword [rsp + 0x20], eax
call fcn.10001daa4
mov rcx, qword [0x1001653b8]
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
lea rdi, [0x1001653b8]
jmp 0x100135bef
mov eax, dword [rsp + 0x78]
shr eax, 0xb
test al, 1
je 0x100135b14
mov rcx, qword [0x1001653b8]
lea rdi, [0x1001653b8]
cmp rcx, rdi
je 0x100135afa
test byte [rcx + 0x1c], 1
je 0x100135afa
cmp byte [rcx + 0x19], 4
jb 0x100135afa
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e50]
mov edx, 0x20
mov r9, rbp
call fcn.10001da24
mov rdx, rsi
mov rcx, rbp
call fcn.100135e1c
mov ebx, eax
test eax, eax
js 0x100135be8
jmp 0x100135b94
cmp edi, 0x3ed
je 0x100135b40
cmp edi, 1
je 0x100135b40
cmp edi, 0x57
je 0x100135b40
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
lea rdi, [0x1001653b8]
jmp 0x100135be8
mov rcx, qword [0x1001653b8]
lea rdi, [0x1001653b8]
cmp rcx, rdi
je 0x100135b7f
bt dword [rcx + 0x1c], 9
jae 0x100135b7f
cmp byte [rcx + 0x19], 4
jb 0x100135b7f
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e50]
mov edx, 0x21
mov r9, rbp
call fcn.10001da24
mov rcx, qword [0x1001653b8]
mov ebx, 0x80780076
jmp 0x100135bef
mov eax, dword [rsp + 0x80]
shr eax, 0x13
and al, 1
mov byte [rsi], al
mov rcx, qword [0x1001653b8]
cmp rcx, rdi
je 0x100135bdf
bt dword [rcx + 0x1c], 9
jae 0x100135bdf
cmp byte [rcx + 0x19], 4
jb 0x100135bdf
cmp byte [rsi], 0
mov rcx, qword [rcx + 0x10]
lea rdx, [0x100005988]
lea rax, [0x10000a060]
lea r8, [0x100002e50]
mov r9, rbp
cmovne rax, rdx
mov edx, 0x22
mov qword [rsp + 0x20], rax
call fcn.10001df38
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov rcx, qword [0x1001653b8]
cmp qword [rsp + 0x88], 0
je 0x100135c0f
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x1001653b8]
test ebx, ebx
jns 0x100135c3d
cmp rcx, rdi
je 0x100135c3d
bt dword [rcx + 0x1c], 9
jae 0x100135c3d
cmp byte [rcx + 0x19], 3
jb 0x100135c3d
mov rcx, qword [rcx + 0x10]
lea r8, [0x100002e50]
mov edx, 0x23
mov r9d, ebx
call fcn.10001c7dc
mov eax, ebx
add rsp, 0x40
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret