Function at 0x18013b280
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x28
call fcn.1801384e0
sub rsp, rax
add rsp, 0x28
jmp 0x18013b280
push rbx
mov eax, 0x20
call fcn.1801384e0
sub rsp, rax
mov rbx, r8
call fcn.18013a2b0
test eax, eax
js 0x18013b4f4
mov ecx, dword [rbx + 0xf0]
lea eax, [rcx*4]
movsxd r9, eax
test eax, eax
jle 0x18013b323
lea r8, [rbx + 8]
xor r10d, r10d
lea r8, [r8 + r9*4]
lea rax, [rbx + 8]
nop dword [rax]
nop word [rax + rax]
mov edx, dword [rax - 8]
add r10, 4
mov ecx, dword [r8 - 8]
lea r8, [r8 - 0x10]
mov dword [rax - 8], ecx
lea rax, [rax + 0x10]
mov ecx, dword [r8 + 0xc]
sub r9, 4
mov dword [r8 + 8], edx
mov edx, dword [rax - 0x14]
mov dword [rax - 0x14], ecx
mov ecx, dword [r8 + 0x10]
mov dword [r8 + 0xc], edx
mov edx, dword [rax - 0x10]
mov dword [rax - 0x10], ecx
mov ecx, dword [r8 + 0x14]
mov dword [r8 + 0x10], edx
mov edx, dword [rax - 0xc]
mov dword [rax - 0xc], ecx
mov dword [r8 + 0x14], edx
cmp r10, r9
jl 0x18013b2d0
mov ecx, dword [rbx + 0xf0]
mov r11d, 1
cmp ecx, r11d
jle 0x18013b4f2
mov qword [rsp + 0x30], rdi
lea r10, [rbx + 4]
lea rdi, [0x180000000]
nop dword [rax]
nop word [rax + rax]
mov r9d, dword [r10 + 0x10]
lea r10, [r10 + 0x10]
mov edx, dword [r10 - 4]
inc r11d
movzx eax, byte [r10 - 3]
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
mov eax, edx
shr rax, 0x18
mov r8d, dword [rdi + rcx*4 + 0x2b7d60]
movzx eax, byte [rdi + rax*4 + 0x2b6960]
xor r8d, dword [rdi + rax*4 + 0x2b7560]
movzx eax, dl
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
movzx eax, byte [r10 - 2]
xor r8d, dword [rdi + rcx*4 + 0x2b8160]
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x2b7960]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10 - 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x2b6960]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x2b7960]
movzx eax, byte [rdi + rcx*4 + 0x2b6960]
xor r8d, dword [rdi + rax*4 + 0x2b7d60]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
movzx eax, r9b
mov r9d, dword [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x2b7560]
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x2b8160]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10], r8d
movzx edx, byte [rdi + rcx*4 + 0x2b6960]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x2b7960]
movzx eax, byte [rdi + rcx*4 + 0x2b6960]
xor r8d, dword [rdi + rax*4 + 0x2b7d60]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
movzx eax, r9b
mov r9d, dword [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x2b7560]
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
mov eax, r9d
shr eax, 0x10
xor r8d, dword [rdi + rcx*4 + 0x2b8160]
movzx ecx, al
mov eax, r9d
shr eax, 8
mov dword [r10 + 4], r8d
movzx edx, byte [rdi + rcx*4 + 0x2b6960]
movzx ecx, al
mov r8d, dword [rdi + rdx*4 + 0x2b7960]
movzx eax, byte [rdi + rcx*4 + 0x2b6960]
xor r8d, dword [rdi + rax*4 + 0x2b7d60]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x2b7560]
movzx ecx, byte [rdi + rax*4 + 0x2b6960]
xor r8d, dword [rdi + rcx*4 + 0x2b8160]
mov dword [r10 + 8], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x18013b350
mov rdi, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rbx
ret