Function at 0x1402b4fb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb8
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r12, qword [rsp + 0x130]
lea esi, [rdx - 1]
mov rax, qword [rsp + 0x120]
xor ebx, ebx
mov rdi, qword [rsp + 0x138]
mov r14d, r9d
mov dword [rsp + 0x30], r9d
mov r15, rcx
mov qword [rsp + 0x58], r8
mov ebp, ebx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], esi
test r12, r12
jne 0x1402b5020
call fcn.1401c0ea0
mov r12, rax
test rdi, rdi
mov rcx, r12
cmove rdi, r12
mov qword [rsp + 0x38], rdi
call fcn.140242b20
movsxd rdi, eax
mov r13d, esi
lea eax, [rdi + rdi]
sub r13d, eax
lea ecx, [r13 - 1]
cmp r14d, ecx
jle 0x1402b506e
mov edx, 0x9a
mov dword [rsp + 0x20], ebx
lea r9, [0x140400f91]
mov ecx, 4
lea r8d, [rdx - 0x2c]
call fcn.1401d6280
xor eax, eax
jmp 0x1402b5490
inc eax
cmp esi, eax
jge 0x1402b5099
mov edx, 0x9a
mov dword [rsp + 0x20], ebx
lea r9, [0x140400f91]
mov ecx, 4
lea r8d, [rdx - 0x22]
call fcn.1401d6280
xor eax, eax
jmp 0x1402b5490
mov rsi, qword [rsp + 0x48]
lea r14, [r15 + 1]
movsxd rdx, dword [rsp + 0x128]
inc rsi
mov rcx, qword [rsp + 0x50]
add rsi, rdi
mov byte [r15], bl
mov r8, rsi
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov r15, rdi
mov qword [rsp + 0x20], r12
call fcn.1401c07f0
test eax, eax
je 0x1402b5467
sub r13d, dword [rsp + 0x30]
lea rcx, [rdi + rsi]
dec r13d
xor edx, edx
movsxd r8, r13d
call fcn.1403743d0
movsxd rcx, dword [rsp + 0x30]
movsxd r12, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x58]
mov eax, r12d
sub eax, ecx
mov r8d, ecx
sub eax, edi
cdqe
mov byte [rax + rsi - 1], 1
mov rax, rcx
mov rcx, r12
sub rcx, rax
sub rcx, rdi
add rcx, rsi
call fcn.140373d30
mov edx, edi
mov rcx, r14
call fcn.1401d3cc0
test eax, eax
jle 0x1402b5467
mov ebp, r12d
lea rdx, [0x140400f91]
sub ebp, edi
xor r8d, r8d
movsxd r12, ebp
mov rcx, r12
call fcn.1401b7cd0
mov r13, rax
test rax, rax
jne 0x1402b5177
lea r9, [0x140400f91]
mov dword [rsp + 0x20], ebx
mov edx, 0x9a
lea ecx, [rax + 4]
lea r8d, [rax + 0x41]
call fcn.1401d6280
jmp 0x1402b546a
mov rax, qword [rsp + 0x38]
mov r9d, edi
mov r8, r14
mov qword [rsp + 0x20], rax
mov edx, ebp
mov rcx, r13
call fcn.1402b4da0
test eax, eax
js 0x1402b546a
mov edx, ebx
test ebp, ebp
jle 0x1402b52b3
cmp ebp, 8
jb 0x1402b52b3
lea eax, [rbp - 1]
movsxd rcx, eax
lea rax, [rcx + r13]
lea r8, [rcx + rsi]
cmp rsi, rax
ja 0x1402b51c8
cmp r8, r13
jae 0x1402b52b3
cmp ebp, 0x40
jb 0x1402b5267
mov ecx, ebp
and ecx, 0x8000003f
jge 0x1402b51e2
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, ebp
sub eax, ecx
mov r8, r13
movsxd r10, eax
sub r8, rsi
lea rcx, [rsi + 0x10]
mov r9, 0xfffffffffffffff0
sub r9, rsi
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x10]
add edx, 0x40
movdqu xmm1, xmmword [r8 + rcx - 0x10]
movdqu xmm2, xmmword [r8 + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r9 + rcx]
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 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 [r8 + rcx - 0x20]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x20], xmm1
cmp rax, r10
jl 0x1402b5200
mov eax, ebp
and al, 0x3f
cmp al, 8
jb 0x1402b52b3
mov eax, ebp
and eax, 0x80000007
jge 0x1402b5277
dec eax
or eax, 0xfffffff8
inc eax
mov ecx, ebp
sub ecx, eax
movsxd rax, edx
mov r8, r13
movsxd r9, ecx
sub r8, rsi
lea rcx, [rax + rsi]
nop dword [rax + rax]
movq xmm0, qword [rcx]
add edx, 8
movq xmm1, qword [rcx + r8]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, rsi
cmp rax, r9
jl 0x1402b5290
movsxd rax, edx
cmp rax, r12
jge 0x1402b52e0
mov rdx, r13
lea rcx, [rax + rsi]
sub rdx, rsi
sub r12, rax
nop dword [rax + rax]
movzx eax, byte [rcx + rdx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub r12, 1
jne 0x1402b52d0
mov rax, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
mov r9d, ebp
mov qword [rsp + 0x20], rax
mov r8, rsi
mov edx, edi
call fcn.1402b4da0
test eax, eax
js 0x1402b546a
test edi, edi
jle 0x1402b5432
cmp edi, 8
jb 0x1402b5432
lea eax, [rdi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x60]
add rax, rcx
lea rdx, [rcx + r14]
cmp r14, rax
ja 0x1402b533a
lea rax, [rsp + 0x60]
cmp rdx, rax
jae 0x1402b5432
cmp edi, 0x40
jb 0x1402b53e5
mov ecx, edi
and ecx, 0x8000003f
jge 0x1402b5354
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edi
sub eax, ecx
lea rdx, [rsp + 0x60]
movsxd r10, eax
lea r8, [rsp + 0x70]
sub rdx, r14
sub r8, r14
lea rcx, [r14 + 0x20]
mov r9, 0xffffffffffffffe0
sub r9, r14
nop dword [rax]
movdqu xmm0, xmmword [rcx - 0x20]
add ebx, 0x40
movdqu xmm1, xmmword [rdx + rcx - 0x20]
movdqu xmm2, xmmword [rdx + rcx]
lea rcx, [rcx + 0x40]
xorps xmm1, xmm0
lea rax, [r9 + rcx]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [r8 + rcx - 0x60]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [r8 + rcx - 0x40]
xorps xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, r10
jl 0x1402b5380
mov eax, edi
and al, 0x3f
cmp al, 8
jb 0x1402b5432
mov eax, edi
and eax, 0x80000007
jge 0x1402b53f5
dec eax
or eax, 0xfffffff8
inc eax
sub edi, eax
movsxd rcx, ebx
lea rdx, [rsp + 0x60]
add rcx, r14
movsxd r8, edi
sub rdx, r14
nop dword [rax + rax]
movq xmm0, qword [rcx]
add ebx, 8
movq xmm1, qword [rcx + rdx]
xorps xmm1, xmm0
movq qword [rcx], xmm1
add rcx, 8
mov rax, rcx
sub rax, r14
cmp rax, r8
jl 0x1402b5410
movsxd rcx, ebx
cmp rcx, r15
jge 0x1402b5460
lea rdx, [rsp + 0x60]
sub rdx, r14
lea rax, [rcx + r14]
sub r15, rcx
nop dword [rax]
movzx ecx, byte [rax + rdx]
xor byte [rax], cl
lea rax, [rax + 1]
sub r15, 1
jne 0x1402b5450
mov ebx, 1
jmp 0x1402b546a
mov r13, rbx
mov edx, 0x40
lea rcx, [rsp + 0x60]
call fcn.140239460
movsxd rdx, ebp
lea r8, [0x140400f91]
xor r9d, r9d
mov rcx, r13
call fcn.1401b7ea0
mov eax, ebx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14016e4d0
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret