Function at 0x1402cdc60
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xc0
mov rax, qword [0x14043c0c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0x120]
xor esi, esi
mov edi, esi
mov qword [rsp + 0x48], r8
mov rbp, r9
mov qword [rsp + 0x50], rdx
mov r14, r8
mov qword [rsp + 0x38], rcx
mov r12, rcx
call fcn.14023b2f0
mov r13, rax
test rax, rax
je 0x1402ce0c4
test rbp, rbp
mov rax, r14
mov rcx, r14
cmovne rax, rbp
mov qword [rsp + 0x40], rax
call fcn.1402582a0
mov dword [rsp + 0x30], eax
mov r14d, eax
test eax, eax
js 0x1402ce0c4
mov qword [rsp + 0xb8], r15
mov r15d, dword [rsp + 0x128]
cmp r15d, 0xffffffff
jne 0x1402cdcfa
mov r15d, eax
jmp 0x1402cdd04
cmp r15d, 0xfffffffd
jl 0x1402cdfeb
mov rcx, qword [r12 + 0x18]
call fcn.140236c50
mov rcx, qword [rsp + 0x38]
lea r12d, [rax - 1]
and r12d, 7
call fcn.14023cc60
mov ecx, r12d
mov edx, 0xff
shl edx, cl
test byte [rbx], dl
je 0x1402cdd4f
mov edx, 0x7e
mov dword [rsp + 0x20], esi
lea r9, [0x14040b0d0]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 7]
call fcn.140244b50
jmp 0x1402ce0bc
test r12d, r12d
jne 0x1402cdd57
inc rbx
test r12d, r12d
lea ecx, [rax - 1]
cmovne ecx, eax
lea eax, [r14 + 2]
cmp ecx, eax
jl 0x1402cdda9
mov ebp, ecx
sub ebp, r14d
lea eax, [rbp - 2]
cmp r15d, 0xfffffffd
jne 0x1402cdda4
mov r15d, eax
movsxd rax, ecx
cmp byte [rax + rbx - 1], 0xbc
je 0x1402cddca
mov edx, 0x7e
mov dword [rsp + 0x20], esi
lea r9, [0x14040b0d0]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 8]
call fcn.140244b50
jmp 0x1402ce0bc
cmp r15d, eax
jle 0x1402cdd79
mov edx, 0x7e
mov dword [rsp + 0x20], esi
lea r9, [0x14040b0d0]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx - 0x11]
call fcn.140244b50
jmp 0x1402ce0bc
dec ebp
lea rdx, [0x14040b0d0]
movsxd r14, ebp
xor r8d, r8d
mov rcx, r14
lea rax, [r14 + rbx]
mov qword [rsp + 0x38], rax
call fcn.1402325f0
mov rdi, rax
test rax, rax
jne 0x1402cde11
lea r9, [0x14040b0d0]
mov dword [rsp + 0x20], esi
lea edx, [rax + 0x7e]
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.140244b50
jmp 0x1402ce0bc
mov rax, qword [rsp + 0x40]
mov edx, ebp
mov r9d, dword [rsp + 0x30]
mov rcx, rdi
mov r8, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
call fcn.14029efd0
test eax, eax
js 0x1402ce0bc
mov edx, esi
test ebp, ebp
jle 0x1402cdf53
cmp ebp, 8
jb 0x1402cdf53
lea eax, [rbp - 1]
movsxd rcx, eax
lea rax, [rcx + rbx]
lea r8, [rcx + rdi]
cmp rdi, rax
ja 0x1402cde66
cmp r8, rbx
jae 0x1402cdf53
cmp ebp, 0x40
jb 0x1402cdf07
mov ecx, ebp
and ecx, 0x8000003f
jge 0x1402cde80
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebp
sub eax, ecx
mov r8, rbx
movsxd r10, eax
sub r8, rdi
lea rcx, [rdi + 0x10]
mov r9, 0xfffffffffffffff0
sub r9, rdi
nop dword [rax + rax]
movdqu xmm0, xmmword [rcx - 0x10]
add edx, 0x40
movdqu xmm1, xmmword [rcx + r8 - 0x10]
movdqu xmm2, xmmword [rcx + r8]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [rcx + r9]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + r8 - 0x30]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
movdqu xmm0, xmmword [rcx - 0x20]
movdqu xmm1, xmmword [rcx + r8 - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x1402cdea0
mov eax, ebp
and al, 0x3f
cmp al, 8
jb 0x1402cdf53
mov eax, ebp
and eax, 0x80000007
jge 0x1402cdf17
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, ebp
sub ecx, eax
movsxd rax, edx
mov r8, rbx
movsxd r9, ecx
sub r8, rdi
lea rcx, [rax + rdi]
nop dword [rax + rax]
movq xmm0, qword [rcx]
add edx, 8
movq xmm1, qword [r8 + rcx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rdi
cmp rax, r9
jl 0x1402cdf30
movsxd rax, edx
cmp rax, r14
jge 0x1402cdf80
sub rbx, rdi
lea rcx, [rax + rdi]
sub r14, rax
nop word [rax + rax]
movzx eax, byte [rbx + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r14, 1
jne 0x1402cdf70
test r12d, r12d
je 0x1402cdf96
mov ecx, 8
mov eax, 0xff
sub ecx, r12d
sar eax, cl
and byte [rdi], al
mov ebx, esi
cmp byte [rdi], bl
jne 0x1402cdfb0
lea ecx, [rbp - 1]
mov rax, rdi
cmp ebx, ecx
jge 0x1402cdfb0
inc rax
inc ebx
cmp byte [rax], sil
je 0x1402cdfa2
movsxd rax, ebx
inc ebx
cmp byte [rax + rdi], 1
je 0x1402cdfdc
mov edx, 0x7e
mov dword [rsp + 0x20], esi
lea r9, [0x14040b0d0]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 9]
call fcn.140244b50
jmp 0x1402ce0bc
cmp r15d, 0xfffffffe
je 0x1402ce00c
mov eax, ebp
sub eax, ebx
cmp eax, r15d
je 0x1402ce00c
mov edx, 0x7e
mov dword [rsp + 0x20], esi
lea r9, [0x14040b0d0]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx + 0xa]
call fcn.140244b50
jmp 0x1402ce0bc
mov rdx, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, r13
call fcn.14023ae00
test eax, eax
je 0x1402ce0bc
mov r8d, 8
lea rdx, [0x1403e4640]
mov rcx, r13
call fcn.14023afe0
test eax, eax
je 0x1402ce0bc
movsxd r14, dword [rsp + 0x30]
mov rcx, r13
mov rdx, qword [rsp + 0x50]
mov r8, r14
call fcn.14023afe0
test eax, eax
je 0x1402ce0bc
sub ebp, ebx
je 0x1402ce06f
movsxd rdx, ebx
mov rcx, r13
add rdx, rdi
movsxd r8, ebp
call fcn.14023afe0
test eax, eax
je 0x1402ce0bc
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r13
call fcn.14023ad30
test eax, eax
je 0x1402ce0bc
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
mov r8, r14
call fcn.140356360
test eax, eax
je 0x1402ce0b7
mov edx, 0x7e
mov dword [rsp + 0x20], esi
lea r9, [0x14040b0d0]
lea ecx, [rdx - 0x7a]
lea r8d, [rdx - 0x16]
call fcn.140244b50
jmp 0x1402ce0bc
mov esi, 1
mov r15, qword [rsp + 0xb8]
xor r8d, r8d
lea rdx, [0x14040b0d0]
mov rcx, rdi
call fcn.140232630
mov rcx, r13
call fcn.14023b2c0
mov eax, esi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140154c90
add rsp, 0xc0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret