Function at 0x14006fd00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rax, qword [0x140106438]
xor rax, rsp
mov qword [rbp + 0x580], rax
mov rsi, qword [rbp + 0x5f0]
mov edi, edx
mov qword [rsp + 0x68], rsi
mov rbx, rcx
mov qword [rsp + 0x78], r9
mov r10d, 0x10
mov dword [rsp + 0x4c], r8d
cmp edx, 0x100
jbe 0x14006fd59
mov r15d, dword [rcx + 0x400]
jmp 0x14006fd5c
mov r15d, r10d
xorps xmm1, xmm1
mov dword [rsp + 0x20], r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x38], xmm0
mov dword [rbp - 0x40], eax
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
mov eax, dword [rcx]
lea rcx, [rcx + 4]
inc dword [rbp + rax*4 - 0x80]
add edx, 0xffffffff
jne 0x14006fd81
mov qword [rsp + 0x6e0], r12
lea r12d, [rdx + 1]
cmp dword [rbp - 0x80], edi
jne 0x14006fdc6
mov edx, r12d
lea ecx, [r12 + 0x2f]
call fcn.1400966e0
mov word [rax + 0x10], 0x163
mov word [rax + 0x20], 0x163
add rax, 0x10
mov dword [rsi], r12d
jmp 0x1400701bc
mov ecx, r12d
nop dword [rax]
mov eax, ecx
cmp dword [rbp + rax*4 - 0x80], 0
jne 0x14006fde0
inc ecx
cmp ecx, r10d
jbe 0x14006fdd0
cmp dword [rbp - 0x40], 0
mov dword [rsp + 0x28], ecx
jne 0x14006fe00
nop word [rax + rax]
test r10d, r10d
je 0x14006fe00
dec r10d
cmp dword [rbp + r10*4 - 0x80], 0
je 0x14006fdf0
mov eax, dword [rsi]
mov dword [rsp + 0x24], r10d
cmp eax, ecx
jae 0x14006fe0f
mov eax, ecx
jmp 0x14006fe16
cmp eax, r10d
cmova eax, r10d
mov edx, r12d
mov dword [rsi], eax
shl edx, cl
cmp ecx, r10d
jae 0x14006fe37
mov eax, ecx
sub edx, dword [rbp + rax*4 - 0x80]
js 0x1400701b9
inc ecx
add edx, edx
cmp ecx, r10d
jb 0x14006fe22
mov eax, r10d
lea rcx, [rbp - 0x80]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
sub edx, eax
mov dword [rsp + 0x54], edx
js 0x1400701b9
add eax, edx
mov qword [rsp + 0x698], r13
xor esi, esi
mov dword [rcx], eax
mov dword [rbp + 0x24], esi
mov eax, esi
lea rcx, [rbp - 0x7c]
lea rdx, [rbp + 0x28]
add r10d, 0xffffffff
je 0x14006fe92
nop dword [rax]
nop word [rax + rax]
add eax, dword [rcx]
lea rcx, [rcx + 4]
mov dword [rdx], eax
lea rdx, [rdx + 4]
add r10d, 0xffffffff
jne 0x14006fe80
mov edx, 0xff
lea rcx, [rbp + 0xf0]
mov r8d, 0x484
call fcn.140093c00
mov edx, esi
nop dword [rax + rax]
mov eax, dword [rbx]
lea rbx, [rbx + 4]
test eax, eax
je 0x14006fecf
lea rcx, [rbp + 0x20]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [rbp + rax*4 + 0xf0], edx
inc eax
mov dword [rcx], eax
inc edx
cmp edx, edi
jb 0x14006feb0
mov r10d, dword [rsp + 0x28]
lea rax, [rsp + 0x60]
mov ebx, dword [rsp + 0x24]
lea r8, [rbp + 0xf0]
mov qword [rsp + 0x58], rax
mov edi, esi
mov qword [rsp + 0x30], r8
mov r9, rsi
mov qword [rsp + 0x60], r12
mov r13d, esi
mov dword [rbp + 0x20], esi
mov dword [rbp - 0x30], esi
mov qword [rbp + 0x70], rsi
cmp r10d, ebx
jg 0x140070197
mov qword [rsp + 0x690], r14
mov r14, 0xffffffffffffffff
movsxd rax, r10d
mov r11d, dword [rbp + rax*4 - 0x80]
lea rax, [rbp + rax*4 - 0x80]
mov qword [rsp + 0x70], rax
test r11d, r11d
je 0x140070174
lea ecx, [r10 - 1]
mov eax, r12d
shl eax, cl
lea rdx, [r14*4]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], r11d
dec r11d
mov dword [rsp + 0x2c], r11d
cmp r10d, dword [rbp + rdx - 0x2c]
jle 0x140070082
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
inc r14
mov eax, ebx
mov ebx, r10d
mov r8d, dword [rcx]
mov edi, dword [rbp + r14*4 - 0x30]
sub eax, edi
cmp eax, r8d
cmovbe r8d, eax
sub ebx, edi
mov ecx, ebx
mov eax, r12d
shl eax, cl
cmp eax, dword [rsp + 0x48]
jbe 0x14006ffc9
mov ecx, 0xffffffff
inc ebx
sub ecx, r11d
add eax, ecx
mov rcx, qword [rsp + 0x70]
cmp ebx, r8d
jae 0x14006ffc9
mov edx, dword [rcx + 4]
lea rcx, [rcx + 4]
add eax, eax
cmp eax, edx
jbe 0x14006ffc9
sub eax, edx
inc ebx
cmp ebx, r8d
jb 0x14006ffb3
lea eax, [rdi + rbx]
cmp eax, r15d
jbe 0x14006ffdb
cmp edi, r15d
jge 0x14006ffdb
mov ebx, r15d
sub ebx, edi
mov ecx, ebx
lea r15d, [rdi + rbx]
mov r13d, r12d
mov dword [rbp + r14*4 - 0x2c], r15d
shl r13d, cl
mov rdx, r12
lea ecx, [r13 + 1]
shl rcx, 4
call fcn.1400966e0
mov rcx, qword [rsp + 0x58]
lea r9, [rax + 0x10]
add rax, 8
mov qword [rcx], r9
mov qword [rsp + 0x58], rax
mov qword [rbp + r14*8 + 0x70], r9
test r14, r14
je 0x140070061
movzx eax, dil
mov qword [rsp + 0x40], r9
sub al, byte [rbp + r14*4 - 0x34]
mov ecx, edi
mov byte [rsp + 0x39], al
mov edx, r12d
shl edx, cl
add bl, 0x10
movzx ecx, byte [rbp + r14*4 - 0x34]
dec edx
mov eax, esi
and rdx, rax
mov byte [rsp + 0x38], bl
mov rax, qword [rbp + r14*8 + 0x68]
movups xmm0, xmmword [rsp + 0x38]
shr rdx, cl
add rdx, rdx
mov dword [rbp + r14*4 + 0x20], esi
movups xmmword [rax + rdx*8], xmm0
mov r10d, dword [rsp + 0x28]
cmp r10d, r15d
mov r15d, dword [rsp + 0x20]
mov r11d, dword [rsp + 0x2c]
mov ebx, dword [rsp + 0x24]
jg 0x14006ff70
mov r8, qword [rsp + 0x30]
mov ecx, dword [r8]
movzx eax, r10b
sub al, dil
mov byte [rsp + 0x39], al
cmp ecx, 0xffffffff
jne 0x14007009c
mov byte [rsp + 0x38], 0x63
jmp 0x1400700de
mov eax, dword [rsp + 0x4c]
add r8, 4
mov qword [rsp + 0x30], r8
cmp ecx, eax
jae 0x1400700c1
cmp ecx, 0x100
setb al
add al, 0xf
mov byte [rsp + 0x38], al
movzx eax, cx
jmp 0x1400700da
mov rdx, qword [rsp + 0x78]
sub ecx, eax
mov qword [rsp + 0x30], r8
movzx eax, byte [rcx + rdx + 0x3e]
mov byte [rsp + 0x38], al
movzx eax, word [rdx + rcx*2]
mov dword [rsp + 0x40], eax
mov ecx, r10d
mov r8d, r12d
sub ecx, edi
mov edx, esi
shl r8d, cl
mov ecx, edi
shr edx, cl
cmp edx, r13d
jae 0x140070112
movups xmm0, xmmword [rsp + 0x38]
nop dword [rax]
mov eax, edx
add edx, r8d
add rax, rax
movups xmmword [r9 + rax*8], xmm0
cmp edx, r13d
jb 0x140070100
mov eax, dword [rsp + 0x50]
test esi, eax
je 0x140070128
nop word [rax + rax]
xor esi, eax
shr eax, 1
test esi, eax
jne 0x140070120
xor esi, eax
lea rdx, [r14*4]
mov eax, r12d
shl eax, cl
dec eax
and eax, esi
cmp eax, dword [rbp + rdx + 0x20]
je 0x140070161
dec r14
mov eax, r12d
lea rdx, [r14*4]
mov edi, dword [rbp + rdx - 0x30]
mov ecx, edi
shl eax, cl
dec eax
and eax, esi
cmp eax, dword [rbp + rdx + 0x20]
jne 0x140070141
mov r15d, dword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
test r11d, r11d
jne 0x14006ff53
mov r15d, dword [rsp + 0x20]
inc r10d
mov dword [rsp + 0x28], r10d
cmp r10d, ebx
jle 0x14006ff23
mov r12, qword [rsp + 0x60]
mov r14, qword [rsp + 0x690]
cmp dword [rsp + 0x54], 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rbp - 0x2c]
mov r13, qword [rsp + 0x698]
mov dword [rcx], eax
je 0x1400701b9
cmp ebx, 1
je 0x1400701b9
or r12, 1
mov rax, r12
mov r12, qword [rsp + 0x6e0]
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140092060
add rsp, 0x6a0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret