Function at 0x140060fd4
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d8
mov rax, qword [0x1400d6910]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rax, qword [rcx + 0x38]
mov r11, rcx
mov r15, qword [rcx + 0x70]
mov r12, rdx
mov qword [rsp + 0x80], rax
mov r14d, edx
mov eax, dword [rcx + 0x34]
mov r13, r8
mov edi, dword [r11 + 0x10c]
mov r10, qword [r12]
mov rsi, qword [r11 + 0x60]
mov dword [rsp + 0x40], eax
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x68], rdx
mov edx, 1
mov qword [rsp + 0x88], r9
mov r9, qword [rcx + 8]
mov ecx, dword [rcx + 0x100]
add rax, r9
shl edx, cl
sub r14d, r9d
mov qword [rsp + 0xa0], rax
mov ecx, r14d
sub ecx, edx
mov qword [rsp + 0x30], r8
mov r8, qword [r11 + 0xf8]
mov eax, r14d
sub eax, dword [r11 + 0x1c]
cmp eax, edx
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x38], r9
cmovbe ecx, dword [r11 + 0x1c]
xor ebx, ebx
cmp dword [r11 + 0x28], ebx
mov dword [rsp + 0x48], r14d
cmovne ecx, dword [r11 + 0x1c]
mov dword [rsp + 0x28], ecx
lea eax, [rbx + 1]
lea ecx, [rbx + 6]
mov qword [rsp + 0xa8], rsi
cmp edi, ecx
mov qword [rsp + 0x58], r8
lea ebp, [rbx + 3]
cmovb ecx, edi
mov qword [rsp + 0x78], rbp
shl eax, cl
lea ecx, [rbx + 0x42]
sub ecx, dword [r8 + 0x108]
mov dword [rsp + 0x44], eax
movabs rax, 0xcf1bbcdcbb000000
imul r10, rax
mov rdx, r10
shr rdx, cl
lea rax, [rdx*4]
lea rcx, [rax*4]
mov qword [rsp + 0x98], rax
mov rax, qword [r8 + 0x70]
mov qword [rsp + 0x70], rcx
prefetcht0 byte [rcx + rax]
cmp edi, 6
jbe 0x140061118
lea ecx, [rdi - 6]
lea eax, [rbx + 1]
shl eax, cl
mov dword [rsp + 0x20], eax
jmp 0x14006111c
mov dword [rsp + 0x20], ebx
cmp dword [r11 + 0x12c], ebx
jne 0x14006141f
mov edi, dword [r11 + 0x2c]
mov eax, r14d
sub eax, edi
mov esi, 0x38
cmp eax, 0x180
jbe 0x1400612d0
lea eax, [rdi + 0x60]
cmp edi, eax
jae 0x14006121a
mov r14, qword [rsp + 0x60]
lea r12, [r9 + 8]
mov r15d, esi
mov r13d, edi
sub r15d, dword [rsp + 0x40]
mov ebp, eax
mov rsi, qword [rsp + 0x80]
add r12, rdi
movabs rbx, 0xcf1bbcdcbb000000
mov rdx, qword [r12]
mov ecx, r15d
imul rdx, rbx
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [rax + rsi]
prefetcht0 byte [rax + rsi + 0x20]
mov rax, r13
and eax, 7
mov r10d, dword [r11 + rax*4 + 0x40]
mov r9d, r10d
mov dword [r11 + rax*4 + 0x40], edx
shr r9, 2
and r9d, 0x3fffffc0
lea r8, [r9 + rsi]
movzx edx, byte [r8]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
inc r13
not ecx
inc r12
and ecx, 0x3f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [rdx + r8], r10b
mov dword [r14 + rax*4], edi
inc edi
cmp edi, ebp
jb 0x140061178
mov rbp, qword [rsp + 0x78]
xor ebx, ebx
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x30]
mov r14d, dword [rsp + 0x48]
lea esi, [rbx + 0x38]
mov rcx, qword [r11 + 0x70]
lea edi, [r14 - 0x20]
mov rdx, qword [r11 + 0x38]
lea rax, [r12 + 1]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x38]
mov r9d, edi
lea r10, [rdi + rcx]
cmp r10, rax
jbe 0x140061245
mov eax, ebx
jmp 0x140061254
sub eax, ecx
mov ecx, 8
sub eax, edi
inc eax
cmp eax, ecx
ja 0x140061256
mov ecx, eax
lea eax, [rcx + rdi]
cmp edi, eax
jae 0x1400612d0
mov r13, qword [rsp + 0x50]
mov r8d, esi
sub r8d, dword [r11 + 0x34]
mov rbp, rdx
mov r15d, ecx
movabs r12, 0xcf1bbcdcbb000000
mov rdx, qword [r10]
mov ecx, r8d
imul rdx, r12
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [r13 + rax*4 + 0x40]
prefetcht0 byte [rax + rbp]
prefetcht0 byte [rax + rbp + 0x20]
mov rax, r9
inc r10
and eax, 7
inc r9
mov dword [r11 + rax*4 + 0x40], edx
sub r15, 1
jne 0x140061279
mov rbp, qword [rsp + 0x78]
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x30]
mov rax, qword [r11 + 0x70]
mov rcx, qword [r11 + 0x38]
mov qword [rsp + 0x90], rax
mov rax, qword [r11 + 8]
cmp edi, r14d
jae 0x1400613b0
mov r12, qword [rsp + 0x90]
lea rbp, [rax + 8]
mov r15d, esi
mov r13d, edi
sub r15d, dword [r11 + 0x34]
mov rbx, rcx
add rbp, r13
movabs rsi, 0xcf1bbcdcbb000000
mov rdx, qword [rbp]
mov ecx, r15d
imul rdx, rsi
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov ecx, 0x3fffffc0
mov eax, edx
shr rax, 2
and rax, rcx
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [r12 + rax*4 + 0x40]
prefetcht0 byte [rbx + rax]
prefetcht0 byte [rbx + rax + 0x20]
mov rax, r13
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 + rbx]
movzx edx, byte [r8]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
inc r13
not ecx
inc rbp
and ecx, 0x3f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [r8 + rdx], r10b
mov dword [r12 + rax*4], edi
inc edi
cmp edi, r14d
jb 0x140061313
mov rbp, qword [rsp + 0x78]
xor ebx, ebx
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x30]
lea esi, [rbx + 0x38]
mov rax, qword [rsp + 0x38]
sub esi, dword [rsp + 0x40]
mov r15, qword [rsp + 0x60]
mov cl, sil
mov r8d, r14d
mov dword [r11 + 0x2c], r14d
mov rdx, qword [r8 + rax + 8]
movabs rax, 0xcf1bbcdcbb000000
imul rdx, rax
xor rdx, qword [rsp + 0xa8]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
mov r9, qword [rsp + 0x80]
prefetcht0 byte [rax + r9]
prefetcht0 byte [rax + r9 + 0x20]
and r8d, 7
mov r10d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x14006143a
mov r9, qword [rsp + 0x80]
mov ecx, 0x38
sub ecx, dword [rsp + 0x40]
xor r10, rsi
shr r10, cl
mov dword [r11 + 0x2c], r14d
add dword [r11 + 0x68], r10d
mov eax, r10d
shr rax, 2
xorps xmm0, xmm0
and eax, 0x3fffffc0
mov rdi, rbx
mov rsi, rbx
movups xmmword [rsp + 0xa8], xmm0
lea rcx, [r15 + rax*4]
lea r15, [rax + r9]
mov qword [rsp + 0x60], rcx
movzx r9d, byte [r15]
mov rcx, rbx
movsx eax, r10b
mov rdx, r15
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 [rsp + rcx*4 + 0xa8], eax
inc rcx
cmp rcx, 4
jl 0x140061487
movsxd rax, dword [rsp + 0xb0]
mov edx, r9d
movsxd r8, dword [rsp + 0xb4]
and edx, 0x3f
shl r8, 0x10
mov ecx, edx
or r8, rax
neg ecx
movsxd rax, dword [rsp + 0xac]
and ecx, 0x3f
shl r8, 0x10
or r8, rax
movsxd rax, dword [rsp + 0xa8]
shl r8, 0x10
or r8, rax
mov r9, r8
shl r9, cl
mov ecx, edx
movzx edx, byte [r15]
shr r8, cl
or r9, r8
mov r8, qword [rsp + 0x60]
je 0x14006155c
mov r13d, dword [rsp + 0x44]
mov r12d, dword [rsp + 0x28]
test r13d, r13d
je 0x14006154d
bsf rcx, r9
mov dword [rsp + 0x28], ebx
add ecx, edx
and ecx, 0x3f
je 0x140061544
mov ecx, dword [r8 + rcx*4]
cmp ecx, r12d
jb 0x14006154d
mov eax, ecx
add rax, qword [rsp + 0x38]
prefetcht0 byte [rax]
mov dword [rsp + rdi*4 + 0xc0], ecx
inc rdi
dec r13d
lea rax, [r9 - 1]
and r9, rax
ja 0x140061510
mov r12, qword [rsp + 0x68]
mov dword [rsp + 0x44], r13d
mov r13, qword [rsp + 0x30]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
not ecx
and ecx, 0x3f
add edx, ecx
mov byte [r15], dl
mov byte [rdx + r15], r10b
mov ecx, dword [r11 + 0x2c]
lea eax, [rcx + 1]
mov dword [r11 + 0x2c], eax
mov dword [r8 + rdx*4], ecx
test rdi, rdi
je 0x1400615e0
mov rbx, qword [rsp + 0x38]
mov r11, qword [rsp + 0x88]
mov edx, dword [rsp + rsi*4 + 0xc0]
mov eax, dword [r12 + rbp - 3]
add rdx, rbx
cmp dword [rdx + rbp - 3], eax
jne 0x1400615d6
mov r8, r13
mov rcx, r12
call fcn.14009ec70
cmp rax, rbp
jbe 0x1400615d6
mov ecx, r14d
mov rbp, rax
sub ecx, dword [rsp + rsi*4 + 0xc0]
add rax, r12
add ecx, 3
mov qword [r11], rcx
cmp rax, r13
je 0x1400615de
inc rsi
cmp rsi, rdi
jb 0x140061596
xor ebx, ebx
mov r10, qword [rsp + 0x58]
mov edx, 3
mov r14d, dword [rsp + 0x20]
mov r11d, edx
add r14d, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x70]
mov r8, qword [r10 + 8]
mov r9, qword [r10]
mov r15d, r8d
mov rdi, qword [r10 + 0x70]
sub r15d, r9d
add r15d, dword [rsp + 0x24]
cmp r14d, edx
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], r9
cmovb r11d, r14d
add rcx, rdi
mov dword [rsp + 0x28], r11d
mov eax, dword [rcx]
prefetcht0 byte [rax + r8]
lea rcx, [rcx + 4]
sub rdx, 1
jne 0x14006162b
mov rax, qword [rsp + 0x98]
mov ecx, dword [rdi + rax*4 + 0xc]
mov rax, qword [r10 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov dword [rsp + 0x20], ebx
mov esi, ebx
test r11d, r11d
je 0x140061738
mov rax, qword [r10 + 0x70]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x24], eax
lea r11, [r8 + rax]
test eax, eax
je 0x140061836
mov eax, dword [r12]
cmp dword [r11], eax
jne 0x140061722
add r11, 4
lea rcx, [r12 + 4]
sub rcx, r11
mov r8, r13
add rcx, r9
mov rdx, r11
cmp rcx, r13
cmovb r8, rcx
lea rcx, [r12 + 4]
call fcn.14009ec70
mov r9, qword [rsp + 0x30]
mov rdi, rax
lea rcx, [rax + r11]
cmp rcx, r9
jne 0x1400616e6
mov rdx, qword [rsp + 0xa0]
lea rcx, [r12 + 4]
add rcx, rax
mov r8, r13
call fcn.14009ec70
mov r9, qword [rsp + 0x30]
add rdi, rax
lea rcx, [rdi + 4]
cmp rcx, rbp
jbe 0x140061718
mov eax, dword [rsp + 0x48]
mov rbp, rcx
sub eax, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
sub eax, r15d
add eax, 3
mov qword [rdx], rax
lea rax, [rcx + r12]
cmp rax, r13
je 0x140061839
mov r10, qword [rsp + 0x58]
mov r8, qword [rsp + 0x38]
add qword [rsp + 0x70], 4
inc esi
mov dword [rsp + 0x20], esi
cmp esi, dword [rsp + 0x28]
jb 0x140061666
sub r14d, dword [rsp + 0x20]
mov edx, ebx
mov rax, qword [r10 + 0x70]
mov rcx, qword [rsp + 0x98]
movzx esi, byte [rax + rcx*4 + 0xc]
mov edi, dword [rax + rcx*4 + 0xc]
shr edi, 8
cmp r14d, esi
cmovbe esi, r14d
test esi, esi
je 0x140061836
mov r11, qword [r10 + 0x80]
lea eax, [rdx + rdi]
mov eax, dword [r11 + rax*4]
prefetcht0 byte [rax + r8]
inc edx
cmp edx, esi
jb 0x14006176d
mov rax, qword [r10 + 0x80]
mov eax, dword [rax + rdi*4]
mov dword [rsp + 0x24], eax
lea r11, [r8 + rax]
mov eax, dword [r12]
cmp dword [r11], eax
jne 0x140061825
add r11, 4
lea rcx, [r12 + 4]
sub rcx, r11
mov r8, r13
add rcx, r9
mov rdx, r11
cmp rcx, r13
cmovb r8, rcx
lea rcx, [r12 + 4]
call fcn.14009ec70
mov r14, rax
lea rcx, [rax + r11]
cmp rcx, qword [rsp + 0x30]
jne 0x1400617ed
mov rdx, qword [rsp + 0xa0]
lea rcx, [r12 + 4]
add rcx, rax
mov r8, r13
call fcn.14009ec70
add r14, rax
add r14, 4
cmp r14, rbp
jbe 0x14006181b
mov eax, dword [rsp + 0x48]
mov rbp, r14
sub eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
sub eax, r15d
add eax, 3
mov qword [rcx], rax
lea rax, [r14 + r12]
cmp rax, r13
je 0x140061836
mov r10, qword [rsp + 0x58]
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x30]
inc edi
inc ebx
cmp ebx, esi
jb 0x14006177f
mov rcx, rbp
mov rax, rcx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14001bf00
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret