Function at 0x14002f690
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, 0xf0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rcx
mov qword [rsp + 0x78], rcx
xor r15d, r15d
movups xmm0, xmmword [0x14004f380]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x14004f390]
movups xmmword [rsp + 0x58], xmm1
mov eax, dword [0x14004f3a0]
mov dword [rsp + 0x68], eax
movzx eax, word [0x14004f3a4]
mov word [rsp + 0x6c], ax
mov r8d, r15d
cmp dword [0x140060018], 2
jl 0x14002f840
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059700]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x140059680]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm9, xmmword [0x1400596b0]
lea rcx, [rsp + 0x48]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm9
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 0x14002f751
cmp r8d, 0x13
jge 0x14002f884
movsxd rax, r8d
lea r9, [rsp + 0x48]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, r8w
sub ax, cx
add ax, 0x31
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x13
jl 0x14002f850
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 0x14002f8cd
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
jmp 0x14002fa3b
movups xmmword [rsp + 0x90], xmm0
lea rax, [0x14002fa80]
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 0x14002f960
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
jmp 0x14002fa2c
mov esi, dword [rsp + 0x7c]
mov ecx, esi
call fcn.14004988c
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 0x14002f9da
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r14
call fcn.140049730
nop
jmp 0x14002fa2c
mov eax, dword [r14 + 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
test eax, eax
jne 0x14002f9fe
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r14
call fcn.140049730
nop
jmp 0x14002fa2c
lea rdx, [r14 + rax]
mov qword [rbx + 0x18], r15
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14002fa10
mov rcx, rbx
call fcn.140029280
nop
mov rcx, r14
call fcn.140049730
nop
test rbp, rbp
je 0x14002fa3b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140049470
lea r11, [rsp + 0xf0]
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]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rdi
ret