Function at 0x14002e21c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x138
xorps xmm5, xmm5
movaps xmmword [rax - 0x58], xmm6
movsd xmm6, qword [0x14025b1a8]
movaps xmm4, xmm5
movaps xmm3, xmm5
mov r12, rcx
movaps xmm1, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm3
mulsd xmm2, qword [0x14025ad20]
mulsd xmm1, qword [0x14025a490]
mulsd xmm0, xmm3
mulsd xmm2, xmm3
mulsd xmm1, xmm3
addsd xmm1, qword [0x14025a528]
subsd xmm2, xmm0
divsd xmm2, xmm1
addsd xmm4, xmm2
comisd xmm4, xmmword [0x14025a960]
jbe 0x14002e2a0
movaps xmm0, xmm3
mulsd xmm0, qword [0x140259fd0]
subsd xmm4, xmm0
addsd xmm3, qword [0x14025a218]
comisd xmm6, xmm3
ja 0x14002e24e
comisd xmm5, xmm4
jbe 0x14002e2c3
call fcn.14003a4ae
call 0x14003a4da
jmp 0x14002e787
xor eax, eax
lea rcx, [rsp + 0x20]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x100
jb 0x14002e2ca
xor r10d, r10d
mov r9d, 0xff
xor r8b, r8b
lea r13d, [r10 + 0xb]
mov qword [rbp + 0x98], r13
xor ebx, ebx
lea r11d, [rbx + 1]
cmp r9d, r11d
jbe 0x14002e307
lea r11d, [r11*2 + 1]
cmp r11d, r9d
jb 0x14002e2fa
mov eax, r10d
test r10d, r10d
je 0x14002e355
dec eax
je 0x14002e34b
dec eax
je 0x14002e341
dec eax
je 0x14002e337
lea rax, [0x14003a4da]
lea ecx, [r10 - 4]
add rcx, rax
movzx eax, r8b
mov r8b, byte [rcx]
add r8b, byte [rsp + rax + 0x20]
jmp 0x14002e366
cvttsd2si rcx, xmm4
shr ecx, 0x18
jmp 0x14002e35a
cvttsd2si rcx, xmm4
shr ecx, 0x10
jmp 0x14002e35a
cvttsd2si rcx, xmm4
shr ecx, 8
jmp 0x14002e35a
cvttsd2si rcx, xmm4
movzx eax, r8b
mov r8b, byte [rsp + rax + 0x20]
add r8b, cl
inc r10d
cmp r10d, 0x17
jb 0x14002e376
xor r10d, r10d
add r8b, 0x17
movzx eax, r8b
inc ebx
and eax, r11d
cmp ebx, r13d
jbe 0x14002e38b
xor edx, edx
div r9d
mov eax, edx
cmp eax, r9d
ja 0x14002e307
cmp r9d, eax
je 0x14002e3b6
mov edx, eax
mov ecx, r9d
mov al, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
mov al, byte [rsp + rcx + 0x20]
xor byte [rsp + rdx + 0x20], al
mov al, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
dec r9d
jne 0x14002e2ef
movzx edx, byte [rsp + 0x27]
movzx esi, byte [rsp + 0x21]
mov r15b, byte [rsp + 0x25]
mov r14b, byte [rsp + rsi + 0x20]
movzx eax, r8b
lea rbx, [fcn.14003a4ae]
movzx ecx, byte [rsp + rax + 0x20]
add r14b, byte [rsp + 0x23]
mov al, byte [rbx]
movzx r10d, byte [rsp + rcx + 0x20]
mov dil, byte [rbx + 1]
shl al, 4
mov r9d, ecx
movzx r8d, r14b
inc sil
movzx r11d, sil
add dil, 0x73
inc sil
or dil, al
mov al, byte [rsp + r8 + 0x20]
mov byte [rsp + rcx + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + r11 + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + r11 + 0x20], r10b
add r15b, byte [rsp + r10 + 0x20]
add r14b, byte [rsp + r11 + 0x20]
movzx eax, r15b
movzx r11d, sil
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r9 + 0x20]
movzx r9d, r14b
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r8 + 0x20]
movzx r8d, dil
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx r10d, byte [rsp + r8 + 0x20]
movzx eax, cl
mov cl, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
mov al, byte [rbx + 2]
mov bl, byte [rbx + 3]
shl al, 4
xor cl, dil
add bl, 0x73
or bl, al
mov al, byte [rsp + r9 + 0x20]
movzx edx, cl
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
mov al, byte [rsp + r11 + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + r11 + 0x20], r10b
add r15b, byte [rsp + r10 + 0x20]
movzx eax, r15b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx eax, cl
mov cl, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
lea rax, [fcn.14003a4ae]
add rax, 4
xor cl, bl
mov byte [r12], cl
mov r13b, byte [rax + 1]
mov qword [rbp + 0x90], rax
mov al, byte [rax]
add r13b, 0x73
add r14b, byte [rsp + r11 + 0x20]
movzx edx, cl
shl al, 4
or r13b, al
movzx r8d, bl
movzx r9d, r14b
movzx r10d, byte [rsp + r8 + 0x20]
mov al, byte [rsp + r9 + 0x20]
inc sil
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
lea rdi, [rsp + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, sil
mov byte [rbp + 0x80], r13b
add rdi, rax
mov ebx, 2
mov qword [rbp + 0x88], 9
mov al, byte [rdi]
mov byte [rsp + rdx + 0x20], al
mov byte [rdi], r10b
add r15b, byte [rsp + r10 + 0x20]
movzx eax, r15b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
mov r8b, byte [rbp + 0x80]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx eax, cl
mov cl, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
xor cl, r13b
mov r13, qword [rbp + 0x90]
mov byte [r12 + 1], cl
add r14b, byte [rdi]
movzx edx, cl
movzx r8d, r8b
movzx r10d, byte [rsp + r8 + 0x20]
movzx r9d, r14b
lea r13, [r13 + 2]
mov al, byte [r13]
mov r11b, byte [r13 + 1]
inc sil
shl al, 4
add r11b, 0x73
lea rdi, [rsp + 0x20]
or r11b, al
mov al, byte [rsp + r9 + 0x20]
inc rbx
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, sil
add rdi, rax
mov al, byte [rdi]
mov byte [rsp + rdx + 0x20], al
mov byte [rdi], r10b
add r15b, byte [rsp + r10 + 0x20]
movzx eax, r15b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
mov r8b, r11b
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx eax, cl
mov cl, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
xor cl, r11b
test rbx, rbx
jle 0x14002e65d
mov byte [rbx + r12 - 1], cl
dec qword [rbp + 0x88]
jne 0x14002e5bc
mov r13, qword [rbp + 0x98]
lea rdx, [rsp + 0x20]
movzx eax, sil
add rdx, rax
lea r11, [fcn.14003a4ae]
mov qword [rbp + 0x80], 0xa
mov rdi, rdx
add r11, 0x16
add r14b, byte [rdi]
movzx edx, cl
movzx r8d, r8b
movzx r10d, byte [rsp + r8 + 0x20]
movzx r9d, r14b
lea r11, [r11 + 2]
mov al, byte [r11]
mov bl, byte [r11 + 1]
inc sil
shl al, 4
add bl, 0x73
lea rdi, [rsp + 0x20]
or bl, al
mov al, byte [rsp + r9 + 0x20]
inc r13
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, sil
add rdi, rax
mov al, byte [rdi]
mov byte [rsp + rdx + 0x20], al
mov byte [rdi], r10b
add r15b, byte [rsp + r10 + 0x20]
movzx eax, r15b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
mov r8b, bl
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r10d
movzx eax, cl
mov cl, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
xor cl, bl
test r13, r13
jle 0x14002e733
mov byte [r13 + r12 - 1], cl
dec qword [rbp + 0x80]
jne 0x14002e696
movzx eax, sil
movzx edx, cl
movzx r9d, bl
add r14b, byte [rsp + rax + 0x20]
movzx r11d, byte [rsp + r9 + 0x20]
inc sil
movzx r10d, r14b
movzx ecx, sil
mov byte [r12 + 0x15], 0
mov al, byte [rsp + r10 + 0x20]
mov byte [rsp + r9 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r10 + 0x20], al
mov al, byte [rsp + rcx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rcx + 0x20], r11b
mov rax, r12
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret