Function at 0x14005f3d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140494c68]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r8
mov rdi, rdx
mov qword [rbp - 0x40], rdx
xor r15d, r15d
lea rcx, [r8 + 0xab0]
call fcn.140053370
mov rsi, rax
lea rcx, [rax + 0x10]
call fcn.140053190
movsxd r14, eax
test eax, eax
jne 0x14005f543
mov eax, dword [str.dv6r5]
mov dword [rbp - 0x40], eax
cmp byte [0x1400da973], r15b
je 0x14005f510
cmp dword [0x140494c80], 2
jl 0x14005f4d3
movdqa xmm3, xmmword [0x1400d9420]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1400db420]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1400db420]
shufps xmm2, xmm0, 0xdd
mov ecx, 4
movd xmm0, ecx
psrad xmm2, xmm0
mov ecx, 0x1f
movd xmm0, ecx
movdqa xmm1, xmm2
psrld xmm1, xmm0
paddd xmm1, xmm2
pmulld xmm1, xmmword [0x1400db390]
psubd xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1400db3a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, eax
pxor xmm2, xmm0
movd dword [rbp - 0x40], xmm2
jmp 0x14005f510
lea r9, [rbp - 0x40]
mov r8d, r15d
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14005f4e0
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r15b
jne 0x14005f526
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140001d10
jmp 0x14005f6c3
lea rcx, [rbx - 6]
and ecx, 8
call fcn.1400530f0
test al, al
je 0x14005f5ad
movzx eax, word [0x1400da974]
mov word [rbp - 0x40], ax
movzx eax, byte [0x1400da976]
mov byte [rbp - 0x40], 0x41
xor byte [rbp - 0x3f], 0x34
xor al, 0x35
mov byte [rbp - 0x3e], al
mov qword [rdi], r15
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], r15
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], r15b
jne 0x14005f590
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.140001d10
jmp 0x14005f6c3
lea rcx, [rsi + 8]
call fcn.140053370
mov eax, 2
mul r14
mov rbx, 0xffffffffffffffff
cmovo rax, rbx
mov rcx, rax
call fcn.1400cea3c
mov rsi, rax
mov r9d, r15d
mov rdx, rax
lea ecx, [r14 - 1]
mov r8d, r15d
movzx ecx, cl
test r14d, r14d
cmovne r8d, ecx
and r8d, 3
lea eax, [r14 - 1]
mov ecx, r15d
test r14d, r14d
cmovne ecx, eax
nop dword [rax]
cmp r9d, ecx
jge 0x14005f61d
add r8d, 3
inc r9d
movzx eax, r8w
and ax, 7
add word [rdx], ax
add rdx, 2
jmp 0x14005f600
mov qword [rbp - 0x30], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], r15w
jne 0x14005f630
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140052860
nop
mov rcx, rsi
call fcn.1400ce1e0
lea rcx, [rbp - 0x30]
mov rax, qword [rbp - 0x20]
cmp qword [rbp - 0x18], 8
jb 0x14005f66b
mov rdx, qword [rbp - 0x30]
lea r8, [rdx + rax*2]
jmp 0x14005f673
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x30]
lea r9, [rbp - 0x38]
mov rcx, rdi
call fcn.140052050
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x14005f6c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f6be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005f6be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ce1e0
mov rax, rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400ce7e0
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret