Function at 0x14002f040
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 [0x14005b040]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rcx
mov qword [rsp + 0x78], rcx
xor r15d, r15d
movups xmm0, xmmword [0x14004bfb8]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [0x14004bfc8]
movups xmmword [rsp + 0x58], xmm1
mov eax, dword [0x14004bfd8]
mov dword [rsp + 0x68], eax
movzx eax, word [0x14004bfdc]
mov word [rsp + 0x6c], ax
mov r8d, r15d
cmp dword [0x14005b088], 2
jl 0x14002f1e7
movdqa xmm5, xmmword [0x140055670]
movdqa xmm4, xmmword [0x140055770]
movdqa xmm6, xmmword [0x1400556b0]
movdqa xmm7, xmmword [0x1400556e0]
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
paddd xmm1, xmm2
psrad xmm1, 5
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
paddd xmm1, xmm2
psrad xmm1, 5
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 0x14002f0f0
cmp r8d, 0x13
jge 0x14002f237
movsxd rax, r8d
lea r9, [rsp + 0x48]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
sub ax, cx
add ax, 0x36
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x13
jl 0x14002f200
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 0x14002f280
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
jmp 0x14002f3eb
movups xmmword [rsp + 0x90], xmm0
lea rax, [0x14002f430]
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 0x14002f313
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
jmp 0x14002f3dc
mov esi, dword [rsp + 0x7c]
mov ecx, esi
call fcn.14004636c
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 0x14002f38d
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r14
call fcn.140046210
nop
jmp 0x14002f3dc
mov eax, dword [r14 + 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r15
test eax, eax
jne 0x14002f3b1
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r14
call fcn.140046210
nop
jmp 0x14002f3dc
lea rdx, [r14 + rax]
mov qword [rbx + 0x18], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14002f3c0
mov rcx, rbx
call fcn.140028b80
nop
mov rcx, r14
call fcn.140046210
nop
test rbp, rbp
je 0x14002f3eb
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140045f60
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