Function at 0x41ced0
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, 0x338
movups xmmword [rsp + 0x2d0], xmm6
movups xmmword [rsp + 0x2e0], xmm7
movups xmmword [rsp + 0x2f0], xmm8
movups xmmword [rsp + 0x300], xmm9
movups xmmword [rsp + 0x310], xmm10
movups xmmword [rsp + 0x320], xmm11
movdqu xmm0, xmmword [0x005c18d0]
xor ecx, ecx
xor eax, eax
xor ebx, ebx
mov r13d, 0x40
movups xmmword [rsp + 0x1c0], xmm0
movdqu xmm0, xmmword [0x005c18e0]
lea rdx, [rsp + 0x80]
lea rdi, [rsp + 0x1c0]
lea r15, [rsp + 0x174]
mov rsi, rdi
lea rbp, [rsp + 0x120]
movups xmmword [rsp + 0x1d0], xmm0
movdqu xmm0, xmmword [0x005c18f0]
lea r12, [rsp + 0xd4]
add rcx, r15
movups xmmword [rsp + 0x1e0], xmm0
movdqu xmm0, xmmword [0x005c1900]
movups xmmword [rsp + 0x1f0], xmm0
movdqu xmm0, xmmword [0x005c1910]
movups xmmword [rsp + 0x200], xmm0
movdqu xmm0, xmmword [0x005c1920]
movups xmmword [rsp + 0x210], xmm0
movdqu xmm0, xmmword [0x005c1930]
movups xmmword [rsp + 0x220], xmm0
movdqu xmm0, xmmword [0x005c1940]
movups xmmword [rsp + 0x230], xmm0
movdqu xmm0, xmmword [0x005c1950]
movups xmmword [rsp + 0x240], xmm0
movdqu xmm0, xmmword [0x005c1960]
movups xmmword [rsp + 0x250], xmm0
movdqu xmm0, xmmword [0x005c1970]
movups xmmword [rsp + 0x260], xmm0
movdqu xmm0, xmmword [0x005c1980]
movups xmmword [rsp + 0x270], xmm0
movdqu xmm0, xmmword [0x005c1990]
movups xmmword [rsp + 0x280], xmm0
movdqu xmm0, xmmword [0x005c19a0]
movups xmmword [rsp + 0x290], xmm0
movdqu xmm0, xmmword [0x005c19b0]
movups xmmword [rsp + 0x2a0], xmm0
movdqu xmm0, xmmword [0x005c19c0]
movups xmmword [rsp + 0x2b0], xmm0
mov byte [rsp + 0x2c0], 0
movdqu xmm7, xmmword [0x005c1a00]
movdqu xmm10, xmmword [0x005c19d0]
movdqu xmm6, xmmword [0x005c1a10]
mov qword [rsp + 0x38], rdx
lea rdx, [rsp + 0x40]
movdqu xmm9, xmmword [0x005c19e0]
mov qword [rsp + 0x30], rdi
movdqu xmm8, xmmword [0x005c19f0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0xd0], 0
movdqu xmm11, xmmword [0x005c18a0]
mov dword [rsp + 0x170], 0
movups xmmword [rsp + 0x80], xmm10
movups xmmword [rsp + 0x90], xmm9
movups xmmword [rsp + 0xa0], xmm8
movups xmmword [rsp + 0xb0], xmm7
movups xmmword [rsp + 0xc0], xmm6
movups xmmword [rsp + 0x120], xmm10
movups xmmword [rsp + 0x130], xmm9
movups xmmword [rsp + 0x140], xmm8
movups xmmword [rsp + 0x150], xmm7
movups xmmword [rsp + 0x160], xmm6
cmp rax, 8
jae 0x41d314
nop word [rax + rax]
test al, 4
jne 0x41d3e8
test rax, rax
je 0x41d13a
movzx edx, byte [rsi]
mov byte [rcx], dl
test al, 2
jne 0x41d400
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.0041ac90
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
movups xmmword [rsp + 0x160], xmm11
call fcn.0041ac90
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 0x41d358
mov rdi, qword [rsp + 0x28]
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 0x41d40f
mov dword [rsp + 0x170], 0
movups xmmword [rsp + 0x120], xmm10
movups xmmword [rsp + 0x130], xmm9
movups xmmword [rsp + 0x140], xmm8
movups xmmword [rsp + 0x150], xmm7
movups xmmword [rsp + 0x160], xmm6
cmp rdi, 0x40
jbe 0x41d348
mov rsi, rbx
shr rbx, 6
mov rcx, rbp
mov r9d, 0x40
mov r8, rbx
mov rbx, qword [rsp + 0x30]
and rsi, 0xffffffffffffffc0
mov rdx, rbx
call fcn.0041ac90
mov rax, rdi
mov ecx, dword [rsp + 0x170]
sub rax, rsi
add rsi, rbx
mov rbx, rdi
add rcx, r15
cmp rax, 8
jb 0x41d120
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 0x41d13a
mov rsi, qword [rsp + 0x30]
mov rax, rdi
xor ecx, ecx
jmp 0x41d304
mov rsi, qword [rsp + 0x28]
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.0041ac90
cmp rsi, 0x40
jbe 0x41d3d4
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.0041ac90
and r14, 0xffffffffffffffc0
sub rsi, r14
add rdi, r14
mov ecx, dword [rsp + 0xd0]
mov r14d, esi
jmp 0x41d26d
mov edx, dword [rsi]
mov dword [rcx], edx
mov edx, dword [rsi + rax - 4]
mov dword [rcx + rax - 4], edx
jmp 0x41d13a
movzx edx, word [rsi + rax - 2]
mov word [rcx + rax - 2], dx
jmp 0x41d13a
mov rcx, qword [rsp + 0x38]
mov rdx, rbp
call fcn.0041bbf0
lea rdx, [0x005c1860]
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 0x41d430
lea eax, [rcx - 1]
movups xmm6, xmmword [rsp + 0x2d0]
movups xmm7, xmmword [rsp + 0x2e0]
movups xmm8, xmmword [rsp + 0x2f0]
shr eax, 8
movups xmm9, xmmword [rsp + 0x300]
movups xmm10, xmmword [rsp + 0x310]
and eax, 1
movups xmm11, xmmword [rsp + 0x320]
add rsp, 0x338
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret