Function at 0x1800015d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x48], r12
lea r10, [rbp - 0x4e]
mov qword [rsp + 0x40], r13
mov esi, 4
mov qword [rsp + 0x38], r14
mov r13, r8
mov qword [rsp + 0x30], r15
add rdx, 8
mov r15, r9
mov r11d, esi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
mov byte [r10 - 2], al
lea r10, [r10 + 4]
movzx eax, byte [rdx - 5]
mov byte [r10 - 5], al
movzx eax, byte [rdx - 1]
mov byte [r10 - 4], al
movzx eax, byte [rdx + 3]
mov byte [r10 - 3], al
sub r11, 1
jne 0x180001610
mov r9d, dword [rcx + 4]
lea rdx, [rbp - 0x4e]
mov ecx, r9d
mov r8, rsi
shl ecx, 4
add rcx, 8
add rcx, r15
nop word [rax + rax]
movzx eax, byte [rcx - 8]
lea rcx, [rcx + 1]
xor byte [rdx - 2], al
lea rdx, [rdx + 4]
movzx eax, byte [rcx - 5]
xor byte [rdx - 5], al
movzx eax, byte [rcx - 1]
xor byte [rdx - 4], al
movzx eax, byte [rcx + 3]
xor byte [rdx - 3], al
sub r8, 1
jne 0x180001660
lea r14d, [r9 - 1]
lea r12, [0x180000000]
cmp r14d, 1
jb 0x1800018b0
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x50], rdi
nop dword [rax]
lea rdx, [rbp - 0x4e]
mov r8, rsi
nop word [rax + rax]
movzx eax, byte [rdx - 2]
lea rdx, [rdx + 4]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x2212d0]
mov byte [rdx - 6], al
movzx eax, byte [rdx - 5]
mov ecx, eax
and eax, 0xf
and rcx, 0xfffffffffffffff0
add rcx, rax
movzx eax, byte [rcx + r12 + 0x2212d0]
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 + 0x2212d0]
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 + 0x2212d0]
mov byte [rdx - 3], al
sub r8, 1
jne 0x1800016c0
movzx eax, byte [rbp - 0x49]
lea rdx, [r15 + 8]
mov byte [rbp + 0x18], al
mov ecx, r14d
movzx eax, byte [rbp - 0x4c]
mov r8, rsi
mov byte [rbp + 0x19], al
movzx eax, byte [rbp - 0x4b]
mov byte [rbp + 0x1a], al
movzx eax, byte [rbp - 0x4a]
mov byte [rbp + 0x1b], al
mov eax, dword [rbp + 0x18]
mov dword [rbp - 0x4c], eax
movzx eax, byte [rbp - 0x46]
mov byte [rbp + 0x30], al
movzx eax, byte [rbp - 0x45]
mov byte [rbp + 0x31], al
movzx eax, byte [rbp - 0x48]
mov byte [rbp + 0x32], al
movzx eax, byte [rbp - 0x47]
mov byte [rbp + 0x33], al
mov eax, dword [rbp + 0x30]
mov dword [rbp - 0x48], eax
movzx eax, byte [rbp - 0x43]
mov byte [rbp - 0x58], al
movzx eax, byte [rbp - 0x42]
mov byte [rbp - 0x57], al
movzx eax, byte [rbp - 0x41]
mov byte [rbp - 0x56], al
movzx eax, byte [rbp - 0x44]
mov byte [rbp - 0x55], al
mov eax, dword [rbp - 0x58]
shl ecx, 4
mov dword [rbp - 0x44], eax
add rdx, rcx
lea rax, [rbp - 0x4e]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rax - 2], cl
lea rax, [rax + 4]
movzx ecx, byte [rdx - 5]
xor byte [rax - 5], cl
movzx ecx, byte [rdx - 1]
xor byte [rax - 4], cl
movzx ecx, byte [rdx + 3]
xor byte [rax - 3], cl
sub r8, 1
jne 0x1800017c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
movzx r9d, byte [rbp + r8 - 0x40]
lea rdi, [r12 + 0x2222e0]
movzx r10d, byte [rbp + r8 - 0x3f]
xor edx, edx
movzx r11d, byte [rbp + r8 - 0x3e]
add rdi, r8
movzx ebx, byte [rbp + r8 - 0x3d]
nop word [rax + rax]
movzx ecx, byte [rdi + rdx]
movzx eax, byte [rbp + rdx*4 - 0x50]
shl rcx, 8
add rax, rcx
xor r9b, byte [rax + r12 + 0x2213d0]
movzx eax, byte [rbp + rdx*4 - 0x4f]
add rax, rcx
xor r10b, byte [rax + r12 + 0x2213d0]
movzx eax, byte [rbp + rdx*4 - 0x4e]
add rax, rcx
xor r11b, byte [rax + r12 + 0x2213d0]
movzx eax, byte [rbp + rdx*4 - 0x4d]
inc rdx
add rax, rcx
xor bl, byte [rax + r12 + 0x2213d0]
cmp rdx, rsi
jb 0x180001820
mov byte [rbp + r8 - 0x40], r9b
mov byte [rbp + r8 - 0x3f], r10b
mov byte [rbp + r8 - 0x3e], r11b
mov byte [rbp + r8 - 0x3d], bl
add r8, rsi
cmp r8, 0x10
jb 0x1800017f1
movups xmm0, xmmword [rbp - 0x40]
dec r14d
movups xmmword [rbp - 0x50], xmm0
cmp r14d, 1
jae 0x1800016b0
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x78]
mov r14, qword [rsp + 0x38]
lea rdx, [rbp - 0x4f]
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 + 0x2212d0]
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 + 0x2212d0]
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 + 0x2212d0]
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 + 0x2212d0]
mov byte [rdx - 2], al
sub r8, 1
jne 0x1800018c0
movzx eax, byte [rbp - 0x49]
lea rdx, [r15 + 8]
mov r15, qword [rsp + 0x30]
lea rcx, [rbp - 0x4e]
mov r12, qword [rsp + 0x48]
mov r8, rsi
mov byte [rbp + 0x18], al
movzx eax, byte [rbp - 0x4c]
mov byte [rbp + 0x19], al
movzx eax, byte [rbp - 0x4b]
mov byte [rbp + 0x1a], al
movzx eax, byte [rbp - 0x4a]
mov byte [rbp + 0x1b], al
mov eax, dword [rbp + 0x18]
mov dword [rbp - 0x4c], eax
movzx eax, byte [rbp - 0x46]
mov byte [rbp + 0x18], al
movzx eax, byte [rbp - 0x45]
mov byte [rbp + 0x19], al
movzx eax, byte [rbp - 0x48]
mov byte [rbp + 0x1a], al
movzx eax, byte [rbp - 0x47]
mov byte [rbp + 0x1b], al
mov eax, dword [rbp + 0x18]
mov dword [rbp - 0x48], eax
movzx eax, byte [rbp - 0x43]
mov byte [rbp + 0x18], al
movzx eax, byte [rbp - 0x42]
mov byte [rbp + 0x19], al
movzx eax, byte [rbp - 0x41]
mov byte [rbp + 0x1a], al
movzx eax, byte [rbp - 0x44]
mov byte [rbp + 0x1b], al
mov eax, dword [rbp + 0x18]
mov dword [rbp - 0x44], eax
nop word [rax + rax]
movzx eax, byte [rdx - 8]
lea rdx, [rdx + 1]
xor byte [rcx - 2], al
lea rcx, [rcx + 4]
movzx eax, byte [rdx - 5]
xor byte [rcx - 5], al
movzx eax, byte [rdx - 1]
xor byte [rcx - 4], al
movzx eax, byte [rdx + 3]
xor byte [rcx - 3], al
sub r8, 1
jne 0x1800019c0
lea rcx, [r13 + 8]
mov r13, qword [rsp + 0x40]
lea rdx, [rbp - 0x4e]
nop word [rax + rax]
movzx eax, byte [rdx - 2]
lea rdx, [rdx + 4]
mov byte [rcx - 8], al
lea rcx, [rcx + 1]
movzx eax, byte [rdx - 5]
mov byte [rcx - 5], al
movzx eax, byte [rdx - 4]
mov byte [rcx - 1], al
movzx eax, byte [rdx - 3]
mov byte [rcx + 3], al
sub rsi, 1
jne 0x180001a00
add rsp, 0x58
pop rsi
pop rbp
ret