Function at 0x140082a90
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x1f8]
sub rsp, 0x2d0
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400db348]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx + 0x58]
lea rcx, [rsp + 0x60]
call fcn.14001617c
nop
mov rdx, qword [rsi + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14001617c
nop
mov r14, qword [rbx]
lea rbx, [r14 - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140024a95.0]
mov r9, rax
mov ecx, dword [rbx + 0x10]
shr ecx, 0x1f
xor r15d, r15d
test cl, cl
jne 0x140082b1b
cmp rax, qword [rbx]
jne 0x140082b1b
lock inc dword [rbx + 0x10]
jmp 0x140082b69
lea rdi, [rbx + 8]
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi]
mov rcx, r9
mov rax, qword [rax]
call qword [case.0x140024a95.0]
mov rbx, rax
test rax, rax
jne 0x140082b44
call fcn.140054bdc
int3
mov eax, dword [rdi]
mov dword [rbx + 8], eax
mov eax, dword [rdi]
inc eax
movsxd rdx, eax
add rdx, rdx
lea rcx, [rbx + 0x18]
mov r9, rdx
mov r8, r14
call qword [sym.imp.msvcrt.dll_memcpy_s]
nop dword [rax + rax]
add rbx, 0x18
mov qword [rsp + 0x40], rbx
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.140019470
cmp ax, 0x2a
jne 0x140082b98
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.1400795b0
jmp 0x140082bb5
cmp ax, 0x5c
je 0x140082bba
cmp ax, 0x2f
je 0x140082bba
lea rdx, [0x1400a5b3c]
lea rcx, [rsp + 0x40]
call fcn.1400193a0
mov rbx, qword [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.14000fb44
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0xa0]
call fcn.14007b430
mov edi, r15d
test eax, eax
jne 0x140082bf2
cmp dword [rbp - 0x4c], r15d
jne 0x140082cc2
lea edi, [rax + 1]
jmp 0x140082cc2
cmp eax, 1
jne 0x140082cc2
mov edi, eax
lea rcx, [rbp - 0x30]
call fcn.140018e70
nop
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.1400190fc
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.140015a14
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.14001763c
nop
lea r8d, [rdi + 2]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.1400194a0
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140022bb8
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.1400115d0
mov dword [rsp + 0x38], 0xa
lea rax, [rbp + 0x1b0]
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]
test eax, eax
cmovne edi, r15d
mov rcx, qword [rsp + 0x48]
add rcx, 0xffffffffffffffe8
call fcn.1400115d0
nop
lea rcx, [rbp - 0x30]
call fcn.1400190a4
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001617c
nop
mov r9d, edi
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140094914
mov edi, eax
cmp eax, 0x80070005
cmove edi, r15d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x70]
call fcn.14000b2c0
nop
lea rcx, [rbx - 0x18]
call fcn.1400115d0
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov eax, edi
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.14002a8b0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret