Function at 0x1402f6020
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
movsxd rax, dword [0x14053f564]
mov r8d, dword [0x140695268]
lea r12, [0x14053f564]
add r12, rax
nop dword [rax + rax]
mov eax, dword [0x140695268]
lea r8d, [rax + 1]
imul r8d, eax
test r8b, 1
jne 0x1402f6060
mov r13d, dword [0x14053f560]
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
mov r14, qword [rdi + 0x18]
movabs rax, 0x69a8e0008622d16e
mov r8, qword [0x14063c138]
add r8, rax
cmp qword [rdi + 0x20], r8
jbe 0x1402f60a6
mov rdi, qword [rdi + 8]
jmp 0x1402f60aa
add rdi, 8
lea rsi, [rcx + 8]
movabs rbx, 0x7fffffffffffffff
cmp r14, 0x10
mov qword [rbp - 0x10], rcx
jae 0x1402f60d3
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
mov r15d, 0xf
jmp 0x1402f61f2
mov qword [rbp - 8], rdx
mov rcx, qword [0x14063c138]
mov rdx, rcx
xor rdx, rax
and rcx, rax
lea rax, [rdx + rcx*2]
mov rcx, r14
not rcx
mov rdx, r14
xor rdx, rax
not rax
mov r15, rax
xor r15, rcx
and r15, rax
or r15, rcx
not r15
or r15, rdx
cmp r15, rbx
cmovae r15, rbx
cmp r15, 0xfff
jb 0x1402f61b7
lea rcx, [r15 + 0x28]
mov edx, 0x75889e78
mov r8d, 0x5fac3c4e
call fcn.1400a8810
movabs rcx, 0x69a8e0008622d15f
add rcx, qword [0x14063c138]
movabs rdx, 0x658f5027986e7d50
xor rdx, rcx
not rcx
movabs r8, 0x1a70afd8679182af
and r8, rcx
or r8, rdx
not r8
lea rcx, [rdx + r8*2]
sub rcx, rax
movabs rdx, 0x9a70afd8679182b0
add rdx, rcx
movabs rcx, 0x7fffffffffffffd9
and rcx, rdx
xor rdx, 0xffffffffffffffd9
or rcx, rdx
not rcx
or rcx, rdx
not rcx
lea rdx, [rdx + rcx*2]
neg rdx
mov ecx, edx
not ecx
xor rdx, 0xffffffffffffffe0
and ecx, 0x1f
or rcx, rdx
not rcx
mov qword [rcx - 8], rax
jmp 0x1402f61ce
lea rcx, [r15 + 1]
mov edx, 0x75889e78
mov r8d, 0x5fac3c4e
call fcn.1400a8810
mov rcx, rax
mov qword [rsi], rcx
mov rax, r14
xor rax, 1
mov edx, r14d
and edx, 1
lea r8, [rax + rdx*2]
mov rdx, rdi
call fcn.140511c70
mov rcx, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], r15
lea rsi, [0x14052ecd8]
mov qword [rcx], rsi
xorps xmm0, xmm0
movups xmmword [rcx + 0x40], xmm0
mov rdi, qword [rdx + 0x18]
cmp qword [rdx + 0x20], 0x10
jb 0x1402f621c
mov rdx, qword [rdx + 8]
jmp 0x1402f6220
add rdx, 8
lea rax, [rcx + 0x30]
cmp rdi, 0xf
ja 0x1402f623a
movups xmm0, xmmword [rdx]
movups xmmword [rax], xmm0
mov ebx, 0xf
jmp 0x1402f6494
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rdi
mov rcx, rdi
or rcx, 0xf
mov eax, dword [0x14069526c]
cmp eax, 0x18
jge 0x1402f64e0
jmp 0x1402f64b4
lea rcx, [rbx + 0x28]
call fcn.1404e9d4c
mov rcx, rax
mov al, 1
nop dword [rax + rax]
test al, al
jne 0x1402f6296
nop word cs:[rax + rax]
mov edx, dword [0x140695268]
lea r8d, [rdx - 1]
imul r8d, edx
test r8b, 1
jne 0x1402f6280
jmp 0x1402f6270
mov r9d, dword [0x14053f550]
mov edx, dword [0x14063c140]
cmp edi, 1
sbb edx, 0xffffffff
add edx, 0xd24d7ae3
mov eax, dword [0x140695268]
dec edx
xor eax, eax
nop dword [rax]
test al, al
jne 0x1402f62c0
mov eax, dword [0x14063c140]
sub edx, eax
add edx, 0x2db2851d
sub r9d, r15d
mov r10d, r9d
not r10d
mov r8d, edx
not r8d
mov r11d, r9d
and r11d, r8d
xor r8d, r10d
and r10d, edx
or r11d, r10d
and r8d, r9d
or r8d, edx
not r8d
or r8d, r11d
not r8d
movabs r9, 0x7c57a48751f4e2a6
add r9, qword [0x140693de8]
mov edx, dword [0x140695268]
lea r10d, [rdx - 1]
imul r10d, edx
and r10d, 1
add eax, 0xba26dc03
cmp r10d, eax
lea rsi, [0x14052ecd8]
mov rdi, qword [rbp - 0x20]
jne 0x1402f63a0
mov rax, r9
xor rax, r8
mov edx, r9d
and edx, r8d
lea rax, [rax + rdx*2]
movabs rdx, 0x83a85b78ae0b1d5a
add rdx, rax
mov qword [0x140693de8], rdx
mov edx, dword [0x140695268]
lea eax, [rdx - 1]
imul eax, edx
mov r10d, dword [0x14063c140]
mov edx, r10d
xor edx, 0xba26dc05
mov r11d, r10d
and r11d, 0x3a26dc05
lea r11d, [rdx + r11*2]
xor edx, edx
div r11d
add r10d, 0xba26dc03
cmp edx, r10d
je 0x1402f63b3
nop word cs:[rax + rax]
mov eax, dword [0x140695268]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x1402f63a0
jmp 0x1402f6337
mov rax, rcx
neg rax
mov rdx, qword [0x14063c138]
movabs r8, 0x69a8e0008622d186
xor r8, rdx
movabs r9, 0x16571fff79dd2e79
xor r9, rdx
and r9, rdx
lea r8, [r8 + r9*2]
sub rdx, r8
movabs r8, 0x69a8e0008622d15f
add r8, rdx
xor rax, r8
mov rdx, rax
not rdx
and rdx, r8
lea rax, [rax + rdx*2]
movabs rdx, 0xb55c45c1707eb1f8
sub rdx, rax
movabs rax, 0x4aa3ba3e8f814e08
mov r8, rdx
xor r8, rax
and rdx, rax
lea rdx, [r8 + rdx*2]
mov rax, rdx
not rax
mov r8d, eax
and r8d, 0x1f
mov r9, rdx
and r9, 0xffffffffffffffe0
or r8, r9
xor rax, r8
xor r8, rdx
not rax
or rax, r9
not rax
or rax, r8
not rax
mov qword [rax - 8], rcx
mov rdx, qword [rbp - 8]
jmp 0x1402f6473
lea rcx, [rbx + 1]
call fcn.1404e9d4c
mov rdx, qword [rbp - 8]
lea rsi, [0x14052ecd8]
mov rdi, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x18]
mov qword [rcx], rax
mov rcx, qword [0x140693de8]
lea r8, [rdi + rcx]
inc r8
mov rcx, rax
call fcn.140511c70
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x40], rdi
mov qword [rcx + 0x48], rbx
mov qword [rcx + 0x28], rsi
mov rax, rcx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov eax, dword [0x14063c020]
mov r9d, dword [0x140695268]
mov r8d, r9d
not r8d
add r8d, 2
imul r8d, r9d
test r8b, 1
je 0x1402f64f6
nop word cs:[rax + rax]
mov eax, dword [0x140695268]
lea r8d, [rax - 1]
imul r8d, eax
test r8b, 1
jne 0x1402f64e0
jmp 0x1402f64b4
mov qword [rbp - 8], rdx
lea edx, [rax + 0x50d7b077]
mov r8d, edx
xor r8d, 0x735eafc0
and edx, 0x735eafc0
lea edi, [r8 + rdx*2]
add edi, 0xaf284f89
sub edi, dword [0x14063c140]
add edi, 0xd27a743e
mov dword [0x14063c020], edi
mov edx, eax
not edx
mov r8d, edx
and r8d, edi
not edi
and eax, edi
or eax, r8d
and edi, edx
or edi, eax
xor r15d, r15d
xor edi, 0xffffffff
jne 0x1402f6559
mov eax, 0xba26dc03
add eax, dword [0x14063c140]
cmp eax, r13d
jl 0x1402f6586
cmp rcx, rbx
cmovb rbx, rcx
add rbx, qword [0x140693e30]
movabs rax, 0x69a8e0008622e15d
add rax, qword [0x14063c138]
cmp rbx, rax
ja 0x1402f625d
jmp 0x1402f645b
xor eax, eax
mov r8d, 0xba26dc05
xor r15d, r15d
jmp 0x1402f65b0
xor r15d, r10d
lea eax, [r11 + r9*2]
add eax, 0xe84f142
cmp eax, r13d
jge 0x1402f6559
nop word cs:[rax + rax]
mov edx, dword [0x140695268]
mov r9d, dword [0x14063c140]
lea r10d, [r9 + rdx]
add r10d, 0xa149fcaa
imul r10d, edx
and r10d, 1
add r9d, 0x48d32f11
mov edx, r9d
xor edx, 0x7153acf2
and r9d, 0x7153acf2
lea edx, [rdx + r9*2]
cmp r10d, edx
jne 0x1402f65b0
movsxd r9, eax
mov eax, dword [0x140695268]
lea edx, [rax - 1]
imul edx, eax
test dl, 1
jne 0x1402f66d0
mov edx, dword [0x140695268]
lea eax, [rdx - 1]
imul eax, edx
mov r10d, dword [0x14063c140]
mov edx, r10d
xor edx, 0xba26dc05
mov r11d, r10d
and r11d, 0x3a26dc05
lea r11d, [rdx + r11*2]
xor edx, edx
div r11d
add r10d, 0xba26dc03
cmp edx, r10d
jne 0x1402f66d0
lea rax, [r12 + r9]
mov r10d, dword [rax]
mov eax, r10d
xor eax, r10d
not eax
and r15d, eax
add r9d, 0xf17b0ebe
mov r11d, r9d
xor r11d, 4
and r9d, 4
mov edx, dword [0x140695268]
lea eax, [rdx - 1]
imul eax, edx
mov esi, dword [0x14063c140]
add esi, r8d
xor edx, edx
div esi
test edx, edx
je 0x1402f6593
mov edx, dword [0x140695268]
mov eax, edx
not eax
lea eax, [rax + rdx*2]
imul eax, edx
mov r14d, dword [0x14063c140]
mov esi, r14d
xor esi, 0xba26dc05
and r14d, 0x3a26dc05
add r14d, r14d
mov edx, r14d
xor edx, edx
not edx
and edx, esi
xor edx, r14d
and r14d, esi
lea esi, [rdx + r14*2]
jmp 0x1402f6680
mov eax, dword [0x14069526c]
cmp eax, 0x20
jge 0x1402f66d0
jmp 0x1402f6608