Function at 0x1400838b8
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb8]
sub rsp, 0x1b8
mov rax, qword [0x140485e58]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rax, qword [rcx + 0x70]
mov rdi, rcx
mov ebx, dword [rcx + 0x34]
mov r15d, edx
mov qword [rsp + 0x58], rax
mov rax, qword [rcx + 0x38]
mov r10d, dword [rdi + 0x1c]
mov rsi, qword [rdi + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x78], rdx
mov qword [rbp - 0x68], r9
mov r9, rdx
mov qword [rbp - 0x70], r8
mov edx, 1
mov r8, qword [rcx + 8]
mov ecx, dword [rcx + 0x100]
sub r15d, r8d
shl edx, cl
mov eax, r15d
sub eax, edx
mov dword [rsp + 0x30], ebx
mov ecx, r15d
mov qword [rsp + 0x40], r8
sub ecx, dword [rdi + 0x1c]
cmp ecx, edx
mov dword [rsp + 0x20], r15d
mov qword [rbp - 0x78], rsi
cmova r10d, eax
mov eax, dword [rdi + 0x10c]
xor r14d, r14d
cmp dword [rdi + 0x28], r14d
cmovne r10d, dword [rdi + 0x1c]
lea ecx, [r14 + 4]
mov dword [rsp + 0x38], r10d
cmp eax, ecx
lea r13d, [r14 + 3]
mov qword [rsp + 0x48], r13
cmovb ecx, eax
lea eax, [r14 + 1]
shl eax, cl
mov dword [rsp + 0x34], eax
cmp dword [rdi + 0x12c], r14d
jne 0x140083c9d
mov esi, dword [rdi + 0x2c]
lea r12d, [r14 + 0x18]
mov eax, r15d
sub eax, esi
cmp eax, 0x180
jbe 0x140083b52
lea eax, [rsi + 0x60]
mov dword [rsp + 0x24], eax
cmp esi, eax
jae 0x140083a89
mov r15d, dword [rsp + 0x24]
mov eax, r12d
sub eax, ebx
mov r14d, esi
mov qword [rsp + 0x28], rax
mov r12d, eax
mov r13, r8
mov rbx, qword [rdi + 0x60]
lea rdx, [r13 + 8]
add rdx, r14
lea rcx, [rsp + 0x24]
mov r8d, 4
call fcn.1400a38c0
imul edx, dword [rsp + 0x24], 0x9e3779b1
mov rcx, r12
mov r11, qword [rsp + 0x58]
mov r8d, 0xffffff0
mov eax, ebx
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 4
and rax, r8
prefetcht0 byte [r11 + rax*4]
mov rcx, qword [rsp + 0x60]
prefetcht0 byte [rcx + rax]
mov rax, r14
and eax, 7
mov r10d, dword [rdi + rax*4 + 0x40]
mov r9d, r10d
mov dword [rdi + rax*4 + 0x40], edx
shr r9, 4
and r9, r8
lea r8, [rcx + r9]
movzx edx, byte [r8]
dec edx
and edx, 0xf
mov eax, edx
neg eax
sbb ecx, ecx
inc r14
not ecx
and ecx, 0xf
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [r8 + rdx], r10b
mov dword [r11 + rax*4], esi
inc esi
cmp esi, r15d
jb 0x1400839cd
mov r15d, dword [rsp + 0x20]
xor r14d, r14d
mov r13, qword [rsp + 0x48]
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x40]
lea r12d, [r14 + 0x18]
mov rax, qword [rdi + 0x70]
lea esi, [r15 - 0x20]
mov qword [rsp + 0x68], rax
lea rcx, [r9 + 1]
mov rax, qword [rdi + 0x38]
mov edx, ecx
sub edx, esi
mov qword [rsp + 0x70], rax
sub edx, r8d
mov eax, esi
add rax, r8
inc edx
cmp rax, rcx
mov eax, 8
cmova edx, r14d
cmp edx, eax
cmova edx, eax
lea eax, [rdx + rsi]
cmp esi, eax
jae 0x140083b52
mov r14, qword [rsp + 0x40]
mov eax, r12d
sub eax, dword [rdi + 0x34]
mov qword [rsp + 0x28], rax
mov r12d, eax
mov r15d, edx
mov r13d, esi
mov rbx, qword [rdi + 0x60]
lea rdx, [r14 + r13]
mov r8d, 4
lea rcx, [rsp + 0x50]
call fcn.1400a38c0
imul edx, dword [rsp + 0x50], 0x9e3779b1
mov rcx, r12
mov eax, ebx
xor rdx, rax
shr rdx, cl
mov rcx, qword [rsp + 0x68]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov rcx, qword [rsp + 0x70]
prefetcht0 byte [rcx + rax]
mov rax, r13
inc r13
and eax, 7
mov dword [rdi + rax*4 + 0x40], edx
sub r15, 1
jne 0x140083ae6
mov r15d, dword [rsp + 0x20]
xor r14d, r14d
mov r13, qword [rsp + 0x48]
lea r12d, [r14 + 0x18]
mov rax, qword [rdi + 0x70]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x80], rcx
cmp esi, r15d
jae 0x140083c36
mov r14, qword [rsp + 0x70]
mov eax, r12d
sub eax, dword [rdi + 0x34]
mov r12, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov r13d, esi
mov rbx, qword [rdi + 0x60]
lea rdx, [rcx + 8]
add rdx, r13
lea rcx, [rsp + 0x20]
mov r8d, 4
call fcn.1400a38c0
imul edx, dword [rsp + 0x20], 0x9e3779b1
mov rcx, qword [rsp + 0x28]
mov eax, ebx
xor rdx, rax
shr rdx, cl
mov ecx, 0xffffff0
mov eax, edx
shr rax, 4
and rax, rcx
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r12 + rax]
mov rax, r13
and eax, 7
mov r10d, dword [rdi + rax*4 + 0x40]
mov r9d, r10d
mov dword [rdi + rax*4 + 0x40], edx
shr r9, 4
and r9, rcx
lea r8, [r12 + r9]
movzx edx, byte [r8]
dec edx
and edx, 0xf
mov eax, edx
neg eax
sbb ecx, ecx
inc r13
not ecx
and ecx, 0xf
add edx, ecx
mov rcx, qword [rbp - 0x80]
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [r8 + rdx], r10b
mov dword [r14 + rax*4], esi
inc esi
cmp esi, r15d
jb 0x140083b8d
mov r13, qword [rsp + 0x48]
xor r14d, r14d
lea r12d, [r14 + 0x18]
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x28]
add rdx, 8
mov ebx, r15d
add rdx, rbx
mov dword [rdi + 0x2c], r15d
mov r8d, 4
call fcn.1400a38c0
mov eax, dword [rbp - 0x78]
mov ecx, r12d
sub ecx, dword [rsp + 0x30]
imul edx, dword [rsp + 0x28], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov rcx, qword [rsp + 0x58]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r8, qword [rsp + 0x60]
prefetcht0 byte [rax + r8]
and ebx, 7
mov r9d, dword [rdi + rbx*4 + 0x40]
mov dword [rdi + rbx*4 + 0x40], edx
jmp 0x140083cd6
mov r8d, 4
lea rcx, [rsp + 0x30]
mov rdx, r9
call fcn.1400a38c0
imul r9d, dword [rsp + 0x30], 0x9e3779b1
mov ecx, 0x18
mov r8, qword [rsp + 0x60]
sub ecx, ebx
mov eax, esi
mov dword [rdi + 0x2c], r15d
xor r9, rax
shr r9, cl
mov rcx, qword [rsp + 0x58]
add dword [rdi + 0x68], r9d
mov eax, r9d
shr rax, 4
mov rsi, r14
and eax, 0xffffff0
lea r12, [rcx + rax*4]
lea r11, [rax + r8]
movsx eax, r9b
movdqu xmm0, xmmword [r11]
movzx ebx, byte [r11]
and ebx, 0xf
movd xmm1, eax
mov ecx, ebx
neg ecx
punpcklbw xmm1, xmm1
and ecx, 0xf
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm0, xmm1
pmovmskb edx, xmm0
movzx eax, dx
shl ax, cl
mov cl, bl
movzx r10d, ax
movzx eax, dx
shr rax, cl
or r10, rax
jbe 0x140083d7c
mov rdx, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x34]
mov r13d, dword [rsp + 0x38]
test r8d, r8d
je 0x140083d77
bsf rcx, r10
add ecx, ebx
and ecx, 0xf
je 0x140083d6e
mov ecx, dword [r12 + rcx*4]
cmp ecx, r13d
jb 0x140083d77
prefetcht0 byte [rcx + rdx]
mov dword [rbp + rsi*4 - 0x60], ecx
inc rsi
dec r8d
lea rax, [r10 - 1]
and r10, rax
ja 0x140083d47
mov r13, qword [rsp + 0x48]
movzx edx, byte [r11]
dec edx
and edx, 0xf
mov eax, edx
neg eax
sbb ecx, ecx
not ecx
and ecx, 0xf
add edx, ecx
mov byte [r11], dl
mov byte [rdx + r11], r9b
mov eax, dword [rdi + 0x2c]
mov dword [r12 + rdx*4], eax
inc dword [rdi + 0x2c]
test rsi, rsi
je 0x140083e31
mov r12, qword [rsp + 0x78]
mov edi, dword [rbp + r14*4 - 0x60]
lea rdx, [r13 - 3]
add rdi, qword [rsp + 0x40]
lea rcx, [rsp + 0x38]
add rdx, rdi
mov r8d, 4
call fcn.1400a38c0
mov ebx, dword [rsp + 0x38]
lea rdx, [r12 - 3]
add rdx, r13
lea rcx, [rsp + 0x34]
mov r8d, 4
call fcn.1400a38c0
cmp ebx, dword [rsp + 0x34]
jne 0x140083e29
mov rbx, qword [rbp - 0x70]
mov rdx, rdi
mov r8, rbx
mov rcx, r12
call fcn.14006bc6c
cmp rax, r13
jbe 0x140083e29
mov rdx, qword [rbp - 0x68]
mov ecx, r15d
sub ecx, dword [rbp + r14*4 - 0x60]
mov r13, rax
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + r12]
cmp rcx, rbx
je 0x140083e31
inc r14
cmp r14, rsi
jb 0x140083db1
mov rax, r13
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400a2f00
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret