Function at 0x140025c00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov r15, qword [rsp + 0xc8]
mov r13d, dword [rsp + 0xd8]
cmp r15, 0x40
seta al
cmp rdx, 0x100
mov qword [rsp + 0xa8], rdx
mov rdi, r8
mov r14, r9
seta dl
mov qword [rsp + 0xa0], rcx
or al, dl
jne 0x140025c54
cmp r9, 0x100
jbe 0x140025c6a
mov eax, 1
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r12d, 1
lea ecx, [r13 + 0xd]
mov rax, r12
mov rbp, r12
shl rax, cl
mov rcx, rax
mov qword [rsp + 0x38], rax
call sub.msvcrt.dll_malloc
lea ecx, [r13 + 8]
mov r10, qword [rsp + 0xa8]
shl rbp, cl
lea ecx, [r13 + 9]
mov rbx, rax
shl r12, cl
sub rbp, 1
test r14, r14
lea rsi, [r12 - 1]
je 0x1400263a2
mov r8, r14
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
test r15, r15
mov r10, qword [rsp + 0xa8]
je 0x140025cf4
mov rdx, qword [rsp + 0xc0]
lea rcx, [rbx + r14]
mov r8, r15
mov qword [rsp + 0xa8], r10
call sub.msvcrt.dll_memcpy
mov r10, qword [rsp + 0xa8]
lea rdx, [r14 + r15]
mov eax, 0x180
vmovdqu xmm0, xmmword [0x140277240]
sub rax, rdx
add rdx, rbx
lea rdi, [rdx + 8]
mov ecx, eax
mov qword [rdx], 0
mov qword [rdx + rcx - 8], 0
and rdi, 0xfffffffffffffff8
sub rdx, rdi
lea ecx, [rax + rdx]
xor eax, eax
movzx edx, r15b
shr ecx, 3
rep stosq qword [rdi], rax
movzx eax, r10b
mov byte [rbx + 0x19f], 0x20
shl eax, 8
vmovdqu xmmword [rbx + 0x185], xmm0
or eax, edx
mov edx, r14d
movzx r14d, r14b
movzx edx, dh
shl eax, 8
or eax, edx
shl eax, 8
or eax, r14d
mov dword [rbx + 0x180], eax
mov rax, r10
mov byte [rbx + 0x184], ah
mov rax, qword [0x140277250]
mov qword [rbx + 0x195], rax
mov eax, 0xfffff12f
mov word [rbx + 0x19d], ax
cmp r12, 0x1a
jbe 0x140025e62
mov eax, 0x1a
nop dword [rax]
lea rdx, [rax - 0x1a]
lea rcx, [rax - 0xe]
mov r11, rsi
lea r9, [rax - 6]
lea r8, [rax - 4]
and rdx, rsi
and rcx, rsi
and r9, rsi
and r8, rsi
shl rdx, 4
and r11, rax
shl rcx, 4
shl r9, 4
add rax, 2
shl r8, 4
vmovdqu xmm5, xmmword [rbx + r9]
shl r11, 4
vpxor xmm0, xmm5, xmmword [rbx + r8]
vpaddq xmm0, xmm0, xmmword [rbx + rcx]
lea rdi, [rbx + r11]
vpxor xmm0, xmm0, xmmword [rbx + rdx]
vmovdqu xmmword [rdi], xmm0
vmovdqu xmm2, xmmword [rdi]
vmovdqu xmm0, xmmword [rbx + r9 + 0x10]
vpxor xmm0, xmm0, xmmword [rbx + r8 + 0x10]
vpaddq xmm0, xmm0, xmmword [rbx + rcx + 0x10]
vpxor xmm0, xmm0, xmmword [rbx + rdx + 0x10]
vpslldq xmm1, xmm2, 8
vpsrldq xmm2, xmm2, 8
vpsrldq xmm3, xmm0, 8
vpslldq xmm0, xmm0, 8
vpxor xmm1, xmm1, xmm3
vpxor xmm0, xmm0, xmm2
vpsrlq xmm2, xmm1, 0x2f
vpsllq xmm1, xmm1, 0x11
vpxor xmm1, xmm2, xmm1
vmovdqu xmmword [rdi], xmm1
vpsrlq xmm1, xmm0, 0x2f
vpsllq xmm0, xmm0, 0x11
vpxor xmm0, xmm1, xmm0
vmovdqu xmmword [rbx + r11 + 0x10], xmm0
cmp rax, r12
jb 0x140025da0
mov r8d, dword [rsp + 0xd0]
mov eax, 1
mov qword [rsp + 0x40], r12
xor edx, edx
movabs r14, 0x2b992ddfa23249d6
add r8d, r13d
mov r13d, 0x40
lea ecx, [r8 + 8]
mov dword [rsp + 0x4c], r8d
shl rax, cl
mov r15, rax
mov eax, 0x75bcd15
mov qword [rsp + 0x30], r15
nop word [rax + rax]
mov r15, rax
mov qword [rsp + 0x28], rdx
mov r8, rdx
shr r15, 0x10
and r15, rbp
add r15, r15
nop dword [rax]
mov rcx, rsi
lea r9, [r8 - 0x1a]
lea r11, [r8 - 0xe]
add r15, 2
lea rdi, [r8 - 6]
lea r12, [r8 - 4]
and rcx, r8
and r9, rsi
shl rcx, 4
and r11, rsi
and rdi, rsi
and r12, rsi
lea rdx, [rbx + rcx]
shl r9, 4
shl r11, 4
and r15, rsi
shl rdi, 4
shl r12, 4
lea rcx, [rbx + rcx + 0x10]
vmovdqu xmm4, xmmword [rbx + r12]
vpxor xmm0, xmm4, xmmword [rbx + rdi]
vpaddq xmm0, xmm0, xmmword [rbx + r11]
vpxor xmm0, xmm0, xmmword [rbx + r9]
vpaddq xmm0, xmm0, xmmword [rdx]
vmovdqu xmmword [rdx], xmm0
vmovdqu xmm1, xmmword [rdx]
vmovdqu xmm0, xmmword [rbx + r12 + 0x10]
vpxor xmm0, xmm0, xmmword [rbx + rdi + 0x10]
vpaddq xmm0, xmm0, xmmword [rbx + r11 + 0x10]
mov r11, rax
vpxor xmm0, xmm0, xmmword [rbx + r9 + 0x10]
vpaddq xmm0, xmm0, xmmword [rcx]
lea rax, [rax + rax*4]
mov r9, r8
shr r9, 1
vpslldq xmm3, xmm1, 8
rol rax, 0x13
add r8, 2
vpsrldq xmm2, xmm0, 8
vpsrldq xmm1, xmm1, 8
and r11d, 0x1fff
xor rax, r14
vpxor xmm2, xmm2, xmm3
vpslldq xmm0, xmm0, 8
lea r9, [r11 + r9 - 0x1000]
vpxor xmm0, xmm1, xmm0
vpsrlq xmm1, xmm2, 0x2f
and r9, rbp
vpsllq xmm2, xmm2, 0x11
shl r9, 5
vpxor xmm1, xmm1, xmm2
lea r11, [rbx + r9]
lea r9, [rbx + r9 + 0x10]
vmovdqu xmmword [rdx], xmm1
vpsrlq xmm1, xmm0, 0x2f
vpsllq xmm0, xmm0, 0x11
vpxor xmm0, xmm1, xmm0
vmovdqu xmmword [rcx], xmm0
vmovdqu xmm5, xmmword [r11]
vpsllq xmm0, xmm5, 1
vpaddq xmm0, xmm0, xmmword [rdx]
vmovdqu xmmword [rdx], xmm0
vmovdqu xmm4, xmmword [r9]
vpsllq xmm0, xmm4, 1
vpaddq xmm0, xmm0, xmmword [rcx]
vmovdqu xmmword [rcx], xmm0
vmovdqu xmm5, xmmword [rdx]
vpsllq xmm0, xmm5, 2
vpaddq xmm0, xmm0, xmmword [r11]
vmovdqu xmmword [r11], xmm0
vmovdqu xmm4, xmmword [rcx]
vpsllq xmm0, xmm4, 2
vpaddq xmm0, xmm0, xmmword [r9]
vmovdqu xmmword [r9], xmm0
mov r9, r15
shl r9, 4
lea r11, [rbx + r9]
lea r9, [rbx + r9 + 0x10]
vmovdqu xmm5, xmmword [r11]
vpsllq xmm0, xmm5, 1
vpaddq xmm0, xmm0, xmmword [rdx]
vmovdqu xmmword [rdx], xmm0
vmovdqu xmm3, xmmword [r9]
vpsllq xmm0, xmm3, 1
vpaddq xmm0, xmm0, xmmword [rcx]
vmovdqu xmmword [rcx], xmm0
vmovdqu xmm0, xmmword [rdx]
vpsllq xmm0, xmm0, 3
vpaddq xmm0, xmm0, xmmword [r11]
vmovdqu xmmword [r11], xmm0
vmovdqu xmm0, xmmword [rcx]
vpsllq xmm0, xmm0, 3
vpaddq xmm0, xmm0, xmmword [r9]
vmovdqu xmmword [r9], xmm0
cmp r13, r8
jne 0x140025ec0
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
add r13, 0x40
add rdx, 0x40
cmp rdx, rdi
jb 0x140025ea8
mov r8d, dword [rsp + 0x4c]
mov edx, 1
mov r12, qword [rsp + 0x40]
mov r15, rdi
lea ecx, [r8 + 9]
shl rdx, cl
mov r8, rdx
cmp rdi, rdx
jae 0x1400262a3
mov qword [rsp + 0x30], r12
lea rdx, [rdi + 0x40]
mov qword [rsp + 0x28], r8
mov r13, rdx
mov qword [rsp + 0xa8], r10
nop dword [rax]
mov r12, rax
shr r12, 0x10
and r12, rbp
add r12, r12
nop dword [rax]
lea r10, [r15 - 0xe]
mov r8, rsi
lea r9, [r15 - 0x1a]
and eax, 0x1fff
lea r11, [r15 - 6]
lea rdi, [r15 - 4]
and r8, r15
and r10, rsi
shl r10, 4
shl r8, 4
and r9, rsi
and r11, rsi
and rdi, rsi
lea rcx, [rbx + r8]
shl r9, 4
lea r14, [rbx + r10]
shl r11, 4
shl rdi, 4
lea r8, [rbx + r8 + 0x10]
add r12, 2
vmovdqu xmm4, xmmword [rbx + rdi]
vpxor xmm0, xmm4, xmmword [rbx + r11]
and r12, rsi
vpaddq xmm0, xmm0, xmmword [r14]
vpxor xmm0, xmm0, xmmword [rbx + r9]
vpaddq xmm0, xmm0, xmmword [rcx]
vmovdqu xmmword [rcx], xmm0
vmovdqu xmm1, xmmword [rcx]
vmovdqu xmm0, xmmword [rbx + rdi + 0x10]
vpxor xmm0, xmm0, xmmword [rbx + r11 + 0x10]
vpaddq xmm0, xmm0, xmmword [rbx + r10 + 0x10]
vpxor xmm0, xmm0, xmmword [rbx + r9 + 0x10]
vpaddq xmm0, xmm0, xmmword [r8]
mov r9, r15
add r15, 2
vpslldq xmm3, xmm1, 8
shr r9, 1
vpsrldq xmm1, xmm1, 8
vpsrldq xmm2, xmm0, 8
lea rax, [r9 + rax - 0x1000]
vpxor xmm2, xmm2, xmm3
vpslldq xmm0, xmm0, 8
and rax, rbp
vpxor xmm0, xmm1, xmm0
vpsrlq xmm1, xmm2, 0x2f
shl rax, 5
vpsllq xmm2, xmm2, 0x11
lea r9, [rbx + rax]
lea rax, [rbx + rax + 0x10]
vpxor xmm2, xmm2, xmm1
vpsrlq xmm1, xmm0, 0x2f
vpsllq xmm0, xmm0, 0x11
vmovdqu xmmword [rcx], xmm2
vpxor xmm0, xmm0, xmm1
vmovdqu xmmword [r8], xmm0
vmovdqu xmm5, xmmword [r9]
vpsllq xmm0, xmm5, 1
vpaddq xmm0, xmm0, xmmword [rcx]
vmovdqu xmmword [rcx], xmm0
vmovdqu xmm3, xmmword [rax]
vpsllq xmm0, xmm3, 1
vpaddq xmm0, xmm0, xmmword [r8]
vmovdqu xmmword [r8], xmm0
vmovdqu xmm4, xmmword [rcx]
vpsllq xmm0, xmm4, 2
vpaddq xmm0, xmm0, xmmword [r9]
vmovdqu xmmword [r9], xmm0
vmovdqu xmm5, xmmword [r8]
vpsllq xmm0, xmm5, 2
vpaddq xmm0, xmm0, xmmword [rax]
vmovdqu xmmword [rax], xmm0
mov rax, r12
shl rax, 4
lea r9, [rbx + rax]
lea rax, [rbx + rax + 0x10]
vmovdqu xmm3, xmmword [r9]
vpsllq xmm0, xmm3, 1
vpaddq xmm0, xmm0, xmmword [rcx]
vmovdqu xmmword [rcx], xmm0
vmovdqu xmm4, xmmword [rax]
vpsllq xmm0, xmm4, 1
vpaddq xmm0, xmm0, xmmword [r8]
vmovdqu xmmword [r8], xmm0
vmovdqu xmm0, xmmword [rcx]
vpsllq xmm0, xmm0, 3
vpaddq xmm0, xmm0, xmmword [r9]
vmovdqu xmmword [r9], xmm0
vmovdqu xmm0, xmmword [r8]
vpsllq xmm0, xmm0, 3
vpaddq xmm0, xmm0, xmmword [rax]
vmovdqu xmmword [rax], xmm0
mov rax, qword [r14]
cmp r13, r15
jne 0x1400260d8
mov rdi, qword [rsp + 0x28]
mov r15, rdx
add r13, 0x40
cmp rdx, rdi
jae 0x140026296
add rdx, 0x40
jmp 0x1400260c8
mov r12, qword [rsp + 0x30]
mov r10, qword [rsp + 0xa8]
xor eax, eax
nop dword [rax]
mov rdi, rsi
lea rdx, [rax - 0x1a]
lea rcx, [rax - 0xe]
lea r8, [rax - 6]
lea r9, [rax - 4]
and rdi, rax
and rdx, rsi
shl rdi, 4
and rcx, rsi
and r8, rsi
and r9, rsi
lea r11, [rbx + rdi]
shl rdx, 4
shl rcx, 4
add rax, 2
shl r8, 4
shl r9, 4
lea rdi, [rbx + rdi + 0x10]
vmovdqu xmm5, xmmword [rbx + r9]
vpxor xmm0, xmm5, xmmword [rbx + r8]
vpaddq xmm0, xmm0, xmmword [rbx + rcx]
vpxor xmm0, xmm0, xmmword [rbx + rdx]
vpaddq xmm0, xmm0, xmmword [r11]
vmovdqu xmmword [r11], xmm0
vmovdqu xmm1, xmmword [r11]
vmovdqu xmm0, xmmword [rbx + r9 + 0x10]
vpxor xmm0, xmm0, xmmword [rbx + r8 + 0x10]
vpaddq xmm0, xmm0, xmmword [rbx + rcx + 0x10]
vpxor xmm0, xmm0, xmmword [rbx + rdx + 0x10]
vpslldq xmm3, xmm1, 8
vpaddq xmm0, xmm0, xmmword [rdi]
vpsrldq xmm1, xmm1, 8
vpsrldq xmm2, xmm0, 8
vpslldq xmm0, xmm0, 8
vpxor xmm2, xmm2, xmm3
vpxor xmm0, xmm1, xmm0
vpsrlq xmm1, xmm2, 0x2f
vpsllq xmm2, xmm2, 0x11
vpxor xmm2, xmm2, xmm1
vpsrlq xmm1, xmm0, 0x2f
vpsllq xmm0, xmm0, 0x11
vmovdqu xmmword [r11], xmm2
vpxor xmm0, xmm0, xmm1
vmovdqu xmmword [rdi], xmm0
cmp rax, r12
jb 0x1400262a8
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0xa0]
mov r8, r10
sub rdx, r10
add rdx, rbx
call sub.msvcrt.dll_memcpy
mov rcx, rbx
call sub.msvcrt.dll_free
xor eax, eax
jmp 0x140025c59
test r15, r15
jne 0x140025cd0
xor edx, edx
jmp 0x140025cf8