Function at 0x18004df90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movups xmm0, xmmword [str.bfr_juVTZiXYS_i__5C]
mov r14d, dword [0x1800ab090]
xor edi, edi
movdqa xmm5, xmmword [0x1800a0340]
mov ecx, edi
movaps xmmword [rax - 0x28], xmm6
movdqa xmm6, xmmword [0x1800a0170]
movaps xmmword [rax - 0x38], xmm7
mov eax, dword [0x18009eb18]
movdqa xmm7, xmmword [0x1800a01b0]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x18009eb1c]
mov word [rbp + 0x23], ax
movups xmm1, xmmword [0x18009eb08]
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm1
cmp r14d, 2
jl 0x18004e10c
movdqa xmm4, xmmword [0x1800a02a0]
lea rdx, [rbp - 1]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm6
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm4
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm6
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
punpckldq xmm1, xmm2
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm4
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x10
jl 0x18004e020
cmp ecx, 0x13
jge 0x18004e152
movsxd rax, ecx
lea r8, [rbp - 1]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub ax, dx
movzx eax, ax
imul edx, eax, 0x31
add dx, cx
inc ecx
xor word [r8 - 2], dx
cmp ecx, 0x13
jl 0x18004e120
cmp byte [0x18009e79d], dil
mov eax, dword [0x18009e798]
movsd xmm0, qword [0x18009e790]
mov dword [rbp - 0x24], eax
movzx eax, word [0x18009e79c]
mov word [rbp - 0x20], ax
movsd qword [rbp - 0x2c], xmm0
je 0x18004e2a5
mov r8d, edi
cmp r14d, 2
jl 0x18004e258
movdqa xmm2, xmmword [0x1800a0180]
movdqa xmm1, xmm6
punpckldq xmm1, xmm6
movdqa xmm0, xmm6
punpckhdq xmm0, xmm6
mov r8d, 8
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm7
psubd xmm6, xmm0
punpckldq xmm1, xmm2
andps xmm6, xmmword [0x1800a0280]
movd xmm0, dword [0x18009e790]
packuswb xmm6, xmm6
packuswb xmm6, xmm6
paddb xmm6, xmmword [0x1800a02c0]
xorps xmm6, xmm0
pmuldq xmm1, xmm5
movdqa xmm0, xmm2
movd dword [rbp - 0x2c], xmm6
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x28]
andps xmm2, xmmword [0x1800a0280]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1800a02c0]
xorps xmm2, xmm0
movd dword [rbp - 0x28], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x2c]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xe
jl 0x18004e270
jmp 0x18004e2b1
xorps xmm0, xmm0
mov qword [rbp - 9], rdi
movdqu xmmword [rbp - 0x19], xmm0
lea rax, [rbp - 0x2c]
mov ecx, 8
mov qword [rbp + 0x67], rax
lea rsi, [rbp + 0x67]
call fcn.18006a6f0
mov r8d, 8
mov qword [rbp - 0x19], rax
mov rdx, rsi
mov rbx, rax
lea rcx, [rax + 8]
mov qword [rbp - 9], rcx
mov rcx, rax
call fcn.18008e4e0
movsd xmm0, qword [str.vWGbS_HVSUH]
lea rax, [rbx + 8]
mov qword [rbp - 0x11], rax
mov eax, dword [0x18009eee0]
mov dword [rbp - 0x31], eax
movzx eax, byte [0x18009eee4]
mov byte [rbp - 0x2d], al
movsd qword [rbp - 0x39], xmm0
cmp r14d, 2
jl 0x18004e401
movdqa xmm3, xmmword [0x1800a0170]
mov edi, 8
movdqa xmm2, xmmword [0x1800a0180]
movdqa xmm1, xmm3
movdqa xmm5, xmmword [0x1800a0340]
movdqa xmm0, xmm3
mov eax, dword [0x1800a02c0]
punpckhdq xmm0, xmm3
punpckldq xmm1, xmm3
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmmword [0x1800a01b0]
psubd xmm3, xmm0
punpckldq xmm1, xmm2
andps xmm3, xmmword [0x1800a0280]
packuswb xmm3, xmm3
pmuldq xmm1, xmm5
packuswb xmm3, xmm3
movd xmm0, eax
paddb xmm3, xmm0
movd xmm0, dword [str.vWGbS_HVSUH]
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x39], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movd xmm1, dword [rbp - 0x35]
pmulld xmm0, xmmword [0x1800a01b0]
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmmword [0x1800a0280]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x35], xmm2
movsxd rax, edi
lea r8, [rbp - 0x39]
add r8, rax
nop dword [rax + rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, dil
inc edi
xor byte [r8 - 1], cl
cmp edi, 0xd
jl 0x18004e410
lea r8, [rbp - 1]
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.18004a640
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret