Function at 0x1800012c0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
push rbp
push rsi
mov rbp, rsp
sub rsp, 0x58
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov qword [r11 + 0x20], r12
lea r10, [rbp - 0x47]
mov qword [r11 - 0x18], r13
mov esi, 4
mov qword [r11 - 0x20], r14
mov r13, r8
mov qword [r11 - 0x28], r15
add rdx, 8
mov r15, r9
mov r11d, esi
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
mov byte [r10 - 1], al
movzx eax, byte [rdx - 5]
mov byte [r10], al
movzx eax, byte [rdx - 1]
mov byte [r10 + 1], al
movzx eax, byte [rdx + 3]
mov byte [r10 + 2], al
add r10, rsi
sub r11, 1
jne 0x180001300
mov r9d, dword [rcx + 4]
lea rdx, [rbp - 0x47]
mov ecx, r9d
mov r8, rsi
shl ecx, 4
add rcx, 8
add rcx, r15
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx - 8]
lea rcx, [rcx + 1]
xor byte [rdx - 1], al
lea rdx, [rdx + 4]
movzx eax, byte [rcx - 5]
xor byte [rdx - 4], al
movzx eax, byte [rcx - 1]
xor byte [rdx - 3], al
movzx eax, byte [rcx + 3]
xor byte [rdx - 2], al
sub r8, 1
jne 0x180001350
lea r14d, [r9 - 1]
lea r12, [0x180000000]
cmp r14d, 1
jb 0x1800015b0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
nop dword [rax]
lea rdx, [rbp - 0x47]
mov r8, rsi
nop word [rax + rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx + 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x1d060]
mov byte [rdx - 5], al
movzx eax, byte [rdx - 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x1d060]
mov byte [rdx - 4], al
movzx eax, byte [rdx - 3]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x1d060]
mov byte [rdx - 3], al
movzx eax, byte [rdx - 2]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x1d060]
mov byte [rdx - 2], al
sub r8, 1
jne 0x1800013b0
movzx eax, byte [rbp - 0x41]
lea rdx, [r15 + 8]
mov byte [rbp - 0x54], al
lea rcx, [rbp - 0x47]
movzx eax, byte [rbp - 0x44]
mov r8, rsi
mov byte [rbp - 0x53], al
movzx eax, byte [rbp - 0x43]
mov byte [rbp - 0x52], al
movzx eax, byte [rbp - 0x42]
mov byte [rbp - 0x51], al
mov eax, dword [rbp - 0x54]
mov dword [rbp - 0x44], eax
movzx eax, byte [rbp - 0x3e]
mov byte [rbp - 0x50], al
movzx eax, byte [rbp - 0x3d]
mov byte [rbp - 0x4f], al
movzx eax, byte [rbp - 0x40]
mov byte [rbp - 0x4e], al
movzx eax, byte [rbp - 0x3f]
mov byte [rbp - 0x4d], al
mov eax, dword [rbp - 0x50]
mov dword [rbp - 0x40], eax
movzx eax, byte [rbp - 0x3b]
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x3a]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x39]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x3c]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x3c], eax
mov eax, r14d
shl eax, 4
add rdx, rax
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x1800014b0
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
nop dword [rax]
nop dword [rax + rax]
movzx r9d, byte [rbp + r8 - 0x30]
lea rdi, [r12 + 0x1d050]
movzx r10d, byte [rbp + r8 - 0x2f]
xor eax, eax
movzx r11d, byte [rbp + r8 - 0x2e]
add rdi, r8
movzx ebx, byte [rbp + r8 - 0x2d]
nop word [rax + rax]
movzx edx, byte [rdi + rax]
movzx ecx, byte [rbp + rax*4 - 0x48]
shl rdx, 8
add rcx, rdx
xor r9b, byte [rcx + r12 + 0x1d260]
movzx ecx, byte [rbp + rax*4 - 0x47]
add rcx, rdx
xor r10b, byte [rcx + r12 + 0x1d260]
movzx ecx, byte [rbp + rax*4 - 0x46]
add rcx, rdx
xor r11b, byte [rcx + r12 + 0x1d260]
movzx ecx, byte [rbp + rax*4 - 0x45]
inc rax
add rcx, rdx
xor bl, byte [rcx + r12 + 0x1d260]
cmp rax, rsi
jb 0x180001520
mov byte [rbp + r8 - 0x30], r9b
mov byte [rbp + r8 - 0x2f], r10b
mov byte [rbp + r8 - 0x2e], r11b
mov byte [rbp + r8 - 0x2d], bl
add r8, rsi
cmp r8, 0x10
jb 0x1800014f0
movups xmm0, xmmword [rbp - 0x30]
dec r14d
movups xmmword [rbp - 0x48], xmm0
cmp r14d, 1
jae 0x1800013a0
mov rdi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x48]
lea rdx, [rbp - 0x47]
mov r8, rsi
nop dword [rax]
movzx eax, byte [rdx - 1]
lea rdx, [rdx + 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x1d060]
mov byte [rdx - 5], al
movzx eax, byte [rdx - 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x1d060]
mov byte [rdx - 4], al
movzx eax, byte [rdx - 3]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x1d060]
mov byte [rdx - 3], al
movzx eax, byte [rdx - 2]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x1d060]
mov byte [rdx - 2], al
sub r8, 1
jne 0x1800015c0
movzx eax, byte [rbp - 0x41]
lea rdx, [r15 + 8]
mov r15, qword [rsp + 0x40]
lea rcx, [rbp - 0x47]
mov r12, qword [rsp + 0x88]
mov r8, rsi
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x44]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x43]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x42]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x44], eax
movzx eax, byte [rbp - 0x3e]
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x3d]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x40]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x3f]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x40], eax
movzx eax, byte [rbp - 0x3b]
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x3a]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x39]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x3c]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
mov dword [rbp - 0x3c], eax
nop dword [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 1], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 4], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 3], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 2], al
sub r8, 1
jne 0x1800016c0
lea rdx, [r13 + 8]
mov r13, qword [rsp + 0x50]
lea rcx, [rbp - 0x47]
nop word [rax + rax]
movzx eax, byte [rcx - 1]
lea rcx, [rcx + 4]
mov byte [rdx - 8], al
lea rdx, [rdx + 1]
movzx eax, byte [rcx - 4]
mov byte [rdx - 5], al
movzx eax, byte [rcx - 3]
mov byte [rdx - 1], al
movzx eax, byte [rcx - 2]
mov byte [rdx + 3], al
sub rsi, 1
jne 0x180001700
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.1800029e0
add rsp, 0x58
pop rsi
pop rbp
ret