Function at 0x140025dc0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r13
push r14
sub rsp, 0xb8
mov rax, qword [0x14011c358]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x100]
mov r13d, r9d
mov esi, dword [rsp + 0x118]
mov r9, rcx
mov ecx, dword [rsp + 0x108]
mov r14, r8
mov r10d, edx
mov qword [rsp + 0x30], rax
call fcn.140009850
mov ebp, eax
test eax, eax
js 0x1400260bb
mov eax, dword [rsp + 0x120]
mov qword [rsp + 0xa0], r12
lea r12d, [rax - 1]
and r12d, 7
jne 0x140025e38
mov byte [r14], r12b
inc r14
dec r13d
mov qword [rsp + 0x98], r15
cmp esi, 0xffffffff
jne 0x140025e58
mov esi, ebp
cmp eax, 0x400
jne 0x140025e69
cmp ebp, 0x40
jne 0x140025e69
lea esi, [rbp - 2]
jmp 0x140025e69
cmp esi, ebp
jg 0x1400260a6
cmp esi, 0xffffffff
jl 0x1400260a6
mov r15d, r13d
lea eax, [rsi + 2]
sub r15d, ebp
cmp r15d, eax
jl 0x1400260a6
mov qword [rsp + 0xb0], rbx
xor eax, eax
mov qword [rsp + 0xa8], rdi
mov r8, r10
lea rdi, [r14 + 8]
mov qword [r14], rax
mov rcx, rdi
mov rdx, r9
dec r15d
mov rbx, r10
call fcn.14009c440
add rdi, rbx
test esi, esi
jle 0x140025ee1
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, esi
call fcn.140034dc0
mov r8d, eax
test eax, eax
jne 0x140026091
movsxd rbx, esi
lea rdx, [rsp + 0x40]
mov r8, rbx
mov rcx, rdi
call fcn.14009c440
add edi, ebx
mov ecx, dword [rsp + 0x108]
sub edi, r14d
movsxd rbx, r15d
mov r8d, edi
mov rdx, r14
mov dword [rsp + 0x20], ebp
lea r9, [rbx + r14]
call fcn.140009970
mov r8d, eax
test eax, eax
jne 0x140026091
mov ecx, dword [rsp + 0x110]
lea eax, [r13 - 1]
mov byte [rax + r14], 0xbc
lea rdx, [rbx + r14]
sub ecx, 1
je 0x140025f54
sub ecx, 1
je 0x140025f4d
sub ecx, 1
je 0x140025f46
cmp ecx, 0x17
je 0x140025f3f
mov r8d, 0xffffff53
jmp 0x140026091
mov ecx, 4
jmp 0x140025f59
mov ecx, 8
jmp 0x140025f59
mov ecx, 7
jmp 0x140025f59
mov ecx, 6
mov r9, r14
mov dword [rsp + 0x20], r15d
mov r8d, ebp
call fcn.140025880
mov r8d, eax
test eax, eax
jne 0x140026091
movsxd rdx, esi
mov ecx, r12d
sub rbx, rdx
mov eax, 1
shl al, cl
lea r9, [rbx + r14]
dec al
xor r10d, r10d
and byte [r14], al
xor byte [r9 - 1], 1
test esi, esi
jle 0x140026062
cmp esi, 0x40
jb 0x140026062
lea eax, [rsi - 1]
movsxd rcx, eax
lea rax, [rsp + 0x40]
add rax, rcx
lea r11, [r9 + rcx]
cmp r9, rax
ja 0x140025fcb
lea rax, [rsp + 0x40]
cmp r11, rax
jae 0x140026062
mov eax, esi
and eax, 0x8000003f
jge 0x140025fdb
dec eax
or eax, 0xffffffc0
inc eax
sub esi, eax
lea r11, [rsp + 0x40]
lea rbx, [rsp + 0x50]
movsxd rsi, esi
sub r11, r9
lea rcx, [r9 + 0x20]
sub rbx, r9
mov rdi, 0xffffffffffffffe0
sub rdi, r9
nop
movdqu xmm0, xmmword [rcx - 0x20]
add r10d, 0x40
movdqu xmm1, xmmword [r11 + rcx - 0x20]
movdqu xmm2, xmmword [rcx + r11]
lea rcx, [rcx + 0x40]
pxor xmm1, xmm0
lea rax, [rcx + rdi]
movdqu xmmword [rcx - 0x60], xmm1
movdqu xmm0, xmmword [rcx - 0x50]
movdqu xmm1, xmmword [rbx + rcx - 0x60]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x50], xmm1
movdqu xmm0, xmmword [rcx - 0x40]
movdqu xmm1, xmmword [rcx + rbx - 0x40]
pxor xmm2, xmm0
movdqu xmmword [rcx - 0x40], xmm2
movdqu xmm0, xmmword [rcx - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rcx - 0x30], xmm1
cmp rax, rsi
jl 0x140026000
movsxd rcx, r10d
cmp rcx, rdx
jge 0x140026091
lea r10, [rsp + 0x40]
sub r10, r9
lea rax, [rcx + r9]
sub rdx, rcx
nop dword [rax]
movzx ecx, byte [r10 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x140026080
mov rdi, qword [rsp + 0xa8]
mov eax, r8d
mov rbx, qword [rsp + 0xb0]
jmp 0x1400260ab
mov eax, 0xffffff06
mov r15, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14009a320
add rsp, 0xb8
pop r14
pop r13
pop rsi
pop rbp
ret