Function at 0x140060da0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword [rcx + 8]
mov r12d, dword [rcx]
movzx r9d, byte [rdx + 2]
movzx ecx, byte [rdx]
movzx esi, byte [rdx + 3]
movzx edi, byte [rdx + 7]
movzx r14d, byte [rdx + 0xb]
movzx r15d, byte [rdx + 0xf]
shl esi, 8
or esi, r9d
mov qword [rbp - 0x30], r8
movzx r8d, byte [rdx + 1]
shl edi, 8
shl r14d, 8
shl r15d, 8
shl esi, 8
or esi, r8d
sar r12d, 1
shl esi, 8
dec r12d
or esi, ecx
movzx ecx, byte [rdx + 6]
or edi, ecx
mov dword [rbp - 0x28], esi
xor esi, dword [rax]
movzx ecx, byte [rdx + 5]
mov r8d, esi
shl edi, 8
mov r10d, esi
or edi, ecx
shr r8d, 0x10
movzx ecx, byte [rdx + 4]
mov dword [rbp - 0x60], r8d
shl edi, 8
or edi, ecx
mov dword [rbp - 0x28], esi
movzx ecx, byte [rdx + 0xa]
or r14d, ecx
mov dword [rbp - 0x24], edi
xor edi, dword [rax + 4]
movzx ecx, byte [rdx + 9]
mov r13d, edi
shl r14d, 8
or r14d, ecx
mov dword [rbp - 0x24], edi
movzx ecx, byte [rdx + 8]
shl r14d, 8
or r14d, ecx
shr r10d, 8
movzx ecx, byte [rdx + 0xe]
or r15d, ecx
mov dword [rbp - 0x20], r14d
xor r14d, dword [rax + 8]
movzx ecx, byte [rdx + 0xd]
mov ebx, r14d
shl r15d, 8
or r15d, ecx
mov dword [rbp - 0x20], r14d
movzx ecx, byte [rdx + 0xc]
mov edx, edi
shl r15d, 8
or r15d, ecx
shr edx, 0x18
mov dword [rbp - 0x1c], r15d
mov ecx, r14d
xor r15d, dword [rax + 0xc]
add rax, 0x10
mov r8d, r15d
shr ecx, 0x10
shr r8d, 0x18
mov r9d, r15d
mov dword [rbp - 0x5c], r8d
mov r11d, r15d
mov r8d, r14d
shr r9d, 8
shr r11d, 0x10
shr ebx, 0x18
shr r13d, 8
shr r8d, 8
mov dword [rbp - 0x50], r8d
mov dword [rbp - 0x1c], r15d
mov r8d, edi
shr r8d, 0x10
mov dword [rbp - 0x54], r8d
mov r8d, esi
shr r8d, 0x18
mov dword [rbp - 0x58], r8d
lea r8, [0x140000000]
test r12d, r12d
jle 0x1400611e5
lea r10, [0x140000000]
nop word [rax + rax]
mov ecx, r15d
shr ecx, 8
movzx r8d, cl
mov ecx, r14d
shr ecx, 0x10
movzx edx, cl
mov ecx, edi
mov ebx, dword [r10 + r8*4 + 0xd3f00]
shr rcx, 0x18
xor ebx, dword [r10 + rdx*4 + 0xd4300]
mov r8d, r15d
shr r8, 0x18
xor ebx, dword [r10 + rcx*4 + 0xd4700]
movzx ecx, byte [rbp - 0x28]
xor ebx, dword [r10 + rcx*4 + 0xd3b00]
mov ecx, r15d
xor ebx, dword [rax]
lea r15, [0x140000000]
shr ecx, 0x10
movzx edx, cl
mov ecx, r14d
shr rcx, 0x18
shr r14d, 8
mov r11d, dword [r10 + rdx*4 + 0xd4300]
xor r11d, dword [r10 + rcx*4 + 0xd4700]
mov ecx, esi
shr ecx, 8
movzx edx, cl
movzx ecx, byte [rbp - 0x24]
xor r11d, dword [r10 + rdx*4 + 0xd3f00]
xor r11d, dword [r10 + rcx*4 + 0xd3b00]
mov ecx, edi
mov r10d, dword [r15 + r8*4 + 0xd4700]
xor r11d, dword [rax + 4]
shr ecx, 8
movzx edx, cl
mov ecx, esi
shr ecx, 0x10
shr edi, 0x10
xor r10d, dword [r15 + rdx*4 + 0xd3f00]
movzx edx, cl
movzx ecx, byte [rbp - 0x20]
xor r10d, dword [r15 + rdx*4 + 0xd4300]
xor r10d, dword [r15 + rcx*4 + 0xd3b00]
xor r10d, dword [rax + 8]
movzx edx, r14b
movzx ecx, dil
mov r8d, dword [r15 + rdx*4 + 0xd3f00]
xor r8d, dword [r15 + rcx*4 + 0xd4300]
mov ecx, esi
shr rcx, 0x18
xor r8d, dword [r15 + rcx*4 + 0xd4700]
movzx ecx, byte [rbp - 0x1c]
xor r8d, dword [r15 + rcx*4 + 0xd3b00]
xor r8d, dword [rax + 0xc]
mov ecx, r8d
mov r9d, r8d
shr ecx, 8
movzx r8d, cl
mov ecx, r10d
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr rcx, 0x18
mov esi, dword [r15 + r8*4 + 0xd3f00]
xor esi, dword [r15 + rdx*4 + 0xd4300]
xor esi, dword [r15 + rcx*4 + 0xd4700]
movzx ecx, bl
xor esi, dword [r15 + rcx*4 + 0xd3b00]
xor esi, dword [rax + 0x10]
mov ecx, esi
mov dword [rbp - 0x28], esi
shr ecx, 0x18
mov r13d, esi
mov dword [rbp - 0x34], ecx
mov ecx, esi
shr ecx, 0x10
mov dword [rbp - 0x40], ecx
mov ecx, r9d
shr r13d, 8
shr ecx, 0x10
movzx edx, cl
mov r8d, r9d
mov ecx, r10d
shr r8, 0x18
shr rcx, 0x18
dec r12d
mov edi, dword [r15 + rdx*4 + 0xd4300]
mov r14d, dword [r15 + r8*4 + 0xd4700]
xor edi, dword [r15 + rcx*4 + 0xd4700]
mov ecx, ebx
shr ecx, 8
movzx edx, cl
movzx ecx, r11b
xor edi, dword [r15 + rdx*4 + 0xd3f00]
xor edi, dword [r15 + rcx*4 + 0xd3b00]
xor edi, dword [rax + 0x14]
mov ecx, edi
mov dword [rbp - 0x24], edi
shr ecx, 0x10
mov dword [rbp - 0x38], ecx
mov ecx, edi
shr ecx, 8
mov dword [rbp - 0x44], ecx
mov ecx, edi
shr ecx, 0x18
mov dword [rbp - 0x4c], ecx
mov ecx, r11d
shr ecx, 8
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
shr r11d, 0x10
shr rbx, 0x18
xor r14d, dword [r15 + rdx*4 + 0xd3f00]
movzx edx, cl
movzx ecx, r10b
shr r10d, 8
xor r14d, dword [r15 + rdx*4 + 0xd4300]
xor r14d, dword [r15 + rcx*4 + 0xd3b00]
xor r14d, dword [rax + 0x18]
mov ecx, r14d
movzx edx, r10b
shr ecx, 0x18
lea r10, [0x140000000]
mov dword [rbp - 0x48], ecx
mov r8d, r14d
mov ecx, r14d
mov dword [rbp - 0x20], r14d
mov r15d, dword [r15 + rdx*4 + 0xd3f00]
shr ecx, 0x10
mov dword [rbp - 0x60], ecx
movzx ecx, r11b
shr r8d, 8
xor r15d, dword [r10 + rcx*4 + 0xd4300]
xor r15d, dword [r10 + rbx*4 + 0xd4700]
movzx ecx, r9b
xor r15d, dword [r10 + rcx*4 + 0xd3b00]
xor r15d, dword [rax + 0x1c]
add rax, 0x20
mov ecx, r15d
mov dword [rbp - 0x1c], r15d
shr ecx, 0x18
mov r11d, r15d
mov r9d, r15d
shr r11d, 0x10
shr r9d, 8
mov dword [rbp - 0x3c], ecx
test r12d, r12d
jg 0x140060f20
movzx r12d, byte [rbp - 0x40]
movzx r10d, r13b
movzx ecx, byte [rbp - 0x60]
movzx edx, byte [rbp - 0x4c]
movzx ebx, byte [rbp - 0x48]
movzx r13d, byte [rbp - 0x44]
mov byte [rbp - 0x50], r8b
mov r8d, dword [rbp - 0x38]
mov byte [rbp - 0x54], r8b
mov r8d, dword [rbp - 0x34]
mov dword [rbp - 0x60], r12d
mov r12d, dword [rbp - 0x3c]
mov byte [rbp - 0x58], r8b
lea r8, [0x140000000]
mov byte [rbp - 0x5c], r12b
mov r12d, dword [rbp - 0x60]
movzx ecx, cl
movzx edx, dl
mov r8d, dword [r8 + rdx*4 + 0xd4700]
lea rdx, [0x140000000]
xor r8d, dword [rdx + rcx*4 + 0xd4300]
movzx ecx, r9b
lea r9, [0x140000000]
movzx edx, bl
xor r8d, dword [r9 + rcx*4 + 0xd3f00]
movzx ecx, sil
xor r8d, dword [r9 + rcx*4 + 0xd3b00]
xor r8d, dword [rax]
mov esi, r8d
mov r8d, dword [r9 + rdx*4 + 0xd4700]
movzx edx, byte [rbp - 0x5c]
movzx ecx, r11b
mov dword [rbp - 0x18], esi
xor r8d, dword [r9 + rcx*4 + 0xd4300]
movzx ecx, r10b
xor r8d, dword [r9 + rcx*4 + 0xd3f00]
movzx ecx, dil
xor r8d, dword [r9 + rcx*4 + 0xd3b00]
xor r8d, dword [rax + 4]
mov edi, r8d
movzx ecx, r12b
lea r12, [0x140000000]
mov ebx, dword [r12 + rdx*4 + 0xd4700]
movzx edx, byte [rbp - 0x58]
mov dword [rbp - 0x14], edi
xor ebx, dword [r12 + rcx*4 + 0xd4300]
movzx ecx, r13b
mov r8d, dword [r12 + rdx*4 + 0xd4700]
xor ebx, dword [r12 + rcx*4 + 0xd3f00]
movzx ecx, r14b
xor ebx, dword [r12 + rcx*4 + 0xd3b00]
xor ebx, dword [rax + 8]
movzx ecx, byte [rbp - 0x54]
mov dword [rbp - 0x10], ebx
xor r8d, dword [r12 + rcx*4 + 0xd4300]
movzx ecx, byte [rbp - 0x50]
xor r8d, dword [r12 + rcx*4 + 0xd3f00]
movzx ecx, r15b
xor r8d, dword [r12 + rcx*4 + 0xd3b00]
mov ecx, edi
xor r8d, dword [rax + 0xc]
shr rcx, 0x18
mov r10d, r8d
mov dword [rbp - 0xc], r10d
movzx r11d, byte [rcx + r12 + 0xd3a00]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
shl r11d, 8
movzx ecx, byte [rdx + r12 + 0xd3a00]
xor r11d, ecx
mov ecx, r8d
shr ecx, 8
movzx edx, cl
shl r11d, 8
movzx ecx, byte [rdx + r12 + 0xd3a00]
xor r11d, ecx
movzx ecx, sil
shl r11d, 8
movzx ecx, byte [rcx + r12 + 0xd3a00]
xor r11d, ecx
mov ecx, ebx
xor r11d, dword [rax + 0x10]
shr rcx, 0x18
mov dword [rbp - 0x28], r11d
movzx r9d, byte [rcx + r12 + 0xd3a00]
mov ecx, r8d
shr ecx, 0x10
movzx edx, cl
shl r9d, 8
movzx ecx, byte [rdx + r12 + 0xd3a00]
xor r9d, ecx
mov ecx, esi
shl r9d, 8
shr ecx, 8
movzx edx, cl
movzx ecx, byte [rdx + r12 + 0xd3a00]
xor r9d, ecx
movzx ecx, dil
shl r9d, 8
movzx ecx, byte [rcx + r12 + 0xd3a00]
xor r9d, ecx
mov ecx, r8d
xor r9d, dword [rax + 0x14]
shr rcx, 0x18
mov dword [rbp - 0x24], r9d
movzx r8d, byte [rcx + r12 + 0xd3a00]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
shl r8d, 8
shr rsi, 0x18
movzx ecx, byte [rdx + r12 + 0xd3a00]
xor r8d, ecx
mov ecx, edi
shr ecx, 8
movzx edx, cl
shl r8d, 8
shr edi, 0x10
movzx ecx, byte [rdx + r12 + 0xd3a00]
movzx edx, byte [rsi + r12 + 0xd3a00]
xor r8d, ecx
shl edx, 8
movzx ecx, bl
shl r8d, 8
shr ebx, 8
movzx ecx, byte [rcx + r12 + 0xd3a00]
xor r8d, ecx
movzx ecx, dil
xor r8d, dword [rax + 0x18]
mov dword [rbp - 0x20], r8d
movzx ecx, byte [rcx + r12 + 0xd3a00]
xor edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [rcx + r12 + 0xd3a00]
xor edx, ecx
movzx ecx, r10b
shl edx, 8
movzx ecx, byte [rcx + r12 + 0xd3a00]
xor edx, ecx
mov rcx, qword [rbp - 0x30]
xor edx, dword [rax + 0x1c]
movzx eax, r11b
mov dword [rbp - 0x1c], edx
mov byte [rcx], al
mov eax, r11d
shr eax, 8
mov byte [rcx + 1], al
mov eax, r11d
shr eax, 0x10
mov byte [rcx + 2], al
movzx eax, r9b
mov byte [rcx + 4], al
mov eax, r9d
shr eax, 8
mov byte [rcx + 5], al
mov eax, r9d
shr eax, 0x10
mov byte [rcx + 6], al
movzx eax, r8b
mov byte [rcx + 8], al
mov eax, r8d
shr eax, 8
mov byte [rcx + 9], al
mov eax, r8d
shr eax, 0x10
shr r11d, 0x18
shr r9d, 0x18
mov byte [rcx + 0xa], al
movzx eax, dl
shr r8d, 0x18
mov eax, edx
mov byte [rcx + 3], r11b
mov byte [rcx + 7], r9b
mov byte [rcx + 0xb], r8b
mov byte [rcx + 0xc], dl
shr eax, 8
mov byte [rcx + 0xd], al
mov eax, edx
shr edx, 0x18
mov byte [rcx + 0xf], dl
mov edx, 0x20
shr eax, 0x10
mov byte [rcx + 0xe], al
lea rcx, [rbp - 0x28]
call fcn.1400386b0
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001a6d0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret