Function at 0x1400747ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
lea r14, [rcx + 6]
mov rbx, rcx
movzx eax, word [r14]
mov ebp, 0x7ff
movzx ecx, ax
mov esi, edx
shr cx, 4
and cx, bp
cmp cx, bp
jne 0x140074852
test al, 0xf
jne 0x140074845
xor edi, edi
cmp word [rbx + 4], di
jne 0x140074845
cmp word [rbx + 2], di
jne 0x140074845
cmp word [rbx], di
jne 0x140074845
lea esi, [rdi + 1]
jmp 0x14007484a
mov esi, 2
movzx eax, si
jmp 0x140074a87
xor edi, edi
mov r8, r14
test cx, cx
jne 0x140074874
mov rcx, rbx
call fcn.140074aa4
movzx ecx, ax
cmp di, ax
jl 0x140074a84
lea r8, [rbx + 6]
movsx edx, cx
test esi, esi
jle 0x1400748a4
sub ebp, edx
cmp ebp, esi
jg 0x1400748a4
movsd xmm0, qword [0x1400b90e8]
cmp word [r14], di
jge 0x140074896
xorps xmm0, xmmword [0x1400a4950]
movsd qword [rbx], xmm0
mov eax, 1
jmp 0x140074a87
movzx r11d, word [r14]
mov eax, edx
neg eax
cmp eax, esi
jge 0x1400748d0
add si, cx
mov eax, 0x800f
shl si, 4
and r11w, ax
or si, r11w
mov word [r14], si
or eax, 0xffffffff
jmp 0x140074a87
movzx r12d, r11w
lea ebp, [rsi - 1]
and r11w, 0xf
mov r9d, 0x8000
mov r13d, reloc.OLEAUT32.dll_SafeArrayGetDim
and r12w, r9w
or r11w, r13w
add ebp, edx
mov word [r14], r11w
cmp ebp, 0xffffffcb
jl 0x140074a7a
test ebp, ebp
jns 0x140074a7a
lea esi, [r13 - 0xf]
movzx r15d, di
cmp bp, 0xfff0
jg 0x140074966
movzx ecx, word [rbx + 4]
mov eax, 0xfff0
movzx edx, word [rbx + 2]
sub ax, bp
shr ax, 4
add ax, si
movzx r8d, ax
movzx eax, r8w
shl ax, 4
add bp, ax
test r15w, r15w
mov eax, edi
setne al
movzx r15d, ax
or r15w, word [rbx]
mov word [rbx], dx
movzx edx, cx
movzx ecx, r11w
mov r11d, edi
sub r8, rsi
jne 0x14007493b
mov word [rbx + 4], cx
mov word [rbx + 2], dx
lea r14, [rbx + 2]
test bp, bp
je 0x1400749fb
movzx r8d, word [rbx]
neg bp
movzx r9d, word [r14]
movzx edx, r8w
mov eax, edi
movsx r10d, bp
sub r13d, r10d
mov ecx, r13d
shl dx, cl
test r15w, r15w
movzx r15d, dx
setne al
or r15w, ax
movzx eax, r9w
shl ax, cl
movzx ecx, bp
shr r8w, cl
mov ecx, r13d
or ax, r8w
lea r8, [rbx + 4]
movzx edx, word [r8]
mov word [rbx], ax
movzx eax, dx
shl ax, cl
movzx ecx, bp
shr r9w, cl
mov ecx, r13d
or ax, r9w
mov r9d, 0x8000
mov word [r14], ax
movzx eax, r11w
shl ax, cl
movzx ecx, bp
shr dx, cl
mov ecx, r10d
or ax, dx
mov word [r8], ax
shr r11w, cl
jmp 0x1400749ff
lea r8, [rbx + 4]
or r11w, r12w
mov word [rbx + 6], r11w
cmp r9w, r15w
jb 0x140074a25
mov rcx, r8
mov rax, r14
jne 0x140074a53
test byte [rbx], sil
je 0x140074a53
lea r9, [rbx + 4]
lea rdx, [rbx + 2]
jmp 0x140074a2b
mov r9, r8
mov rdx, r14
add word [rbx], si
mov rcx, r8
mov rax, rdx
jne 0x140074a53
add word [r14], si
mov rcx, r9
jne 0x140074a53
add word [r8], si
jne 0x140074a53
add r11w, si
mov word [rbx + 6], r11w
jmp 0x1400748c8
cmp r11w, r12w
jne 0x1400748c8
cmp word [rcx], di
jne 0x1400748c8
cmp word [rax], di
jne 0x1400748c8
movzx eax, word [rbx]
neg ax
sbb ax, ax
jmp 0x140074a87
mov word [r8], r12w
mov dword [rbx + 2], edi
mov word [rbx], di
movzx eax, di
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret