Function at 0x140020590
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov ebp, dword [rdx + 0xc]
mov r14d, dword [rdx]
mov ebx, dword [rdx + 4]
mov rax, qword [rcx + 8]
xor ebp, dword [rcx + rax*4 + 0x1c]
lea rax, [rcx + rax*4]
xor ebx, dword [rax + 0x14]
mov r13d, ebp
xor r14d, dword [rax + 0x10]
mov edi, ebx
mov esi, dword [rcx]
mov r9d, ebx
mov qword [rsp + 0x28], r8
mov r10d, ebx
mov r8d, dword [rdx + 8]
mov edx, ebp
xor r8d, dword [rax + 0x18]
add rax, 0x20
shr edx, 0x10
mov r15d, r8d
mov dword [rsp], edx
mov r12d, r8d
sar esi, 1
mov edx, ebp
shr edx, 0x18
mov r11d, r8d
shr edi, 0x10
dec esi
shr r9d, 0x18
shr r10d, 8
shr r15d, 0x18
shr r12d, 8
shr r11d, 0x10
shr r13d, 8
mov dword [rsp + 4], edx
test esi, esi
jle 0x1400208db
nop word [rax + rax]
lea rdi, [0x140000000]
movzx edx, r10b
movzx ecx, r11b
mov r11d, dword [rdi + rdx*4 + 0x789c0]
xor r11d, dword [rdi + rcx*4 + 0x77dc0]
movzx ecx, byte [rsp + 4]
mov edx, r14d
shr rdx, 0x18
xor r11d, dword [rdi + rcx*4 + 0x779c0]
movzx ecx, r14b
mov r10d, dword [rdi + rdx*4 + 0x779c0]
xor r11d, dword [rdi + rcx*4 + 0x78dc0]
xor r11d, dword [rax]
movzx ecx, bl
xor r10d, dword [rdi + rcx*4 + 0x78dc0]
movzx ecx, byte [rsp]
xor r10d, dword [rdi + rcx*4 + 0x77dc0]
mov edi, ebx
shr ebx, 0x10
shr rdi, 0x18
movzx ecx, r12b
lea r12, [0x140000000]
mov r9d, dword [r12 + rdi*4 + 0x779c0]
xor r10d, dword [r12 + rcx*4 + 0x789c0]
mov ecx, r14d
xor r10d, dword [rax + 4]
shr ecx, 0x10
movzx edx, cl
shr r14d, 8
movzx ecx, r8b
xor r9d, dword [r12 + rdx*4 + 0x77dc0]
movzx edx, bl
xor r9d, dword [r12 + rcx*4 + 0x78dc0]
movzx ecx, r13b
mov edx, dword [r12 + rdx*4 + 0x77dc0]
xor r9d, dword [r12 + rcx*4 + 0x789c0]
xor r9d, dword [rax + 8]
movzx ecx, r14b
xor edx, dword [r12 + rcx*4 + 0x789c0]
movzx ecx, r15b
xor edx, dword [r12 + rcx*4 + 0x779c0]
movzx ecx, bpl
xor edx, dword [r12 + rcx*4 + 0x78dc0]
mov ecx, r9d
xor edx, dword [rax + 0xc]
shr ecx, 0x10
mov edi, edx
mov r8d, edx
movzx edx, cl
mov ecx, r10d
shr ecx, 8
shr rdi, 0x18
mov r14d, dword [r12 + rdi*4 + 0x779c0]
xor r14d, dword [r12 + rdx*4 + 0x77dc0]
movzx edx, cl
movzx ecx, r11b
xor r14d, dword [r12 + rdx*4 + 0x789c0]
xor r14d, dword [r12 + rcx*4 + 0x78dc0]
mov ecx, r8d
xor r14d, dword [rax + 0x10]
shr ecx, 0x10
movzx edi, cl
mov ecx, r9d
shr ecx, 8
movzx edx, cl
mov ecx, r11d
shr rcx, 0x18
mov ebx, dword [r12 + rdi*4 + 0x77dc0]
xor ebx, dword [r12 + rdx*4 + 0x789c0]
xor ebx, dword [r12 + rcx*4 + 0x779c0]
movzx ecx, r10b
xor ebx, dword [r12 + rcx*4 + 0x78dc0]
xor ebx, dword [rax + 0x14]
mov ecx, ebx
mov ebp, ebx
shr ecx, 0x10
mov dword [rsp + 0x20], ecx
mov ecx, ebx
shr ecx, 0x18
mov dword [rsp + 0x18], ecx
shr ebp, 8
mov ecx, r8d
mov dword [rsp + 8], ebp
shr ecx, 8
dec esi
movzx edx, cl
mov ecx, r10d
shr rcx, 0x18
shr r10d, 0x10
mov edi, dword [r12 + rdx*4 + 0x789c0]
xor edi, dword [r12 + rcx*4 + 0x779c0]
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
movzx ecx, r9b
shr r9, 0x18
shr r11d, 8
xor edi, dword [r12 + rdx*4 + 0x77dc0]
xor edi, dword [r12 + rcx*4 + 0x78dc0]
xor edi, dword [rax + 0x18]
movzx ecx, r10b
mov r15d, edi
lea r10, [0x140000000]
shr r15d, 0x18
mov edx, dword [r10 + r9*4 + 0x779c0]
mov r12d, edi
shr r12d, 8
mov r13d, edi
xor edx, dword [r10 + rcx*4 + 0x77dc0]
shr r13d, 0x10
movzx ecx, r11b
movzx r11d, r13b
mov dword [rsp + 0xc], r13d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x14], r12d
xor edx, dword [r10 + rcx*4 + 0x789c0]
movzx ecx, r8b
xor edx, dword [r10 + rcx*4 + 0x78dc0]
movzx r10d, bpl
xor edx, dword [rax + 0x1c]
add rax, 0x20
mov ecx, edx
mov dword [rsp + 0x1c], edx
shr ecx, 8
mov r9d, edx
shr r9d, 0x10
mov r8d, edx
shr r8d, 0x18
movzx r13d, cl
mov dword [rsp + 0x10], r8d
movzx ebp, dl
mov byte [rsp + 4], r8b
movzx r8d, dil
mov byte [rsp], r9b
test esi, esi
jg 0x140020640
movzx r10d, byte [rsp + 8]
movzx r11d, byte [rsp + 0xc]
movzx edx, byte [rsp + 0x10]
movzx ebp, byte [rsp + 0x1c]
movzx edi, byte [rsp + 0x20]
mov byte [rsp], r9b
movzx r9d, byte [rsp + 0x18]
movzx edx, dl
movzx ecx, r11b
lea r11, [0x140000000]
mov esi, dword [r11 + rdx*4 + 0x779c0]
xor esi, dword [r11 + rcx*4 + 0x77dc0]
movzx ecx, r10b
mov edx, r14d
shr rdx, 0x18
xor esi, dword [r11 + rcx*4 + 0x789c0]
movzx ecx, r14b
mov edx, dword [r11 + rdx*4 + 0x779c0]
xor esi, dword [r11 + rcx*4 + 0x78dc0]
movzx ecx, byte [rsp]
xor esi, dword [rax]
xor edx, dword [r11 + rcx*4 + 0x77dc0]
movzx ecx, r12b
lea r12, [0x140000000]
xor edx, dword [r12 + rcx*4 + 0x789c0]
movzx ecx, bl
xor edx, dword [r12 + rcx*4 + 0x78dc0]
mov ecx, r14d
xor edx, dword [rax + 4]
shr ecx, 0x10
mov ebx, edx
movzx edx, cl
movzx ecx, r9b
shr r14d, 8
mov r11d, dword [r12 + rdx*4 + 0x77dc0]
xor r11d, dword [r12 + rcx*4 + 0x779c0]
movzx ecx, r13b
movzx edx, r14b
xor r11d, dword [r12 + rcx*4 + 0x789c0]
mov edx, dword [r12 + rdx*4 + 0x789c0]
movzx ecx, r8b
xor r11d, dword [r12 + rcx*4 + 0x78dc0]
xor r11d, dword [rax + 8]
movzx ecx, r15b
xor edx, dword [r12 + rcx*4 + 0x779c0]
movzx ecx, dil
xor edx, dword [r12 + rcx*4 + 0x77dc0]
movzx ecx, bpl
xor edx, dword [r12 + rcx*4 + 0x78dc0]
xor edx, dword [rax + 0xc]
mov ecx, edx
shr rcx, 0x18
mov r9d, edx
movzx r10d, byte [rcx + r12 + 0x77390]
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
shl r10d, 8
movzx ecx, byte [rdx + r12 + 0x77390]
xor r10d, ecx
mov ecx, ebx
shr ecx, 8
movzx edx, cl
shl r10d, 8
movzx ecx, byte [rdx + r12 + 0x77390]
xor r10d, ecx
movzx ecx, sil
shl r10d, 8
movzx ecx, byte [rcx + r12 + 0x77390]
xor r10d, ecx
mov ecx, esi
xor r10d, dword [rax + 0x10]
shr rcx, 0x18
movzx r8d, byte [rcx + r12 + 0x77390]
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r12 + 0x77390]
xor r8d, ecx
mov ecx, r11d
shr ecx, 8
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r12 + 0x77390]
xor r8d, ecx
movzx ecx, bl
shl r8d, 8
movzx ecx, byte [rcx + r12 + 0x77390]
xor r8d, ecx
mov ecx, ebx
xor r8d, dword [rax + 0x14]
shr rcx, 0x18
shr ebx, 0x10
movzx edi, byte [rcx + r12 + 0x77390]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
shl edi, 8
shr esi, 8
movzx ecx, byte [rdx + r12 + 0x77390]
xor edi, ecx
mov ecx, r9d
shr ecx, 8
movzx edx, cl
shl edi, 8
movzx ecx, byte [rdx + r12 + 0x77390]
xor edi, ecx
movzx ecx, r11b
shl edi, 8
shr r11, 0x18
movzx ecx, byte [rcx + r12 + 0x77390]
xor edi, ecx
movzx ecx, bl
xor edi, dword [rax + 0x18]
movzx edx, byte [r11 + r12 + 0x77390]
shl edx, 8
movzx ecx, byte [rcx + r12 + 0x77390]
xor edx, ecx
movzx ecx, sil
shl edx, 8
movzx ecx, byte [rcx + r12 + 0x77390]
xor edx, ecx
movzx ecx, r9b
shl edx, 8
movzx ecx, byte [rcx + r12 + 0x77390]
xor edx, ecx
mov ecx, 0x20
xor edx, dword [rax + 0x1c]
mov rax, qword [rsp + 0x28]
mov dword [rax + 8], edi
lea rdi, [rsp + 0x30]
mov dword [rax], r10d
mov dword [rax + 4], r8d
mov dword [rax + 0xc], edx
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002c2f0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret