Function at 0x140003cf4
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400d1548]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx + 0x58]
lea rcx, [rsp + 0x60]
call fcn.14001bf00
nop
mov rdx, qword [rsi + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14001bf00
nop
mov r14, qword [rbx]
lea rbx, [r14 - 0x18]
mov rcx, qword [rbx]
mov rax, qword [rcx]
movabs r10, 0xb3651e715a5ef170
mov rax, qword [rax + 0x20]
call qword [case.0x14001f589.0]
mov rcx, rax
xor r15d, r15d
cmp dword [rbx + 0x10], r15d
jl 0x140041a94
cmp rax, qword [rbx]
jne 0x140041a94
lock inc dword [rbx + 0x10]
add rbx, 0x18
mov qword [rsp + 0x40], rbx
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.14001b154
cmp ax, 0x2a
je 0x140041ae8
cmp ax, 0x2f
jne 0x140041af9
lea rcx, [rbp - 0x80]
call fcn.14001a83c
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, qword [rsi + 0xa0]
call fcn.1400040b0
mov edi, r15d
test eax, eax
jne 0x140041b28
cmp dword [rbp - 0x5c], r15d
je 0x140041b1e
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001bf00
nop
mov al, byte [rbp - 0x44]
mov byte [rsp + 0x20], al
mov r9d, edi
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.140003e94
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 - 0x80]
call fcn.140016a00
nop
lea rcx, [rbx - 0x18]
call fcn.1400182a0
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 + 0x1b8]
xor rcx, rsp
call fcn.140036b80
mov rbx, qword [rsp + 0x300]
add rsp, 0x2c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
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.0x14001f589.0]
mov rbx, rax
test rax, rax
jne 0x140041ac4
call fcn.140063d68
int3
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.1400111d4
nop
jmp 0x140003d82
mov edx, dword [rbx - 0x10]
dec edx
lea rcx, [rsp + 0x40]
call fcn.1400879d8
jmp 0x140041b14
cmp ax, 0x5c
je 0x140003dae
lea rdx, [0x1400aa640]
lea rcx, [rsp + 0x40]
call fcn.140023bd8
mov rbx, qword [rsp + 0x40]
jmp 0x140003dae
mov edi, 1
jmp 0x140003de2
cmp eax, 1
jne 0x140003de2
mov edi, eax
lea rcx, [rbp - 0x40]
call fcn.140014430
nop
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.14000764c
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.140018584
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.140016b70
nop
lea r8d, [rdi + 2]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x48]
call fcn.14001a564
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400202e0
nop
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
call fcn.1400182a0
mov dword [rsp + 0x38], 0xa
lea rax, [rbp + 0x1a0]
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.1400182a0
nop
lea rcx, [rbp - 0x40]
call fcn.140014494
nop
jmp 0x140003de2