Function at 0x140258bb0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x40], xmm6
mov qword [rbp + 0x38], 0xfffffffffffffffe
mov edi, r8d
mov r15, rdx
mov r13, rcx
mov rsi, qword [rdx + 0x18]
cmp qword [rdx + 0x20], 0x10
jb 0x140258bf1
mov r15, qword [r15 + 8]
jmp 0x140258bf5
add r15, 8
lea r14, [rbp - 0x58]
cmp rsi, 0xf
ja 0x140258c0f
movups xmm0, xmmword [r15]
movups xmmword [r14], xmm0
mov r12d, 0xf
jmp 0x140258c6f
mov r12, rsi
or r12, 0xf
movabs rax, 0x7fffffffffffffff
cmp r12, rax
cmovae r12, rax
cmp r12, 0xfff
jb 0x140258c4d
lea rcx, [r12 + 0x28]
mov edx, 0x3d0e5be4
call fcn.140084df0
lea rcx, [rax + 0x27]
and rcx, 0xffffffffffffffe0
mov qword [rcx - 8], rax
jmp 0x140258c5f
lea rcx, [r12 + 1]
mov edx, 0x3d0e5be4
call fcn.140084df0
mov rcx, rax
mov qword [rbp - 0x58], rcx
lea r8, [rsi + 1]
mov rdx, r15
call fcn.14039e2f0
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], r12
lea rbx, [0x1403b9448]
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x38], dil
lea rcx, [rbp - 0x30]
call fcn.140259670
mov rcx, qword [rbp - 0x30]
mov r15, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
cmp r15, rax
mov qword [rbp + 0x28], rcx
mov qword [rbp], r13
je 0x140258ce3
xorps xmm0, xmm0
movups xmmword [r15 + 0x18], xmm0
mov r13, r12
cmp r12, 0x10
jb 0x140258cbd
mov r14, qword [rbp - 0x58]
mov rbx, r14
mov r14d, edi
lea r12, [r15 + 8]
cmp rsi, 0xf
ja 0x140258d9d
movups xmm0, xmmword [rbx]
movups xmmword [r12], xmm0
mov edi, 0xf
jmp 0x140258eb5
mov byte [rbp + 0x18], dil
mov rcx, qword [rcx]
mov rdi, r15
sub rdi, rcx
sar rdi, 4
movabs rdx, 0xaaaaaaaaaaaaaaab
imul rdi, rdx
lea r10, [rdi + 1]
sub rax, rcx
sar rax, 4
imul rax, rdx
mov r8, rax
shr r8, 1
movabs rdx, 0x555555555555555
mov rcx, rdx
sub rcx, r8
add r8, rax
cmp r8, r10
mov r9, r10
mov qword [rbp - 0x10], r10
cmovbe r8, r10
cmp rax, rcx
cmova r8, rdx
movabs rax, 0x555555555555556
cmp r8, rax
jae 0x1402592af
mov rax, r8
shl rax, 4
lea rcx, [rax + rax*2]
cmp r8, 0x56
mov rax, r8
mov qword [rbp + 8], r8
jb 0x140258de5
cmp r8, rdx
jae 0x1402592b9
add rcx, 0x27
call fcn.14037638c
mov rcx, rax
add rcx, 0x27
mov r8d, ecx
not r8d
xor rcx, 0xffffffffffffffe0
and r8d, 0x1f
or r8, rcx
not r8
mov qword [r8 - 8], rax
jmp 0x140258df6
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmovae rdi, rax
cmp rdi, 0xfff
jb 0x140258e99
lea rcx, [rdi + 0x28]
call fcn.14037638c
mov rdx, rax
add rdx, 0x27
mov rcx, rdx
xor rcx, 0x1f
and rcx, rdx
mov qword [rcx - 8], rax
jmp 0x140258ea5
test r8, r8
je 0x1402592a2
call fcn.14037638c
mov r8, rax
lea rbx, [0x1403b9448]
lea rdi, [rdi + rdi*2]
shl rdi, 4
xorps xmm0, xmm0
movups xmmword [r8 + rdi + 0x18], xmm0
cmp r12, 0x10
jb 0x140258e18
mov r14, qword [rbp - 0x58]
mov qword [rbp - 0x18], r12
lea rdx, [r8 + rdi]
add rdx, 0x30
cmp rsi, 0xf
mov r13, qword [rbp + 0x28]
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x10], rdx
ja 0x140258e49
movups xmm0, xmmword [r14]
movups xmmword [rdx - 0x28], xmm0
mov r12d, 0xf
jmp 0x140258f14
mov rbx, r14
mov r12, rsi
or r12, 0xf
movabs rax, 0x7fffffffffffffff
cmp r12, rax
cmovae r12, rax
cmp r12, 0xfff
jb 0x140258ee0
lea rcx, [r12 + 0x28]
mov qword [rbp + 0x20], rdx
call fcn.14037638c
mov rdx, rax
add rdx, 0x27
mov ecx, edx
not ecx
xor rdx, 0xffffffffffffffe0
and ecx, 0x1f
or rcx, rdx
not rcx
mov qword [rcx - 8], rax
jmp 0x140258ef1
lea rcx, [rdi + 1]
call fcn.14037638c
mov rcx, rax
mov qword [r12], rcx
lea r8, [rsi + 1]
mov rdx, rbx
call fcn.14039e2f0
mov qword [r15 + 0x18], rsi
mov qword [r15 + 0x20], rdi
lea rax, [0x1403b9448]
mov qword [r15], rax
mov byte [r15 + 0x28], r14b
mov rax, qword [rbp + 0x28]
add qword [rax + 8], 0x30
mov r15, r13
mov r12, qword [rbp]
jmp 0x1402590f7
lea rcx, [r12 + 1]
mov qword [rbp + 0x20], rdx
call fcn.14037638c
mov rcx, rax
mov rax, qword [rbp + 0x10]
mov qword [rax - 0x28], rcx
lea r8, [rsi + 1]
mov rdx, rbx
call fcn.14039e2f0
mov r13, qword [rbp + 0x28]
mov r8, qword [rbp + 0x30]
lea rbx, [0x1403b9448]
lea rcx, [r8 + rdi]
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], r12
mov qword [rcx], rbx
movzx eax, byte [rbp + 0x18]
mov byte [r8 + rdi + 0x28], al
mov rbx, qword [r13]
mov rsi, qword [r13 + 8]
cmp rsi, r15
je 0x140259179
mov qword [rbp + 0x20], rcx
mov rcx, rbx
mov rdx, r15
call fcn.14025a490
mov rax, qword [rbp + 0x28]
mov rdx, qword [rax + 8]
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x20], rax
mov rcx, r15
mov r8, qword [rbp + 0x10]
call fcn.14025a490
mov r13, qword [rbp + 0x28]
mov rbx, qword [r13]
mov r8, qword [rbp + 0x30]
test rbx, rbx
mov r15, qword [rbp - 0x18]
mov r12, qword [rbp]
je 0x1402590cd
mov rsi, qword [r13 + 8]
movsxd rdi, dword [0x1403ca900]
mov r14d, dword [0x1403ca8f0]
cmp rbx, rsi
je 0x140259094
lea rax, [0x1403ca900]
add rdi, rax
jmp 0x140258fe0
add r9, 0x28
mov rdx, r9
mov rcx, r11
call fcn.140084c10
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
add rbx, 0x30
cmp rbx, rsi
je 0x140259094
mov eax, dword [0x1404b7bd0]
lea r8d, [rax + 1]
mov dword [0x1404b7bd0], r8d
test eax, r8d
jne 0x140258ffb
test r14d, r14d
jg 0x14025906e
xor r10d, r10d
mov r9, qword [rbx + 0x20]
cmp byte [0x1404ee6f0], 0
jne 0x140259011
cmp r9, 0xf
jbe 0x140258fbf
mov rcx, qword [rbx + 8]
lea rdx, [r9 + 1]
cmp rdx, 0x1000
jb 0x140258fba
mov r11, qword [rcx - 8]
mov rdx, qword [0x1403ca908]
and eax, r8d
cmp eax, 1
mov eax, 0
sbb rax, rax
sub rdx, r10
and rdx, rax
setne al
or al, byte [0x1404ee8f4]
and al, 1
mov byte [0x1404ee8f4], al
jne 0x140258fb0
sub rcx, r11
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jb 0x140258fb0
jmp 0x1402592aa
xor ecx, ecx
xor r10d, r10d
nop word cs:[rax + rax]
movsxd rcx, ecx
xor r10, qword [rdi + rcx]
add ecx, 8
cmp ecx, r14d
jl 0x140259080
jmp 0x140258ffe
mov rcx, qword [r13]
mov rdx, qword [r13 + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1402590c4
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x1402592be
add rdx, 0x27
mov rcx, rax
call fcn.140084c10
mov r8, qword [rbp + 0x30]
mov qword [r13], r8
mov rax, qword [rbp - 0x10]
lea rax, [rax + rax*2]
shl rax, 4
add rax, r8
mov qword [r13 + 8], rax
mov rax, qword [rbp + 8]
lea rax, [rax + rax*2]
shl rax, 4
add rax, r8
mov qword [r13 + 0x10], rax
mov rax, qword [r12]
inc qword [rax + 8]
cmp byte [rbp - 0x20], 0
je 0x14025910e
mov rcx, qword [rbp - 0x28]
call fcn.140377754
cmp r15, 0x10
jb 0x14025913f
mov rcx, qword [rbp - 0x58]
cmp r15, 0xfff
jb 0x140259157
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x1402592b4
add r15, 0x28
mov rcx, rax
jmp 0x14025915a
movaps xmm6, xmmword [rbp + 0x40]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
inc r15
mov rdx, r15
movaps xmm6, xmmword [rbp + 0x40]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.140084c10
cmp rbx, rsi
je 0x140258f74
lea r15, [r8 + 0x28]
xor edx, edx
xorps xmm6, xmm6
mov qword [rbp - 8], rcx
jmp 0x1402591e3
movups xmm0, xmmword [r14]
movups xmmword [r13], xmm0
mov r12d, 0xf
mov qword [r15 + rdx - 0x10], rdi
mov qword [r15 + rdx - 8], r12
lea rax, [0x1403b9448]
mov qword [r15 + rdx - 0x28], rax
movzx eax, byte [rbx + rdx + 0x28]
mov byte [r15 + rdx], al
lea rax, [rbx + rdx]
add rax, 0x30
add rdx, 0x30
cmp rax, rsi
je 0x140258f68
movups xmmword [r15 + rdx - 0x10], xmm6
cmp qword [rbx + rdx + 0x20], 0x10
jb 0x140259200
mov r14, qword [rbx + rdx + 8]
jmp 0x140259208
lea r14, [rbx + rdx]
add r14, 8
lea r13, [r15 + rdx]
add r13, 0xffffffffffffffe0
mov rdi, qword [rbx + rdx + 0x18]
cmp rdi, 0xf
jbe 0x1402591a0
mov qword [rbp + 0x18], rdx
mov r12, rdi
or r12, 0xf
movabs rax, 0x7fffffffffffffff
cmp r12, rax
cmovae r12, rax
cmp r12, 0xfff
jb 0x140259270
lea rcx, [r12 + 0x28]
call fcn.14037638c
mov rcx, rax
xor rax, 0x27
mov edx, ecx
and edx, 0x27
lea rax, [rax + rdx*2]
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14025927a
lea rcx, [r12 + 1]
call fcn.14037638c
mov qword [r13], rax
mov rcx, rdi
xor rcx, 1
mov edx, edi
and edx, 1
lea r8, [rcx + rdx*2]
mov rcx, rax
mov rdx, r14
call fcn.14039e2f0
mov rdx, qword [rbp + 0x18]
jmp 0x1402591af
xor r8d, r8d
jmp 0x140258dfd
call fcn.140356a3c
call fcn.14006e7a0
call fcn.140356a3c
call fcn.14006e7a0
call fcn.140356a3c
int3