Function at 0x180118d62
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rsp
stc
test r13b, 0xca
mov qword [rax + 8], rbx
movsx bx, r11b
mov qword [rax + 0x10], rbp
shr bp, cl
btr rbp, r10
mov qword [rax + 0x18], rsi
dec ebp
xor rbx, 0x5d6d7d5b
or rbp, 0x44aa6578
mov qword [rax + 0x20], rdi
cmp r8d, 0x3906391a
and rbx, 0x31052739
dec bh
push r14
cmp r12b, bl
or ebp, 0x8c75657
btr bp, 0xe0
sub rsp, 0x60
cmc
bts bx, di
mov qword [rsp + 0x20], rdx
mov rbx, rdx
rol bpl, cl
cmc
stc
movaps xmmword [rax - 0x18], xmm6
shl bpl, cl
ror rbp, cl
clc
mov rbp, rcx
mov qword [rsp + 0x30], rdx
sub edi, edi
movsx edx, cx
xchg dx, cx
mov dh, 0xd5
mov dword [rsp + 0x28], edi
cmovne dx, r12w
xchg dx, cx
lea rdx, [rax - 0x28]
movsx cx, r15b
movaps xmm6, xmmword [rsp + 0x20]
movsxd rcx, esi
mov rcx, rbx
jmp 0x180118e0f
movdqa xmmword [rax - 0x28], xmm6
mov r14d, r8d
stc
clc
test esp, 0x1ac02f84
xor esi, esi
call fcn.180081da8
mov r9d, dword [rbx]
test ah, cl
sub r8d, r8d
test r11, r8
test r9d, r9d
jmp 0x180118e39
je 0x180118fda
lea r10, [0x180000000]
btc rcx, 0xa5
mov rax, qword [rbx + 0x18]
mov ecx, edi
stc
jmp 0x180118e57
cmp r14d, eax
jmp 0x180118e5f
jl 0x180118eab
shr rax, 0x20
cmp r14d, eax
jmp 0x180118e71
jg 0x180118eab
test ecx, ecx
mov edi, r8d
movsx rax, r10w
bswap ax
cqo
mov esi, r8d
cdqe
lahf
cmove edi, ecx
dec ah
mov dword [rsp + 0x28], edi
cdqe
movsx ax, r13b
movzx rcx, ax
movaps xmm6, xmmword [rsp + 0x20]
mov cx, 0x3b8e
cqo
lahf
mov rdx, qword [rbx + 8]
dec cl
cmovbe ax, dx
inc r8d
movzx ecx, ax
btc cx, r9w
sbb ecx, 0x7809301f
movzx ecx, byte [rdx]
btr ax, r11w
and ecx, 0xf
movsxd rax, ebp
movsx rax, byte [rcx + r10 + 0x6c8a0]
mov cl, byte [rcx + r10 + 0x6c8b0]
cmp r11, 0x225a7452
stc
sub rdx, rax
cwde
mov eax, dword [rdx - 4]
shr eax, cl
mov qword [rbx + 8], rdx
xadd cl, ch
sub ch, 0xe5
mov dword [rbx + 0x18], eax
movzx ecx, byte [rdx]
and al, 0x5c
xchg ah, ah
mov ah, ch
and ecx, 0xf
adc eax, r14d
movzx eax, r10w
cwde
movsx rax, byte [rcx + r10 + 0x6c8a0]
mov cl, byte [rcx + r10 + 0x6c8b0]
cmp bp, r8w
cmc
sub rdx, rax
jmp 0x180118f39
mov eax, dword [rdx - 4]
cmp ax, r12w
shr eax, cl
or ch, 0x77
dec ch
test rax, 0x41756fe7
mov qword [rbx + 8], rdx
sub cx, 0x52dc
btc cx, 0x68
bt cx, 0x2b
mov dword [rbx + 0x1c], eax
shrd cx, r8w, 0xda
sub ax, 0x4aca
movzx ecx, byte [rdx]
and ecx, 0xf
bt rax, 0x6b
cbw
shl ah, cl
movsx rax, byte [rcx + r10 + 0x6c8a0]
mov cl, byte [rcx + r10 + 0x6c8b0]
sub rdx, rax
movzx rax, r12w
add al, 0x11
xor eax, esp
mov eax, dword [rdx - 4]
cmp r15, 0x4c5c58c5
clc
shr eax, cl
mov dword [rbx + 0x20], eax
lea rax, [rdx + 4]
xadd cl, ch
adc ch, 0x32
mov qword [rbx + 8], rdx
movzx cx, sil
mov ecx, dword [rdx]
mov qword [rbx + 8], rax
test r12w, r11w
mov dword [rbx + 0x24], ecx
cmp sil, 0x92
cmp r8d, r9d
jmp 0x180118fd4
jne 0x180118e4b
inc esi
jmp 0x180118fe1
movdqa xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x38], esi
cmovp cx, cx
movzx ecx, r12w
movzx rcx, r15w
mov rcx, rbx
call fcn.180081da8
movups xmm0, xmmword [rsp + 0x30]
movzx eax, r10w
mov r11b, 0x92
lea r11, [rsp + 0x60]
mov rax, rbp
not sil
bswap r14w
xchg sil, r14b
mov rbx, qword [r11 + 0x10]
movzx esi, ax
movsxd rsi, r10d
mov rsi, qword [r11 + 0x20]
xchg dil, dil
movzx r14d, r12w
mov rdi, qword [r11 + 0x28]
movdqu xmmword [rbp], xmm6
cmovae r14, r9
xchg r14b, r14b
mov r14b, 0xf4
movaps xmm6, xmmword [rsp + 0x50]
movsx r14, cx
movdqu xmmword [rbp + 0x10], xmm0
movzx ebp, bx
bswap r14w
mov rbp, qword [r11 + 0x18]
setnp r14b
mov rsp, r11
movzx r14, cx
pop r14
jmp 0x180119075
ret