Function at 0x14003a9b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r13
lea rbp, [rax - 0xc8]
sub rsp, 0x1b8
movsd xmm5, qword [0x1400e7090]
movaps xmmword [rax - 0x48], xmm6
movsd xmm6, qword [0x1400e70d8]
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov r13, rcx
movsd xmm8, qword [0x1400e8478]
movsd xmm9, qword [0x1400e7308]
movsd xmm7, qword [0x1400e8a88]
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movsd xmm10, qword [0x1400e77d0]
movsd xmm11, qword [0x1400e7b38]
xorps xmm12, xmm12
movaps xmm3, xmm12
movaps xmm4, xmm12
nop dword [rax]
movaps xmm2, xmm4
movaps xmm1, xmm4
movaps xmm0, xmm4
mulsd xmm2, xmm8
mulsd xmm1, xmm9
mulsd xmm0, xmm4
mulsd xmm2, xmm4
mulsd xmm1, xmm4
subsd xmm2, xmm0
addsd xmm1, xmm10
divsd xmm2, xmm1
addsd xmm3, xmm2
comisd xmm3, xmm11
jbe 0x14003aa82
movaps xmm0, xmm4
mulsd xmm0, xmm5
subsd xmm3, xmm0
addsd xmm4, xmm6
comisd xmm7, xmm4
ja 0x14003aa40
movaps xmm11, xmmword [rsp + 0x130]
movaps xmm10, xmmword [rsp + 0x140]
movaps xmm9, xmmword [rsp + 0x150]
comisd xmm12, xmm3
movaps xmm12, xmmword [rsp + 0x120]
movaps xmm8, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
movaps xmm6, xmmword [rsp + 0x180]
jbe 0x14003aae8
call fcn.1400caf06
call 0x1400caef8
mov rax, r13
add rsp, 0x1b8
pop r13
pop rbp
ret
mov qword [rsp + 0x1e0], rbx
mov qword [rsp + 0x1b0], rsi
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x1a0], r12
mov qword [rsp + 0x198], r14
xor eax, eax
mov qword [rsp + 0x190], r15
lea rcx, [rsp + 0x20]
nop
mov byte [rcx], al
inc eax
lea rcx, [rcx + 1]
cmp eax, 0x100
jb 0x14003ab20
xor r9d, r9d
mov r10d, 0xff
lea rdi, [fcn.1400caf06]
xor r8b, r8b
mov r11d, 1
xor ebx, ebx
cmp r10d, r11d
jbe 0x14003ab60
nop
lea r11d, [r11*2 + 1]
cmp r11d, r10d
jb 0x14003ab50
nop dword [rax]
mov eax, r9d
test r9d, r9d
je 0x14003aba6
dec eax
je 0x14003ab9c
dec eax
je 0x14003ab92
dec eax
movzx eax, r8b
je 0x14003ab88
lea ecx, [r9 - 4]
movzx r8d, byte [rcx + rdi]
add r8b, byte [rsp + rax + 0x20]
jmp 0x14003abb8
cvttsd2si rcx, xmm3
shr ecx, 0x18
jmp 0x14003abaf
cvttsd2si rcx, xmm3
shr ecx, 0x10
jmp 0x14003abab
cvttsd2si rcx, xmm3
shr ecx, 8
jmp 0x14003abab
cvttsd2si rcx, xmm3
movzx eax, r8b
movzx r8d, byte [rsp + rax + 0x20]
add r8b, cl
inc r9d
cmp r9d, 0x16
jb 0x14003abc8
xor r9d, r9d
add r8b, 0x16
movzx eax, r8b
inc ebx
and eax, r11d
cmp ebx, 0xb
jbe 0x14003abdd
xor edx, edx
div r10d
mov eax, edx
cmp eax, r10d
ja 0x14003ab60
cmp r10d, eax
je 0x14003ac0b
mov edx, eax
mov ecx, r10d
movzx eax, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
movzx eax, byte [rsp + rcx + 0x20]
xor byte [rsp + rdx + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
xor byte [rsp + rcx + 0x20], al
dec r10d
jne 0x14003ab42
movzx r10d, byte [rsp + 0x27]
movzx r14d, byte [rsp + 0x21]
movzx r12d, byte [rsp + 0x25]
movzx r15d, byte [rsp + r14 + 0x20]
movzx eax, r8b
lea rsi, [0x1400caef8]
movzx edx, byte [rsp + rax + 0x20]
add r15b, byte [rsp + 0x23]
movzx ecx, byte [rsi + 1]
movzx r11d, byte [rsp + rdx + 0x20]
movzx edi, byte [rsi]
sub cl, 0x32
movzx r8d, r15b
sub dil, 6
inc r14b
movzx eax, byte [rsp + r8 + 0x20]
movzx ebx, r14b
shl dil, 4
mov byte [rsp + rdx + 0x20], al
movzx eax, byte [rsp + r10 + 0x20]
or dil, cl
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rbx + 0x20]
add r15b, r11b
mov byte [rsp + r10 + 0x20], al
mov byte [rsp + rbx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
movzx eax, r12b
movzx r9d, r15b
inc r14b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + r10 + 0x20]
movzx ebx, r14b
add ecx, eax
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r8 + 0x20]
movzx r8d, dil
movzx edx, byte [rsp + rax + 0x20]
movzx r10d, byte [rsp + r8 + 0x20]
add ecx, r11d
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
movzx eax, byte [rsi + 3]
movzx esi, byte [rsi + 2]
sub al, 0x32
xor cl, dil
sub sil, 6
movzx edx, cl
shl sil, 4
or sil, al
movzx eax, byte [rsp + r9 + 0x20]
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rbx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rbx + 0x20], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
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 r11d, byte [rsp + rdx + 0x20]
movzx eax, cl
xor r11b, byte [rsp + rax + 0x20]
lea rax, [0x1400caef8]
xor r11b, sil
mov byte [r13], r11b
movzx edi, byte [rax + 5]
movzx ecx, byte [rax + 4]
sub dil, 0x32
sub cl, 6
add r15b, byte [rsp + rbx + 0x20]
shl cl, 4
movzx r8d, sil
movzx r10d, byte [rsp + r8 + 0x20]
or dil, cl
movzx r9d, r15b
movzx eax, byte [rsp + r9 + 0x20]
movzx edx, r11b
inc r14b
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
movzx ebx, r14b
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rbx + 0x20]
inc r14b
mov byte [rsp + rdx + 0x20], al
mov byte [rsp + rbx + 0x20], r10b
add r12b, byte [rsp + r10 + 0x20]
add r15b, byte [rsp + rbx + 0x20]
movzx eax, r12b
movzx ebx, 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
movzx r11d, byte [rsp + r8 + 0x20]
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 + rdx + 0x20]
movzx eax, cl
xor r10b, byte [rsp + rax + 0x20]
lea rax, [0x1400caef8]
xor r10b, dil
lea rdi, [0x1400caef8]
mov byte [r13 + 1], r10b
movzx ecx, byte [rax + 6]
movzx esi, byte [rax + 7]
movzx eax, byte [rsp + r9 + 0x20]
sub cl, 6
movzx edx, r10b
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
shl cl, 4
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rbx + 0x20]
sub sil, 0x32
mov byte [rsp + rdx + 0x20], al
or sil, cl
mov byte [rsp + rbx + 0x20], r11b
add r12b, byte [rsp + r11 + 0x20]
add rdi, 8
movzx eax, r12b
movzx ecx, byte [rsp + rax + 0x20]
movzx eax, byte [rsp + rdx + 0x20]
add ecx, eax
movzx eax, byte [rsp + r8 + 0x20]
movzx r8d, sil
movzx r10d, byte [rsp + r8 + 0x20]
add ecx, eax
movzx eax, cl
movzx ecx, byte [rsp + r9 + 0x20]
movzx edx, byte [rsp + rax + 0x20]
add ecx, r11d
movzx eax, cl
movzx ecx, byte [rsp + rdx + 0x20]
xor cl, byte [rsp + rax + 0x20]
xor cl, sil
mov byte [r13 + 2], cl
movzx eax, byte [rdi]
movzx edx, byte [rdi + 1]
sub al, 6
sub dl, 0x32
shl al, 4
or dl, al
add r15b, r11b
mov byte [rbp + 0xd8], dl
movzx edx, cl
movzx r9d, r15b
inc r14b
movzx eax, byte [rsp + r9 + 0x20]
lea rsi, [rsp + 0x20]
mov ebx, 4
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rsi, rax
movzx eax, byte [rsi]
mov byte [rsp + rdx + 0x20], al
mov byte [rsi], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
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
movzx ecx, byte [rsp + rdx + 0x20]
movzx edx, byte [rbp + 0xd8]
xor cl, byte [rsp + rax + 0x20]
xor cl, dl
mov byte [r13 + 3], cl
lea r13d, [rbx - 2]
add r15b, byte [rsi]
movzx eax, byte [rdi + 2]
movzx r11d, byte [rdi + 3]
sub al, 6
movzx r8d, dl
movzx edx, cl
movzx r10d, byte [rsp + r8 + 0x20]
shl al, 4
movzx r9d, r15b
lea rdi, [rdi + 2]
sub r11b, 0x32
inc r14b
or r11b, al
movzx eax, byte [rsp + r9 + 0x20]
lea rsi, [rsp + 0x20]
mov byte [rsp + r8 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
inc rbx
mov byte [rsp + r9 + 0x20], al
movzx eax, r14b
add rsi, rax
movzx eax, byte [rsi]
mov byte [rsp + rdx + 0x20], al
mov byte [rsi], r10b
add r12b, byte [rsp + r10 + 0x20]
movzx eax, r12b
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
movzx ecx, byte [rsp + rdx + 0x20]
movzx edx, r11b
xor cl, byte [rsp + rax + 0x20]
xor cl, r11b
test rbx, rbx
jle 0x14003afff
mov rax, qword [rbp + 0xd0]
mov byte [rbx + rax - 1], cl
dec r13
jne 0x14003af50
mov r12, qword [rsp + 0x1a0]
mov rdi, qword [rsp + 0x1a8]
mov rsi, qword [rsp + 0x1b0]
mov rbx, qword [rsp + 0x1e0]
movzx eax, r14b
movzx edx, cl
add r15b, byte [rsp + rax + 0x20]
movzx r9d, r11b
inc r14b
movzx r11d, byte [rsp + r9 + 0x20]
movzx r10d, r15b
mov r15, qword [rsp + 0x190]
movzx eax, byte [rsp + r10 + 0x20]
movzx ecx, r14b
mov r14, qword [rsp + 0x198]
mov byte [rsp + r9 + 0x20], al
movzx eax, byte [rsp + rdx + 0x20]
mov byte [rsp + r10 + 0x20], al
movzx eax, byte [rsp + rcx + 0x20]
mov byte [rsp + rdx + 0x20], al
mov rax, qword [rbp + 0xd0]
mov byte [rsp + rcx + 0x20], r11b
mov byte [rax + 6], r13b
add rsp, 0x1b8
pop r13
pop rbp
ret