Function at 0x1400a1ac0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x1400dc7b8]
xor rax, rsp
mov qword [rsp + 0x2b8], rax
mov rsi, rcx
mov r14, qword [rdx]
lea rbx, [r14 - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
movabs r10, 0xb3651e715a5ef170
mov rax, qword [rax + 0x20]
call qword [case.0x140001f80.0]
mov rcx, rax
xor r15d, r15d
cmp dword [rbx + 0x10], r15d
jl 0x1400a1b23
cmp rax, qword [rbx]
jne 0x1400a1b23
lock inc dword [rbx + 0x10]
jmp 0x1400a1b70
mov rax, qword [rax]
lea rdi, [rbx + 8]
movabs r10, 0x9230265a36d2c270
mov r8d, 2
mov edx, dword [rdi]
mov rax, qword [rax]
call qword [case.0x140001f80.0]
mov rbx, rax
test rax, rax
jne 0x1400a1b52
call fcn.14005e618
mov eax, dword [rdi]
mov dword [rbx + 8], eax
lea rcx, [rbx + 0x18]
mov eax, dword [rdi]
inc eax
movsxd rdx, eax
add rdx, rdx
mov r9, rdx
mov r8, r14
call fcn.14000b934
add rbx, 0x18
mov qword [rsp + 0x40], rbx
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.140011544
cmp ax, 0x2a
jne 0x1400a1b9f
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.14008dcd4
jmp 0x1400a1bbc
cmp ax, 0x5c
je 0x1400a1bc1
cmp ax, 0x2f
je 0x1400a1bc1
lea rdx, [0x1400b3884]
lea rcx, [rsp + 0x40]
call fcn.1400096d0
mov rbx, qword [rsp + 0x40]
mov edi, r15d
lea rcx, [rsp + 0x80]
call fcn.140019a2c
nop
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0xa0]
call fcn.14000330c
test eax, eax
jne 0x1400a1c05
cmp dword [rsp + 0xa4], r15d
jne 0x1400a1ce9
lea edi, [rax + 1]
jmp 0x1400a1ce9
cmp eax, 1
jne 0x1400a1ce9
lea rcx, [rsp + 0xc0]
call fcn.14000698c
nop
mov rdx, rbx
lea rcx, [rsp + 0xc0]
call fcn.140002c3c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xc0]
call fcn.1400163ac
mov rax, qword [rsp + 0x78]
mov rcx, qword [rax + 8]
mov eax, dword [rsp + 0x70]
lea rdx, [rcx + rax*2]
lea rcx, [rsp + 0x48]
call fcn.140012fc0
nop
mov r8d, 3
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400191d8
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14000b560
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.140016110
mov dword [rsp + 0x38], 0xa
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetVolumeInformationW]
nop dword [rax + rax]
mov edi, r15d
test eax, eax
sete dil
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.140016110
nop
lea rcx, [rsp + 0xc0]
call fcn.1400118fc
lea rdx, [rsi + 8]
cmp qword [rdx + 0x18], 8
jb 0x1400a1cf7
mov rdx, qword [rdx]
lea rcx, [rsp + 0x60]
call fcn.140046c38
nop
lea rdx, [rsi + 0x28]
cmp qword [rdx + 0x18], 8
jb 0x1400a1d10
mov rdx, qword [rdx]
lea rcx, [rsp + 0x58]
call fcn.140046c38
nop
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140046c38
nop
mov byte [rsp + 0x20], r15b
mov r9d, edi
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140003370
mov edi, eax
cmp eax, 0x80070005
cmove edi, r15d
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400a1d67
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400a1d7e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400a1d95
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x80]
call fcn.14001591c
nop
lea rcx, [rbx - 0x18]
call fcn.140016110
mov eax, edi
jmp 0x1400a1db4
mov rcx, qword [rsp + 0x2b8]
xor rcx, rsp
call fcn.140024990
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret