Function at 0x41c110
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, 0x2e8
vmovups xmmword [rsp + 0x2d0], xmm6
vmovdqu ymm0, ymmword [0x0067dde0]
xor ecx, ecx
xor ebx, ebx
vmovdqu xmm5, xmmword [0x0067dee0]
xor eax, eax
mov r13d, 0x40
movabs rdx, 0x7000000000000000
mov byte [rsp + 0x2c0], 0
lea rdi, [rsp + 0x1c0]
vextracti128 xmmword [rsp + 0x1d0], ymm0, 1
lea rbp, [rsp + 0x120]
vmovups xmmword [rsp + 0x1c0], xmm0
vmovdqu ymm0, ymmword [0x0067de00]
mov rsi, rdi
lea r15, [rsp + 0x174]
vmovups xmmword [rsp + 0x80], xmm5
vmovdqu ymm5, ymmword [0x0067dee0]
lea r12, [rsp + 0xd4]
vmovups xmmword [rsp + 0x1e0], xmm0
vextracti128 xmmword [rsp + 0x1f0], ymm0, 1
vmovdqu ymm0, ymmword [0x0067de20]
vextracti128 xmmword [rsp + 0x90], ymm5, 1
vmovdqu xmm5, xmmword [0x0067df00]
vmovups xmmword [rsp + 0x200], xmm0
vextracti128 xmmword [rsp + 0x210], ymm0, 1
vmovdqu ymm0, ymmword [0x0067de40]
vmovups xmmword [rsp + 0xa0], xmm5
vmovdqu ymm5, ymmword [0x0067df00]
vmovups xmmword [rsp + 0x220], xmm0
vextracti128 xmmword [rsp + 0x230], ymm0, 1
vmovdqu ymm0, ymmword [0x0067de60]
vmovups xmmword [rsp + 0x240], xmm0
vextracti128 xmmword [rsp + 0x250], ymm0, 1
vmovdqu ymm0, ymmword [0x0067de80]
vmovups xmmword [rsp + 0x260], xmm0
vextracti128 xmmword [rsp + 0x270], ymm0, 1
vmovdqu ymm0, ymmword [0x0067dea0]
vmovups xmmword [rsp + 0x280], xmm0
vextracti128 xmmword [rsp + 0x290], ymm0, 1
vmovdqu ymm0, ymmword [0x0067dec0]
vmovups xmmword [rsp + 0x2a0], xmm0
vextracti128 xmmword [rsp + 0x2b0], ymm0, 1
vextracti128 xmmword [rsp + 0xb0], ymm5, 1
vmovdqu xmm5, xmmword [0x0067dee0]
mov qword [rsp + 0x30], rdi
vmovdqu xmm6, xmmword [0x0067dbc0]
lea rdi, [rsp + 0x80]
vmovups xmmword [rsp + 0x120], xmm5
vmovdqu ymm5, ymmword [0x0067dee0]
mov qword [rsp + 0x38], rdi
lea rdi, [rsp + 0x40]
vextracti128 xmmword [rsp + 0x130], ymm5, 1
mov qword [rsp + 0x20], rdi
vmovdqu xmm5, xmmword [0x0067df00]
mov qword [rsp + 0xc0], 0
vmovups xmmword [rsp + 0x140], xmm5
vmovdqu ymm5, ymmword [0x0067df00]
mov qword [rsp + 0xc8], rdx
mov dword [rsp + 0xd0], 0
vextracti128 xmmword [rsp + 0x150], ymm5, 1
mov qword [rsp + 0x160], 0
mov qword [rsp + 0x168], rdx
mov dword [rsp + 0x170], 0
mov qword [rsp + 0x28], rdx
vzeroupper
add rcx, r15
cmp rax, 8
jae 0x41c585
nop dword [rax]
test al, 4
jne 0x41c660
test rax, rax
je 0x41c372
movzx edx, byte [rsi]
mov byte [rcx], dl
test al, 2
jne 0x41c678
add eax, dword [rsp + 0x170]
mov r8d, r13d
xor edx, edx
mov ecx, eax
sub r8d, eax
mov dword [rsp + 0x170], eax
add rcx, r15
call sub.msvcrt.dll_memset
mov r9d, dword [rsp + 0x170]
mov rdx, r15
mov rcx, rbp
movabs rax, 0x8000000000000000
mov r8d, 1
or qword [rsp + 0x168], rax
call fcn.00419ef0
mov rcx, rbp
mov r9d, 8
mov r8d, 1
mov rdx, r15
mov qword [r15], 0
mov qword [r15 + 8], 0
mov qword [r15 + 0x10], 0
mov qword [r15 + 0x18], 0
mov qword [r15 + 0x20], 0
mov qword [r15 + 0x28], 0
mov qword [r15 + 0x30], 0
mov qword [r15 + 0x38], 0
vmovups xmmword [rsp + 0x160], xmm6
call fcn.00419ef0
mov rax, qword [rsp + 0x120]
mov ecx, dword [rsp + 0xd0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x78], rax
test ecx, ecx
jne 0x41c5d0
mov rdi, qword [rsp + 0x20]
mov r14d, 0x40
xor ecx, ecx
mov esi, 0x40
mov rdx, rdi
add rcx, r12
lea rdi, [rbx + 1]
mov r8, rsi
call sub.msvcrt.dll_memcpy
add dword [rsp + 0xd0], r14d
cmp rbx, 0x101
je 0x41c687
vmovdqu xmm1, xmmword [0x0067dee0]
vmovdqu ymm2, ymmword [0x0067dee0]
mov qword [rsp + 0x160], 0
vmovdqu xmm3, xmmword [0x0067df00]
mov rax, qword [rsp + 0x28]
mov dword [rsp + 0x170], 0
vmovdqu ymm4, ymmword [0x0067df00]
vmovups xmmword [rsp + 0x120], xmm1
vextracti128 xmmword [rsp + 0x130], ymm2, 1
mov qword [rsp + 0x168], rax
vmovups xmmword [rsp + 0x140], xmm3
vextracti128 xmmword [rsp + 0x150], ymm4, 1
cmp rdi, 0x40
jbe 0x41c5b8
mov rsi, rbx
shr rbx, 6
mov r9d, 0x40
mov rcx, rbp
mov r8, rbx
mov rbx, qword [rsp + 0x30]
and rsi, 0xffffffffffffffc0
mov rdx, rbx
vzeroupper
call fcn.00419ef0
mov rax, rdi
mov ecx, dword [rsp + 0x170]
sub rax, rsi
add rsi, rbx
mov rbx, rdi
add rcx, r15
cmp rax, 8
jb 0x41c358
mov rdx, qword [rsi]
lea rdi, [rcx + 8]
and rdi, 0xfffffffffffffff8
mov qword [rcx], rdx
mov rdx, qword [rsi + rax - 8]
mov qword [rcx + rax - 8], rdx
sub rcx, rdi
sub rsi, rcx
add rcx, rax
shr rcx, 3
rep movsq qword [rdi], qword [rsi]
jmp 0x41c372
mov rsi, qword [rsp + 0x30]
mov rax, rdi
xor ecx, ecx
vzeroupper
jmp 0x41c575
mov rsi, qword [rsp + 0x20]
mov r14d, r13d
sub r14d, ecx
add rcx, r12
mov rdx, rsi
mov r8, r14
lea rdi, [rsi + r14]
mov esi, 0x40
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x38]
sub rsi, r14
mov rdx, r12
mov r9d, 0x40
mov r8d, 1
mov dword [rsp + 0xd0], 0
call fcn.00419ef0
cmp rsi, 0x40
jbe 0x41c64c
mov r8d, 0x3f
mov rcx, qword [rsp + 0x38]
mov rdx, rdi
mov r9d, 0x40
sub r8, r14
mov r14, r8
shr r8, 6
call fcn.00419ef0
and r14, 0xffffffffffffffc0
sub rsi, r14
add rdi, r14
mov ecx, dword [rsp + 0xd0]
mov r14d, esi
jmp 0x41c4a5
mov edx, dword [rsi]
mov dword [rcx], edx
mov edx, dword [rsi + rax - 4]
mov dword [rcx + rax - 4], edx
jmp 0x41c372
movzx edx, word [rsi + rax - 2]
mov word [rcx + rax - 2], dx
jmp 0x41c372
mov rcx, qword [rsp + 0x38]
mov rdx, rbp
call fcn.0041adf0
lea rdx, [0x0067db80]
xor ecx, ecx
lea r8, [rdx + 0x40]
nop dword [rax]
add rdx, 1
movzx eax, byte [rbp]
add rbp, 1
xor al, byte [rdx - 1]
movzx eax, al
or ecx, eax
cmp rdx, r8
jne 0x41c6a8
vmovups xmm6, xmmword [rsp + 0x2d0]
lea eax, [rcx - 1]
shr eax, 8
and eax, 1
add rsp, 0x2e8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret