Function at 0x14000e6b8
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 [0x14025b240]
movaps xmm4, xmm5
movaps xmm3, xmm5
mov r12, rcx
movaps xmm1, xmm3
movaps xmm2, xmm3
movaps xmm0, xmm3
mulsd xmm2, qword [0x14025aba0]
mulsd xmm1, qword [0x14025a1e8]
mulsd xmm0, xmm3
mulsd xmm2, xmm3
mulsd xmm1, xmm3
addsd xmm1, qword [0x14025a608]
subsd xmm2, xmm0
divsd xmm2, xmm1
addsd xmm4, xmm2
comisd xmm4, xmmword [0x14025a958]
jbe 0x14000e73c
movaps xmm0, xmm3
mulsd xmm0, qword [0x140259dc0]
subsd xmm4, xmm0
addsd xmm3, qword [0x14025a100]
comisd xmm6, xmm3
ja 0x14000e6ea
comisd xmm5, xmm4
jbe 0x14000e75f
call int.1400360fe
call fcn.140036112
jmp 0x14000ed93
xor eax, eax
lea rcx, [rsp + 0x20]
mov byte [rcx], al
inc eax
inc rcx
cmp eax, 0x100
jb 0x14000e766
xor r10d, r10d
mov r9d, 0xff
xor r8b, r8b
xor ebx, ebx
lea r11d, [rbx + 1]
cmp r9d, r11d
jbe 0x14000e798
lea r11d, [r11*2 + 1]
cmp r11d, r9d
jb 0x14000e78b
mov eax, r10d
test r10d, r10d
je 0x14000e7e6
dec eax
je 0x14000e7dc
dec eax
je 0x14000e7d2
dec eax
je 0x14000e7c8
lea rax, [fcn.140036112]
lea ecx, [r10 - 4]
add rcx, rax
movzx eax, r8b
mov r8b, byte [rcx]
add r8b, byte [rsp + rax + 0x20]
jmp 0x14000e7f7
cvttsd2si rcx, xmm4
shr ecx, 0x18
jmp 0x14000e7eb
cvttsd2si rcx, xmm4
shr ecx, 0x10
jmp 0x14000e7eb
cvttsd2si rcx, xmm4
shr ecx, 8
jmp 0x14000e7eb
cvttsd2si rcx, xmm4
movzx eax, r8b
mov r8b, byte [rsp + rax + 0x20]
add r8b, cl
inc r10d
cmp r10d, 0x18
jb 0x14000e807
xor r10d, r10d
add r8b, 0x18
movzx eax, r8b
inc ebx
and eax, r11d
cmp ebx, 0xb
jbe 0x14000e81c
xor edx, edx
div r9d
mov eax, edx
cmp eax, r9d
ja 0x14000e798
cmp r9d, eax
je 0x14000e847
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 0x14000e780
movzx edx, byte [rsp + 0x27]
movzx r14d, byte [rsp + 0x21]
mov r13b, byte [rsp + 0x25]
mov r15b, byte [rsp + r14 + 0x20]
lea rsi, [int.1400360fe]
movzx eax, r8b
movzx ecx, byte [rsp + rax + 0x20]
add r15b, byte [rsp + 0x23]
mov al, byte [rsi]
movzx r10d, byte [rsp + rcx + 0x20]
mov dil, byte [rsi + 1]
mov bl, byte [rsi + 3]
shl al, 4
mov r9d, ecx
movzx r8d, r15b
sub dil, 0x51
inc r14b
sub bl, 0x51
or dil, al
mov al, byte [rsp + r8 + 0x20]
movzx r11d, r14b
mov byte [rsp + rcx + 0x20], al
mov al, byte [rsp + rdx + 0x20]
inc r14b
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 r13b, byte [rsp + r10 + 0x20]
add r15b, byte [rsp + r11 + 0x20]
movzx eax, r13b
movzx r11d, r14b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r9 + 0x20]
movzx r9d, r15b
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 [rsi + 2]
shl al, 4
xor cl, dil
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 r13b, byte [rsp + r10 + 0x20]
movzx eax, r13b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
movzx r8d, 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
mov byte [r12], cl
mov dil, byte [rsi + 5]
mov al, byte [rsi + 4]
sub dil, 0x51
shl al, 4
or dil, al
add r15b, byte [rsp + r11 + 0x20]
movzx r10d, byte [rsp + r8 + 0x20]
movzx edx, cl
movzx r9d, r15b
inc r14b
mov al, byte [rsp + r9 + 0x20]
movzx r11d, r14b
inc r14b
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 r13b, byte [rsp + r10 + 0x20]
add r15b, byte [rsp + r11 + 0x20]
movzx eax, r13b
movzx r11d, r14b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
movzx r8d, dil
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx r9d, r15b
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]
xor cl, dil
mov byte [r12 + 1], cl
mov al, byte [rsi + 6]
mov sil, byte [rsi + 7]
shl al, 4
movzx edx, cl
sub sil, 0x51
or sil, al
mov al, byte [rsp + r9 + 0x20]
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 r13b, byte [rsp + r10 + 0x20]
add r15b, byte [rsp + r11 + 0x20]
movzx eax, r13b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
movzx r8d, sil
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx r9d, r15b
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]
lea rax, [int.1400360fe]
xor cl, sil
mov byte [r12 + 2], cl
mov bl, byte [rax + 9]
mov al, byte [rax + 8]
shl al, 4
sub bl, 0x51
movzx edx, cl
or bl, al
mov al, byte [rsp + r9 + 0x20]
inc r14b
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
movzx r11d, r14b
mov byte [rsp + r9 + 0x20], al
mov al, byte [rsp + r11 + 0x20]
lea rsi, [int.1400360fe]
inc r14b
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + r11 + 0x20], r10b
add r13b, byte [rsp + r10 + 0x20]
add r15b, byte [rsp + r11 + 0x20]
movzx eax, r13b
movzx r11d, r14b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
inc r14b
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
movzx r8d, bl
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx r9d, r15b
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]
xor cl, bl
mov byte [r12 + 3], cl
mov al, byte [rsi + 0xa]
mov dil, byte [rsi + 0xb]
shl al, 4
movzx edx, cl
sub dil, 0x51
or dil, al
mov al, byte [rsp + r9 + 0x20]
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 r13b, byte [rsp + r10 + 0x20]
add r15b, byte [rsp + r11 + 0x20]
movzx eax, r13b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
movzx r8d, dil
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx r9d, r15b
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]
lea rax, [rsi + 0xc]
mov qword [rbp + 0x98], rax
xor cl, dil
mov byte [r12 + 4], cl
mov bl, byte [rax + 1]
mov al, byte [rax]
shl al, 4
movzx edx, cl
sub bl, 0x51
or bl, al
mov al, byte [rsp + r9 + 0x20]
lea rcx, [rsp + 0x20]
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rbp + 0x80], bl
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rcx, rax
mov qword [rbp + 0x88], rcx
mov al, byte [rcx]
mov byte [rsp + rdx + 0x20], al
mov byte [rcx], r10b
add r13b, byte [rsp + r10 + 0x20]
mov rdi, qword [rbp + 0x98]
movzx eax, r13b
mov qword [rbp + 0x90], 3
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]
mov dl, byte [rbp + 0x80]
xor cl, byte [rsp + rax + 0x20]
xor cl, bl
mov ebx, 6
mov byte [r12 + 5], cl
movzx r8d, dl
movzx edx, cl
lea rdi, [rdi + 2]
movzx r10d, byte [rsp + r8 + 0x20]
mov al, byte [rdi]
mov r11b, byte [rdi + 1]
shl al, 4
sub r11b, 0x51
inc r14b
or r11b, al
mov rax, qword [rbp + 0x88]
lea rcx, [rsp + 0x20]
add r15b, byte [rax]
inc rbx
movzx r9d, r15b
mov al, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
mov al, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rcx, rax
mov qword [rbp + 0x88], rcx
mov al, byte [rcx]
mov byte [rsp + rdx + 0x20], al
mov byte [rcx], r10b
add r13b, byte [rsp + r10 + 0x20]
movzx eax, r13b
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]
mov dl, r11b
xor cl, byte [rsp + rax + 0x20]
xor cl, r11b
test rbx, rbx
jle 0x14000ed3f
mov byte [rbx + r12 - 1], cl
dec qword [rbp + 0x90]
jne 0x14000ec92
movzx eax, r14b
movzx edx, cl
movzx r9d, r11b
add r15b, byte [rsp + rax + 0x20]
movzx r11d, byte [rsp + r9 + 0x20]
inc r14b
movzx r10d, r15b
movzx ecx, r14b
mov byte [r12 + 9], 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