Function at 0x140020ba0
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 [0x140067040]
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, 8
mov r11d, r8d
shr edi, 0x10
dec esi
shr r9d, 8
shr r10d, 0x18
shr r15d, 8
shr r12d, 0x18
shr r11d, 0x10
shr r13d, 0x18
mov dword [rsp + 4], edx
test esi, esi
jle 0x140020ef5
mov ecx, edx
nop dword [rax + rax]
movzx ecx, cl
lea r9, [0x140000000]
mov edx, ebx
shr rdx, 0x18
mov edx, dword [r9 + rdx*4 + 0x6b470]
xor edx, dword [r9 + rcx*4 + 0x6c1a0]
movzx ecx, r11b
xor edx, dword [r9 + rcx*4 + 0x6d1a0]
movzx ecx, r14b
xor edx, dword [r9 + rcx*4 + 0x6c5a0]
mov ecx, r14d
xor edx, dword [rax]
shr ecx, 8
mov r11d, edx
movzx edx, cl
movzx ecx, bl
mov r10d, dword [r9 + rdx*4 + 0x6c1a0]
xor r10d, dword [r9 + rcx*4 + 0x6c5a0]
movzx ecx, byte [rsp]
xor r10d, dword [r9 + rcx*4 + 0x6d1a0]
movzx ecx, r12b
xor r10d, dword [r9 + rcx*4 + 0x6b470]
mov ecx, ebx
xor r10d, dword [rax + 4]
shr ecx, 8
movzx edi, cl
mov ecx, r14d
shr ecx, 0x10
movzx edx, cl
shr ebx, 0x10
mov edi, dword [r9 + rdi*4 + 0x6c1a0]
movzx ecx, r13b
lea r13, [0x140000000]
xor edi, dword [r9 + rdx*4 + 0x6d1a0]
movzx edx, bl
xor edi, dword [r13 + rcx*4 + 0x6b470]
movzx ecx, r8b
mov edx, dword [r13 + rdx*4 + 0x6d1a0]
xor edi, dword [r13 + rcx*4 + 0x6c5a0]
xor edi, dword [rax + 8]
mov ecx, r14d
shr rcx, 0x18
mov r9d, edi
xor edx, dword [r13 + rcx*4 + 0x6b470]
movzx ecx, bpl
xor edx, dword [r13 + rcx*4 + 0x6c5a0]
movzx ecx, r15b
xor edx, dword [r13 + rcx*4 + 0x6c1a0]
xor edx, dword [rax + 0xc]
mov ecx, edx
mov r8d, edx
shr ecx, 8
movzx edi, cl
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
mov ecx, r10d
shr rcx, 0x18
mov r14d, dword [r13 + rdi*4 + 0x6c1a0]
xor r14d, dword [r13 + rdx*4 + 0x6d1a0]
xor r14d, dword [r13 + rcx*4 + 0x6b470]
movzx ecx, r11b
xor r14d, dword [r13 + rcx*4 + 0x6c5a0]
mov ecx, r11d
xor r14d, dword [rax + 0x10]
shr ecx, 8
movzx edi, cl
mov ecx, r8d
shr ecx, 0x10
movzx edx, cl
mov ecx, r9d
shr rcx, 0x18
mov ebx, dword [r13 + rdi*4 + 0x6c1a0]
xor ebx, dword [r13 + rdx*4 + 0x6d1a0]
xor ebx, dword [r13 + rcx*4 + 0x6b470]
movzx ecx, r10b
xor ebx, dword [r13 + rcx*4 + 0x6c5a0]
xor ebx, dword [rax + 0x14]
mov ecx, ebx
shr ecx, 0x10
mov dword [rsp + 0x20], ecx
mov ecx, ebx
dec esi
shr ecx, 8
mov dword [rsp + 0x14], ecx
mov ecx, ebx
shr ecx, 0x18
mov dword [rsp + 8], ecx
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
mov ecx, r8d
shr rcx, 0x18
shr r11, 0x18
mov edi, dword [r13 + rdx*4 + 0x6d1a0]
xor edi, dword [r13 + rcx*4 + 0x6b470]
mov ecx, r10d
shr ecx, 8
movzx edx, cl
movzx ecx, r9b
shr r9d, 8
shr r10d, 0x10
xor edi, dword [r13 + rdx*4 + 0x6c1a0]
xor edi, dword [r13 + rcx*4 + 0x6c5a0]
xor edi, dword [rax + 0x18]
mov edx, dword [r13 + r11*4 + 0x6b470]
mov r12d, edi
movzx ecx, r9b
mov r15d, edi
shr r12d, 0x10
mov ebp, edi
shr ebp, 0x18
movzx r11d, r12b
shr r15d, 8
xor edx, dword [r13 + rcx*4 + 0x6c1a0]
movzx ecx, r10b
mov dword [rsp + 4], r12d
movzx r12d, bpl
mov dword [rsp + 0x10], ebp
mov dword [rsp + 0x1c], r15d
xor edx, dword [r13 + rcx*4 + 0x6d1a0]
movzx ecx, r8b
xor edx, dword [r13 + rcx*4 + 0x6c5a0]
xor edx, dword [rax + 0x1c]
add rax, 0x20
mov r9d, edx
mov r8d, edx
shr r8d, 0x10
mov r10d, edx
shr r9d, 0x18
movzx ebp, dl
shr r10d, 8
movzx r13d, r9b
mov dword [rsp + 0xc], r8d
movzx ecx, r10b
mov byte [rsp], r8b
movzx r8d, dil
mov dword [rsp + 0x18], r9d
test esi, esi
jg 0x140020c50
mov ecx, dword [rsp + 0xc]
movzx esi, r10b
movzx r10d, byte [rsp + 8]
movzx r11d, byte [rsp + 4]
movzx r12d, byte [rsp + 0x10]
movzx r9d, byte [rsp + 0x14]
movzx r13d, byte [rsp + 0x18]
movzx edi, byte [rsp + 0x20]
mov byte [rsp], cl
jmp 0x140020ef9
mov esi, dword [rsp + 4]
movzx edx, r10b
lea r10, [0x140000000]
movzx ecx, r11b
mov edx, dword [r10 + rdx*4 + 0x6b470]
xor edx, dword [r10 + rcx*4 + 0x6d1a0]
movzx ecx, sil
xor edx, dword [r10 + rcx*4 + 0x6c1a0]
movzx ecx, r14b
xor edx, dword [r10 + rcx*4 + 0x6c5a0]
mov ecx, r14d
xor edx, dword [rax]
shr ecx, 8
mov esi, edx
movzx edx, cl
movzx ecx, r12b
lea r12, [0x140000000]
mov edx, dword [r12 + rdx*4 + 0x6c1a0]
xor edx, dword [r12 + rcx*4 + 0x6b470]
movzx ecx, byte [rsp]
xor edx, dword [r12 + rcx*4 + 0x6d1a0]
movzx ecx, bl
xor edx, dword [r12 + rcx*4 + 0x6c5a0]
mov ecx, r14d
xor edx, dword [rax + 4]
shr ecx, 0x10
mov ebx, edx
movzx edx, cl
movzx ecx, r13b
mov r11d, dword [r12 + rdx*4 + 0x6d1a0]
xor r11d, dword [r12 + rcx*4 + 0x6b470]
movzx ecx, r9b
mov edx, r14d
shr rdx, 0x18
xor r11d, dword [r12 + rcx*4 + 0x6c1a0]
movzx ecx, r8b
mov r9d, dword [r12 + rdx*4 + 0x6b470]
xor r11d, dword [r12 + rcx*4 + 0x6c5a0]
xor r11d, dword [rax + 8]
movzx ecx, dil
xor r9d, dword [r12 + rcx*4 + 0x6d1a0]
movzx ecx, r15b
xor r9d, dword [r12 + rcx*4 + 0x6c1a0]
movzx ecx, bpl
xor r9d, dword [r12 + rcx*4 + 0x6c5a0]
mov ecx, ebx
xor r9d, dword [rax + 0xc]
shr rcx, 0x18
movzx r10d, byte [rcx + r12 + 0x6b870]
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
shl r10d, 8
movzx ecx, byte [rdx + r12 + 0x6b870]
xor r10d, ecx
mov ecx, r9d
shr ecx, 8
movzx edx, cl
shl r10d, 8
movzx ecx, byte [rdx + r12 + 0x6b870]
xor r10d, ecx
movzx ecx, sil
shl r10d, 8
movzx ecx, byte [rcx + r12 + 0x6b870]
xor r10d, ecx
mov ecx, r11d
xor r10d, dword [rax + 0x10]
shr rcx, 0x18
movzx r8d, byte [rcx + r12 + 0x6b870]
mov ecx, r9d
shr ecx, 0x10
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r12 + 0x6b870]
xor r8d, ecx
mov ecx, esi
shr ecx, 8
shl r8d, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0x6b870]
xor r8d, ecx
shl r8d, 8
movzx ecx, bl
movzx ecx, byte [rcx + r12 + 0x6b870]
xor r8d, ecx
mov ecx, r9d
xor r8d, dword [rax + 0x14]
shr rcx, 0x18
movzx edi, byte [rcx + r12 + 0x6b870]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
shl edi, 8
shr rsi, 0x18
movzx ecx, byte [rdx + r12 + 0x6b870]
xor edi, ecx
mov ecx, ebx
shr ecx, 8
movzx edx, cl
shl edi, 8
shr ebx, 0x10
movzx ecx, byte [rdx + r12 + 0x6b870]
movzx edx, byte [rsi + r12 + 0x6b870]
xor edi, ecx
shl edx, 8
shl edi, 8
movzx ecx, r11b
shr r11d, 8
movzx ecx, byte [rcx + r12 + 0x6b870]
xor edi, ecx
movzx ecx, bl
xor edi, dword [rax + 0x18]
movzx ecx, byte [rcx + r12 + 0x6b870]
xor edx, ecx
movzx ecx, r11b
shl edx, 8
movzx ecx, byte [rcx + r12 + 0x6b870]
xor edx, ecx
movzx ecx, r9b
shl edx, 8
movzx ecx, byte [rcx + r12 + 0x6b870]
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.1400236d0
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