Function at 0x1400edf18
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 0x1400edf41
cmp word [rdx], ax
je 0x1400edf41
test r8, r8
jne 0x1400edf59
lea r8, str.pstrFilePath__pstrFilePath__pFindData
mov edx, 0x464
lea rcx, [0x14015ce60]
call fcn.1400906e0
mov r8b, byte [rsi + 0x5e8]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400f10ac
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 [0x140173708]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r12d, r12d
mov r15b, r8b
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400f10f2
cmp word [rcx], r12w
je 0x1400f10f2
test rdx, rdx
jne 0x1400f110a
lea r8, str.pstrFilePath__pstrFilePath__pFindData
mov edx, 0x75c
lea rcx, [0x14015d770]
call fcn.1400906e0
mov dword [rsp + 0x38], r12d
xor r9d, r9d
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov qword [rsp + 0x28], r12
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
nop dword [rax + rax]
test eax, eax
je 0x1400f11f1
mov r9b, r15b
lea r8, [rsp + 0x48]
mov rcx, rbx
call fcn.1400f0af0
mov esi, eax
test eax, eax
js 0x1400f11a5
mov r14d, dword [rsp + 0x48]
bt r14d, 0xa
jb 0x1400f11f1
lea rcx, [rdi + 0x24]
xor edx, edx
mov r8d, 0x22c
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x54]
mov rcx, qword [rsp + 0x4c]
mov qword [rdi + 0xc], rax
mov rax, qword [rsp + 0x5c]
mov qword [rdi + 0x14], rax
mov eax, dword [rsp + 0x64]
mov dword [rdi + 0x1c], eax
mov eax, dword [rsp + 0x68]
mov dword [rdi + 0x20], eax
mov dword [rdi], r14d
mov qword [rdi + 4], rcx
jmp 0x1400f129a
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400f12db
test byte [rcx + 0x1c], 8
je 0x1400f12db
cmp byte [rcx + 0x19], 2
jb 0x1400f12db
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df50]
mov edx, 0xe
mov dword [rsp + 0x20], esi
mov r9, rbx
call fcn.1400151b8
jmp 0x1400f12db
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rbx + rsi*2], r12w
jne 0x1400f11f5
mov r13d, 0x5c
test esi, esi
je 0x1400f1213
lea eax, [rsi - 1]
cmp word [rbx + rax*2], r13w
je 0x1400f122b
lea r8, str.dwPathLength___0__pstrFilePath_dwPathLength_1___L
mov edx, 0x790
lea rcx, [0x14015d770]
call fcn.1400906e0
mov r14d, esi
lea rcx, [rsp + 0x70]
mov word [rbx + r14*2 - 2], r12w
call fcn.1400f3924
mov r9b, r15b
mov qword [rsp + 0x20], r12
mov r8, rdi
lea rcx, [rsp + 0x70]
mov rdx, rbx
call fcn.1400f3e44
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x78], 4
mov esi, eax
call fcn.1400f3a38
test eax, eax
jns 0x1400f1286
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.1400f39bc
test esi, esi
js 0x1400f12db
test byte [rdi], 0x10
jne 0x1400f12db
mov esi, 0x80070057
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x1400f12db
test byte [rcx + 0x1c], 8
je 0x1400f12db
cmp byte [rcx + 0x19], 2
jb 0x1400f12db
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015df50]
mov edx, 0xf
mov r9, rbx
call fcn.140015150
mov eax, esi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret