Function at 0x1400487e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov rax, qword [0x140325ed8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 2
mov rcx, qword [rsp + 0x70]
call fcn.140048030
mov qword [rsp + 0x28], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x28]
movzx ecx, byte [rdx + rcx]
add eax, ecx
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
shr eax, 0xa
and eax, 0x1f
sub eax, 0xf
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 8
xor eax, eax
test eax, eax
jne 0x14004885e
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov rcx, qword [rsp + 0x48]
rep stosb byte [rdi], al
xor eax, eax
test eax, eax
jne 0x14004884b
cmp dword [rsp + 0x30], 0xfffffff1
jne 0x14004894b
mov eax, dword [rsp + 0x24]
and eax, 0x3ff
test eax, eax
jne 0x1400488b9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0x80
mov ecx, 1
imul rcx, rcx, 7
mov byte [rsp + rcx + 0x50], al
jmp 0x140048946
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x50], 0x3f
mov eax, dword [rsp + 0x24]
shr eax, 6
and eax, 0xf
movzx eax, al
add eax, 0x10
mov ecx, 1
imul rcx, rcx, 6
mov byte [rsp + rcx + 0x50], al
mov eax, dword [rsp + 0x24]
shl eax, 2
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 5
mov byte [rsp + rcx + 0x50], al
lea rcx, [rsp + 0x50]
call fcn.1400a1530
movsd xmm0, qword [rsp + 0x50]
subsd xmm0, qword [0x140305ed8]
movsd qword [rsp + 0x38], xmm0
mov eax, dword [rsp + 0x24]
and eax, 0x8000
test eax, eax
je 0x14004893b
movsd xmm0, qword [rsp + 0x38]
xorps xmm0, xmmword [0x140306080]
movsd qword [rsp + 0x38], xmm0
movsd xmm0, qword [rsp + 0x38]
jmp 0x140048ad8
jmp 0x140048ac8
cmp dword [rsp + 0x30], 0x10
jne 0x1400489d0
mov eax, dword [rsp + 0x24]
and eax, 0x3ff
test eax, eax
jne 0x140048996
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0x80
add eax, 0x7f
mov ecx, 1
imul rcx, rcx, 7
mov byte [rsp + rcx + 0x50], al
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x50], 0xf0
jmp 0x1400489cb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0x80
add eax, 0x7f
mov ecx, 1
imul rcx, rcx, 7
mov byte [rsp + rcx + 0x50], al
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x50], 0xf8
jmp 0x140048ac8
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0x80
test eax, eax
je 0x1400489f5
mov dword [rsp + 0x34], 0x80000000
jmp 0x1400489fd
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
add eax, 0x3ff
shl eax, 0x14
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 3
shl eax, 0x12
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x28]
movzx eax, byte [rcx + rax]
and eax, 0xff
shl eax, 0xa
mov ecx, dword [rsp + 0x20]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x18
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 7
mov byte [rsp + rcx + 0x50], al
mov eax, dword [rsp + 0x20]
shr eax, 0x10
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 6
mov byte [rsp + rcx + 0x50], al
mov eax, dword [rsp + 0x20]
shr eax, 8
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 5
mov byte [rsp + rcx + 0x50], al
mov eax, dword [rsp + 0x20]
and eax, 0xff
mov ecx, 1
imul rcx, rcx, 4
mov byte [rsp + rcx + 0x50], al
lea rcx, [rsp + 0x50]
call fcn.1400a1530
movsd xmm0, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14026d940
add rsp, 0x60
pop rdi
ret