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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140061040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rcx
mov qword [rbp - 0x19], rcx
xor r12d, r12d
movups xmm3, xmmword [0x14004fb10]
movups xmmword [rbp - 0x49], xmm3
movups xmm0, xmmword [0x14004fb20]
movups xmmword [rbp - 0x39], xmm0
mov eax, dword [0x14004fb30]
mov dword [rbp - 0x29], eax
movzx eax, word [0x14004fb34]
mov word [rbp - 0x25], ax
mov r8d, r12d
cmp dword [0x140061090], 2
jl 0x14002e355
movdqa xmm4, xmmword [0x14005a040]
movdqa xmm5, xmmword [0x140059ff0]
movdqa xmm6, xmmword [0x14005a010]
movdqa xmm2, xmmword [0x140059f70]
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, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm1, xmm3
xorps xmm2, xmm1
movq qword [rbp - 0x49], xmm2
movdqa xmm3, xmmword [0x140059f80]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rbp - 0x41]
xorps xmm2, xmm0
movq qword [rbp - 0x41], xmm2
movdqa xmm3, xmmword [0x140059f90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rbp - 0x39]
xorps xmm2, xmm0
movq qword [rbp - 0x39], xmm2
movdqa xmm3, xmmword [0x140059fa0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm6
movq xmm0, qword [rbp - 0x31]
xorps xmm2, xmm0
movq qword [rbp - 0x31], xmm2
mov r8d, 0x10
mov eax, r8d
lea r9, [rbp - 0x49]
lea r9, [r9 + rax*2]
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, 0x30
xor word [r9], ax
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x13
jl 0x14002e360
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
mov r8d, 3
lea rcx, [rbp - 0x49]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
xorps xmm0, xmm0
cmp rax, 0xffffffffffffffff
jne 0x14002e3de
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
jmp 0x14002e52b
movups xmmword [rbp - 1], xmm0
lea rax, [0x14002e560]
mov qword [rbp - 1], rax
mov qword [rbp + 7], r14
mov qword [rbp - 0xd], r12
mov dword [rbp - 0x11], r12d
mov qword [rbp - 0x19], r12
mov dword [rbp - 0x1d], r12d
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp - 0x11]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14002e455
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
jmp 0x14002e51c
mov esi, dword [rbp - 0x15]
mov ecx, esi
call fcn.140049dfc
mov r15, rax
mov r8d, esi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xf], r15
mov qword [rsp + 0x38], r12
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9d, 0xc
lea r8, [rbp - 0x11]
mov edx, 0x2d1400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xorps xmm0, xmm0
test eax, eax
jne 0x14002e4c5
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r15
call fcn.140049a60
nop
jmp 0x14002e51c
mov eax, dword [r15 + 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
test eax, eax
jne 0x14002e4e9
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r15
call fcn.140049a60
nop
jmp 0x14002e51c
lea rdx, [r15 + rax]
mov qword [rbx + 0x18], r12
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14002e500
mov rcx, rbx
call fcn.140027c10
nop
mov rcx, r15
call fcn.140049a60
nop
test r14, r14
je 0x14002e52b
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400499f0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret