Function at 0x1000c3764
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x100165138]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor ebx, ebx
mov rsi, r9
mov r12, r8
mov dword [rsp + 0x40], ebx
mov rbp, rcx
mov rcx, qword [0x1001653b8]
lea r14, [0x1001653b8]
lea r15, [0x100003158]
mov r13b, 4
cmp rcx, r14
je 0x1000c37d4
test byte [rcx + 0x1c], r13b
je 0x1000c37d4
cmp byte [rcx + 0x19], r13b
jb 0x1000c37d4
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x1c]
mov r8, r15
call fcn.10001c854
mov dword [rsi], ebx
cmp rbp, rbx
jne 0x1000c37f3
lea r8, [0x10000d0c0]
lea rcx, [0x10000d020]
mov edx, 0x1d6
call fcn.10009a050
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
jne 0x1000c382a
mov dword [rsi], 0x57
mov ebx, 0x16
jmp 0x1000c3963
cmp word [rbp + rcx*2 - 2], 0x5c
mov r9, rbp
mov edx, 0x104
lea rcx, [rsp + 0x50]
lea r8, [0x10000d0d0]
jne 0x1000c384d
lea r8, [0x10000d0e0]
call fcn.1000c24b8
cmp eax, ebx
jl 0x1000c381a
mov dword [rsp + 0x38], 0x10
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, ebx
jne 0x1000c3932
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x40]
mov rcx, rbp
mov edi, eax
call fcn.1000c34e8
cmp eax, ebx
je 0x1000c38dd
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c38d1
test byte [rcx + 0x1c], r13b
je 0x1000c38d1
cmp byte [rcx + 0x19], 2
jb 0x1000c38d1
mov rcx, qword [rcx + 0x10]
mov edx, 0x1d
mov r9, rbp
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.10001ddb0
mov ebx, 0x16
mov dword [rsi], edi
jmp 0x1000c3963
mov eax, dword [rsp + 0x40]
shr eax, 0xb
test al, 1
je 0x1000c39b9
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c391a
test byte [rcx + 0x1c], r13b
je 0x1000c391a
cmp byte [rcx + 0x19], r13b
jb 0x1000c391a
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x1e
mov r8, r15
call fcn.10001db08
lea r8, [0x100004a40]
mov edx, 0x10
mov rcx, r12
call fcn.1000c23ac
cmp eax, ebx
jl 0x1000c3963
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c398c
test byte [rcx + 0x1c], r13b
je 0x1000c396a
cmp byte [rcx + 0x19], r13b
jb 0x1000c396a
mov rcx, qword [rcx + 0x10]
mov edx, 0x21
mov r9, rbp
mov r8, r15
mov qword [rsp + 0x20], r12
call fcn.10001df74
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c398c
test byte [rcx + 0x1c], r13b
je 0x1000c398c
cmp byte [rcx + 0x19], r13b
jb 0x1000c398c
mov rcx, qword [rcx + 0x10]
mov edx, 0x22
mov r8, r15
call fcn.10001c854
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.10014e600
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp edi, 0x3ed
je 0x1000c3a10
cmp edi, 1
je 0x1000c3a10
cmp edi, 0x57
je 0x1000c3a10
mov dword [rsi], edi
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c3a06
test byte [rcx + 0x1c], r13b
je 0x1000c3a06
cmp byte [rcx + 0x19], 2
jb 0x1000c3a06
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x20
mov r8, r15
mov dword [rsp + 0x20], edi
call fcn.10001ddb0
mov rcx, qword [0x1001653b8]
mov ebx, 0x16
jmp 0x1000c396a
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c3a3e
test byte [rcx + 0x1c], r13b
je 0x1000c3a3e
cmp byte [rcx + 0x19], r13b
jb 0x1000c3a3e
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x1f
mov r8, r15
call fcn.10001db08
lea r8, [0x100005928]
jmp 0x1000c3921