Function at 0x1801a9f10
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [0x1802b7c00]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov rax, qword [rcx + 0x10]
lea r11, [rbp - 0x7a]
mov qword [rsp + 0x30], rax
lea rbx, [rbp - 0x72]
mov qword [rbp + 0x200], rax
lea rdi, [rbp - 0x6a]
mov rax, qword [rcx + 0x18]
lea rsi, [rbp - 0x62]
mov qword [rsp + 0x38], rax
lea r14, [rbp - 0x5a]
mov qword [rbp + 0x208], rax
lea r15, [rbp - 0x52]
mov rax, qword [rcx + 0x20]
lea r12, [rbp - 0x4a]
mov qword [rsp + 0x40], rax
lea r13, [rsp + 0x7e]
mov qword [rbp + 0x210], rax
xor r10d, r10d
mov rax, qword [rcx + 0x28]
sub r11, rdx
mov qword [rsp + 0x48], rax
sub rbx, rdx
mov qword [rbp + 0x218], rax
sub rdi, rdx
mov rax, qword [rcx + 0x30]
sub rsi, rdx
mov qword [rsp + 0x50], rax
sub r14, rdx
mov qword [rbp + 0x220], rax
sub r15, rdx
mov rax, qword [rcx + 0x38]
sub r12, rdx
mov qword [rsp + 0x58], rax
mov r9, rdx
mov qword [rbp + 0x228], rax
sub r13, rdx
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rbp + 0x230], rax
mov rax, qword [rcx + 0x48]
mov qword [rsp + 0x68], rax
mov qword [rbp + 0x238], rax
lea rax, [rdx + 2]
mov qword [rsp + 0x20], rcx
lea ecx, [r10*8]
movsxd rdx, ecx
movzx ecx, byte [rax - 1]
movzx r8d, byte [rdx + r9]
movzx edx, byte [rax + 6]
shl rdx, 8
shl r8, 8
or r8, rcx
movzx ecx, byte [rax]
shl r8, 8
or r8, rcx
movzx ecx, byte [rax + 1]
shl r8, 8
or r8, rcx
movzx ecx, byte [rax + 2]
shl r8, 8
or r8, rcx
movzx ecx, byte [rax + 3]
shl r8, 8
or r8, rcx
movzx ecx, byte [rax + 4]
shl r8, 8
or r8, rcx
movzx ecx, byte [rax + 5]
shl r8, 8
or r8, rcx
movzx ecx, byte [rax + 7]
or rdx, rcx
mov qword [rax + r13], r8
movzx ecx, byte [rax + 8]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 9]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0xa]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0xb]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0xc]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0xd]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0xf]
mov qword [r11 + rax], rdx
movzx edx, byte [rax + 0xe]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x10]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x11]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x12]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x13]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x14]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x15]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x17]
mov qword [rbx + rax], rdx
movzx edx, byte [rax + 0x16]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x18]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x19]
shl rdx, 8
or rdx, rcx
shl rdx, 8
movzx ecx, byte [rax + 0x1a]
or rdx, rcx
movzx ecx, byte [rax + 0x1b]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x1c]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x1d]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x1f]
mov qword [rdi + rax], rdx
movzx edx, byte [rax + 0x1e]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x20]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x21]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x22]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x23]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x24]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x25]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x27]
mov qword [rax + rsi], rdx
movzx edx, byte [rax + 0x26]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x28]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x29]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x2a]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x2b]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x2c]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x2d]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x2f]
mov qword [rax + r14], rdx
movzx edx, byte [rax + 0x2e]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x30]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x31]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x32]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x33]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x34]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x35]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax + 0x37]
add r10d, 8
mov qword [rax + r15], rdx
movzx edx, byte [rax + 0x36]
lea rax, [rax + 0x40]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax - 8]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax - 7]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax - 6]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax - 5]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax - 4]
shl rdx, 8
or rdx, rcx
movzx ecx, byte [rax - 3]
shl rdx, 8
or rdx, rcx
mov qword [rax + r12 - 0x40], rdx
cmp r10d, 0x10
jl 0x1801aa010
mov r15, qword [rbp - 0x10]
lea r10, [rbp - 0x10]
mov r12d, 8
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [r10 - 0x68]
lea r14, [r10]
mov rdi, qword [r14 + 8]
mov rsi, r8
mov r9, qword [r14 - 0x58]
mov rax, r8
mov r11, qword [r14 - 0x50]
mov rcx, r15
ror rax, 1
mov rdx, rdi
ror rdx, 0x3d
ror rcx, 0x3d
ror rsi, 8
xor rsi, rax
mov rax, r8
shr rax, 7
xor rsi, rax
mov rax, r15
ror rax, 0x13
xor rcx, rax
mov rax, r15
shr rax, 6
xor rcx, rax
mov rax, rdi
ror rax, 0x13
add rsi, rcx
add rsi, qword [r10 - 0x70]
xor rdx, rax
add rsi, qword [r10 - 0x28]
mov rax, rdi
shr rax, 6
xor rdx, rax
mov qword [r10 + 0x10], rsi
mov r10, qword [r10 - 0x60]
mov rcx, r10
mov rax, r10
ror rax, 1
ror rcx, 8
xor rcx, rax
mov rax, r10
shr rax, 7
xor rcx, rax
mov rax, r9
add rdx, rcx
ror rax, 1
add rdx, qword [r14 - 0x20]
mov rcx, rsi
add r8, rdx
ror rcx, 0x3d
mov rdx, r9
mov qword [r14 + 0x18], r8
ror rdx, 8
xor rdx, rax
mov rax, r9
shr rax, 7
xor rdx, rax
mov rax, rsi
ror rax, 0x13
xor rcx, rax
mov rax, rsi
shr rax, 6
xor rcx, rax
mov rax, r11
add rdx, rcx
ror rax, 1
add rdx, qword [r14 - 0x18]
mov rcx, r8
add r10, rdx
ror rcx, 0x3d
mov rdx, r11
mov qword [r14 + 0x20], r10
ror rdx, 8
xor rdx, rax
mov rax, r11
shr rax, 7
xor rdx, rax
mov rax, r8
ror rax, 0x13
xor rcx, rax
shr r8, 6
xor r8, rcx
mov rbx, qword [r14 - 0x38]
add r8, rdx
add r8, qword [r14 - 0x10]
mov rcx, r10
add r8, r9
ror rcx, 0x3d
mov r9, qword [r14 - 0x48]
mov rdx, r9
mov qword [r14 + 0x28], r8
ror rdx, 8
mov rax, r9
ror rax, 1
xor rdx, rax
mov rax, r9
shr rax, 7
xor rdx, rax
mov rax, r10
ror rax, 0x13
xor rcx, rax
shr r10, 6
xor rcx, r10
mov rax, r8
mov r10, qword [r14 - 0x40]
add rdx, rcx
add rdx, qword [r14 - 8]
mov rcx, r10
ror rax, 0x13
add r11, rdx
ror rcx, 8
mov rdx, r8
ror rdx, 0x3d
xor rdx, rax
shr r8, 6
xor rdx, r8
mov qword [r14 + 0x30], r11
mov r8, qword [r14 - 0x30]
add r9, rdx
mov rax, r10
mov rdx, rbx
ror rax, 1
xor rcx, rax
ror rdx, 8
mov rax, r10
shr rax, 7
xor rcx, rax
mov rax, rbx
ror rax, 1
add r9, rcx
xor rdx, rax
add r9, r15
mov r15, r11
mov qword [r14 + 0x38], r9
ror r15, 0x3d
mov rcx, r8
ror rcx, 8
mov rax, rbx
shr rax, 7
xor rdx, rax
mov rax, r11
ror rax, 0x13
xor r15, rax
shr r11, 6
xor r15, r11
lea rax, [r10 + rdx]
mov rdx, r9
add r15, rax
ror rdx, 0x3d
mov rax, r9
lea r10, [r14 + 0x40]
ror rax, 0x13
add r15, rdi
xor rdx, rax
shr r9, 6
mov rax, r8
mov qword [r10], r15
ror rax, 1
xor rdx, r9
xor rcx, rax
shr r8, 7
xor rcx, r8
lea rax, [rsi + rdx]
add rcx, rax
add rcx, rbx
mov qword [r14 + 0x48], rcx
sub r12, 1
jne 0x1801aa2f0
mov rdi, qword [rbp + 0x238]
lea r9, [0x18022d1f0]
mov r14, qword [rbp + 0x228]
mov r15, qword [rbp + 0x220]
mov r10, qword [rbp + 0x218]
mov rsi, qword [rbp + 0x210]
mov r11, qword [rbp + 0x208]
mov rbx, qword [rbp + 0x200]
mov r13, qword [rbp + 0x230]
nop dword [rax]
movsxd rax, r12d
mov r8, r15
shr r8, 0x29
mov rcx, r15
shl rcx, 0x2e
inc r12d
lea rdx, [rax*8]
mov rax, r15
shl rax, 0x17
or r8, rax
mov rax, r15
shr rax, 0x12
or rcx, rax
mov rax, r15
shr rax, 0xe
xor r8, rcx
mov rcx, r15
shl rcx, 0x32
or rcx, rax
mov rax, r14
xor rax, r13
xor r8, rcx
and rax, r15
mov rcx, rbx
xor rax, r13
shr rcx, 0x22
add r8, rax
mov rax, rbx
add r8, qword [rdx + r9]
add r8, qword [rbp + rdx - 0x80]
mov rdx, rbx
shr rax, 0x1c
shl rdx, 0x24
or rdx, rax
mov rax, rbx
shl rax, 0x1e
lea r9, [r8 + rdi]
or rcx, rax
mov qword [rsp + 0x70], r9
xor rdx, rcx
add r10, r9
mov rcx, rbx
mov qword [rbp + 0x218], r10
shr rcx, 0x27
mov rax, rbx
shl rax, 0x19
mov r8, r10
or rcx, rax
ror r8, 0x29
xor rdx, rcx
mov rax, r11
and rax, rbx
mov rcx, r11
or rcx, rbx
and rcx, rsi
or rax, rcx
add rax, rdx
mov qword [rsp + 0x78], rax
lea rdi, [rax + r9]
movsxd rax, r12d
mov qword [rbp + 0x238], rdi
mov rdx, rdi
lea rcx, [rax*8]
mov rax, r10
ror rax, 0x12
xor r8, rax
mov rax, r10
ror rax, 0xe
xor r8, rax
mov rax, r14
xor rax, r15
and rax, r10
xor rax, r14
add r8, rax
lea rax, [0x18022d1f0]
add r8, qword [rcx + rax]
mov rax, rdi
add r8, qword [rbp + rcx - 0x80]
add r8, r13
mov qword [rsp + 0x70], r8
ror rdx, 0x27
ror rax, 0x22
lea r9, [r8 + rsi]
xor rdx, rax
mov qword [rbp + 0x210], r9
inc r12d
lea r13, [0x18022d1f0]
mov rax, rdi
mov rcx, rdi
ror rax, 0x1c
or rcx, rbx
xor rdx, rax
and rcx, r11
mov rax, rdi
and rax, rbx
or rax, rcx
add rax, rdx
mov qword [rsp + 0x78], rax
lea rsi, [rax + r8]
movsxd rax, r12d
mov qword [rbp + 0x230], rsi
mov r8, r9
ror r8, 0x29
inc r12d
mov rdx, rsi
lea rcx, [rax*8]
ror rdx, 0x27
mov rax, r9
ror rax, 0x12
xor r8, rax
mov rax, r9
ror rax, 0xe
xor r8, rax
mov rax, r10
xor rax, r15
and rax, r9
xor rax, r15
add r8, rax
mov rax, rsi
add r8, qword [rcx + r13]
add r8, qword [rbp + rcx - 0x80]
mov rcx, rsi
ror rax, 0x22
add r8, r14
xor rdx, rax
mov qword [rsp + 0x70], r8
add r11, r8
or rcx, rdi
and rcx, rbx
mov qword [rbp + 0x208], r11
mov rax, rsi
ror rax, 0x1c
xor rdx, rax
mov rax, rsi
and rax, rdi
or rax, rcx
add rax, rdx
mov qword [rsp + 0x78], rax
lea r14, [rax + r8]
movsxd rax, r12d
mov r8, r11
mov qword [rbp + 0x228], r14
ror r8, 0x29
mov rdx, r14
lea rcx, [rax*8]
mov rax, r11
ror rax, 0x12
xor r8, rax
mov rax, r11
ror rax, 0xe
xor r8, rax
mov rax, r9
xor rax, r10
and rax, r11
xor rax, r10
add r8, rax
mov rax, r14
add r8, qword [rcx + r13]
add r8, qword [rbp + rcx - 0x80]
add r8, r15
mov qword [rsp + 0x70], r8
ror rdx, 0x27
ror rax, 0x22
add rbx, r8
xor rdx, rax
mov qword [rbp + 0x200], rbx
inc r12d
mov rax, r14
ror rax, 0x1c
mov rcx, r14
xor rdx, rax
or rcx, rsi
and rcx, rdi
mov rax, r14
and rax, rsi
or rax, rcx
add rax, rdx
mov qword [rsp + 0x78], rax
lea r15, [r8 + rax]
movsxd rax, r12d
mov qword [rbp + 0x220], r15
mov r8, rbx
ror r8, 0x29
inc r12d
mov rdx, r15
lea rcx, [rax*8]
ror rdx, 0x27
mov rax, rbx
ror rax, 0x12
xor r8, rax
mov rax, rbx
ror rax, 0xe
xor r8, rax
mov rax, r11
xor rax, r9
and rax, rbx
xor rax, r9
add r8, rax
mov rax, r15
add r8, qword [rcx + r13]
add r8, qword [rbp + rcx - 0x80]
mov rcx, r15
ror rax, 0x22
add r8, r10
xor rdx, rax
mov qword [rsp + 0x70], r8
add rdi, r8
or rcx, r14
and rcx, rsi
mov qword [rbp + 0x238], rdi
mov rax, r15
ror rax, 0x1c
xor rdx, rax
mov rax, r15
and rax, r14
or rax, rcx
add rax, rdx
mov qword [rsp + 0x78], rax
lea r10, [r8 + rax]
movsxd rax, r12d
mov r8, rdi
mov qword [rbp + 0x218], r10
ror r8, 0x29
mov rdx, r10
ror rdx, 0x27
lea rcx, [rax*8]
mov rax, rdi
ror rax, 0x12
xor r8, rax
mov rax, rdi
ror rax, 0xe
xor r8, rax
mov rax, rbx
xor rax, r11
and rax, rdi
xor rax, r11
add r8, rax
mov rax, r10
add r8, qword [rcx + r13]
add r8, qword [rbp + rcx - 0x80]
add r8, r9
mov qword [rsp + 0x70], r8
ror rax, 0x22
xor rdx, rax
lea r13, [r8 + rsi]
inc r12d
mov qword [rbp + 0x230], r13
mov rax, r10
lea r9, [0x18022d1f0]
ror rax, 0x1c
mov rcx, r15
xor rdx, rax
or rcx, r10
and rcx, r14
mov rax, r15
and rax, r10
or rax, rcx
add rax, rdx
mov qword [rsp + 0x78], rax
lea rsi, [r8 + rax]
movsxd rax, r12d
mov qword [rbp + 0x210], rsi
mov r8, r13
ror r8, 0x29
inc r12d
mov rdx, rsi
lea rcx, [rax*8]
ror rdx, 0x27
mov rax, r13
ror rax, 0x12
xor r8, rax
mov rax, r13
ror rax, 0xe
xor r8, rax
mov rax, rbx
xor rax, rdi
and rax, r13
xor rax, rbx
add r8, rax
mov rax, rsi
add r8, qword [rcx + r9]
add r8, qword [rbp + rcx - 0x80]
mov rcx, rsi
ror rax, 0x22
add r8, r11
xor rdx, rax
mov qword [rsp + 0x70], r8
add r14, r8
or rcx, r10
and rcx, r15
mov qword [rbp + 0x228], r14
mov rax, rsi
ror rax, 0x1c
xor rdx, rax
mov rax, rsi
and rax, r10
or rax, rcx
add rax, rdx
mov qword [rsp + 0x78], rax
lea r11, [rax + r8]
movsxd rax, r12d
mov r8, r14
mov qword [rbp + 0x208], r11
ror r8, 0x29
mov rdx, r11
ror rdx, 0x27
lea rcx, [rax*8]
mov rax, r14
ror rax, 0x12
xor r8, rax
mov rax, r14
ror rax, 0xe
xor r8, rax
mov rax, rdi
xor rax, r13
and rax, r14
xor rax, rdi
add r8, rax
mov rax, r11
add r8, qword [rcx + r9]
add r8, qword [rbp + rcx - 0x80]
add r8, rbx
mov qword [rsp + 0x70], r8
ror rax, 0x22
xor rdx, rax
add r15, r8
mov rax, r11
mov qword [rbp + 0x220], r15
ror rax, 0x1c
mov rcx, r11
xor rdx, rax
or rcx, rsi
and rcx, r10
mov rax, r11
and rax, rsi
inc r12d
or rax, rcx
add rax, rdx
mov qword [rsp + 0x78], rax
lea rbx, [rax + r8]
mov qword [rbp + 0x200], rbx
cmp r12d, 0x50
jl 0x1801aa570
mov r13, qword [rsp + 0x20]
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x30]
mov edx, 0x2d0
add rax, rbx
mov qword [r13 + 0x10], rax
mov rax, qword [rsp + 0x38]
add rax, r11
mov qword [r13 + 0x18], rax
mov rax, qword [rsp + 0x40]
add rax, rsi
mov qword [r13 + 0x20], rax
mov rax, qword [rsp + 0x48]
add rax, r10
mov qword [r13 + 0x28], rax
mov rax, qword [rsp + 0x50]
add rax, r15
mov qword [r13 + 0x30], rax
mov rax, qword [rsp + 0x58]
add rax, r14
mov qword [r13 + 0x38], rax
mov rax, qword [rbp + 0x230]
add rax, qword [rsp + 0x60]
mov qword [r13 + 0x40], rax
mov rax, qword [rsp + 0x68]
add rax, rdi
mov qword [r13 + 0x48], rax
call fcn.1801913a0
xor eax, eax
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.1801fc6e0
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret