Function at 0x140063f34
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 - 0xd8]
sub rsp, 0x1d8
mov rax, qword [0x1400d6910]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, qword [rcx + 8]
mov r11, rcx
mov eax, dword [rcx + 0x18]
mov r13, rdx
mov r10, qword [rcx + 0x70]
mov r15d, edx
mov rdi, qword [rcx + 0x38]
sub r15d, r14d
mov esi, dword [rcx + 0x34]
mov ecx, dword [rcx + 0x100]
mov dword [rsp + 0x44], eax
add rax, r14
mov qword [rbp - 0x68], rax
mov eax, r15d
sub eax, dword [r11 + 0x1c]
mov qword [rsp + 0x48], rdx
mov edx, 1
shl edx, cl
mov ecx, r15d
sub ecx, edx
mov qword [rsp + 0x58], r8
cmp eax, edx
mov qword [rbp - 0x80], r9
mov r9, qword [r11 + 0xf8]
cmovbe ecx, dword [r11 + 0x1c]
xor ebx, ebx
cmp dword [r11 + 0x28], ebx
mov eax, dword [r11 + 0x10c]
cmovne ecx, dword [r11 + 0x1c]
mov dword [rsp + 0x40], ecx
lea r12d, [rbx + 3]
lea ecx, [rbx + 6]
mov qword [rsp + 0x68], r10
cmp eax, ecx
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x60], esi
cmovb ecx, eax
mov qword [rsp + 0x20], r14
mov rax, qword [r11 + 0x60]
imul r8d, dword [r13], 0x9e3779b1
mov qword [rsp + 0x28], rax
lea eax, [rbx + 1]
shl eax, cl
lea ecx, [rbx + 0x18]
sub ecx, dword [r9 + 0x34]
mov dword [rsp + 0x30], eax
mov rax, qword [r9 + 0x70]
mov edx, r8d
shr rdx, cl
mov ecx, edx
mov qword [rbp - 0x50], rdx
mov rdx, qword [r9 + 0x38]
shr rcx, 2
and ecx, 0x3fffffc0
mov dword [rsp + 0x34], r15d
add rdx, rcx
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x78], r9
mov qword [rbp - 0x78], rdx
lea rax, [rax + rcx*4]
mov qword [rbp - 0x70], rax
prefetcht0 byte [rax]
prefetcht0 byte [rax + 0x40]
prefetcht0 byte [rdx]
prefetcht0 byte [rdx + 0x20]
cmp dword [r11 + 0x12c], ebx
jne 0x14006431a
mov edi, dword [r11 + 0x2c]
mov eax, r15d
sub eax, edi
cmp eax, 0x180
jbe 0x1400641eb
lea eax, [rdi + 0x60]
cmp edi, eax
jae 0x14006414a
lea r15d, [rbx + 0x18]
mov r13, r10
sub r15d, esi
lea r12, [r14 + 8]
mov r14, qword [rsp + 0x70]
add r12, rdi
mov esi, edi
mov ebx, eax
mov eax, dword [r11 + 0x60]
mov rcx, r15
imul edx, dword [r12], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov ecx, 0x3fffffc0
mov eax, edx
shr rax, 2
and rax, rcx
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [r13 + rax*4 + 0x40]
prefetcht0 byte [r14 + rax]
prefetcht0 byte [r14 + rax + 0x20]
mov rax, rsi
and eax, 7
mov r10d, dword [r11 + rax*4 + 0x40]
mov r9d, r10d
mov dword [r11 + rax*4 + 0x40], edx
shr r9, 2
and r9, rcx
lea r8, [r9 + r14]
movzx edx, byte [r8]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
inc rsi
not ecx
inc r12
and ecx, 0x3f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [r8 + rdx], r10b
mov dword [r13 + rax*4], edi
inc edi
cmp edi, ebx
jb 0x1400640a5
mov r15d, dword [rsp + 0x34]
xor ebx, ebx
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x20]
mov rcx, qword [r11 + 0x38]
lea edi, [r15 - 0x20]
mov rsi, qword [r11 + 0x70]
lea r9, [rdi + r14]
lea rax, [r13 + 1]
mov qword [rsp + 0x38], rcx
mov r8d, edi
cmp r9, rax
jbe 0x14006416f
mov eax, ebx
jmp 0x14006417f
sub eax, r14d
mov ecx, 8
sub eax, edi
inc eax
cmp eax, ecx
ja 0x140064181
mov ecx, eax
lea eax, [rcx + rdi]
cmp edi, eax
jae 0x1400641eb
mov r12, qword [rsp + 0x38]
mov eax, 0x18
sub eax, dword [r11 + 0x34]
mov r10d, ecx
mov ecx, eax
mov qword [rbp - 0x60], rax
mov eax, dword [r11 + 0x60]
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [r12 + rax]
prefetcht0 byte [r12 + rax + 0x20]
mov rax, r8
inc r9
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r10, 1
jne 0x14006419f
mov r12, qword [rsp + 0x50]
mov rcx, qword [r11 + 0x38]
mov rax, qword [r11 + 0x70]
mov qword [rsp + 0x38], rcx
mov rcx, qword [r11 + 8]
cmp edi, r15d
jae 0x1400642be
mov r12, qword [rsp + 0x38]
lea r13, [rcx + 8]
mov ebx, 0x18
mov esi, edi
sub ebx, dword [r11 + 0x34]
mov r14, rax
add r13, rsi
mov eax, dword [r11 + 0x60]
mov rcx, rbx
imul edx, dword [r13], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov ecx, 0x3fffffc0
mov eax, edx
shr rax, 2
and rax, rcx
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [r12 + rax]
prefetcht0 byte [r12 + rax + 0x20]
mov rax, rsi
and eax, 7
mov r10d, dword [r11 + rax*4 + 0x40]
mov r9d, r10d
mov dword [r11 + rax*4 + 0x40], edx
shr r9, 2
and r9, rcx
lea r8, [r9 + r12]
movzx edx, byte [r8]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
inc rsi
not ecx
inc r13
and ecx, 0x3f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [r8 + rdx], r10b
mov dword [r14 + rax*4], edi
inc edi
cmp edi, r15d
jb 0x14006421f
mov r12, qword [rsp + 0x50]
xor ebx, ebx
mov r13, qword [rsp + 0x48]
mov r14, qword [rsp + 0x20]
mov eax, dword [rsp + 0x28]
mov ecx, 0x18
sub ecx, dword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov r8d, r15d
mov dword [r11 + 0x2c], r15d
imul edx, dword [r8 + r14 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r10 + rax*4]
prefetcht0 byte [r10 + rax*4 + 0x40]
mov rdi, qword [rsp + 0x70]
prefetcht0 byte [rax + rdi]
prefetcht0 byte [rax + rdi + 0x20]
and r8d, 7
mov r9d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x140064332
mov eax, dword [rsp + 0x28]
mov ecx, 0x18
mov r9d, r8d
sub ecx, esi
xor r9, rax
mov dword [r11 + 0x2c], r15d
shr r9, cl
add dword [r11 + 0x68], r9d
mov eax, r9d
shr rax, 2
xorps xmm0, xmm0
and eax, 0x3fffffc0
mov rsi, rbx
movups xmmword [rbp - 0x60], xmm0
lea rcx, [r10 + rax*4]
lea r14, [rax + rdi]
mov qword [rsp + 0x28], rcx
movzx r10d, byte [r14]
mov rdi, rbx
movsx eax, r9b
mov rcx, rbx
mov rdx, r14
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
mov dword [rbp + rcx*4 - 0x60], eax
inc rcx
cmp rcx, 4
jl 0x14006437b
movsxd rax, dword [rbp - 0x58]
mov edx, r10d
movsxd r8, dword [rbp - 0x54]
and edx, 0x3f
shl r8, 0x10
mov ecx, edx
or r8, rax
neg ecx
movsxd rax, dword [rbp - 0x5c]
and ecx, 0x3f
shl r8, 0x10
or r8, rax
movsxd rax, dword [rbp - 0x60]
shl r8, 0x10
or r8, rax
mov r10, r8
shl r10, cl
mov ecx, edx
shr r8, cl
or r10, r8
movzx r8d, byte [r14]
je 0x140064434
mov edx, dword [rsp + 0x30]
mov r13, qword [rsp + 0x28]
mov r12d, dword [rsp + 0x40]
test edx, edx
je 0x140064426
bsf rcx, r10
add ecx, r8d
and ecx, 0x3f
je 0x14006441d
mov ecx, dword [r13 + rcx*4]
cmp ecx, r12d
jb 0x140064426
mov eax, ecx
add rax, qword [rsp + 0x20]
prefetcht0 byte [rax]
mov dword [rbp + rdi*4 - 0x40], ecx
inc rdi
dec edx
lea rax, [r10 - 1]
and r10, rax
ja 0x1400643f0
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x48]
mov dword [rsp + 0x30], edx
lea edx, [r8 - 1]
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
not ecx
and ecx, 0x3f
add edx, ecx
mov byte [r14], dl
mov byte [rdx + r14], r9b
mov ecx, dword [r11 + 0x2c]
lea eax, [rcx + 1]
mov dword [r11 + 0x2c], eax
mov rax, qword [rsp + 0x28]
mov dword [rax + rdx*4], ecx
test rdi, rdi
je 0x1400644be
mov r11, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x20]
mov r14, qword [rbp - 0x80]
mov edx, dword [rbp + rsi*4 - 0x40]
mov eax, dword [r12 + r13 - 3]
add rdx, rbx
cmp dword [rdx + r12 - 3], eax
jne 0x1400644b4
mov r8, r11
mov rcx, r13
call fcn.14009ec70
mov r8, rax
cmp rax, r12
jbe 0x1400644b4
mov r12, rax
mov eax, r15d
sub eax, dword [rbp + rsi*4 - 0x40]
add eax, 3
mov qword [r14], rax
lea rax, [r12 + r13]
cmp rax, r11
je 0x1400644bc
inc rsi
cmp rsi, rdi
jb 0x140064475
xor ebx, ebx
mov rax, qword [rsp + 0x78]
xorps xmm0, xmm0
mov rdx, qword [rbp - 0x78]
mov rsi, rbx
mov rcx, rbx
mov r10, qword [rax + 8]
mov rdi, qword [rax]
mov r14d, r10d
movsx eax, byte [rbp - 0x50]
sub r14d, edi
add r14d, dword [rsp + 0x44]
movzx r11d, byte [rdx]
mov qword [rsp + 0x28], r10
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
mov qword [rsp + 0x20], rdi
movups xmmword [rbp - 0x50], xmm0
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
mov dword [rbp + rcx*4 - 0x50], eax
inc rcx
cmp rcx, 4
jl 0x140064509
movsxd rax, dword [rbp - 0x48]
mov edx, r11d
movsxd r8, dword [rbp - 0x44]
and edx, 0x3f
shl r8, 0x10
mov ecx, edx
or r8, rax
neg ecx
movsxd rax, dword [rbp - 0x4c]
and ecx, 0x3f
shl r8, 0x10
or r8, rax
movsxd rax, dword [rbp - 0x50]
shl r8, 0x10
or r8, rax
mov r9, r8
shl r9, cl
mov ecx, edx
shr r8, cl
or r9, r8
je 0x140064662
mov edx, dword [rsp + 0x30]
mov r8, qword [rsp + 0x78]
mov r15, qword [rbp - 0x70]
test edx, edx
je 0x1400645ae
bsf rcx, r9
add ecx, r11d
and ecx, 0x3f
je 0x1400645a5
mov ecx, dword [r15 + rcx*4]
cmp ecx, dword [r8 + 0x18]
jb 0x1400645ae
prefetcht0 byte [rcx + r10]
mov dword [rbp + rsi*4 - 0x40], ecx
inc rsi
dec edx
lea rax, [r9 - 1]
and r9, rax
ja 0x14006457d
mov r15d, dword [rsp + 0x34]
test rsi, rsi
je 0x140064662
mov r11d, dword [rbp + rbx*4 - 0x40]
mov eax, dword [r13]
add r11, r10
cmp dword [r11], eax
jne 0x140064656
mov r8, qword [rsp + 0x58]
add r13, 4
add r11, 4
mov rcx, r13
sub rcx, r11
mov rdx, r11
add rcx, rdi
cmp rcx, r8
cmovb r8, rcx
mov rcx, r13
call fcn.14009ec70
mov rdi, rax
add rax, r11
mov r11, qword [rsp + 0x58]
cmp rax, qword [rsp + 0x20]
jne 0x14006461e
mov rdx, qword [rbp - 0x68]
lea rcx, [rdi + r13]
mov r8, r11
call fcn.14009ec70
add rdi, rax
mov r13, qword [rsp + 0x48]
add rdi, 4
cmp rdi, r12
jbe 0x14006464c
mov rax, qword [rbp - 0x80]
mov ecx, r15d
sub ecx, dword [rbp + rbx*4 - 0x40]
mov r12, rdi
sub ecx, r14d
add ecx, 3
mov qword [rax], rcx
lea rcx, [rdi + r13]
cmp rcx, r11
je 0x140064662
mov rdi, qword [rsp + 0x20]
mov r10, qword [rsp + 0x28]
inc rbx
cmp rbx, rsi
jb 0x1400645bc
mov rax, r12
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14001bf00
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret