Function at 0x1000c3610
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, [0x100003198]
mov r13b, 4
cmp rcx, r14
je 0x1000c3680
test byte [rcx + 0x1c], r13b
je 0x1000c3680
cmp byte [rcx + 0x19], r13b
jb 0x1000c3680
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x1c]
mov r8, r15
call fcn.10001c7b8
mov dword [rsi], ebx
cmp rbp, rbx
jne 0x1000c369f
lea r8, [0x10000d1d0]
lea rcx, [0x10000d130]
mov edx, 0x1d6
call fcn.100099ad8
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 0x1000c36d6
mov dword [rsi], 0x57
mov ebx, 0x16
jmp 0x1000c380f
cmp word [rbp + rcx*2 - 2], 0x5c
mov r9, rbp
mov edx, 0x104
lea rcx, [rsp + 0x50]
lea r8, [0x10000d1e0]
jne 0x1000c36f9
lea r8, [0x10000d1f0]
call fcn.1000c2358
cmp eax, ebx
jl 0x1000c36c6
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 0x1000c37de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rsp + 0x40]
mov rcx, rbp
mov edi, eax
call fcn.1000c3394
cmp eax, ebx
je 0x1000c3789
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c377d
test byte [rcx + 0x1c], r13b
je 0x1000c377d
cmp byte [rcx + 0x19], 2
jb 0x1000c377d
mov rcx, qword [rcx + 0x10]
mov edx, 0x1d
mov r9, rbp
mov r8, r15
mov dword [rsp + 0x20], eax
call fcn.10001daa4
mov ebx, 0x16
mov dword [rsi], edi
jmp 0x1000c380f
mov eax, dword [rsp + 0x40]
shr eax, 0xb
test al, 1
je 0x1000c3865
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c37c6
test byte [rcx + 0x1c], r13b
je 0x1000c37c6
cmp byte [rcx + 0x19], r13b
jb 0x1000c37c6
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x1e
mov r8, r15
call fcn.10001da24
lea r8, [0x100004aa0]
mov edx, 0x10
mov rcx, r12
call fcn.100043e4c
cmp eax, ebx
jl 0x1000c380f
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c3838
test byte [rcx + 0x1c], r13b
je 0x1000c3816
cmp byte [rcx + 0x19], r13b
jb 0x1000c3816
mov rcx, qword [rcx + 0x10]
mov edx, 0x21
mov r9, rbp
mov r8, r15
mov qword [rsp + 0x20], r12
call fcn.10001df38
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c3838
test byte [rcx + 0x1c], r13b
je 0x1000c3838
cmp byte [rcx + 0x19], r13b
jb 0x1000c3838
mov rcx, qword [rcx + 0x10]
mov edx, 0x22
mov r8, r15
call fcn.10001c7b8
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.10014e480
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 0x1000c38bc
cmp edi, 1
je 0x1000c38bc
cmp edi, 0x57
je 0x1000c38bc
mov dword [rsi], edi
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c38b2
test byte [rcx + 0x1c], r13b
je 0x1000c38b2
cmp byte [rcx + 0x19], 2
jb 0x1000c38b2
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x20
mov r8, r15
mov dword [rsp + 0x20], edi
call fcn.10001daa4
mov rcx, qword [0x1001653b8]
mov ebx, 0x16
jmp 0x1000c3816
mov rcx, qword [0x1001653b8]
cmp rcx, r14
je 0x1000c38ea
test byte [rcx + 0x1c], r13b
je 0x1000c38ea
cmp byte [rcx + 0x19], r13b
jb 0x1000c38ea
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x50]
mov edx, 0x1f
mov r8, r15
call fcn.10001da24
lea r8, [0x100005988]
jmp 0x1000c37cd