Function at 0x1400ebafc
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 0x1400ebb25
cmp word [rdx], ax
je 0x1400ebb25
test r8, r8
jne 0x1400ebb3d
lea r8, str.pstrFilePath__pstrFilePath__pFindData
mov edx, 0x464
lea rcx, [0x14015f380]
call fcn.1400876c8
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 0x1400eddf8
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 [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r12d, r12d
mov r15b, r8b
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400ede3e
cmp word [rcx], r12w
je 0x1400ede3e
test rdx, rdx
jne 0x1400ede56
lea r8, str.pstrFilePath__pstrFilePath__pFindData
mov edx, 0x75c
lea rcx, [0x14015fc58]
call fcn.1400876c8
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]
lea r14, [0x14017a048]
test eax, eax
je 0x1400edf3d
mov r9b, r15b
lea r8, [rsp + 0x40]
mov rcx, rbx
call fcn.1400ee334
mov edi, eax
test eax, eax
js 0x1400edef8
mov r14d, dword [rsp + 0x40]
bt r14d, 0xa
jb 0x1400edf3d
lea rcx, [rsi + 0x24]
xor edx, edx
mov r8d, 0x22c
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x4c]
mov rcx, qword [rsp + 0x44]
mov qword [rsi + 0xc], rax
mov rax, qword [rsp + 0x54]
mov qword [rsi + 0x14], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsi + 0x1c], eax
mov eax, dword [rsp + 0x60]
mov dword [rsi + 0x20], eax
mov dword [rsi], r14d
mov qword [rsi + 4], rcx
jmp 0x1400edfe2
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400edff0
test byte [rcx + 0x1c], 8
je 0x1400edff0
cmp byte [rcx + 0x19], 2
jb 0x1400edff0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140160440]
mov edx, 0xe
mov dword [rsp + 0x20], eax
mov r9, rbx
call fcn.140005ca0
jmp 0x1400edfe9
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], r12w
jne 0x1400edf41
mov r13d, 0x5c
test edi, edi
je 0x1400edf5f
lea eax, [rdi - 1]
cmp word [rbx + rax*2], r13w
je 0x1400edf77
lea r8, str.dwPathLength___0__pstrFilePath_dwPathLength_1___L
mov edx, 0x790
lea rcx, [0x14015fc58]
call fcn.1400876c8
mov r14d, edi
lea rcx, [rsp + 0x70]
mov word [rbx + r14*2 - 2], r12w
call fcn.1400efcbc
mov r8, rsi
mov qword [rsp + 0x20], r12
mov rdx, rbx
lea rcx, [rsp + 0x70]
mov r9b, r15b
call fcn.1400efe48
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x78], 4
mov edi, eax
call fcn.1400efdc0
test eax, eax
jns 0x1400edfd2
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.1400efd88
lea r14, [0x14017a048]
mov rcx, qword [0x14017a048]
test edi, edi
js 0x1400ee027
test byte [rsi], 0x10
jne 0x1400ee027
mov edi, 0x80070057
cmp rcx, r14
je 0x1400ee027
test byte [rcx + 0x1c], 8
je 0x1400ee027
cmp byte [rcx + 0x19], 2
jb 0x1400ee027
mov rcx, qword [rcx + 0x10]
lea r8, [0x140160440]
mov edx, 0xf
mov r9, rbx
call fcn.140005c30
mov eax, edi
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14014b700
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret