Function at 0x140005a80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
mov rax, qword [0x1400f1040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov qword [rbp - 0x19], rdx
xor ebx, ebx
lea rdx, [rcx + 0x40]
call fcn.1400034f0
mov r15, rax
test rax, rax
jne 0x140005c20
mov rax, qword [0x1400d99f0]
mov qword [rbp - 0x19], rax
cmp dword [0x1400f1098], 2
jl 0x140005bcf
movdqa xmm4, xmmword [0x1400e1290]
movdqa xmm2, xmmword [0x1400e0db0]
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, xmmword [0x1400e0e10]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400e0e20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0e90]
movd xmm0, dword [rbp - 0x19]
xorps xmm2, xmm0
movd dword [rbp - 0x19], xmm2
movdqa xmm2, xmmword [0x1400e0dd0]
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, xmmword [0x1400e0e10]
psubd xmm2, xmm0
andps xmm2, xmmword [0x1400e0e20]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400e0e90]
movd xmm0, dword [rbp - 0x15]
xorps xmm2, xmm0
movd dword [rbp - 0x15], xmm2
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400033d0
jmp 0x140005d80
lea r8, [rbp - 0x19]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8fb823ef
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx edx, bl
sub dl, cl
add dl, 0x33
xor byte [r8], dl
inc ebx
lea r8, [r8 + 1]
cmp ebx, 8
jl 0x140005be0
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400033d0
jmp 0x140005d80
mov dword [rbp - 0x19], ebx
mov dword [rbp - 0x3d], ebx
mov eax, dword [0x1401052e8]
mov dword [rbp - 0x41], eax
mov rax, qword [0x140105308]
mov qword [rbp - 0x31], rax
lea rax, [r15 + 0x30]
mov qword [rbp - 0x39], rax
lea rax, [rbp - 0x19]
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], 4
mov dword [rbp - 0x51], 5
lea rax, [rbp - 0x41]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x4d], 2
mov dword [rsp + 0x48], 0x10
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0x10
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], ebx
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x1401052f0]
call fcn.1400507c0
mov edi, dword [rbp - 0x19]
lea rcx, [rdi + 1]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rcx, rax
call fcn.1400ba4f8
mov rsi, rax
lea rdx, [r15 + 0x28]
call fcn.1400034f0
lea r9, [rdi + rdi]
mov r8, rsi
mov rdx, rax
lea rcx, [0x1401052e8]
call fcn.14000bb90
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140001dd0
nop
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 7
cmova rdx, qword [rbp - 0x11]
mov rax, qword [rbp - 1]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x11]
cmova rdx, qword [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.1400035c0
mov rcx, rsi
call fcn.1400ba4c4
movups xmm0, xmmword [rbp + 0xf]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x1f]
movups xmmword [r14 + 0x10], xmm1
mov rdx, qword [rbp + 7]
cmp rdx, 7
jbe 0x140005d80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005d7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005d7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ba4c4
mov rax, r14
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400ba220
mov rbx, qword [rsp + 0x120]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret