Function at 0x1803ec46a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
jmp 0x18078684a
call rax
mov r11, rax
test al, 0xb6
test rax, rax
jmp 0x180786865
call rax
jmp 0x1807869ce
mov byte [rsp + 0x18], r8b
jmp 0x180786379
mov qword [rsp + 0x10], rdx
cmp bl, sil
push rbp
inc bp
mov bpl, 0xdf
sar bp, cl
push rsi
sub rsp, 0x178
test rcx, r14
rcl sil, 0xdb
sal bpl, 0xfc
mov rbp, rdx
mov rsi, rcx
stc
test rcx, rcx
jmp 0x1807863ad
je 0x1807863d7
test rdx, rdx
jmp 0x1807863bb
je 0x1807863d7
mov eax, 0x5a4d
cmp r13b, dl
cmp word [rcx], ax
jmp 0x1807863d1
je 0x1807863fd
sub eax, eax
or bpl, r13b
shld rbp, rax, 0x79
bts si, r14w
add rsp, 0x178
movsx rbp, ax
movzx esi, r12w
pop rsi
pop rbp
jmp 0x1807863fc
ret
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x1807863d7
mov r8d, dword [rax + rcx + 0x88]
cmp r10b, 0xa2
clc
mov dword [rsp + 0x30], r8d
cmp r12b, 0x18
test r8d, r8d
jmp 0x18078642c
je 0x1807863d7
mov r9d, dword [rax + rcx + 0x8c]
ror cx, 0x63
xor ch, 0x9d
cmp r10w, 0x686f
lea rdx, [rsi + r8]
movsx rcx, r15w
cmc
bts rcx, r15
mov qword [rsp + 0x170], rbx
mov qword [rsp + 0x168], rdi
or rcx, 0x7b8b7625
btc cx, 0x46
cmova rcx, r15
mov ecx, 0xffffffff
cmp r15b, 0xdb
sub edi, edi
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x190], ecx
stc
test r9d, 0x1fc369d7
cmp rbp, 0xffff
jmp 0x1807864a4
ja 0x1807864ef
mov ecx, ebp
jmp 0x1807864b2
sub ecx, dword [rdx + 0x10]
cmp ecx, dword [rdx + 0x14]
jmp 0x1807864bd
jae 0x1807864e3
mov eax, dword [rdx + 0x1c]
neg dl
lea rax, [rax + rsi]
test bl, r15b
mov edx, dword [rax + rcx*4]
test r12b, 0x89
test edx, edx
jmp 0x1807864dd
jne 0x18078672a
xor eax, eax
jmp 0x1807864ea
jmp 0x1807869ce
mov eax, dword [rdx + 0x18]
cmp dl, r14b
stc
clc
test eax, eax
jmp 0x1807864fe
je 0x180786705
mov r9d, dword [rdx + 0x20]
lea r11d, [rax - 1]
bts bx, bp
or bh, bh
mov ebx, edi
clc
jmp 0x18078651e
add r9, rsi
test cl, r14b
stc
cmc
mov qword [rsp + 0x40], r9
clc
cmc
cmp r15w, 0x4062
test r11d, r11d
js 0x180786700
nop
bsr ax, bx
mov r10, qword [rsp + 0x198]
test r15b, 0xd8
add r8b, bl
adc dx, r8w
lea eax, [r11 + rbx]
mov rbp, rdi
bt dx, 0xe9
sar eax, 1
mov dword [rsp + 0x1a8], eax
shr edx, cl
mov qword [rsp + 0x38], rax
test r9w, r12w
mov r8d, dword [r9 + rax*4]
and dl, r13b
mov eax, dword [r9 + rax*4]
cmc
cmp si, bx
sub r10, rax
bsr edx, edi
shl ah, cl
movzx eax, byte [rsp + 0x1a0]
cdq
test r13w, 0x3552
lea r8, [r8 + rsi]
mov dl, 0xe7
shld r9w, r9w, 0x92
sub r10, rsi
movsx edx, ax
nop
cmovb dx, di
cwd
bswap rdx
movzx edx, byte [r10 + r8]
mov r9b, al
xchg r9b, r9b
movzx r9d, byte [r8]
inc r8
cmp r11d, r9d
test al, al
jmp 0x1807865d2
je 0x1807865fb
mov ecx, ebp
cmc
cbw
mov eax, 0x2a056e7c
rol eax, cl
add al, bpl
xor dl, al
mov al, 0x69
mov al, byte [rsp + 0x1a0]
jmp 0x1807865f7
inc rbp
clc
test dl, dl
jmp 0x180786602
je 0x180786616
cmp dl, r9b
jmp 0x180786610
je 0x1807865b6
cmp dl, r9b
jmp 0x18078661e
jb 0x18078669f
cmp dl, r9b
jmp 0x18078662c
jbe 0x180786660
mov ebx, dword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x28]
jmp 0x180786648
mov ecx, dword [rsp + 0x190]
jmp 0x180786654
inc ebx
jmp 0x18078665b
jmp 0x1807866ce
mov rdx, qword [rsp + 0x28]
lea ebx, [r11 + 1]
movsx eax, ax
lahf
movsx cx, sil
mov eax, dword [rdx + 0x24]
lea rcx, [rsi + rax]
not al
mov rax, qword [rsp + 0x38]
jmp 0x180786685
movzx ecx, word [rcx + rax*2]
jmp 0x18078668e
mov dword [rsp + 0x190], ecx
jmp 0x18078669a
jmp 0x1807866ce
mov r11d, dword [rsp + 0x1a8]
movzx ecx, r8w
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x190]
jmp 0x1807866c3
dec r11d
shrd r9, r9, 0xa9
add r9, rax
cmp ebx, r11d
mov r9, qword [rsp + 0x40]
jmp 0x1807866db
jle 0x180786541
mov rbp, qword [rsp + 0x198]
movzx r8d, r14w
mov r8d, dword [rsp + 0x30]
movzx r9d, bp
mov r9d, dword [rsp + 0x20]
jmp 0x180786705
mov r9d, dword [rsp + 0x20]
cmp ecx, dword [rdx + 0x14]
jmp 0x18078670d
jae 0x1807864e3
mov eax, dword [rdx + 0x1c]
add rax, rsi
sbb edx, 0x7f8777ad
mov edx, dword [rax + rcx*4]
test edx, edx
je 0x1807864e3
cmp edx, r8d
jmp 0x180786732
jb 0x1807869ba
lea eax, [r9 + r8]
test r15b, 0x5b
cmp edx, eax
jmp 0x180786747
jae 0x1807869ba
mov eax, edx
dec bx
mov ch, 0x3f
bts bx, r12w
lea rax, [rax + rsi]
rol bx, cl
mov rbx, rax
btr ecx, r12d
adc ecx, r8d
movzx ecx, byte [rax]
cmp bpl, 0x44
test cl, cl
je 0x1807864e3
cmp cl, 0x2e
jmp 0x180786782
je 0x1807867a9
mov cl, byte [rbx + 1]
inc rbx
clc
stc
test cl, cl
jmp 0x180786797
jne 0x18078677a
xor eax, eax
jmp 0x1807867a4
jmp 0x1807869ce
mov r8, rbx
test rax, rdi
sub r8, rax
cmp r8, 0x104
jmp 0x1807867be
jae 0x1807864e3
mov rcx, rdi
stc
test bl, r14b
test r8, r8
je 0x180786828
lea r9, [rsp + 0x50]
sub r9, rax
nop
jmp 0x1807867e8
movzx edx, byte [rax]
cmp r14b, r14b
test bl, 0xd4
test dl, dl
jmp 0x1807867f8
je 0x180786828
inc rcx
jmp 0x180786806
mov byte [r9 + rax], dl
jmp 0x18078680f
inc rax
cmp dl, r15b
clc
cmp spl, 0x48
cmp rcx, r8
jmp 0x180786822
jb 0x1807867e8
mov byte [rsp + rcx + 0x50], dil
not ch
cbw
lea rcx, [rsp + 0x50]
nop
movsx eax, r13w
bswap ax
mov rax, qword [0x1807800e0]
jmp 0x1803ec468
jne 0x18078686b
lea rcx, [rsp + 0x50]
mov eax, ecx
not ah
mov rax, qword [0x1807800d8]
jmp 0x18044818a
je 0x1807864e3
cmp r11, rsi
jne 0x180786910
cmp byte [rsp + 0x1a0], dil
je 0x1807868f7
lea rax, [rsp + 0x50]
rcr rcx, 0xb7
sub rbp, rax
nop
rol ah, cl
movzx edx, r9w
lea rdx, [rsp + rdi + 0x50]
movsx eax, cx
rol al, cl
cbw
mov ecx, edi
cmovnp rax, rcx
movzx eax, bp
mov eax, 0x2a056e7c
clc
rol eax, cl
stc
add al, dil
clc
test rax, r14
xor al, byte [rdx + rbp]
jmp 0x1807868c2
mov byte [rdx], al
jmp 0x1807868c9
je 0x1807868e9
inc rdi
cmp dx, 0x6fd9
cmp rdi, 0x104
jmp 0x1807868e3
jb 0x180786895
lea rbp, [rsp + 0x50]
cmovbe rax, r8
cdqe
mov dh, 0xeb
mov rdx, rbp
mov rcx, rsi
lahf
movsxd rax, r11d
mov ah, 0x36
mov rax, qword [0x1807800e8]
jmp 0x1807757d0
cmp byte [rbx + 1], 0x23
movsxd rdx, r8d
movsx dx, r9b
lea rdx, [rbx + 1]
jmp 0x180786925
jne 0x1807869a5
movzx edx, byte [rbx + 2]
stc
cmp r9b, 0x93
cmc
add rbx, 2
jmp 0x18078693e
test dl, dl
jmp 0x180786945
je 0x180786995
nop
lea eax, [rdx - 0x30]
jmp 0x180786954
inc rbx
jmp 0x18078695d
cmp al, 9
jmp 0x180786964
ja 0x180786995
movsx eax, dl
or ch, dh
rol rcx, 0x16
mov dl, byte [rbx]
shrd ecx, esp, 0x24
sal cl, 0x27
lea ecx, [rdi + rdi*4]
rcl dil, 0xd2
lea edi, [rax + rcx*2 - 0x30]
jmp 0x18078698d
test dl, dl
jne 0x18078694c
movsxd rdx, edi
btr ecx, 0x8a
and rcx, 0x51860ee8
shr ecx, cl
xor r8d, r8d
mov rcx, r11
jmp 0x1807869b0
call fcn.18078636e
jmp 0x1807869ce
mov eax, edx
movzx ebp, r11w
setbe dil
movsx rdi, bp
lea rax, [rax + rsi]
shr bh, cl
mov rbx, qword [rsp + 0x170]
sbb rsi, 0x683a74ff
shld si, r9w, 0x9f
add esi, 0x48217d3c
mov rdi, qword [rsp + 0x168]
add rsp, 0x178
pop rsi
movzx bp, r10b
pop rbp
jmp 0x180786a04
ret