Function at 0x140068fa8
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c8
mov rax, qword [0x1400d6910]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r10, qword [rcx + 0x70]
mov r11, rcx
mov rbx, qword [rcx + 0x38]
mov r15, rdx
mov r14d, dword [rcx + 0x34]
mov r13d, r15d
mov qword [rsp + 0x60], rdx
mov eax, dword [r11 + 0x18]
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x50], r8
mov r8, qword [rcx + 8]
mov rcx, qword [rcx + 0x10]
sub r13d, r8d
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x90], r9
lea rdx, [rax + r8]
mov qword [rsp + 0x38], r10
add rax, rcx
mov qword [rsp + 0x88], rdx
mov ecx, dword [r11 + 0x100]
mov edx, 1
shl edx, cl
mov ecx, r13d
sub ecx, edx
mov qword [rsp + 0x80], rax
mov eax, r13d
mov qword [rsp + 0x70], rbx
sub eax, dword [r11 + 0x1c]
cmp eax, edx
mov dword [rsp + 0x58], r14d
mov eax, dword [r11 + 0x10c]
cmovbe ecx, dword [r11 + 0x1c]
xor edi, edi
cmp dword [r11 + 0x28], edi
mov rdx, qword [r11 + 0x60]
cmovne ecx, dword [r11 + 0x1c]
mov dword [rsp + 0x30], ecx
lea r12d, [rdi + 3]
lea ecx, [rdi + 6]
mov qword [rsp + 0x48], r8
cmp eax, ecx
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x98], rdx
cmovb ecx, eax
mov qword [rsp + 0x40], r12
lea eax, [rdi + 1]
shl eax, cl
mov dword [rsp + 0x5c], eax
cmp dword [r11 + 0x12c], edi
jne 0x140069379
mov ebx, dword [r11 + 0x2c]
lea esi, [rdi + 0x38]
mov eax, r13d
movabs r9, 0xcf1bbcdcbb000000
sub eax, ebx
cmp eax, 0x180
jbe 0x140069240
lea eax, [rbx + 0x60]
cmp ebx, eax
jae 0x140069199
mov r13, qword [rsp + 0x70]
mov ebp, esi
sub ebp, r14d
lea rsi, [r8 + 8]
add rsi, rbx
mov r14d, ebx
mov r12, r9
mov r15d, eax
mov rdi, r10
mov rdx, qword [rsi]
mov ecx, ebp
imul rdx, r12
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov ecx, 0x3fffffc0
mov eax, edx
shr rax, 2
and rax, rcx
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + r13]
prefetcht0 byte [rax + r13 + 0x20]
mov rax, r14
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 + r13]
movzx edx, byte [r8]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
inc r14
not ecx
inc rsi
and ecx, 0x3f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [rdx + r8], r10b
mov dword [rdi + rax*4], ebx
inc ebx
cmp ebx, r15d
jb 0x1400690f0
mov r15, qword [rsp + 0x60]
xor edi, edi
mov r13d, dword [rsp + 0x20]
movabs r9, 0xcf1bbcdcbb000000
mov r12, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
lea esi, [rdi + 0x38]
mov rcx, qword [r11 + 0x70]
lea ebx, [r13 - 0x20]
mov rdx, qword [r11 + 0x38]
lea r14, [rbx + r8]
lea rax, [r15 + 1]
mov qword [rsp + 0x28], rcx
mov r10d, ebx
cmp r14, rax
jbe 0x1400691be
mov eax, edi
jmp 0x1400691ce
sub eax, r8d
mov ecx, 8
sub eax, ebx
inc eax
cmp eax, ecx
ja 0x1400691d0
mov ecx, eax
lea eax, [rcx + rbx]
cmp ebx, eax
jae 0x14006923b
mov r12, qword [rsp + 0x28]
mov r8d, esi
sub r8d, dword [r11 + 0x34]
mov r15, rdx
mov ebp, ecx
mov rdx, qword [r14]
mov ecx, r8d
imul rdx, r9
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [r12 + rax*4 + 0x40]
prefetcht0 byte [rax + r15]
prefetcht0 byte [rax + r15 + 0x20]
mov rax, r10
inc r14
and eax, 7
inc r10
mov dword [r11 + rax*4 + 0x40], edx
sub rbp, 1
jne 0x1400691e8
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
mov rax, qword [r11 + 0x70]
mov rcx, qword [r11 + 0x38]
mov qword [rsp + 0x68], rax
mov rax, qword [r11 + 8]
cmp ebx, r13d
jae 0x140069314
mov rdi, qword [rsp + 0x68]
lea r12, [rax + 8]
mov ebp, esi
mov r14d, ebx
sub ebp, dword [r11 + 0x34]
mov r15, rcx
add r12, r14
mov rdx, qword [r12]
mov ecx, ebp
imul rdx, r9
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov ecx, 0x3fffffc0
mov eax, edx
shr rax, 2
and rax, rcx
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + r15]
prefetcht0 byte [rax + r15 + 0x20]
mov rax, r14
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 + r15]
movzx edx, byte [r8]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
inc r14
not ecx
inc r12
and ecx, 0x3f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
movabs r9, 0xcf1bbcdcbb000000
mov byte [r8 + rdx], r10b
mov dword [rdi + rax*4], ebx
inc ebx
cmp ebx, r13d
jb 0x140069272
mov r15, qword [rsp + 0x60]
xor edi, edi
mov r12, qword [rsp + 0x40]
mov r10, qword [rsp + 0x38]
mov rax, qword [rsp + 0x48]
sub esi, dword [rsp + 0x58]
mov r8d, r13d
mov cl, sil
mov dword [r11 + 0x2c], r13d
mov rdx, qword [r8 + rax + 8]
movabs rax, 0xcf1bbcdcbb000000
imul rdx, rax
xor rdx, qword [rsp + 0x98]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r10 + rax*4]
prefetcht0 byte [r10 + rax*4 + 0x40]
mov rbx, qword [rsp + 0x70]
prefetcht0 byte [rax + rbx]
prefetcht0 byte [rax + rbx + 0x20]
and r8d, 7
mov r9d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x14006939c
mov r9, qword [r15]
movabs rax, 0xcf1bbcdcbb000000
imul r9, rax
mov ecx, 0x38
mov dword [r11 + 0x2c], r13d
xor r9, rdx
sub ecx, r14d
shr r9, cl
add dword [r11 + 0x68], r9d
mov eax, r9d
shr rax, 2
xorps xmm0, xmm0
and eax, 0x3fffffc0
mov rsi, rdi
add rbx, rax
mov rcx, rdi
movups xmmword [rsp + 0x98], xmm0
mov rdx, rbx
lea r14, [r10 + rax*4]
movsx eax, r9b
movzx ebp, byte [rbx]
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 + 0x98], eax
inc rcx
cmp rcx, 4
jl 0x1400693df
movsxd rax, dword [rsp + 0xa0]
mov edx, ebp
movsxd r8, dword [rsp + 0xa4]
and edx, 0x3f
shl r8, 0x10
mov ecx, edx
or r8, rax
neg ecx
movsxd rax, dword [rsp + 0x9c]
and ecx, 0x3f
shl r8, 0x10
or r8, rax
movsxd rax, dword [rsp + 0x98]
shl r8, 0x10
or r8, rax
mov r10, r8
shl r10, cl
mov ecx, edx
shr r8, cl
or r10, r8
je 0x1400694b2
mov rdx, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x5c]
mov r13, qword [rsp + 0x78]
mov r12d, dword [rsp + 0x30]
test r8d, r8d
je 0x1400694a8
bsf rcx, r10
add ecx, ebp
and ecx, 0x3f
mov ecx, dword [r14 + rcx*4]
je 0x14006949f
cmp ecx, r12d
jb 0x1400694a8
cmp ecx, dword [rsp + 0x24]
jb 0x14006948d
prefetcht0 byte [rcx + rdx]
jmp 0x140069492
prefetcht0 byte [rcx + r13]
mov dword [rsp + rsi*4 + 0xb0], ecx
inc rsi
dec r8d
lea rax, [r10 - 1]
and r10, rax
ja 0x140069468
mov r13d, dword [rsp + 0x20]
mov r12, qword [rsp + 0x40]
lea edx, [rbp - 1]
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
not ecx
and ecx, 0x3f
add edx, ecx
mov byte [rbx], dl
mov byte [rdx + rbx], r9b
mov ecx, dword [r11 + 0x2c]
lea eax, [rcx + 1]
mov dword [r11 + 0x2c], eax
mov dword [r14 + rdx*4], ecx
test rsi, rsi
je 0x1400695bb
mov r8, qword [rsp + 0x50]
mov ebp, dword [rsp + rdi*4 + 0xb0]
mov ecx, ebp
cmp ebp, dword [rsp + 0x24]
jb 0x140069519
mov rdx, qword [rsp + 0x48]
mov eax, dword [r12 + r15 - 3]
add rdx, rcx
cmp dword [rdx + r12 - 3], eax
jne 0x1400695af
mov rcx, r15
call fcn.14009ec70
jmp 0x14006958b
mov rdx, qword [rsp + 0x78]
mov eax, dword [r15]
cmp dword [rbp + rdx], eax
jne 0x1400695af
mov r8, qword [rsp + 0x50]
lea r11, [rdx + 4]
add r11, rcx
lea r14, [r15 + 4]
mov rcx, qword [rsp + 0x80]
mov rax, r14
sub rax, r11
mov rdx, r11
add rcx, rax
cmp rcx, r8
cmovb r8, rcx
mov rcx, r14
call fcn.14009ec70
mov r8, qword [rsp + 0x50]
mov rbx, rax
add rax, r11
cmp rax, qword [rsp + 0x80]
jne 0x140069587
mov rdx, qword [rsp + 0x88]
lea rcx, [rbx + r14]
call fcn.14009ec70
add rbx, rax
lea rax, [rbx + 4]
cmp rax, r12
jbe 0x1400695af
mov rdx, qword [rsp + 0x90]
mov ecx, r13d
sub ecx, ebp
mov r12, rax
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + r15]
cmp rcx, r8
je 0x1400695bb
inc rdi
cmp rdi, rsi
jb 0x1400694e8
mov rax, r12
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14001bf00
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret