Function at 0x18000a6d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [rcx + 8]
mov esi, dword [rcx]
movzx r9d, byte [rdx + 2]
movzx ecx, byte [rdx]
movzx edi, byte [rdx + 3]
movzx r14d, byte [rdx + 7]
movzx r12d, byte [rdx + 0xb]
movzx r15d, byte [rdx + 0xf]
shl edi, 8
or edi, r9d
shl r14d, 8
movzx r9d, byte [rdx + 1]
shl r12d, 8
shl r15d, 8
shl edi, 8
or edi, r9d
sar esi, 1
shl edi, 8
dec esi
or edi, ecx
movzx ecx, byte [rdx + 6]
or r14d, ecx
mov dword [rbp - 0x58], edi
xor edi, dword [rax]
movzx ecx, byte [rdx + 5]
mov r8d, edi
shr r8d, 0x10
mov ebx, edi
shl r14d, 8
or r14d, ecx
mov dword [rbp + 0x50], r8d
movzx ecx, byte [rdx + 4]
shl r14d, 8
or r14d, ecx
mov dword [rbp - 0x58], edi
movzx ecx, byte [rdx + 0xa]
or r12d, ecx
mov dword [rbp - 0x54], r14d
xor r14d, dword [rax + 4]
movzx ecx, byte [rdx + 9]
mov r8d, r14d
shl r12d, 8
mov r9d, r14d
or r12d, ecx
shr r8d, 0x18
movzx ecx, byte [rdx + 8]
shl r12d, 8
or r12d, ecx
mov dword [rbp + 0x48], r8d
movzx ecx, byte [rdx + 0xe]
mov r8d, edi
or r15d, ecx
mov dword [rbp - 0x50], r12d
movzx ecx, byte [rdx + 0xd]
shl r15d, 8
or r15d, ecx
mov dword [rbp - 0x54], r14d
xor r12d, dword [rax + 8]
movzx ecx, byte [rdx + 0xc]
mov r10d, r12d
shl r15d, 8
or r15d, ecx
mov dword [rbp - 0x50], r12d
mov dword [rbp - 0x4c], r15d
mov ecx, r12d
xor r15d, dword [rax + 0xc]
add rax, 0x10
mov edx, r15d
shr r9d, 8
mov r11d, r15d
shr edx, 0x18
mov r13d, r15d
shr r11d, 0x10
shr r13d, 8
shr ecx, 0x10
shr r10d, 8
shr ebx, 0x18
shr r8d, 8
mov dword [rbp - 0x34], r8d
mov r8d, r14d
mov dword [rbp - 0x4c], r15d
shr r8d, 0x10
mov dword [rbp - 0x38], r8d
mov r8d, r12d
shr r8d, 0x18
mov dword [rbp + 0x60], r8d
lea r8, [0x180000000]
test esi, esi
jle 0x18000ab00
nop dword [rax]
lea r10, [0x180000000]
mov r8d, r15d
shr r8, 0x18
mov ecx, r12d
shr ecx, 0x10
movzx edx, cl
mov ecx, r14d
shr ecx, 8
mov ebx, dword [r10 + r8*4 + 0x2d840]
xor ebx, dword [r10 + rdx*4 + 0x2dc40]
movzx edx, cl
movzx ecx, byte [rbp - 0x58]
xor ebx, dword [r10 + rdx*4 + 0x2e840]
xor ebx, dword [r10 + rcx*4 + 0x2ec40]
mov ecx, r15d
xor ebx, dword [rax]
shr ecx, 0x10
movzx r8d, cl
mov ecx, r12d
shr ecx, 8
movzx edx, cl
mov ecx, edi
mov r11d, dword [r10 + r8*4 + 0x2dc40]
shr rcx, 0x18
xor r11d, dword [r10 + rdx*4 + 0x2e840]
shr r15d, 8
movzx edx, r15b
lea r15, [0x180000000]
xor r11d, dword [r10 + rcx*4 + 0x2d840]
movzx ecx, byte [rbp - 0x54]
xor r11d, dword [r10 + rcx*4 + 0x2ec40]
mov r10d, dword [r15 + rdx*4 + 0x2e840]
xor r11d, dword [rax + 4]
mov ecx, r14d
shr rcx, 0x18
shr r14d, 0x10
xor r10d, dword [r15 + rcx*4 + 0x2d840]
mov ecx, edi
shr ecx, 0x10
movzx edx, cl
movzx ecx, byte [rbp - 0x50]
shr edi, 8
xor r10d, dword [r15 + rdx*4 + 0x2dc40]
xor r10d, dword [r15 + rcx*4 + 0x2ec40]
xor r10d, dword [rax + 8]
movzx ecx, r14b
mov edx, r12d
shr rdx, 0x18
mov r8d, dword [r15 + rdx*4 + 0x2d840]
xor r8d, dword [r15 + rcx*4 + 0x2dc40]
movzx ecx, dil
xor r8d, dword [r15 + rcx*4 + 0x2e840]
movzx ecx, byte [rbp - 0x4c]
xor r8d, dword [r15 + rcx*4 + 0x2ec40]
mov ecx, r10d
xor r8d, dword [rax + 0xc]
shr ecx, 0x10
movzx edx, cl
mov ecx, r11d
shr ecx, 8
mov r9d, r8d
shr r8, 0x18
mov edi, dword [r15 + r8*4 + 0x2d840]
xor edi, dword [r15 + rdx*4 + 0x2dc40]
movzx edx, cl
movzx ecx, bl
xor edi, dword [r15 + rdx*4 + 0x2e840]
xor edi, dword [r15 + rcx*4 + 0x2ec40]
xor edi, dword [rax + 0x10]
mov ecx, edi
mov dword [rbp - 0x58], edi
shr ecx, 8
mov r13d, edi
mov dword [rbp - 0x20], ecx
mov ecx, edi
shr ecx, 0x10
mov dword [rbp - 0x28], ecx
mov ecx, r9d
shr r13d, 0x18
shr ecx, 0x10
movzx r8d, cl
mov r14d, dword [r15 + r8*4 + 0x2dc40]
mov ecx, r10d
shr ecx, 8
dec esi
movzx edx, cl
mov ecx, ebx
shr rcx, 0x18
xor r14d, dword [r15 + rdx*4 + 0x2e840]
xor r14d, dword [r15 + rcx*4 + 0x2d840]
movzx ecx, r11b
xor r14d, dword [r15 + rcx*4 + 0x2ec40]
xor r14d, dword [rax + 0x14]
mov ecx, r14d
mov dword [rbp - 0x54], r14d
shr ecx, 0x10
mov r8d, r14d
mov dword [rbp - 0x1c], ecx
mov ecx, r14d
shr ecx, 0x18
mov dword [rbp - 0x24], ecx
mov ecx, r9d
shr ecx, 8
movzx edx, cl
mov ecx, r11d
shr rcx, 0x18
shr r11d, 0x10
shr r8d, 8
mov r12d, dword [r15 + rdx*4 + 0x2e840]
xor r12d, dword [r15 + rcx*4 + 0x2d840]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
movzx ecx, r10b
shr r10, 0x18
shr ebx, 8
xor r12d, dword [r15 + rdx*4 + 0x2dc40]
xor r12d, dword [r15 + rcx*4 + 0x2ec40]
xor r12d, dword [rax + 0x18]
mov r15d, dword [r15 + r10*4 + 0x2d840]
mov ecx, r12d
shr ecx, 0x18
lea r10, [0x180000000]
mov dword [rbp - 0x18], ecx
mov edx, r12d
mov ecx, r12d
mov dword [rbp - 0x50], r12d
shr ecx, 8
mov dword [rbp - 0x30], ecx
movzx ecx, r11b
shr edx, 0x10
xor r15d, dword [r10 + rcx*4 + 0x2dc40]
movzx ecx, bl
xor r15d, dword [r10 + rcx*4 + 0x2e840]
movzx ecx, r9b
xor r15d, dword [r10 + rcx*4 + 0x2ec40]
xor r15d, dword [rax + 0x1c]
add rax, 0x20
mov ecx, r15d
mov dword [rbp - 0x4c], r15d
shr ecx, 8
mov r11d, r15d
mov r10d, r15d
shr r11d, 0x10
shr r10d, 0x18
mov dword [rbp - 0x2c], ecx
test esi, esi
jg 0x18000a830
movzx r9d, r8b
movzx ecx, dl
mov r8d, dword [rbp - 0x28]
movzx edx, r10b
movzx r10d, byte [rbp - 0x30]
movzx ebx, r13b
movzx r13d, byte [rbp - 0x2c]
mov byte [rbp + 0x50], r8b
mov r8d, dword [rbp - 0x24]
mov byte [rbp + 0x48], r8b
mov r8d, dword [rbp - 0x20]
mov byte [rbp - 0x34], r8b
mov r8d, dword [rbp - 0x1c]
mov byte [rbp - 0x38], r8b
mov r8d, dword [rbp - 0x18]
mov byte [rbp + 0x60], r8b
lea r8, [0x180000000]
movzx ecx, cl
movzx edx, dl
mov esi, dword [r8 + rdx*4 + 0x2d840]
lea rdx, [0x180000000]
xor esi, dword [rdx + rcx*4 + 0x2dc40]
movzx edx, bl
movzx ecx, r9b
lea r9, [0x180000000]
xor esi, dword [r9 + rcx*4 + 0x2e840]
movzx ecx, dil
mov edi, dword [r9 + rdx*4 + 0x2d840]
movzx edx, byte [rbp + 0x48]
xor esi, dword [r9 + rcx*4 + 0x2ec40]
xor esi, dword [rax]
movzx ecx, r11b
mov dword [rbp - 0x48], esi
xor edi, dword [r9 + rcx*4 + 0x2dc40]
movzx ecx, r10b
xor edi, dword [r9 + rcx*4 + 0x2e840]
movzx ecx, r14b
lea r14, [0x180000000]
mov r11d, dword [r14 + rdx*4 + 0x2d840]
movzx edx, byte [rbp + 0x60]
xor edi, dword [r14 + rcx*4 + 0x2ec40]
xor edi, dword [rax + 4]
mov r8d, dword [r14 + rdx*4 + 0x2d840]
movzx ecx, byte [rbp + 0x50]
mov dword [rbp - 0x44], edi
xor r11d, dword [r14 + rcx*4 + 0x2dc40]
movzx ecx, r13b
xor r11d, dword [r14 + rcx*4 + 0x2e840]
movzx ecx, r12b
xor r11d, dword [r14 + rcx*4 + 0x2ec40]
xor r11d, dword [rax + 8]
movzx ecx, byte [rbp - 0x38]
mov dword [rbp - 0x40], r11d
xor r8d, dword [r14 + rcx*4 + 0x2dc40]
movzx ecx, byte [rbp - 0x34]
xor r8d, dword [r14 + rcx*4 + 0x2e840]
movzx ecx, r15b
xor r8d, dword [r14 + rcx*4 + 0x2ec40]
xor r8d, dword [rax + 0xc]
mov ecx, r8d
shr rcx, 0x18
mov r10d, r8d
mov dword [rbp - 0x3c], r10d
movzx ebx, byte [rcx + r14 + 0x2d210]
mov ecx, r11d
shr ecx, 0x10
movzx edx, cl
shl ebx, 8
movzx ecx, byte [rdx + r14 + 0x2d210]
xor ebx, ecx
mov ecx, edi
shr ecx, 8
movzx edx, cl
shl ebx, 8
movzx ecx, byte [rdx + r14 + 0x2d210]
xor ebx, ecx
movzx ecx, sil
shl ebx, 8
movzx ecx, byte [rcx + r14 + 0x2d210]
xor ebx, ecx
mov ecx, esi
xor ebx, dword [rax + 0x10]
shr rcx, 0x18
mov dword [rbp - 0x58], ebx
movzx r9d, byte [rcx + r14 + 0x2d210]
mov ecx, r8d
shr ecx, 0x10
movzx edx, cl
shl r9d, 8
movzx ecx, byte [rdx + r14 + 0x2d210]
xor r9d, ecx
mov ecx, r11d
shr ecx, 8
shl r9d, 8
movzx edx, cl
movzx ecx, byte [rdx + r14 + 0x2d210]
xor r9d, ecx
shl r9d, 8
movzx ecx, dil
movzx ecx, byte [rcx + r14 + 0x2d210]
xor r9d, ecx
mov ecx, edi
xor r9d, dword [rax + 0x14]
shr rcx, 0x18
mov dword [rbp - 0x54], r9d
shr edi, 0x10
movzx r8d, byte [rcx + r14 + 0x2d210]
mov ecx, esi
shr ecx, 0x10
movzx edx, cl
shl r8d, 8
shr esi, 8
movzx ecx, byte [rdx + r14 + 0x2d210]
xor r8d, ecx
mov ecx, r10d
shr ecx, 8
movzx edx, cl
shl r8d, 8
movzx ecx, byte [rdx + r14 + 0x2d210]
xor r8d, ecx
movzx ecx, r11b
shl r8d, 8
shr r11, 0x18
movzx ecx, byte [rcx + r14 + 0x2d210]
xor r8d, ecx
movzx ecx, dil
xor r8d, dword [rax + 0x18]
movzx edx, byte [r11 + r14 + 0x2d210]
shl edx, 8
movzx ecx, byte [rcx + r14 + 0x2d210]
xor edx, ecx
mov dword [rbp - 0x50], r8d
shl edx, 8
movzx ecx, sil
movzx ecx, byte [rcx + r14 + 0x2d210]
xor edx, ecx
movzx ecx, r10b
shl edx, 8
movzx ecx, byte [rcx + r14 + 0x2d210]
xor edx, ecx
mov rcx, qword [rbp + 0x58]
xor edx, dword [rax + 0x1c]
movzx eax, bl
mov eax, ebx
mov dword [rbp - 0x4c], edx
shr eax, 8
mov byte [rcx + 1], al
mov eax, ebx
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
mov byte [rcx + 0xa], al
movzx eax, dl
shr r9d, 0x18
mov eax, edx
shr r8d, 0x18
mov byte [rcx], bl
shr ebx, 0x18
shr eax, 8
mov byte [rcx + 0xd], al
mov eax, edx
mov byte [rcx + 3], bl
mov byte [rcx + 7], r9b
mov byte [rcx + 0xb], r8b
mov byte [rcx + 0xc], dl
shr edx, 0x18
mov byte [rcx + 0xf], dl
xor edx, edx
shr eax, 0x10
mov byte [rcx + 0xe], al
lea rcx, [rbp - 0x58]
mov rax, qword [fcn.18000c580]
lea r8d, [rdx + 0x20]
call rax
xor eax, eax
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret