Function at 0x1400217f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140089140
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x140235e48]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
call fcn.1400095c0
xor dl, dl
mov r9, rbx
xor r8b, r8b
nop word [rax + rax]
movzx ecx, byte [r9]
mov eax, 1
shl eax, cl
mov byte [r9 + 0x85a], dl
test eax, eax
je 0x1400891b3
mov ecx, eax
nop dword [rax + rax]
movzx eax, dl
inc dl
mov byte [rax + rbx + 0x75a], r8b
sub rcx, 1
jne 0x1400891a0
inc r8b
inc r9
cmp r8b, 0x1c
jb 0x140089180
xor eax, eax
mov byte [rbx + 0x859], 0x1c
xor r8b, r8b
lea r9, [rbx + 0x1d]
lea r10, [rbx + 0x878]
nop word [rax + rax]
mov word [r10], ax
mov edx, 1
movzx ecx, byte [r9]
shl edx, cl
test edx, edx
je 0x140089214
nop dword [rax]
nop word [rax + rax]
movzx ecx, ax
inc ax
mov byte [rcx + rbx + 0x55a], r8b
sub rdx, 1
jne 0x140089200
inc r8b
add r10, 2
inc r9
cmp r8b, 0x10
jb 0x1400891e0
shr ax, 7
cmp r8b, 0x1e
jae 0x140089294
movzx ecx, r8b
lea r10, [rbx + 0x1d]
lea r11, [rbx + 0x878]
add r10, rcx
lea r11, [r11 + rcx*2]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, ax
mov edx, 1
shl cx, 7
mov word [r11], cx
movzx ecx, byte [r10]
sub ecx, 7
shl edx, cl
mov r9d, edx
test edx, edx
je 0x140089284
movzx ecx, ax
inc ax
mov byte [rcx + rbx + 0x65a], r8b
sub r9, 1
jne 0x140089270
inc r8b
add r11, 2
inc r10
cmp r8b, 0x1e
jb 0x140089250
xorps xmm0, xmm0
lea rax, [rbx + 0x64]
movups xmmword [rsp + 0x20], xmm0
mov ecx, 0x90
mov r15d, 8
movups xmmword [rsp + 0x30], xmm0
mov word [rax], r15w
lea rax, [rax + 4]
sub rcx, 1
jne 0x1400892b0
mov r14d, 9
mov word [rbx + 0x2a4], r14w
mov word [rbx + 0x2a8], r14w
mov word [rbx + 0x2ac], r14w
mov word [rbx + 0x2b0], r14w
mov word [rbx + 0x2b4], r14w
mov word [rbx + 0x2b8], r14w
mov word [rbx + 0x2bc], r14w
mov word [rbx + 0x2c0], r14w
mov word [rbx + 0x2c4], r14w
mov word [rbx + 0x2c8], r14w
mov word [rbx + 0x2cc], r14w
mov word [rbx + 0x2d0], r14w
mov word [rbx + 0x2d4], r14w
mov word [rbx + 0x2d8], r14w
mov word [rbx + 0x2dc], r14w
mov word [rbx + 0x2e0], r14w
mov word [rbx + 0x2e4], r14w
mov word [rbx + 0x2e8], r14w
mov word [rbx + 0x2ec], r14w
mov word [rbx + 0x2f0], r14w
mov word [rbx + 0x2f4], r14w
mov word [rbx + 0x2f8], r14w
mov word [rbx + 0x2fc], r14w
mov word [rbx + 0x300], r14w
mov word [rbx + 0x304], r14w
mov word [rbx + 0x308], r14w
mov word [rbx + 0x30c], r14w
mov word [rbx + 0x310], r14w
mov word [rbx + 0x314], r14w
mov word [rbx + 0x318], r14w
mov word [rbx + 0x31c], r14w
mov word [rbx + 0x320], r14w
mov word [rbx + 0x324], r14w
mov word [rbx + 0x328], r14w
mov word [rbx + 0x32c], r14w
mov word [rbx + 0x330], r14w
mov word [rbx + 0x334], r14w
mov word [rbx + 0x338], r14w
mov word [rbx + 0x33c], r14w
mov word [rbx + 0x340], r14w
mov word [rbx + 0x344], r14w
mov word [rbx + 0x348], r14w
mov word [rbx + 0x34c], r14w
mov word [rbx + 0x350], r14w
mov word [rbx + 0x354], r14w
mov word [rbx + 0x358], r14w
mov word [rbx + 0x35c], r14w
mov word [rbx + 0x360], r14w
mov word [rbx + 0x364], r14w
mov word [rbx + 0x368], r14w
mov word [rbx + 0x36c], r14w
mov word [rbx + 0x370], r14w
mov word [rbx + 0x374], r14w
mov word [rbx + 0x378], r14w
mov word [rbx + 0x37c], r14w
mov word [rbx + 0x380], r14w
mov word [rbx + 0x384], r14w
mov word [rbx + 0x388], r14w
mov word [rbx + 0x38c], r14w
mov word [rbx + 0x390], r14w
mov word [rbx + 0x394], r14w
mov word [rbx + 0x398], r14w
mov word [rbx + 0x39c], r14w
mov word [rbx + 0x3a0], r14w
mov word [rbx + 0x3a4], r14w
mov word [rbx + 0x3a8], r14w
mov word [rbx + 0x3ac], r14w
mov word [rbx + 0x3b0], r14w
mov word [rbx + 0x3b4], r14w
mov word [rbx + 0x3b8], r14w
mov word [rbx + 0x3bc], r14w
mov word [rbx + 0x3c0], r14w
mov word [rbx + 0x3c4], r14w
mov word [rbx + 0x3c8], r14w
mov word [rbx + 0x3cc], r14w
mov word [rbx + 0x3d0], r14w
mov word [rbx + 0x3d4], r14w
mov word [rbx + 0x3d8], r14w
mov word [rbx + 0x3dc], r14w
mov word [rbx + 0x3e0], r14w
mov word [rbx + 0x3e4], r14w
lea rcx, [rbx + 0x62]
mov word [rbx + 0x3e8], r14w
lea r8, [rsp + 0x20]
mov word [rbx + 0x3ec], r14w
mov esi, 7
mov word [rbx + 0x3f0], r14w
mov eax, 0x98
mov word [rbx + 0x3f4], r14w
mov edx, 0x11f
mov word [rbx + 0x3f8], r14w
mov word [rbx + 0x3fc], r14w
mov word [rbx + 0x400], r14w
mov word [rbx + 0x404], r14w
mov word [rbx + 0x408], r14w
mov word [rbx + 0x40c], r14w
mov word [rbx + 0x410], r14w
mov word [rbx + 0x414], r14w
mov word [rbx + 0x418], r14w
mov word [rbx + 0x41c], r14w
mov word [rbx + 0x420], r14w
mov word [rbx + 0x424], r14w
mov word [rbx + 0x428], r14w
mov word [rbx + 0x42c], r14w
mov word [rbx + 0x430], r14w
mov word [rbx + 0x434], r14w
mov word [rbx + 0x438], r14w
mov word [rbx + 0x43c], r14w
mov word [rbx + 0x440], r14w
mov word [rbx + 0x444], r14w
mov word [rbx + 0x448], r14w
mov word [rbx + 0x44c], r14w
mov word [rbx + 0x450], r14w
mov word [rbx + 0x454], r14w
mov word [rbx + 0x458], r14w
mov word [rbx + 0x45c], r14w
mov word [rbx + 0x460], r14w
add word [rsp + 0x32], 0x70
add word [rsp + 0x2e], 0x18
add word [rsp + 0x30], ax
mov word [rbx + 0x464], si
mov word [rbx + 0x468], si
mov word [rbx + 0x46c], si
mov word [rbx + 0x470], si
mov word [rbx + 0x474], si
mov word [rbx + 0x478], si
mov word [rbx + 0x47c], si
mov word [rbx + 0x480], si
mov word [rbx + 0x484], si
mov word [rbx + 0x488], si
mov word [rbx + 0x48c], si
mov word [rbx + 0x490], si
mov word [rbx + 0x494], si
mov word [rbx + 0x498], si
mov word [rbx + 0x49c], si
mov word [rbx + 0x4a0], si
mov word [rbx + 0x4a4], si
mov word [rbx + 0x4a8], si
mov word [rbx + 0x4ac], si
mov word [rbx + 0x4b0], si
mov word [rbx + 0x4b4], si
mov word [rbx + 0x4b8], si
mov word [rbx + 0x4bc], si
mov word [rbx + 0x4c0], si
mov word [rbx + 0x4c4], r15w
mov word [rbx + 0x4c8], r15w
mov word [rbx + 0x4cc], r15w
mov word [rbx + 0x4d0], r15w
mov word [rbx + 0x4d4], r15w
mov word [rbx + 0x4d8], r15w
mov word [rbx + 0x4dc], r15w
mov word [rbx + 0x4e0], r15w
call fcn.14001db80
mov ebp, 5
xor ecx, ecx
mov edx, ebp
mov word [rbx + 0x4e4], bp
call fcn.140006570
mov word [rbx + 0x4e2], ax
mov edx, ebp
mov word [rbx + 0x4e8], bp
lea ecx, [rsi - 6]
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x4e6], ax
lea ecx, [rsi - 5]
mov word [rbx + 0x4ec], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x4ea], ax
lea ecx, [rsi - 4]
mov word [rbx + 0x4f0], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x4ee], ax
lea ecx, [rsi - 3]
mov word [rbx + 0x4f4], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x4f2], ax
mov ecx, ebp
mov word [rbx + 0x4f8], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x4f6], ax
lea ecx, [rsi - 1]
mov word [rbx + 0x4fc], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x4fa], ax
mov ecx, esi
mov word [rbx + 0x500], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x4fe], ax
mov ecx, r15d
mov word [rbx + 0x504], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x502], ax
mov ecx, r14d
mov word [rbx + 0x508], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x506], ax
lea ecx, [rsi + 3]
mov word [rbx + 0x50c], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x50a], ax
lea ecx, [rsi + 4]
mov word [rbx + 0x510], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x50e], ax
lea ecx, [rsi + 5]
mov word [rbx + 0x514], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x512], ax
lea ecx, [rsi + 6]
mov word [rbx + 0x518], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x516], ax
lea ecx, [rsi + 7]
mov word [rbx + 0x51c], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x51a], ax
lea ecx, [rsi + 8]
mov word [rbx + 0x520], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x51e], ax
lea ecx, [rsi + 9]
mov word [rbx + 0x524], bp
call fcn.140006570
mov word [rbx + 0x522], ax
lea ecx, [rsi + 0xa]
mov edx, ebp
mov word [rbx + 0x528], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x526], ax
lea ecx, [rsi + 0xb]
mov word [rbx + 0x52c], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x52a], ax
lea ecx, [rsi + 0xc]
mov word [rbx + 0x530], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x52e], ax
lea ecx, [rsi + 0xd]
mov word [rbx + 0x534], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x532], ax
lea ecx, [rsi + 0xe]
mov word [rbx + 0x538], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x536], ax
lea ecx, [rsi + 0xf]
mov word [rbx + 0x53c], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x53a], ax
lea ecx, [rsi + 0x10]
mov word [rbx + 0x540], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x53e], ax
lea ecx, [rsi + 0x11]
mov word [rbx + 0x544], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x542], ax
lea ecx, [rsi + 0x12]
mov word [rbx + 0x548], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x546], ax
lea ecx, [rsi + 0x13]
mov word [rbx + 0x54c], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x54a], ax
lea ecx, [rsi + 0x14]
mov word [rbx + 0x550], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x54e], ax
lea ecx, [rsi + 0x15]
mov word [rbx + 0x554], bp
call fcn.140006570
mov edx, ebp
mov word [rbx + 0x552], ax
lea ecx, [rsi + 0x16]
mov word [rbx + 0x558], bp
call fcn.140006570
mov word [rbx + 0x556], ax
mov rax, rbx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000fde0
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret