Function at 0x140257c00
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 [0x1405d1928]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
mov eax, 0xa1ba8bd8
add eax, dword [0x140581518]
cmp ecx, eax
jne 0x140257cc4
mov r14d, 0x2a7a
mov eax, dword [0x14058153c]
add eax, r14d
cdqe
add rax, qword [0x140581558]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [case.0x14012b313.0]
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
add r14d, dword [0x140581530]
mov byte [rbp + 0x20], 0
movsxd rax, r14d
add rax, qword [0x140581570]
mov rcx, rbx
mov edx, 0x405ee07f
mov r8d, 0x4048d533
call qword [case.0x14012b313.0]
mov r14, rax
mov eax, dword [0x1405d192c]
mov ecx, 0xa1ba8c18
add ecx, dword [0x140581518]
cmp eax, ecx
jl 0x140257d5f
lea r14, [rbp - 0x40]
mov r15d, 0x2a7a
nop
mov eax, dword [0x14058153c]
mov ecx, dword [0x140581518]
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 [0x140581558]
mov rcx, rdi
mov rdx, r14
call qword [case.0x14012b313.0]
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov eax, dword [0x140581530]
add eax, r15d
cdqe
add rax, qword [0x140581570]
mov rcx, rbx
mov edx, 0x405ee07f
mov r8d, 0x4048d533
call qword [case.0x14012b313.0]
mov eax, dword [0x1405d1928]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x140257cd0
jmp 0x140257c4a
cmp r14, 0xf
jbe 0x140257d76
lea rcx, [rbp + 0x20]
mov rdx, r14
mov r9, rbx
call fcn.140088ec0
jmp 0x140257d8f
mov qword [rbp + 0x30], r14
lea rcx, [rbp + 0x20]
mov rdx, rbx
mov r8, r14
call fcn.14046c800
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 0x140257de6
mov eax, 0x2a7a
add eax, dword [0x140581540]
cdqe
add rax, qword [0x140581550]
xor ecx, ecx
mov edx, 1
mov r8d, 0x6a2179d1
call qword [case.0x14012b313.0]
mov qword [rsp + 0x20], 2
lea rcx, [rbp + 0x20]
mov edx, 2
mov r9, rax
call fcn.140089b20
jmp 0x140257e0c
lea rax, [rcx + 2]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x20]
mov r8, rax
cmp rdx, 0x10
jb 0x140257dff
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.140243540
cmp qword [rbp - 8], 0x10
jb 0x140257e4c
mov rbx, qword [rbp - 0x20]
lea rax, [0x140489658]
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.14046d2ec
lea rax, [0x140489cf8]
mov qword [rsi], rax
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x140257f89
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 0x140257ed6
mov rcx, qword [rbx - 8]
add rbx, qword [0x140581510]
sub rbx, rcx
movabs rdx, 0x98f1f5000136f3c
add rdx, rbx
cmp rdx, 0x20
jae 0x140257fb1
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 [0x140581534]
add eax, r15d
cdqe
add rax, qword [0x140581560]
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.0x14012b313.0]
mov eax, dword [0x1405d192c]
mov ecx, dword [0x140581518]
add ecx, r12d
cmp eax, ecx
jl 0x140257f89
nop dword [rax + rax]
mov eax, dword [0x140581534]
mov ecx, dword [0x140581518]
add eax, ecx
add eax, 0xa1bab652
cdqe
add rax, qword [0x140581560]
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.0x14012b313.0]
test r13b, r13b
je 0x140257f40
jmp 0x140257ef0
mov eax, dword [0x1405d192c]
cmp eax, 0x42
jle 0x140257fcc
jmp 0x140257fe6
mov eax, dword [0x1405d1928]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
je 0x140257fbc
mov eax, dword [0x1405d192c]
cmp eax, 0x2e
jg 0x140257fa0
mov eax, dword [0x1405d192c]
cmp eax, 0x32
jg 0x140257fa0
call fcn.140424a4c
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
xor eax, eax
test al, al
je 0x140257ffc
mov qword [rbp - 0x10], 0
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
jmp 0x140257fcc
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x140258067
mov r8, qword [rbp]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x140258036
mov rcx, qword [r8 - 8]
add r8, 0xfffffffffffffff8
sub r8, rcx
cmp r8, 0x20
jae 0x140258160
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, 0x2a7a
add eax, dword [0x140581534]
cdqe
add rax, qword [0x140581560]
mov dword [rsp + 0x28], 0x5e472376
mov dword [rsp + 0x20], 0x254c09a8
xor ecx, ecx
mov edx, 1
call qword [case.0x14012b313.0]
lea rbx, [0x14025c8b0]
lea rax, [fcn.140257c00]
lea r14d, [rax + rax]
add r14d, 0x2d60
mov r15d, r14d
not r15d
nop word cs:[rax + rax]
mov eax, dword [0x1405d192c]
cmp eax, 0x2a
jg 0x1402580be
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov rax, qword [rbp + 0x38]
mov ecx, dword [0x1405d192c]
cmp ecx, 0x1d
jle 0x1402580f2
mov qword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
mov ecx, 0x24
call fcn.140424ac4
mov qword [0x1405d1920], rax
mov rcx, rbx
call fcn.140444ec0
test r15d, r14d
jne 0x140258090
jmp 0x14025809b
cmp rax, 0x10
jb 0x140258242
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 0x140258141
mov rcx, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rcx
cmp rbx, 0x20
jae 0x140258170
add rax, qword [0x140581510]
movabs r14, 0x98f1f5000136f6c
add r14, rax
mov rbx, rcx
mov eax, dword [0x1405d1928]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x1402581d6
jmp 0x140258175
mov eax, dword [0x1405d192c]
cmp eax, 0x59
jg 0x140258160
call fcn.140424a4c
call fcn.140424a4c
mov eax, dword [0x140581534]
mov ecx, dword [0x140581518]
mov edx, ecx
xor edx, 0xa1ba8bd8
and ecx, 0x21ba8bd8
lea ecx, [rdx + rcx*2]
add eax, ecx
add eax, 0x2a7a
cdqe
add rax, qword [0x140581560]
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.0x14012b313.0]
mov eax, dword [0x1405d1928]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
je 0x140258242
mov r15d, 0xa1ba8bd9
lea rax, [fcn.140257c00]
lea r12d, [rax + rax]
add r12d, 0x2480
nop
mov eax, dword [0x140581534]
mov ecx, dword [0x140581518]
add eax, ecx
add eax, 0xa1bab652
cdqe
add rax, qword [0x140581560]
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.0x14012b313.0]
mov eax, dword [0x140581518]
add eax, r15d
test r12d, eax
jne 0x1402581f0
jmp 0x140258175
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x14025831c
mov r8, qword [rbp - 0x40]
lea r9, [rax + 1]
cmp r9, 0x1000
jb 0x1402582c5
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 0x14025834c
mov edx, dword [0x1405d1928]
lea r8d, [rdx - 1]
imul r8d, edx
and r8d, 1
mov edx, 0xa1ba8bd8
add edx, dword [0x140581518]
cmp r8d, edx
nop word [rax + rax]
mov edx, dword [0x1405d192c]
cmp edx, 0x2d
jge 0x1402582b0
add rax, 0x28
mov r9, rax
mov r8, rcx
mov eax, 0x2a7a
add eax, dword [0x140581534]
cdqe
add rax, qword [0x140581560]
mov r10d, dword [0x140581518]
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.0x14012b313.0]
lea rax, [0x140494758]
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.140424a4c
int3