Function at 0x14010bc60
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor eax, eax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x14010bc89
cmp word [rdx], ax
je 0x14010bc89
test r8, r8
jne 0x14010bca1
lea r8, [0x140010a08]
lea rcx, [0x1400102c0]
mov edx, 0x517
call fcn.1400a8be8
mov r8b, byte [rsi + 0x6b1]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x14010e0ac
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r12d, r12d
mov r15b, r8b
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14010e0f2
cmp word [rcx], r12w
je 0x14010e0f2
test rdx, rdx
jne 0x14010e10a
lea r8, [0x140010a08]
lea rcx, [0x140010dc8]
mov edx, 0x75c
call fcn.1400a8be8
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea r14, [0x14017d3a8]
test eax, eax
je 0x14010e1ea
lea rdx, [rsp + 0x40]
mov r8b, r15b
mov rcx, rbx
call fcn.14010e5c4
mov esi, eax
test eax, eax
js 0x14010e1a5
mov r14d, dword [rsp + 0x40]
bt r14d, 0xa
jb 0x14010e1ea
xor edx, edx
mov r8d, 0x250
mov rcx, rdi
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x4c]
mov rcx, qword [rsp + 0x44]
mov qword [rdi + 0xc], rax
mov rax, qword [rsp + 0x54]
mov dword [rdi], r14d
mov qword [rdi + 0x14], rax
mov eax, dword [rsp + 0x5c]
mov qword [rdi + 4], rcx
mov dword [rdi + 0x1c], eax
mov eax, dword [rsp + 0x60]
mov dword [rdi + 0x20], eax
jmp 0x14010e289
mov rcx, qword [0x14017d3a8]
cmp rcx, r14
je 0x14010e297
test byte [rcx + 0x1c], 8
je 0x14010e297
cmp byte [rcx + 0x19], 2
jb 0x14010e297
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400115b0]
mov edx, reloc.ADVAPI32.dll_GetTraceEnableFlags
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.14001ecbc
jmp 0x14010e290
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rbx + rsi*2], r12w
jne 0x14010e1ee
mov r13d, 0x5c
test esi, esi
je 0x14010e20c
lea eax, [rsi - 1]
cmp word [rbx + rax*2], r13w
je 0x14010e224
lea r8, [0x140011200]
lea rcx, [0x140010dc8]
mov edx, 0x790
call fcn.1400a8be8
mov r14d, esi
lea rcx, [rsp + 0x70]
mov word [rbx + r14*2 - 2], r12w
call fcn.14010fe84
lea rcx, [rsp + 0x70]
mov r9b, r15b
mov r8, rdi
mov rdx, rbx
mov qword [rsp + 0x20], r12
call fcn.14010ffec
lea rcx, [rsp + 0x70]
mov esi, eax
mov dword [rsp + 0x78], 4
call fcn.14010ff7c
test eax, eax
jns 0x14010e279
xor r9d, r9d
xor r8d, r8d
mov ecx, eax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
lea rcx, [rsp + 0x70]
mov word [rbx + r14*2 - 2], r13w
call fcn.14010ff44
lea r14, [0x14017d3a8]
mov rcx, qword [0x14017d3a8]
test esi, esi
js 0x14010e2ce
test byte [rdi], 0x10
jne 0x14010e2ce
mov esi, 0x80070057
cmp rcx, r14
je 0x14010e2ce
test byte [rcx + 0x1c], 8
je 0x14010e2ce
cmp byte [rcx + 0x19], 2
jb 0x14010e2ce
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400115b0]
mov edx, reloc.ADVAPI32.dll_RegisterTraceGuidsW
mov r9, rbx
call fcn.14001ec40
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140168920
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret