Function at 0x18002a7b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x18010e098]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rdi, rcx
mov dword [rsp + 0x28], r9d
mov ebx, r8d
mov dword [rsp + 0x20], r8d
sar ebx, 5
lea rax, [0x18002a400]
test r9d, r9d
mov qword [rsp + 0x30], rdx
lea rcx, [0x18002a080]
mov rsi, rdx
cmovne rax, rcx
lea r14, [0x18010ed20]
mov qword [rdi + 0x118], rax
lea r12d, [rbx + 6]
cmp dword [0x18010ff1c], 0
mov dword [rsp + 0x24], r12d
jne 0x18002aa0f
mov edx, 1
lea r9, [rbp + 0x70]
xor r8d, r8d
movsxd rax, edx
lea ecx, [rdx + rdx]
xor ecx, edx
mov byte [r9 + 0xff], dl
mov byte [r9], dl
lea r9, [r9 + 1]
mov edx, ecx
xor edx, 0x11b
mov byte [rsp + rax + 0x70], r8b
inc r8d
cmp ecx, 0xff
cmovle edx, ecx
cmp r8d, 0xff
jl 0x18002a840
xor r9d, r9d
lea r10, [0x18010ee20]
mov r11d, 0x100
test r9d, r9d
je 0x18002a8a2
movzx eax, byte [rsp + r9 + 0x70]
lea rcx, [rbp + 0x16f]
sub rcx, rax
movzx edx, byte [rcx]
jmp 0x18002a8a4
xor edx, edx
lea eax, [rdx + rdx]
xor eax, edx
add eax, eax
xor eax, edx
add eax, eax
xor eax, edx
add eax, eax
xor edx, eax
mov eax, edx
xor eax, 0x6300
shr eax, 8
xor eax, edx
movzx eax, al
mov byte [r9 + r14], al
mov byte [rax + r10], r9b
inc r9d
cmp r9d, r11d
jl 0x18002a888
movzx r14d, byte [rsp + 0x7e]
lea r9, [0x180110320]
movzx r15d, byte [rsp + 0x7d]
mov rsi, r11
movzx r12d, byte [rsp + 0x7b]
movzx r13d, byte [rsp + 0x79]
movzx eax, byte [r10]
test al, al
je 0x18002a964
movzx edx, byte [rsp + rax + 0x70]
lea eax, [rdx + r15]
movzx r8d, byte [rbp + rax + 0x70]
lea eax, [rdx + r13]
movzx ecx, byte [rbp + rax + 0x70]
lea eax, [rdx + r12]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rbp + rax + 0x70]
shl ecx, 0x18
lea eax, [rdx + r14]
shl r8d, 8
or r8d, ecx
movzx ecx, byte [rbp + rax + 0x70]
or r8d, ecx
mov eax, r8d
mov dword [r9 - 0x400], r8d
rol eax, 8
mov dword [r9], eax
mov eax, r8d
rol eax, 0x10
ror r8d, 8
mov dword [r9 + 0x800], r8d
mov dword [r9 + 0x400], eax
inc r10
add r9, 4
sub rsi, 1
jne 0x18002a8f6
movzx esi, byte [rsp + 0x73]
lea r10, [0x18010ed20]
movzx r14d, byte [rsp + 0x72]
lea r9, [0x18010f320]
movzx r15d, byte [rsp + 0x71]
movzx eax, byte [r10]
test al, al
je 0x18002a9f4
movzx ecx, byte [rsp + rax + 0x70]
lea eax, [rcx + r15]
movzx edx, byte [rbp + rax + 0x70]
lea eax, [rcx + rsi]
movzx r8d, byte [rbp + rax + 0x70]
lea eax, [rcx + r14]
movzx ecx, byte [rbp + rax + 0x70]
mov eax, edx
shl eax, 8
or eax, edx
shl r8d, 0x18
shl eax, 8
or r8d, ecx
or r8d, eax
mov eax, r8d
mov dword [r9 - 0x400], r8d
rol eax, 8
mov dword [r9], eax
mov eax, r8d
rol eax, 0x10
ror r8d, 8
mov dword [r9 + 0x800], r8d
mov dword [r9 + 0x400], eax
inc r10
add r9, 4
sub r11, 1
jne 0x18002a990
mov r8d, dword [rsp + 0x20]
lea r12d, [rbx + 6]
mov rsi, qword [rsp + 0x30]
lea eax, [r8 - 0x80]
test eax, 0xffffff3f
jne 0x18002adcf
cmp r8d, 0x140
je 0x18002adcf
lea r14d, [rbx*4]
mov dword [rdi + 0x110], r12d
movsxd r15, r14d
lea rcx, [rsp + 0x38]
mov r8, r15
mov qword [rsp + 0x30], r15
mov rdx, rsi
call fcn.1800a5250
mov r8, r15
mov rdx, rsi
mov rcx, rdi
call fcn.1800a5250
lea r13d, [r12 + 1]
shl r13d, 4
cmp r14d, r13d
jge 0x18002ab75
movsxd rax, ebx
lea r12, [0x1800d04a0]
mov esi, 1
lea r15, [rax*4 - 4]
lea rax, [rsp + 0x38]
sub rsi, rax
lea rcx, [rsp + 0x38]
mov edx, 4
lea r9, [0x18010ed20]
lea rax, [rsi + rcx]
and eax, 3
lea rcx, [rcx + 1]
add rax, r15
movzx eax, byte [rsp + rax + 0x38]
movzx eax, byte [rax + r9]
xor byte [rcx - 1], al
sub rdx, 1
jne 0x18002aaa2
movzx eax, byte [r12]
mov r8d, 1
xor byte [rsp + 0x38], al
inc r12
cmp ebx, r8d
jle 0x18002ab48
nop word [rax + rax]
cmp ebx, 8
jne 0x18002ab18
cmp r8d, 4
jne 0x18002ab18
lea rcx, [rsp + 0x48]
mov edx, r8d
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx - 4]
lea rcx, [rcx + 1]
movzx eax, byte [rax + r9]
xor byte [rcx - 1], al
sub rdx, 1
jne 0x18002ab00
jmp 0x18002ab40
lea rdx, [rsp + 0x38]
mov eax, r8d
lea rax, [rdx + rax*4]
mov edx, 4
nop dword [rax]
movzx ecx, byte [rax - 4]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x18002ab30
inc r8d
cmp r8d, ebx
jl 0x18002aae0
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
movsxd rcx, r14d
add rcx, rdi
call fcn.1800a5250
lea eax, [rbx*4]
add r14d, eax
cmp r14d, r13d
jl 0x18002aa91
mov r12d, dword [rsp + 0x24]
cmp dword [rsp + 0x28], 0
je 0x18002ad95
cmp r12d, 1
jle 0x18002adcb
add rdi, 0x10
lea r9d, [r12 - 1]
lea r11, [0x18010ff20]
lea r10, [0x18010ed20]
nop dword [rax]
nop word [rax + rax]
movups xmm1, xmmword [rdi]
movdqa xmm0, xmm1
psrldq xmm0, 1
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 2
movzx ecx, al
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 3
movzx edx, byte [rcx + r10]
movzx ecx, al
mov r8d, dword [r11 + rdx*4 + 0x400]
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4 + 0x800]
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 5
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4 + 0xc00]
movd eax, xmm1
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4]
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 6
mov dword [rsp + 0x38], r8d
movzx ecx, al
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 7
movzx edx, byte [rcx + r10]
movzx ecx, al
mov r8d, dword [r11 + rdx*4 + 0x400]
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4 + 0x800]
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4 + 0xc00]
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 9
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4]
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 0xa
mov dword [rsp + 0x3c], r8d
movzx ecx, al
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 0xb
movzx edx, byte [rcx + r10]
movzx ecx, al
mov r8d, dword [r11 + rdx*4 + 0x400]
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4 + 0x800]
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4 + 0xc00]
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 0xd
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4]
movd eax, xmm0
movdqa xmm0, xmm1
mov dword [rsp + 0x40], r8d
psrldq xmm0, 0xe
movzx ecx, al
movzx edx, byte [rcx + r10]
mov r8d, dword [r11 + rdx*4 + 0x400]
lea rdi, [rdi + 0x10]
movd eax, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 0xf
psrldq xmm1, 0xc
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4 + 0x800]
movd eax, xmm0
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4 + 0xc00]
movd eax, xmm1
movzx ecx, al
movzx eax, byte [rcx + r10]
xor r8d, dword [r11 + rax*4]
mov dword [rsp + 0x44], r8d
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdi - 0x10], xmm0
sub r9, 1
jne 0x18002abb0
xor eax, eax
jmp 0x18002add4
lea ecx, [r12 + 1]
sar ecx, 1
test ecx, ecx
jle 0x18002adcb
movsxd rax, r12d
shl rax, 4
add rax, rdi
nop word [rax + rax]
movups xmm0, xmmword [rdi]
lea rdi, [rdi + 0x10]
movups xmm1, xmmword [rax]
movups xmmword [rax], xmm0
lea rax, [rax - 0x10]
movups xmmword [rdi - 0x10], xmm1
sub rcx, 1
jne 0x18002adb0
xor eax, eax
jmp 0x18002add4
mov eax, 0xffffffea
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1800a4400
mov rbx, qword [rsp + 0x3d8]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret