Function at 0x180314f77
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test dl, 0x18
test rax, rax
jmp 0x1806897d6
call rax
mov r11, rax
cmp rbx, r11
stc
cmc
test rax, rax
jne 0x1806897dc
lea rcx, [rsp + 0x40]
mov al, 0x33
movsxd rax, r10d
movsx rax, cx
mov rax, qword [0x1802dc088]
jmp 0x180314f75
mov byte [rsp + 0x18], r8b
push rbp
bt bp, 0x19
push rsi
sub rsp, 0x158
and rsi, r10
movzx r11d, r8b
cmc
mov rbp, rdx
mov rsi, rcx
test rcx, rcx
jmp 0x18068942f
je 0x180689457
test rdx, rdx
jmp 0x18068943d
je 0x180689457
mov eax, 0x5a4d
cmp dl, 0xa4
cmp rbx, r13
cmp word [rcx], ax
je 0x18068946f
sub eax, eax
mov bpl, 0x37
bswap ebp
adc sil, 0xb6
add rsp, 0x158
xchg rsi, rbp
pop rsi
pop rbp
ret
movsxd rax, dword [rcx + 0x3c]
clc
cmc
cmp dword [rax + rcx], 0x4550
jmp 0x180689481
jne 0x180689457
mov r9d, dword [rax + rcx + 0x88]
mov dword [rsp + 0x24], r9d
stc
test r8w, 0x9c24
test r9d, r9d
jmp 0x1806894a3
je 0x180689457
mov r10d, dword [rax + rcx + 0x8c]
movzx edx, r14w
sub rdx, 0xffffffffbfbffc1c
mov qword [rsp + 0x178], rbx
movsx rdx, sp
stc
cmc
lea rdx, [rcx + r9]
or r8d, 0xffffffff
xor ebx, ebx
test spl, al
clc
mov qword [rsp + 0x150], rdi
mov dword [rsp + 0x170], r10d
stc
cmc
mov qword [rsp + 0x28], rdx
cmp r10, 0xffffffff9884bc05
test rcx, 0x53bc6fac
cmc
cmp rbp, 0xffff
ja 0x18068951c
mov r8d, ebp
sub r8d, dword [rdx + 0x10]
jmp 0x180689517
jmp 0x180689683
mov eax, dword [rdx + 0x18]
test r14w, 0xda0d
stc
test eax, eax
jmp 0x18068952d
je 0x180689683
mov r10d, dword [rdx + 0x20]
xchg ecx, ecx
dec eax
ror ecx, 0x11
stc
xor cl, r13b
mov ecx, ebx
cmp si, bp
test cx, r13w
add r10, rsi
clc
test esi, 0xab94b88a
mov dword [rsp + 0x188], ebx
cmp r8w, 0xa717
mov dword [rsp + 0x20], eax
test bx, r11w
cmp r13, r13
mov qword [rsp + 0x30], r10
jmp 0x180689577
test eax, eax
jmp 0x18068957e
js 0x180689672
nop
lea edi, [rax + rcx]
movzx r8d, r11b
setne ch
adc dl, 0x2a
btr cx, 0x96
mov rcx, rbp
inc dx
sar edi, 1
mov edx, dword [r10 + rdi*4]
clc
stc
add rdx, rsi
jmp 0x1806895ad
call fcn.180689268
test eax, eax
jmp 0x1806895b9
jns 0x1806895dc
mov ecx, dword [rsp + 0x188]
lea eax, [rdi - 1]
jmp 0x1806895ce
mov dword [rsp + 0x20], eax
jmp 0x1806895d7
jmp 0x1806895f4
test eax, eax
jle 0x180689636
mov eax, dword [rsp + 0x20]
lea ecx, [rdi + 1]
test al, 0x3f
mov dword [rsp + 0x188], ecx
cmp ecx, eax
mov r10, qword [rsp + 0x30]
not r11b
mov r11b, byte [rsp + 0x180]
jmp 0x18068960b
jle 0x180689585
mov rdx, qword [rsp + 0x28]
mov r9d, dword [rsp + 0x24]
sbb r10d, r14d
mov r10d, dword [rsp + 0x170]
test sil, r12b
cmp r12b, 1
or r8d, 0xffffffff
jmp 0x180689683
mov rax, qword [rsp + 0x28]
cwd
cdq
movzx ecx, r15w
mov rdx, qword [rsp + 0x28]
mov r9d, dword [rsp + 0x24]
movzx r10, r11w
mov eax, dword [rax + 0x24]
mov r10d, dword [rsp + 0x170]
movzx cx, r9b
setb r8b
lea rcx, [rsi + rax]
movzx r8d, word [rcx + rdi*2]
jmp 0x180689683
mov r10d, dword [rsp + 0x170]
cmp dil, r12b
clc
jmp 0x180689683
cmp r8d, dword [rdx + 0x14]
jmp 0x18068968c
jae 0x18068972d
mov eax, dword [rdx + 0x1c]
mov ecx, r8d
rcl dx, cl
xadd dl, dh
adc rdx, 0xffffffffc1368bab
lea rax, [rax + rsi]
rcl rdx, 0x3c
rcr dh, 0x99
mov edx, dword [rax + r8*4]
clc
test r10w, 0xa1d
test edx, edx
jmp 0x1806896c2
je 0x18068972d
cmp edx, r9d
jmp 0x1806896d0
jb 0x180689911
lea eax, [r10 + r9]
cmp edx, eax
jae 0x180689911
movzx ecx, byte [rsi + rdx]
lea rax, [rsi + rdx]
dec di
mov rdi, rax
clc
test cl, cl
jmp 0x1806896f8
je 0x18068972d
nop
stc
test r12w, 0xbe32
cmc
cmp cl, 0x2e
jmp 0x18068970f
je 0x180689739
mov cl, byte [rdi + 1]
jmp 0x18068971d
inc rdi
test cl, cl
jmp 0x180689727
jne 0x180689707
xor eax, eax
jmp 0x180689734
jmp 0x18068991c
mov r8, rdi
sub r8, rax
cmp r13w, 0x9121
cmp r8, 0x104
jmp 0x180689751
jae 0x18068972d
mov rcx, rbx
cmc
jmp 0x180689760
test r8, r8
je 0x1806897c1
lea r9, [rsp + 0x40]
rcl dl, 0xb3
mov dh, 0x3e
movsxd rdx, ebx
sub r9, rax
movzx edx, byte [rax]
jmp 0x180689789
test dl, dl
jmp 0x180689790
je 0x1806897c1
inc rcx
jmp 0x18068979e
mov byte [r9 + rax], dl
jmp 0x1806897a7
inc rax
cmp bpl, 0xb0
jmp 0x1806897b8
cmp rcx, r8
jb 0x18068977a
mov byte [rsp + rcx + 0x40], bl
lea rcx, [rsp + 0x40]
mov rax, qword [0x1802dc090]
jmp 0x180381d6f
je 0x18068972d
cmp r11, rsi
jmp 0x1806897e4
jne 0x180689889
cmp byte [rsp + 0x180], bl
jmp 0x1806897f6
je 0x180689869
lea rax, [rsp + 0x40]
sub rbp, rax
mov cl, r9b
nop
rdtsc
btc rdx, r10
movsx ecx, si
lea rdx, [rsp + rbx + 0x40]
rcr cl, cl
mov ecx, ebx
rcl ah, 0x37
mov eax, 0x9d0d1e9f
rol eax, cl
clc
test cl, bl
add al, bl
cmc
jmp 0x18068982f
xor al, byte [rdx + rbp]
jmp 0x180689837
mov byte [rdx], al
jmp 0x18068983e
je 0x18068985c
inc rbx
cmc
cmp edi, eax
cmp rbx, 0x104
jmp 0x180689856
jb 0x180689811
lea rbp, [rsp + 0x40]
mov ax, 0x160a
movzx cx, bh
mov rdx, rbp
setbe cl
cbw
mov rcx, rsi
movsx eax, r14w
movzx rax, di
cwde
mov rax, qword [0x1802dc098]
jmp 0x1806283a8
cmp byte [rdi + 1], 0x23
cmovg edx, edx
not dh
lea rdx, [rdi + 1]
jmp 0x18068989b
jne 0x1806898fc
movzx edx, byte [rdi + 2]
cmp edx, 0xa22550a8
test ecx, ebp
add rdi, 2
jmp 0x1806898b7
test dl, dl
jmp 0x1806898be
je 0x1806898f5
nop
lea eax, [rdx - 0x30]
inc rdi
clc
cmp al, 9
ja 0x1806898f5
movsx eax, dl
mov dl, byte [rdi]
lea ecx, [rbx + rbx*4]
cmc
bswap bx
sub bl, 0x36
lea ebx, [rax + rcx*2 - 0x30]
stc
test dl, dl
jmp 0x1806898ef
jne 0x1806898c5
movsxd rdx, ebx
movzx ecx, r12w
sub r8d, r8d
mov rcx, r11
jmp 0x180689907
call fcn.180689406
jmp 0x18068991c
lea rax, [rsi + rdx]
movsx di, dl
rol bl, 0x9f