Function at 0x18007eef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rbp, qword [rsp + 0xd0]
lea rax, [0x18007e880]
mov r12, qword [rsp + 0xc8]
test rbp, rbp
mov r8, rcx
mov rsi, rdx
lea rcx, [0x18007ec40]
mov r15d, r9d
cmovne rax, rcx
mov rdi, rdx
shl rsi, 4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xc0]
lea r14, [rsi*8]
lea rbx, [r14 + r12]
mov rcx, qword [rax + 8]
mov r13d, dword [rax + 0x20]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0xc0], r13d
test rbp, rbp
jne 0x18007ef8d
mov rbp, rsi
shl rbp, 4
add rbp, r12
mov qword [rsp + 0xd0], rbp
add rdx, rdx
mov qword [rsp + 0xc8], rdx
je 0x18007f09d
mov rcx, qword [rsp + 0xb0]
mov r9, rbx
sub r9, r8
mov r11, r8
sub r9, 2
sub r11, rcx
add r11, 0xfffffffffffffff2
mov r13, rdx
lea r10, [rcx + 0x10]
lea rdx, [r11 + r10]
mov r8d, 0x10
nop dword [rax + rax]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
lea rdx, [rdx + 4]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx - 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [rdx - 6]
shl ecx, 8
add ecx, eax
mov dword [rdx + r9 - 4], ecx
sub r8, 1
jne 0x18007efd0
mov eax, dword [rbx]
sub r9, 0x40
mov ecx, dword [rbx + 0x14]
shl rcx, 0x20
or rcx, rax
mov qword [r10 - 0x10], rcx
mov eax, dword [rbx + 0x28]
mov ecx, dword [rbx + 0x3c]
shl rcx, 0x20
or rcx, rax
mov qword [r10 - 8], rcx
mov eax, dword [rbx + 0x10]
mov ecx, dword [rbx + 0x24]
shl rcx, 0x20
or rcx, rax
mov qword [r10], rcx
mov eax, dword [rbx + 0x38]
mov ecx, dword [rbx + 0xc]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 8], rcx
mov eax, dword [rbx + 0x20]
mov ecx, dword [rbx + 0x34]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x10], rcx
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x1c]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x18], rcx
mov eax, dword [rbx + 0x30]
mov ecx, dword [rbx + 4]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x20], rcx
mov ecx, dword [rbx + 0x2c]
mov eax, dword [rbx + 0x18]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x28], rcx
add r10, 0x40
sub r13, 1
jne 0x18007efc1
mov r13d, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb0]
mov r9, rdi
mov r8, rbp
mov rdx, rbx
call qword [rsp + 0x20]
mov r8, qword [rsp + 0xb0]
sub r14, rbx
add r8, r14
mov rdx, rsi
mov rcx, rbx
nop word [rax + rax]
mov rax, qword [rcx]
mov qword [r8 + rcx], rax
mov rax, qword [rcx + 8]
mov qword [r8 + rcx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [r8 + rcx + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [r8 + rcx + 0x18], rax
lea rcx, [rcx + 0x20]
sub rdx, 4
jne 0x18007f0d0
mov rax, qword [rsp + 0xb8]
test rax, rax
je 0x18007f414
test r13b, 1
je 0x18007f414
lea rdx, [rax - 1]
mov r14, rdi
shl r14, 7
mov r8, rsi
mov qword [rsp + 0x30], rdx
mov eax, dword [r14 + rbx - 0x40]
lea rcx, [r14 - 0x40]
add rcx, rbx
mov qword [rsp + 0xc0], rcx
mov rcx, qword [r14 + rbx - 0x10]
shr rcx, 0x20
shl rcx, 0x20
add rcx, rax
mov rax, qword [rsp + 0x28]
and rcx, rdx
imul rcx, rsi
lea rdx, [rax + rcx*8]
mov rcx, rbx
mov rax, qword [rdx]
lea rdx, [rdx + 0x20]
xor qword [rcx], rax
lea rcx, [rcx + 0x20]
mov rax, qword [rdx - 0x18]
xor qword [rcx - 0x18], rax
mov rax, qword [rdx - 0x10]
xor qword [rcx - 0x10], rax
mov rax, qword [rdx - 8]
xor qword [rcx - 8], rax
sub r8, 4
jne 0x18007f161
mov r9, rdi
mov r8, rbp
mov rdx, r12
mov rcx, rbx
call qword [rsp + 0x20]
mov edi, 2
mov ebp, 1
cmp rdi, qword [rsp + 0xa0]
jae 0x18007f63e
mov r9, qword [rsp + 0xb0]
lea r15, [rsi + rsi*2]
mov eax, r13d
lea r10, [r12 - 0x40]
mov qword [rsp + 0xb8], rax
add r10, r14
shl r15, 3
mov rax, rsi
shl rax, 4
sub r15, rbx
mov r13, rax
mov qword [rsp + 0x40], r10
sub r13, r12
mov qword [rsp + 0x38], rax
add r13, r9
add r15, r9
nop dword [rax + rax]
mov rdx, rsi
mov rcx, r12
nop word [rax + rax]
mov rax, qword [rcx]
mov qword [rcx + r13], rax
mov rax, qword [rcx + 8]
mov qword [rcx + r13 + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rcx + r13 + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [rcx + r13 + 0x18], rax
lea rcx, [rcx + 0x20]
sub rdx, 4
jne 0x18007f210
lea rax, [rdi - 1]
test rdi, rax
jne 0x18007f248
add rbp, rbp
mov rcx, qword [r10 + 0x30]
lea r14, [rbp - 1]
mov eax, dword [r10]
mov r8, rsi
shr rcx, 0x20
shl rcx, 0x20
add rcx, rax
and rcx, r14
sub rcx, rbp
add rcx, rdi
imul rcx, rsi
lea rdx, [r9 + rcx*8]
mov rcx, r12
nop word [rax + rax]
mov rax, qword [rdx]
lea rdx, [rdx + 0x20]
xor qword [rcx], rax
lea rcx, [rcx + 0x20]
mov rax, qword [rdx - 0x18]
xor qword [rcx - 0x18], rax
mov rax, qword [rdx - 0x10]
xor qword [rcx - 0x10], rax
mov rax, qword [rdx - 8]
xor qword [rcx - 8], rax
sub r8, 4
jne 0x18007f280
mov r9, qword [rsp + 0x98]
mov rdx, rbx
mov r8, qword [rsp + 0xd0]
mov rcx, r12
call qword [rsp + 0x20]
mov rdx, rsi
mov rcx, rbx
nop dword [rax]
mov rax, qword [rcx]
mov qword [r15 + rcx], rax
mov rax, qword [rcx + 8]
mov qword [r15 + rcx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [r15 + rcx + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [r15 + rcx + 0x18], rax
lea rcx, [rcx + 0x20]
sub rdx, 4
jne 0x18007f2d0
mov rcx, qword [rsp + 0xc0]
mov rdx, rsi
mov eax, dword [rcx]
mov r8, qword [rcx + 0x30]
lea rcx, [rdi + 1]
shr r8, 0x20
shl r8, 0x20
add r8, rax
mov rax, qword [rsp + 0xb8]
and rax, rcx
mov rcx, rbx
cmp rax, 1
jne 0x18007f37e
mov rax, qword [rsp + 0x30]
and rax, r8
mov r8, qword [rsp + 0x28]
imul rax, rsi
shl rax, 3
sub rax, rbx
add r8, rax
nop dword [rax + rax]
mov rax, qword [r8 + rcx]
xor qword [rcx], rax
mov rax, qword [r8 + rcx + 8]
xor qword [rcx + 8], rax
mov rax, qword [r8 + rcx + 0x10]
xor qword [rcx + 0x10], rax
mov rax, qword [r8 + rcx + 0x18]
xor qword [rcx + 0x18], rax
lea rcx, [rcx + 0x20]
sub rdx, 4
jne 0x18007f350
jmp 0x18007f3cc
and r14, r8
lea r8, [rdi + 1]
sub r14, rbp
add r8, r14
imul r8, rsi
shl r8, 3
sub r8, rbx
add r8, qword [rsp + 0xb0]
nop
mov rax, qword [r8 + rcx]
xor qword [rcx], rax
mov rax, qword [r8 + rcx + 8]
xor qword [rcx + 8], rax
mov rax, qword [r8 + rcx + 0x10]
xor qword [rcx + 0x10], rax
mov rax, qword [r8 + rcx + 0x18]
xor qword [rcx + 0x18], rax
lea rcx, [rcx + 0x20]
sub rdx, 4
jne 0x18007f3a0
mov r9, qword [rsp + 0x98]
mov rdx, r12
mov r8, qword [rsp + 0xd0]
mov rcx, rbx
call qword [rsp + 0x20]
add r13, qword [rsp + 0x38]
add rdi, 2
add r15, qword [rsp + 0x38]
mov r9, qword [rsp + 0xb0]
mov r10, qword [rsp + 0x40]
cmp rdi, qword [rsp + 0xa0]
jb 0x18007f200
jmp 0x18007f63e
mov r9, rdi
mov r8, rbp
mov rdx, r12
mov rcx, rbx
and r15d, 1
call qword [rsp + 0x20]
mov edi, 2
mov ebp, 1
cmp qword [rsp + 0xa0], rdi
jbe 0x18007f63e
mov r10, qword [rsp + 0xb0]
lea r14, [rsi + rsi*2]
mov r8d, r15d
mov r13, rsi
shl r13, 4
shl r14, 3
mov r15, r13
sub r15, r12
mov qword [rsp + 0xc0], r8
add r15, r10
sub r14, rbx
add r14, r10
mov rdx, rsi
mov rcx, r12
nop word [rax + rax]
mov rax, qword [rcx]
mov qword [r15 + rcx], rax
mov rax, qword [rcx + 8]
mov qword [r15 + rcx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [r15 + rcx + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [r15 + rcx + 0x18], rax
lea rcx, [rcx + 0x20]
sub rdx, 4
jne 0x18007f480
test r8, r8
je 0x18007f52c
lea rax, [rdi - 1]
test rdi, rax
jne 0x18007f4bd
add rbp, rbp
mov rcx, qword [rsp + 0x98]
mov r9, rsi
shl rcx, 7
mov eax, dword [rcx + r12 - 0x40]
mov rdx, qword [rcx + r12 - 0x10]
mov rcx, r12
shr rdx, 0x20
shl rdx, 0x20
add rdx, rax
lea rax, [rbp - 1]
and rdx, rax
sub rdx, rbp
add rdx, rdi
imul rdx, rsi
lea r8, [r10 + rdx*8]
nop dword [rax]
mov rax, qword [r8]
lea r8, [r8 + 0x20]
xor qword [rcx], rax
lea rcx, [rcx + 0x20]
mov rax, qword [r8 - 0x18]
xor qword [rcx - 0x18], rax
mov rax, qword [r8 - 0x10]
xor qword [rcx - 0x10], rax
mov rax, qword [r8 - 8]
xor qword [rcx - 8], rax
sub r9, 4
jne 0x18007f500
mov r9, qword [rsp + 0x98]
mov rdx, rbx
mov r8, qword [rsp + 0xd0]
mov rcx, r12
call qword [rsp + 0x20]
mov rdx, rsi
mov rcx, rbx
nop dword [rax]
mov rax, qword [rcx]
mov qword [r14 + rcx], rax
mov rax, qword [rcx + 8]
mov qword [r14 + rcx + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [r14 + rcx + 0x10], rax
mov rax, qword [rcx + 0x18]
mov qword [r14 + rcx + 0x18], rax
lea rcx, [rcx + 0x20]
sub rdx, 4
jne 0x18007f550
cmp qword [rsp + 0xc0], rdx
je 0x18007f5fc
mov rcx, qword [rsp + 0x98]
mov r8, rsi
mov r10, qword [rsp + 0xb0]
shl rcx, 7
mov eax, dword [rcx + rbx - 0x40]
mov rdx, qword [rcx + rbx - 0x10]
shr rdx, 0x20
shl rdx, 0x20
add rdx, rax
lea rax, [rbp - 1]
and rax, rdx
sub rax, rbp
inc rax
add rax, rdi
imul rax, rsi
lea rdx, [r10 + rax*8]
mov rax, rbx
nop dword [rax]
mov rcx, qword [rdx]
lea rdx, [rdx + 0x20]
xor qword [rax], rcx
lea rax, [rax + 0x20]
mov rcx, qword [rdx - 0x18]
xor qword [rax - 0x18], rcx
mov rcx, qword [rdx - 0x10]
xor qword [rax - 0x10], rcx
mov rcx, qword [rdx - 8]
xor qword [rax - 8], rcx
sub r8, 4
jne 0x18007f5d0
mov r9, qword [rsp + 0x98]
mov rdx, r12
mov r8, qword [rsp + 0xd0]
mov rcx, rbx
call qword [rsp + 0x20]
mov r8, qword [rsp + 0xc0]
add rdi, 2
mov r10, qword [rsp + 0xb0]
add r15, r13
add r14, r13
cmp rdi, qword [rsp + 0xa0]
jb 0x18007f471
cmp qword [rsp + 0xc8], 0
jbe 0x18007f87e
mov r9, qword [rsp + 0x90]
mov r8, r12
sub r8, rbx
mov rax, rbx
sub rax, r12
add r8, 2
lea rcx, [r9 + 0x22]
add rcx, rax
lea rdx, [r9 + 0x26]
add rdx, rax
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xd0], rdx
lea r11, [rax + r9]
lea rdi, [rax + r9]
lea rsi, [rax + r9]
lea r14, [rax + r9]
lea r15, [rax + r9]
lea r12, [rax + r9]
lea rbp, [rax + r9]
lea r13, [rax + r9]
lea rcx, [r9 + 0x2a]
add rcx, rax
lea rdx, [r9 + 0x2e]
add rdx, rax
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xb8], rdx
lea rcx, [r9 + 0x32]
add rcx, rax
lea rdx, [r9 + 0x36]
add rdx, rax
mov qword [rsp + 0x40], rcx
lea rcx, [r9 + 0x3a]
mov qword [rsp + 0x38], rdx
add rcx, rax
add rax, 0xfffffffffffffffe
add rax, r9
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0xb0], rax
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 6]
mov r9d, 4
nop word [rax + rax]
mov ecx, dword [rdx + r8 - 8]
mov eax, ecx
mov byte [rdx - 6], cl
lea rdx, [rdx + 0x10]
shr eax, 8
mov byte [rdx - 0x15], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx - 0x14], al
shr ecx, 0x18
mov byte [rdx - 0x13], cl
mov ecx, dword [rdx + r8 - 0x14]
mov eax, ecx
mov byte [rdx - 0x12], cl
shr eax, 8
mov byte [rdx - 0x11], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx - 0x10], al
shr ecx, 0x18
mov byte [rdx - 0xf], cl
mov ecx, dword [rdx + r8 - 0x10]
mov eax, ecx
mov byte [rdx - 0xe], cl
shr eax, 8
mov byte [rdx - 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [rdx - 0xc], al
shr ecx, 0x18
mov byte [rdx - 0xb], cl
mov ecx, dword [rdx + r8 - 0xc]
mov eax, ecx
mov byte [rdx - 0xa], cl
shr eax, 8
mov byte [rdx - 9], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [rdx - 8], al
mov byte [rdx - 7], cl
sub r9, 1
jne 0x18007f710
mov eax, dword [rbx]
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + r8], eax
mov rax, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x98]
shr rax, 0x20
mov dword [r11 + r8 + 2], eax
mov eax, dword [rbx + 0x28]
mov dword [rdi + r8 + 6], eax
mov rax, qword [rbx + 0x18]
shr rax, 0x20
mov dword [rsi + r8 + 0xa], eax
mov eax, dword [rbx + 0x10]
mov dword [r14 + r8 + 0xe], eax
mov rax, qword [rbx]
shr rax, 0x20
mov dword [r15 + r8 + 0x12], eax
mov eax, dword [rbx + 0x38]
mov dword [r12 + r8 + 0x16], eax
mov rax, qword [rbx + 0x28]
shr rax, 0x20
mov dword [r8 + rbp + 0x1a], eax
mov eax, dword [rbx + 0x20]
mov dword [r8 + r13 + 0x1e], eax
mov rax, qword [rbx + 0x10]
shr rax, 0x20
mov dword [rcx + r8], eax
mov eax, dword [rbx + 8]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx + r8], eax
mov rax, qword [rbx + 0x38]
mov rcx, qword [rsp + 0xc0]
shr rax, 0x20
mov dword [rcx + r8], eax
mov eax, dword [rbx + 0x30]
mov rcx, qword [rsp + 0xb8]
mov dword [rcx + r8], eax
mov rax, qword [rbx + 0x20]
mov rcx, qword [rsp + 0x40]
shr rax, 0x20
mov dword [rcx + r8], eax
mov eax, dword [rbx + 0x18]
mov rcx, qword [rsp + 0x38]
mov dword [rcx + r8], eax
mov rax, qword [rbx + 8]
mov rcx, qword [rsp + 0x30]
shr rax, 0x20
mov dword [rcx + r8], eax
add r8, 0x40
sub qword [rsp + 0xc8], 1
jne 0x18007f700
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret