Function at 0x140258b50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov eax, dword [0x1405aa7a8]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
mov eax, 0xa1ba8bd8
add eax, dword [0x14055b8f8]
cmp ecx, eax
jne 0x140258c14
mov r14d, 0x2a7a
mov eax, dword [0x14055b91c]
add eax, r14d
cdqe
add rax, qword [0x14055b938]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [case.0x14013008b.0]
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
add r14d, dword [0x14055b910]
mov byte [rbp + 0x20], 0
movsxd rax, r14d
add rax, qword [0x14055b950]
mov rcx, rbx
mov edx, 0x405ee07f
mov r8d, 0x4048d533
call qword [case.0x14013008b.0]
mov r14, rax
mov eax, dword [0x1405aa7ac]
mov ecx, 0xa1ba8c18
add ecx, dword [0x14055b8f8]
cmp eax, ecx
jl 0x140258caf
lea r14, [rbp - 0x40]
mov r15d, 0x2a7a
nop
mov eax, dword [0x14055b91c]
mov ecx, dword [0x14055b8f8]
mov edx, ecx
xor edx, 0xa1ba8bd8
sub eax, ecx
and ecx, 0x21ba8bd8
lea ecx, [rdx + rcx*2]
add eax, ecx
add eax, 0x5e459ea2
cdqe
add rax, qword [0x14055b938]
mov rcx, rdi
mov rdx, r14
call qword [case.0x14013008b.0]
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov eax, dword [0x14055b910]
add eax, r15d
cdqe
add rax, qword [0x14055b950]
mov rcx, rbx
mov edx, 0x405ee07f
mov r8d, 0x4048d533
call qword [case.0x14013008b.0]
mov eax, dword [0x1405aa7a8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140258c20
jmp 0x140258b9a
cmp r14, 0xf
jbe 0x140258cc6
lea rcx, [rbp + 0x20]
mov rdx, r14
mov r9, rbx
call fcn.14008a200
jmp 0x140258cdf
mov qword [rbp + 0x30], r14
lea rcx, [rbp + 0x20]
mov rdx, rbx
mov r8, r14
call fcn.140446180
mov byte [rbp + r14 + 0x20], 0
mov rcx, qword [rbp + 0x30]
mov rdx, qword [rbp + 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jae 0x140258d36
mov eax, 0x2a7a
add eax, dword [0x14055b920]
cdqe
add rax, qword [0x14055b930]
xor ecx, ecx
mov edx, 1
mov r8d, 0x6a2179d1
call qword [case.0x14013008b.0]
mov qword [rsp + 0x20], 2
lea rcx, [rbp + 0x20]
mov edx, 2
mov r9, rax
call fcn.14008abe0
jmp 0x140258d5c
lea rax, [rcx + 2]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x20]
mov r8, rax
cmp rdx, 0x10
jb 0x140258d4f
mov r8, qword [rbp + 0x20]
mov word [r8 + rcx], 0x203a
mov byte [r8 + rcx + 2], 0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp], xmm0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rbx, [rbp - 0x20]
mov r8, rbp
lea r9, [rbp - 0x40]
mov rcx, rbx
call fcn.140244480
cmp qword [rbp - 8], 0x10
jb 0x140258d9c
mov rbx, qword [rbp - 0x20]
lea rax, [0x140463328]
mov qword [rsi], rax
lea rdx, [rsi + 8]
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov qword [rbp - 0x50], rbx
mov byte [rbp - 0x48], 1
lea rcx, [rbp - 0x50]
call fcn.140446c6c
lea rax, [0x1404639c8]
mov qword [rsi], rax
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x140258ed9
mov rbx, qword [rbp - 0x20]
mov rcx, rax
xor rcx, 1
mov edx, eax
and edx, 1
lea r14, [rcx + rdx*2]
cmp r14, 0x1000
jb 0x140258e26
mov rcx, qword [rbx - 8]
add rbx, qword [0x14055b8f0]
sub rbx, rcx
movabs rdx, 0x98f1f5000136f3c
add rdx, rbx
cmp rdx, 0x20
jae 0x140258f01
add rax, 0x28
mov r14, rax
mov rbx, rcx
mov r15d, 0x2a7a
mov r12d, 0xa1ba8c1a
mov r13b, 1
nop word cs:[rax + rax]
mov eax, dword [0x14055b914]
add eax, r15d
cdqe
add rax, qword [0x14055b940]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
mov r8, rbx
mov r9, r14
call qword [case.0x14013008b.0]
mov eax, dword [0x1405aa7ac]
mov ecx, dword [0x14055b8f8]
add ecx, r12d
cmp eax, ecx
jl 0x140258ed9
nop dword [rax + rax]
mov eax, dword [0x14055b914]
mov ecx, dword [0x14055b8f8]
add eax, ecx
add eax, 0xa1bab652
cdqe
add rax, qword [0x14055b940]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
mov r8, rbx
mov r9, r14
call qword [case.0x14013008b.0]
test r13b, r13b
je 0x140258e90
jmp 0x140258e40
mov eax, dword [0x1405aa7ac]
cmp eax, 0x42
jle 0x140258f1c
jmp 0x140258f36
mov eax, dword [0x1405aa7a8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x140258f0c
mov eax, dword [0x1405aa7ac]
cmp eax, 0x2e
jg 0x140258ef0
mov eax, dword [0x1405aa7ac]
cmp eax, 0x32
jg 0x140258ef0
call fcn.1403fe3cc
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
xor eax, eax
test al, al
je 0x140258f4c
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
jmp 0x140258f1c
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x140258fb7
mov r8, qword [rbp]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x140258f86
mov rcx, qword [r8 - 8]
add r8, 0xfffffffffffffff8
sub r8, rcx
cmp r8, 0x20
jae 0x1402590b0
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, 0x2a7a
add eax, dword [0x14055b914]
cdqe
add rax, qword [0x14055b940]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
call qword [case.0x14013008b.0]
lea rbx, [0x14025d800]
lea rax, [fcn.140258b50]
lea r14d, [rax + rax]
add r14d, 0x2d60
mov r15d, r14d
not r15d
nop word cs:[rax + rax]
mov eax, dword [0x1405aa7ac]
cmp eax, 0x2a
jg 0x14025900e
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rax, qword [rbp + 0x38]
mov ecx, dword [0x1405aa7ac]
cmp ecx, 0x1d
jle 0x140259042
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov ecx, 0x24
call fcn.1403fe444
mov qword [0x1405aa7a0], rax
mov rcx, rbx
call fcn.14041e5a0
test r15d, r14d
jne 0x140258fe0
jmp 0x140258feb
cmp rax, 0x10
jb 0x140259192
mov rbx, qword [rbp + 0x20]
mov rcx, rax
xor rcx, 1
mov edx, eax
and edx, 1
lea r14, [rcx + rdx*2]
cmp r14, 0x1000
jb 0x140259091
mov rcx, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rcx
cmp rbx, 0x20
jae 0x1402590c0
add rax, qword [0x14055b8f0]
movabs r14, 0x98f1f5000136f6c
add r14, rax
mov rbx, rcx
mov eax, dword [0x1405aa7a8]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140259126
jmp 0x1402590c5
mov eax, dword [0x1405aa7ac]
cmp eax, 0x59
jg 0x1402590b0
call fcn.1403fe3cc
call fcn.1403fe3cc
mov eax, dword [0x14055b914]
mov ecx, dword [0x14055b8f8]
mov edx, ecx
xor edx, 0xa1ba8bd8
and ecx, 0x21ba8bd8
lea ecx, [rdx + rcx*2]
add eax, ecx
add eax, 0x2a7a
cdqe
add rax, qword [0x14055b940]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
mov r8, rbx
mov r9, r14
call qword [case.0x14013008b.0]
mov eax, dword [0x1405aa7a8]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
je 0x140259192
mov r15d, 0xa1ba8bd9
lea rax, [fcn.140258b50]
lea r12d, [rax + rax]
add r12d, 0x2480
nop
mov eax, dword [0x14055b914]
mov ecx, dword [0x14055b8f8]
add eax, ecx
add eax, 0xa1bab652
cdqe
add rax, qword [0x14055b940]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
mov r8, rbx
mov r9, r14
call qword [case.0x14013008b.0]
mov eax, dword [0x14055b8f8]
add eax, r15d
test r12d, eax
jne 0x140259140
jmp 0x1402590c5
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x14025926c
mov r8, qword [rbp - 0x40]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x140259215
mov rcx, qword [r8 - 8]
mov rdx, r8
xor rdx, 0xfffffffffffffff8
movabs r9, 0x7ffffffffffffff8
and r9, r8
lea rdx, [rdx + r9*2]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14025929c
mov edx, dword [0x1405aa7a8]
lea r8d, [rdx - 1]
imul r8d, edx
and r8d, 1
mov edx, 0xa1ba8bd8
add edx, dword [0x14055b8f8]
cmp r8d, edx
nop word [rax + rax]
mov edx, dword [0x1405aa7ac]
cmp edx, 0x2d
jge 0x140259200
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, 0x2a7a
add eax, dword [0x14055b914]
cdqe
add rax, qword [0x14055b940]
mov r10d, dword [0x14055b8f8]
lea ecx, [r10 - 0x5e457428]
mov edx, r10d
xor edx, 0xa1ba8bd9
mov r11d, r10d
and r11d, 0x21ba8bd9
lea edx, [rdx + r11*2]
lea r11d, [r10 - 0x38f96a80]
add r10d, 0x1af4e
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call qword [case.0x14013008b.0]
lea rax, [0x14046e3a8]
mov qword [rsi], rax
movups xmm0, xmmword [rdi]
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x28], rax
mov rax, rsi
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.1403fe3cc
int3