Function at 0x1400ee530
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov eax, dword [rcx + 0x18]
mov r11, rcx
mov r13, qword [rcx + 0x70]
mov r14, rdx
mov r12, qword [rcx + 0x38]
mov r15, r8
mov edi, dword [rcx + 0x34]
mov ebx, 1
mov rbp, qword [r11 + 0xf8]
mov esi, 3
mov dword [rsp + 0x34], eax
mov qword [rsp + 0x40], r8
mov r8d, edx
mov qword [rsp + 0x78], r9
mov r9, qword [rcx + 8]
mov ecx, dword [rcx + 0x100]
add rax, r9
mov qword [rsp + 0x98], rax
sub r8d, r9d
mov eax, edx
mov qword [rsp + 0x28], r13
sub eax, r9d
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x20], eax
mov edx, ebx
shl edx, cl
mov eax, r8d
mov ecx, dword [r11 + 0x1c]
mov r10d, r8d
sub eax, ecx
mov dword [rsp + 0x4c], edi
sub r10d, edx
mov qword [rsp + 0x38], r9
cmp eax, edx
mov dword [rsp + 0x30], r8d
mov eax, dword [r11 + 0x10c]
cmovbe r10d, ecx
mov qword [rsp + 0x80], rbp
cmp dword [r11 + 0x28], 0
cmovne r10d, ecx
mov ecx, 5
cmp eax, ecx
mov dword [rsp + 0x58], r10d
mov r10, qword [r11 + 0x60]
cmovb ecx, eax
mov qword [rsp + 0x68], r10
imul edx, dword [r14], 0x9e3779b1
shl ebx, cl
mov ecx, 0x18
sub ecx, dword [rbp + 0x34]
mov dword [rsp + 0x24], ebx
mov eax, edx
shr rax, cl
mov ecx, eax
mov qword [rsp + 0x88], rax
mov rax, qword [rbp + 0x38]
shr rcx, 3
and ecx, 0x1fffffe0
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rbp + 0x70]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x90], rax
prefetcht0 byte [rax]
prefetcht0 byte [rax + 0x40]
mov rax, qword [rsp + 0x70]
prefetcht0 byte [rax]
xor ebp, ebp
mov dword [rsp + 0x48], 0x1f
cmp dword [r11 + 0x12c], ebp
jne 0x1400ee932
mov r10d, dword [r11 + 0x2c]
mov rdi, r13
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x4c]
sub eax, r10d
mov edx, ecx
cmp eax, 0x180
jbe 0x1400ee819
lea eax, [r10 + 0x60]
cmp r10d, eax
jae 0x1400ee779
mov r15, qword [rsp + 0x60]
lea r12, [r9 + 8]
mov esi, 0x18
mov edi, r10d
sub esi, ecx
mov ebx, eax
add r12, r10
nop word [rax + rax]
mov eax, dword [r11 + 0x60]
mov rcx, rsi
imul edx, dword [r12], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [r13 + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
mov rax, rdi
lea r12, [r12 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 3
and r8d, 0x1fffffe0
movzx ecx, byte [r15 + r8]
lea rdx, [r15 + r8]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x48]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r13 + rax*4], r10d
inc r10d
cmp r10d, ebx
jb 0x1400ee6d0
mov rdi, qword [r11 + 0x70]
mov esi, 3
mov r12, qword [r11 + 0x38]
mov edx, dword [r11 + 0x34]
mov ebx, dword [rsp + 0x24]
mov r15, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0x20]
lea rax, [r14 + 1]
add r10d, 0xffffffe0
mov ecx, eax
sub ecx, r10d
mov r8d, r10d
sub ecx, dword [rsp + 0x38]
add r9, r8
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebp
cmp ecx, eax
cmova ecx, eax
lea eax, [rcx + r10]
cmp r10d, eax
jae 0x1400ee814
mov eax, 0x18
mov r13d, ecx
sub eax, edx
mov qword [rsp + 0x50], rax
mov ecx, eax
mov eax, dword [r11 + 0x60]
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + r12]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r13, 1
jne 0x1400ee7c1
mov rdi, qword [r11 + 0x70]
mov r12, qword [r11 + 0x38]
mov edx, dword [r11 + 0x34]
mov r13, qword [rsp + 0x28]
mov r9, qword [rsp + 0x38]
mov eax, dword [rsp + 0x20]
mov rcx, qword [r11 + 8]
cmp r10d, eax
jae 0x1400ee8dc
mov ebx, 0x18
mov r13d, r10d
sub ebx, edx
lea r15, [rcx + 8]
add r15, r13
mov esi, eax
nop dword [rax]
mov eax, dword [r11 + 0x60]
mov rcx, rbx
imul edx, dword [r15], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + r12]
mov rax, r13
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 3
and r8d, 0x1fffffe0
movzx ecx, byte [r8 + r12]
lea rdx, [r8 + r12]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x48]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r10d
inc r10d
cmp r10d, esi
jb 0x1400ee840
mov ebx, dword [rsp + 0x24]
mov esi, 3
mov r15, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
mov r13, qword [rsp + 0x28]
mov eax, dword [rsp + 0x20]
mov r8d, dword [rsp + 0x30]
mov ecx, 0x18
sub ecx, dword [rsp + 0x4c]
mov dword [r11 + 0x2c], eax
mov eax, dword [rsp + 0x68]
imul edx, dword [r8 + r9 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [r13 + rax*4 + 0x40]
mov r12, qword [rsp + 0x60]
prefetcht0 byte [rax + r12]
and r8d, 7
mov r10d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1400ee948
mov r10d, r10d
mov ecx, 0x18
mov eax, edx
sub ecx, edi
xor r10, rax
mov dword [r11 + 0x2c], r8d
shr r10, cl
add dword [r11 + 0x68], r10d
mov eax, r10d
shr rax, 3
mov rdi, rbp
and eax, 0x1fffffe0
movdqu xmm0, xmmword [rax + r12]
lea rcx, [rax*4]
add rcx, r13
mov qword [rsp + 0x28], rcx
lea rcx, [rax + r12]
movzx eax, byte [rax + r12]
mov r12, rbp
mov r13d, eax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x68], rcx
and r13d, 0x1f
movsx eax, r10b
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
mov ecx, r13d
neg ecx
pmovmskb eax, xmm1
and ecx, 0x1f
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
shl edx, 0x10
or edx, eax
mov r8d, edx
mov eax, edx
mov rdx, qword [rsp + 0x28]
shl r8d, cl
mov ecx, r13d
shr rax, cl
or r8, rax
jbe 0x1400eea21
mov r15d, dword [rsp + 0x58]
test ebx, ebx
je 0x1400eea18
bsf rcx, r8
add ecx, r13d
and ecx, 0x1f
je 0x1400eea0f
mov ecx, dword [rdx + rcx*4]
cmp ecx, r15d
jb 0x1400eea18
prefetcht0 byte [rcx + r9]
mov dword [rsp + r12*4 + 0xa0], ecx
inc r12
dec ebx
lea rax, [r8 - 1]
and r8, rax
ja 0x1400ee9e5
mov r15, qword [rsp + 0x40]
mov dword [rsp + 0x24], ebx
mov ecx, dword [rsp + 0x50]
mov eax, ebp
dec ecx
mov r8d, 0x1f
and ecx, 0x1f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x68]
mov byte [rax], cl
mov byte [rcx + rax], r10b
mov eax, dword [r11 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r11 + 0x2c]
test r12, r12
je 0x1400eeab4
mov ebp, dword [rsp + 0x30]
mov rbx, qword [rsp + 0x78]
nop dword [rax]
mov r13d, dword [rsp + rdi*4 + 0xa0]
mov eax, dword [rsi + r14 - 3]
lea rdx, [r9 + r13]
cmp dword [rdx + rsi - 3], eax
jne 0x1400eeaa6
mov r8, r15
mov rcx, r14
call fcn.1400e6500
mov rcx, rax
cmp rax, rsi
jbe 0x1400eeaa1
mov rsi, rax
mov eax, ebp
sub eax, r13d
add eax, 3
mov qword [rbx], rax
lea rax, [rcx + r14]
cmp rax, r15
je 0x1400eeaae
mov r9, qword [rsp + 0x38]
inc rdi
cmp rdi, r12
jb 0x1400eea60
mov ebx, dword [rsp + 0x24]
xor ebp, ebp
mov rcx, qword [rsp + 0x70]
mov r12, rbp
mov r10, qword [rsp + 0x80]
movdqu xmm0, xmmword [rcx]
movzx r11d, byte [rcx]
mov r9, qword [r10 + 8]
and r11d, 0x1f
mov edi, dword [r10 + 0x18]
mov eax, r9d
mov r10, qword [r10]
sub eax, r10d
mov qword [rsp + 0x40], r9
add dword [rsp + 0x34], eax
movsx eax, byte [rsp + 0x88]
mov qword [rsp + 0x28], r10
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
mov ecx, r11d
neg ecx
pmovmskb eax, xmm1
and ecx, 0x1f
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
shl edx, 0x10
or edx, eax
mov r8d, edx
mov eax, edx
shl r8d, cl
mov ecx, r11d
shr rax, cl
or r8, rax
jbe 0x1400eec39
mov rdx, qword [rsp + 0x90]
nop dword [rax]
test ebx, ebx
je 0x1400eeb81
bsf rcx, r8
add ecx, r11d
and ecx, 0x1f
je 0x1400eeb78
mov ecx, dword [rdx + rcx*4]
cmp ecx, edi
jb 0x1400eeb81
prefetcht0 byte [rcx + r9]
mov dword [rsp + rbp*4 + 0xa0], ecx
inc rbp
dec ebx
lea rax, [r8 - 1]
and r8, rax
ja 0x1400eeb50
test rbp, rbp
je 0x1400eec39
nop word [rax + rax]
mov edi, dword [rsp + r12*4 + 0xa0]
mov eax, dword [r14]
add rdi, r9
cmp dword [rdi], eax
jne 0x1400eec2d
add rdi, 4
lea r13, [r14 + 4]
mov rcx, r13
mov r8, r15
sub rcx, rdi
mov rdx, rdi
add rcx, r10
cmp rcx, r15
cmovb r8, rcx
mov rcx, r13
call fcn.1400e6500
mov r10, qword [rsp + 0x28]
mov rbx, rax
add rax, rdi
cmp rax, r10
jne 0x1400eebf8
mov rdx, qword [rsp + 0x98]
lea rcx, [rbx + r13]
mov r8, r15
call fcn.1400e6500
mov r10, qword [rsp + 0x28]
add rbx, rax
add rbx, 4
cmp rbx, rsi
jbe 0x1400eec28
mov eax, dword [rsp + 0x30]
mov rsi, rbx
sub eax, dword [rsp + r12*4 + 0xa0]
sub eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
add eax, 3
mov qword [rcx], rax
lea rax, [rbx + r14]
cmp rax, r15
je 0x1400eec39
mov r9, qword [rsp + 0x40]
inc r12
cmp r12, rbp
jb 0x1400eeb90
mov rax, rsi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140132620
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret