Function at 0x14004cd10
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 [0x140081040]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, rcx
mov qword [rbp - 0x19], rcx
xor r12d, r12d
movups xmm3, xmmword [0x1400705f0]
movups xmmword [rbp - 0x49], xmm3
movups xmm0, xmmword [0x140070600]
movups xmmword [rbp - 0x39], xmm0
mov eax, dword [0x140070610]
mov dword [rbp - 0x29], eax
movzx eax, word [0x140070614]
mov word [rbp - 0x25], ax
mov r8d, r12d
cmp dword [0x140081090], 2
jl 0x14004cf25
movdqa xmm4, xmmword [0x14007a4c0]
movdqa xmm5, xmmword [0x14007a430]
movdqa xmm6, xmmword [0x14007a460]
movdqa xmm2, xmmword [0x14007a3c0]
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 [0x14007a3d0]
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 [0x14007a3e0]
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 [0x14007a3f0]
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, 0x4ec4ec4f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul ecx, eax, 0x34
add cx, r8w
xor word [r9], cx
inc r8d
lea r9, [r9 + 2]
cmp r8d, 0x13
jl 0x14004cf30
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 0x14004cfaf
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r12b
jmp 0x14004d0fb
movups xmmword [rbp - 1], xmm0
lea rax, [0x14004d130]
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 0x14004d026
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
jmp 0x14004d0ec
mov esi, dword [rbp - 0x15]
mov ecx, esi
call fcn.14006a6fc
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 0x14004d096
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r15
call fcn.14006a360
nop
jmp 0x14004d0ec
mov eax, dword [r15 + 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r12
test eax, eax
jne 0x14004d0ba
mov qword [rbx + 0x18], 0xf
mov byte [rbx], al
mov rcx, r15
call fcn.14006a360
nop
jmp 0x14004d0ec
lea rdx, [r15 + rax]
mov qword [rbx + 0x18], r12
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14004d0d0
mov rcx, rbx
call fcn.140046850
nop
mov rcx, r15
call fcn.14006a360
nop
test r14, r14
je 0x14004d0fb
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14006a2f0
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