Function at 0x1400e2200
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x88], r9
mov rax, rcx
mov rcx, qword [0x14018e218]
xor rcx, rsp
mov qword [rsp + 0x190], rcx
mov rsi, qword [rax + 0x70]
mov r15, qword [rax + 0x38]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x28], rdx
mov r13, rdx
mov qword [rsp + 0x48], rcx
sub r13, rcx
movzx ecx, byte [rax + 0x100]
mov r9d, 1
shl r9d, cl
mov ecx, dword [rax + 0x1c]
mov r10d, r13d
sub r10d, ecx
mov ebp, r13d
sub ebp, r9d
cmp r10d, r9d
cmovbe ebp, ecx
mov r14d, dword [rax + 0x34]
mov rdx, qword [rax + 0x10]
cmp dword [rax + 0x28], 0
mov r9d, 1
cmovne ebp, ecx
mov r10d, dword [rax + 0x10c]
cmp r10d, 5
mov ecx, 5
cmovb ecx, r10d
shl r9d, cl
mov ecx, dword [rax + 0x18]
mov qword [rsp + 0x68], rcx
mov rbx, qword [rax + 0x60]
cmp dword [rax + 0x12c], 0
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x70], rdx
je 0x1400e22e6
movabs r10, 0xcf1bbcdcbf9b0000
mov rcx, qword [rsp + 0x28]
imul r10, qword [rcx]
xor r10, rbx
mov cl, 0x38
sub cl, r14b
shr r10, cl
mov dword [rax + 0x2c], r13d
jmp 0x1400e26db
mov edi, dword [rax + 0x2c]
mov ecx, r13d
sub ecx, edi
cmp ecx, 0x181
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], r14d
mov r11, r15
mov r10, rsi
jb 0x1400e2515
cmp edi, 0xffffff9f
mov r8, qword [rsp + 0x48]
ja 0x1400e23e0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x60], r13
lea r10, [rdi + 0x60]
mov ecx, 0x38
sub ecx, dword [rsp + 0x38]
movabs rbx, 0xcf1bbcdcbf9b0000
nop dword [rax + rax]
mov r14, qword [r8 + rdi + 8]
imul r14, rbx
xor r14, qword [rax + 0x60]
shr r14, cl
mov r13, r14
shr r13, 3
and r13d, 0x1fffffe0
prefetcht0 byte [rsi + r13*4]
prefetcht0 byte [rsi + r13*4 + 0x40]
prefetcht0 byte [r15 + r13]
mov r13d, edi
and r13d, 7
mov ebp, dword [rax + r13*4 + 0x40]
mov dword [rax + r13*4 + 0x40], r14d
mov r14, rbp
shr r14, 3
and r14d, 0x1fffffe0
lea r13, [rsi + r14*4]
movzx edx, byte [r15 + r14]
dec dl
and dl, 0x1f
mov r11d, 0
mov r12d, 0x1f
cmove r11d, r12d
lea r12, [r15 + r14]
movzx edx, dl
add rdx, r11
mov byte [r15 + r14], dl
mov byte [r12 + rdx], bpl
mov dword [r13 + rdx*4], edi
inc rdi
cmp r10, rdi
jne 0x1400e2340
mov r11, qword [rax + 0x38]
mov r10, qword [rax + 0x70]
mov r13, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x30]
lea edi, [r13 - 0x20]
mov rcx, qword [rsp + 0x28]
inc rcx
lea rdx, [r8 + rdi]
mov ebp, ecx
sub ebp, edx
inc ebp
cmp ebp, 8
mov r14d, 8
cmovb r14d, ebp
xor r12d, r12d
cmp rdx, rcx
cmovbe r12d, r14d
lea ebp, [r12 + r13]
add ebp, 0xffffffe0
cmp ebp, edi
jbe 0x1400e267d
mov r14, qword [rax + 0x60]
mov ecx, 0x38
sub ecx, dword [rax + 0x34]
mov edx, ebp
sub ebp, edi
mov r12, rdi
not r12
test bpl, 1
jne 0x1400e2618
mov rbp, rdi
add r12, rdx
je 0x1400e267d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rsi
mov rsi, r13
movabs rbx, 0xcf1bbcdcbf9b0000
nop word cs:[rax + rax]
mov r15, rdx
mov rdx, qword [r8 + rbp]
imul rdx, rbx
xor rdx, r14
shr rdx, cl
mov r12, rdx
shr r12, 3
and r12d, 0x1fffffe0
prefetcht0 byte [r10 + r12*4]
prefetcht0 byte [r10 + r12*4 + 0x40]
prefetcht0 byte [r11 + r12]
mov r12d, ebp
and r12d, 7
mov dword [rax + r12*4 + 0x40], edx
mov r13, qword [r8 + rbp + 1]
imul r13, rbx
xor r13, r14
shr r13, cl
lea r12d, [rbp + 1]
mov rdx, r13
shr rdx, 3
and edx, 0x1fffffe0
prefetcht0 byte [r10 + rdx*4]
prefetcht0 byte [r10 + rdx*4 + 0x40]
prefetcht0 byte [r11 + rdx]
mov rdx, r15
and r12d, 7
mov dword [rax + r12*4 + 0x40], r13d
add rbp, 2
cmp r15, rbp
jne 0x1400e2470
mov r13, rsi
mov ebp, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
cmp edi, r13d
jb 0x1400e2523
jmp 0x1400e268f
mov r8, qword [rsp + 0x48]
cmp edi, r13d
jae 0x1400e268f
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rsi
mov ecx, 0x38
sub ecx, dword [rax + 0x34]
mov r14, qword [rax + 8]
mov rdx, r13
mov r13d, edi
mov qword [rsp + 0x60], rdx
mov edi, edx
movabs rbx, 0xcf1bbcdcbf9b0000
nop word cs:[rax + rax]
mov rdx, qword [r14 + r13 + 8]
imul rdx, rbx
xor rdx, qword [rax + 0x60]
shr rdx, cl
mov r12, rdx
shr r12, 3
and r12d, 0x1fffffe0
prefetcht0 byte [r10 + r12*4]
prefetcht0 byte [r10 + r12*4 + 0x40]
prefetcht0 byte [r11 + r12]
mov r12d, r13d
and r12d, 7
mov r8d, dword [rax + r12*4 + 0x40]
mov dword [rax + r12*4 + 0x40], edx
mov rdx, r8
shr rdx, 3
and edx, 0x1fffffe0
lea r12, [r10 + rdx*4]
movzx ebp, byte [r11 + rdx]
dec bpl
and bpl, 0x1f
mov esi, 0
mov r15d, 0x1f
cmove esi, r15d
lea r15, [r11 + rdx]
movzx ebp, bpl
add rbp, rsi
mov byte [r11 + rdx], bpl
mov byte [r15 + rbp], r8b
mov dword [r12 + rbp*4], r13d
inc r13
cmp rdi, r13
jne 0x1400e2560
mov r8, qword [rsp + 0x48]
mov r13, qword [rsp + 0x60]
mov ebp, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x50]
mov r14d, dword [rsp + 0x38]
mov rdx, rbx
mov rbx, qword [rsp + 0x30]
jmp 0x1400e269c
mov qword [rsp + 0x30], rdx
mov rdx, qword [r8 + rdi]
mov rbp, r12
mov r12, rbx
movabs rbx, 0xcf1bbcdcbf9b0000
imul rdx, rbx
mov rbx, r12
xor rdx, r14
shr rdx, cl
mov r12, rdx
shr r12, 3
and r12d, 0x1fffffe0
prefetcht0 byte [r10 + r12*4]
prefetcht0 byte [r10 + r12*4 + 0x40]
prefetcht0 byte [r11 + r12]
mov r12d, edi
and r12d, 7
mov dword [rax + r12*4 + 0x40], edx
mov r12, rbp
mov rdx, qword [rsp + 0x30]
lea rbp, [rdi + 1]
add r12, rdx
jne 0x1400e2448
mov ebp, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x38]
cmp edi, r13d
jb 0x1400e2523
mov edi, r13d
movabs rdx, 0xcf1bbcdcbf9b0000
mov dword [rax + 0x2c], r13d
imul rdx, qword [r8 + rdi + 8]
xor rdx, rbx
mov cl, 0x38
sub cl, r14b
shr rdx, cl
mov rcx, rdx
shr rcx, 3
and ecx, 0x1fffffe0
prefetcht0 byte [rsi + rcx*4]
prefetcht0 byte [rsi + rcx*4 + 0x40]
prefetcht0 byte [r15 + rcx]
mov ecx, r13d
and ecx, 7
mov r10d, dword [rax + rcx*4 + 0x40]
mov dword [rax + rcx*4 + 0x40], edx
add dword [rax + 0x68], r10d
mov edx, r10d
shr edx, 3
and edx, 0xffffffe0
lea r11, [r15 + rdx]
movzx ecx, byte [r15 + rdx]
movd xmm0, r10d
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
movdqu xmm1, xmmword [r15 + rdx]
movdqu xmm2, xmmword [r15 + rdx + 0x10]
pcmpeqb xmm1, xmm0
pmovmskb r8d, xmm1
pcmpeqb xmm2, xmm0
pmovmskb r15d, xmm2
lea rsi, [rsi + rdx*4]
shl r15d, 0x10
xor r14d, r14d
or r15d, r8d
je 0x1400e2788
ror r15d, cl
xor edi, edi
mov r8, qword [rsp + 0x48]
nop dword [rax]
tzcnt r12, r15
add r12d, ecx
and r12d, 0x1f
je 0x1400e2778
mov r12d, dword [rsi + r12*4]
cmp r12d, ebp
jb 0x1400e278f
cmp r12d, dword [rsp + 0x68]
mov rdx, r8
cmovb rdx, qword [rsp + 0x70]
prefetcht0 byte [rdx + r12]
mov dword [rsp + rdi*4 + 0x90], r12d
inc rdi
dec r9d
lea rdx, [r15 - 1]
and r15, rdx
je 0x1400e278f
test r9d, r9d
jne 0x1400e2740
jmp 0x1400e278f
xor edi, edi
mov r8, qword [rsp + 0x48]
dec ecx
and ecx, 0x1f
mov edx, 0x1f
cmove r14d, edx
add r14, rcx
mov byte [r11], r14b
mov byte [r11 + r14], r10b
mov ecx, dword [rax + 0x2c]
lea edx, [rcx + 1]
mov dword [rax + 0x2c], edx
mov dword [rsi + r14*4], ecx
test rdi, rdi
je 0x1400e29a5
mov r11, qword [rsp + 0x68]
lea rax, [r8 + r11]
mov qword [rsp + 0x38], rax
mov rax, r11
mov r10, qword [rsp + 0x70]
add rax, r10
mov qword [rsp + 0x60], rax
mov rax, r8
mov r8, qword [rsp + 0x80]
lea r15, [r8 - 7]
lea rcx, [r8 - 3]
mov qword [rsp + 0x58], rcx
lea rcx, [r8 - 1]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x28]
lea rdx, [rcx + 4]
mov qword [rsp + 0x40], rdx
lea edx, [r13 + 3]
mov dword [rsp + 0x30], edx
lea rsi, [rcx + 8]
add rax, 8
mov qword [rsp + 0x78], rax
mov r13d, 3
xor ebp, ebp
jmp 0x1400e283f
inc rbp
mov r12, r13
cmp rbp, rdi
je 0x1400e29ab
mov r14d, dword [rsp + rbp*4 + 0x90]
cmp r14d, r11d
jae 0x1400e28a0
mov eax, dword [r10 + r14]
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx]
jne 0x1400e2830
lea rdx, [r10 + r14]
add rdx, 4
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
mov r12, r8
mov rbx, r10
call fcn.1400b81d0
mov r11, qword [rsp + 0x68]
mov r10, rbx
mov r8, r12
mov r12, rax
add r12, 4
jmp 0x1400e2974
mov rax, qword [rsp + 0x48]
add rax, r14
mov ecx, dword [r13 + rax - 3]
mov rdx, qword [rsp + 0x28]
cmp ecx, dword [rdx + r13 - 3]
jne 0x1400e2830
cmp r15, qword [rsp + 0x28]
jbe 0x1400e28df
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx]
xor rcx, qword [rax]
je 0x1400e28fd
tzcnt r12, rcx
shr r12, 3
jmp 0x1400e2974
mov r12, qword [rsp + 0x28]
cmp r12, qword [rsp + 0x58]
jae 0x1400e2942
mov ecx, dword [rax]
cmp ecx, dword [r12]
jne 0x1400e2942
add r12, 4
add rax, 4
jmp 0x1400e2942
mov rax, qword [rsp + 0x78]
add rax, r14
xor ecx, ecx
nop word [rax + rax]
lea r12, [rsi + rcx]
cmp r12, r15
jae 0x1400e2938
mov r9, qword [r12]
lea rdx, [rcx + 8]
xor r9, qword [rax + rcx]
mov rcx, rdx
je 0x1400e2910
tzcnt r12, r9
shr r12, 3
add r12, rdx
jmp 0x1400e2974
add rax, rcx
cmp r12, qword [rsp + 0x58]
jb 0x1400e28eb
cmp r12, qword [rsp + 0x50]
jae 0x1400e295b
movzx ecx, word [rax]
cmp cx, word [r12]
jne 0x1400e295b
add r12, 2
add rax, 2
cmp r12, r8
jae 0x1400e296f
movzx eax, byte [rax]
xor ecx, ecx
cmp al, byte [r12]
sete cl
add r12, rcx
sub r12, qword [rsp + 0x28]
cmp r12, r13
jbe 0x1400e2830
mov eax, dword [rsp + 0x30]
sub eax, r14d
mov rcx, qword [rsp + 0x88]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
add rax, r12
mov r13, r12
cmp rax, r8
jne 0x1400e2830
jmp 0x1400e29ab
mov r12d, 3
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14011fde0
mov rax, r12
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret