Function at 0x140025ad0
Capabilities:
Encode data using xor
Get storage device properties

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0xd0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14004e040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rcx
mov qword [rsp + 0x78], rcx
xor r15d, r15d
movups xmm0, xmmword [0x14003fee8]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x14003fef8]
movups xmmword [rsp + 0x58], xmm1
mov eax, dword [0x14003ff08]
mov dword [rsp + 0x68], eax
movzx eax, word [0x14003ff0c]
mov word [rsp + 0x6c], ax
mov r8d, r15d
cmp dword [0x14004e088], 2
jl 0x140025c6f
movdqa xmm5, xmmword [0x140048bc0]
movdqa xmm4, xmmword [0x140048ca0]
movdqa xmm6, xmmword [0x140048bf0]
movdqa xmm7, xmmword [0x140048c30]
lea rcx, [rsp + 0x48]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx]
xorps xmm3, xmm0
movq qword [rcx], xmm3
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm7
paddw xmm3, xmm2
movq xmm0, qword [rcx + 8]
xorps xmm3, xmm0
movq qword [rcx + 8], xmm3
add r8d, 8
lea rcx, [rcx + 0x10]
cmp r8d, 0x10
jl 0x140025b80
cmp r8d, 0x13
jge 0x140025cb4
movsxd rax, r8d
lea r9, [rsp + 0x48]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
sub ax, cx
add ax, 0x34
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x13
jl 0x140025c80
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 3]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
xorps xmm0, xmm0
cmp rax, 0xffffffffffffffff
jne 0x140025cfd
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
jmp 0x140025e6b
movups xmmword [rsp + 0x90], xmm0
lea rax, [0x140025eb0]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0x84], r15
mov dword [rsp + 0x80], r15d
mov qword [rsp + 0x78], r15
mov dword [rsp + 0x70], r15d
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rsp + 0x80]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140025d90
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
jmp 0x140025e5c
mov esi, dword [rsp + 0x7c]
mov ecx, esi
call fcn.14003b08c
mov r14, rax
mov r8d, esi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r14
mov r9d, 0xc
lea r8, [rsp + 0x80]
mov edx, 0x2d1400
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm0, xmm0
test eax, eax
jne 0x140025e0a
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r14
call fcn.14003af80
nop
jmp 0x140025e5c
mov eax, dword [r14 + 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
test eax, eax
jne 0x140025e2e
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r14
call fcn.14003af80
nop
jmp 0x140025e5c
lea rdx, [r14 + rax]
mov qword [rbx + 0x18], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140025e40
mov rcx, rbx
call fcn.140022d60
nop
mov rcx, r14
call fcn.14003af80
nop
test rbp, rbp
je 0x140025e6b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14003acd0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
ret