Function at 0x18005a340
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 - 0x57]
sub rsp, 0xe0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rsi, rcx
xor ebx, ebx
mov ecx, ebx
mov r9, qword [0x18021eb28]
test r9, r9
jne 0x18005a905
mov eax, ebx
nop dword [rax + rax]
cmp rax, 0x150
jge 0x18005a39f
cmp qword [rdx + rax*8], r8
je 0x18005a395
inc ecx
inc rax
jmp 0x18005a380
movsxd r9, ecx
mov qword [0x18021eb28], r9
test r9, r9
jne 0x18005a905
movsd xmm0, qword [0x1800fb950]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x1800fb958]
mov dword [rbp - 0x79], eax
movdqa xmm7, xmmword [0x18010ad90]
mov r14d, dword [0x18011f090]
cmp byte [0x1800fb95b], bl
je 0x18005a552
mov r8d, ebx
cmp r14d, 2
jl 0x18005a51b
movdqa xmm4, xmmword [0x18010b0e0]
movdqa xmm5, xmmword [0x18010acd0]
movdqa xmm6, xmmword [0x18010ae10]
movdqa xmm2, xmmword [0x18010ac10]
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
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [0x1800fb950]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm2, xmmword [0x18010ac30]
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
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x7d]
xorps xmm2, xmm0
movd dword [rbp - 0x7d], xmm2
movdqa xmm3, xmmword [0x18010ac40]
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
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rbp - 0x79], xmm3
jmp 0x18005a552
lea r9, [rsp + 0x20]
mov eax, 0x3521cfb3
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x18005a520
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x11], xmm1
lea rax, [rsp + 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x18005a570
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x21]
call fcn.180015c40
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x41], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x31], xmm1
mov r8, rdi
nop word [rax + rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x18005a5a0
mov rdx, rsi
lea rcx, [rbp - 0x41]
call fcn.180015c40
nop
movups xmm6, xmmword [0x1800fb500]
movups xmmword [rsp + 0x20], xmm6
movdqa xmm0, xmm6
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x18005a7bd
cmp r14d, 2
jl 0x18005a782
movdqa xmm4, xmmword [0x18010b0e0]
movdqa xmm5, xmmword [0x18010acd0]
movdqa xmm3, xmmword [0x18010ac10]
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
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov ecx, dword [0x18010ae10]
movd xmm0, ecx
paddb xmm3, xmm0
movd eax, xmm6
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
movdqa xmm2, xmmword [0x18010ac30]
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
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x7d]
xorps xmm2, xmm1
movd dword [rbp - 0x7d], xmm2
movdqa xmm3, xmmword [0x18010ac40]
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
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rbp - 0x79]
xorps xmm3, xmm1
movd dword [rbp - 0x79], xmm3
movdqa xmm2, xmmword [0x18010ac50]
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
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x75]
xorps xmm2, xmm1
movd dword [rbp - 0x75], xmm2
jmp 0x18005a7bd
lea r8, [rsp + 0x20]
nop word [rax + rax]
mov eax, 0x3521cfb3
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x10
jl 0x18005a790
xorps xmm0, xmm0
movups xmmword [rbp - 0x61], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
lea rax, [rsp + 0x20]
inc rdi
cmp byte [rax + rdi], 0
jne 0x18005a7d1
mov r8, rdi
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x61]
call fcn.180015c40
nop
lea r9, [rbp - 0x41]
lea r8, [rbp - 0x61]
lea rcx, [rsp + 0x20]
call fcn.180025c70
nop
lea r9, [rbp - 0x21]
lea r8, [rsp + 0x20]
lea rcx, [rbp - 1]
call fcn.180025c70
xor edx, edx
lea rcx, [rbp - 1]
call fcn.18002c520
nop
mov rdx, qword [rbp - 0x69]
cmp rdx, 0xf
jbe 0x18005a85a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a854
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a92d
call fcn.1800c3c28
nop
mov rdx, qword [rbp - 0x49]
cmp rdx, 0xf
jbe 0x18005a896
inc rdx
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a890
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a933
call fcn.1800c3c28
nop
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x18005a8ce
inc rdx
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a8c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a939
call fcn.1800c3c28
nop
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x18005a905
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005a900
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005a927
call fcn.1800c3c28
lea r11, [rsp + 0xe0]
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
call fcn.1800c99b4
nop
call fcn.1800c99b4
nop
call fcn.1800c99b4
nop
call fcn.1800c99b4
int3