Function at 0x14017edff
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
clc
cmp r11b, r11b
cmp r12b, 2
test rax, rax
jmp 0x140191f39
call rax
mov r11, rax
clc
cmp r14w, 0xd40a
test rax, rax
jmp 0x140191f1c
mov byte [rsp + 0x18], r8b
test bx, r8w
push rbp
push rsi
rcr sil, 0x9d
sub rsp, 0x158
sub sil, 0x11
cmc
mov rbp, rdx
test r12b, 0xa0
sar esi, cl
mov rsi, rcx
cmp esi, 0x7c1e6b93
test rcx, rcx
jmp 0x140191ab4
je 0x140191adb
test rdx, rdx
jmp 0x140191ac2
je 0x140191adb
mov eax, 0x5a4d
cmp word [rcx], ax
jmp 0x140191ad5
je 0x140191afd
sub eax, eax
ror bpl, 0x25
stc
bswap si
add rsp, 0x158
cmovp bp, bp
pop rsi
jmp 0x140191af6
pop rbp
jmp 0x140191afc
ret
movsxd rax, dword [rcx + 0x3c]
cmc
stc
cmp dword [rax + rcx], 0x4550
jne 0x140191adb
mov r9d, dword [rax + rcx + 0x88]
mov dword [rsp + 0x20], r9d
test r9d, r9d
jmp 0x140191b25
je 0x140191adb
mov r10d, dword [rax + rcx + 0x8c]
shr edx, 0x37
lea rdx, [rcx + r9]
clc
cmp r12b, 0xbe
cmp r14d, ebp
mov qword [rsp + 0x178], rbx
clc
cmp r9w, 0x88b8
mov qword [rsp + 0x150], rdi
clc
or r8d, 0xffffffff
cmp r8b, 0xae
xor edi, edi
mov dword [rsp + 0x24], r10d
mov qword [rsp + 0x28], rdx
cmp rbp, 0xffff
jmp 0x140191b7a
ja 0x140191b97
mov r8d, ebp
cmp rdx, rax
cmp ch, 0x3e
sub r8d, dword [rdx + 0x10]
jmp 0x140191b92
jmp 0x140191ddc
mov eax, dword [rdx + 0x18]
cmp sp, 0x9eb9
test eax, eax
je 0x140191ddc
mov r11d, dword [rdx + 0x20]
mov cx, bx
dec eax
shr cl, cl
jmp 0x140191bb7
mov ecx, edi
cmp r14b, 0x26
clc
lea r11, [r11 + rsi]
clc
cmp r11b, 0x9d
mov dword [rsp + 0x188], ecx
cmc
test sil, 0xa2
mov dword [rsp + 0x170], eax
test ebp, 0xf806ed9e
cmc
mov qword [rsp + 0x30], r11
clc
jmp 0x140191bf0
test eax, eax
js 0x140191ddc
nop
lea ebx, [rax + rcx]
rcl r8b, cl
mov r10, rdi
shr eax, cl
sar ax, 0x89
cbw
sar ebx, 1
mov eax, dword [r11 + rbx*4]
bsr r8, rdi
neg r9b
mov r8d, dword [r11 + rbx*4]
xor r9b, spl
mov r11, rbp
movsx rdx, r14w
movzx r9d, r14w
shl edx, cl
sub r11, rax
add ah, 0x1b
sar dh, 0x1d
movzx eax, byte [rsp + 0x180]
mov r9, 0xfffffffff72e129a
shld dx, bx, 0xa0
lea r8, [r8 + rsi]
rcr r9b, 0xab
movzx r9w, spl
sub r11, rsi
mov r9b, 0x15
movzx rdx, r13w
xchg edx, r9d
nop
movsx r9w, r11b
movzx edx, byte [r11 + r8]
movzx r9d, byte [r8]
jmp 0x140191c76
inc r8
cmc
test r14, r13
test al, al
jmp 0x140191c84
je 0x140191ccc
mov ecx, r10d
rcr al, cl
mov eax, 0xd02a7b3c
jmp 0x140191c9a
rol eax, cl
jmp 0x140191ca1
add al, r10b
jmp 0x140191cad
xor dl, al
dec al
jmp 0x140191cb6
mov al, byte [rsp + 0x180]
jmp 0x140191cc2
inc r10
test rdi, 0x61b95b9
test dl, dl
je 0x140191ce2
cmp dl, r9b
jmp 0x140191cdc
je 0x140191c68
cmp dl, r9b
jmp 0x140191cea
jb 0x140191d2a
cmp dl, r9b
jmp 0x140191cf8
jbe 0x140191d65
mov eax, dword [rsp + 0x170]
movsx ecx, r9w
mov cx, 0x3e3a
movsx rcx, r9w
lea ecx, [rbx + 1]
jmp 0x140191d19
mov dword [rsp + 0x188], ecx
jmp 0x140191d25
jmp 0x140191d49
mov ecx, dword [rsp + 0x188]
cwde
rcr ah, 0x8e
cmovl rax, rsp
lea eax, [rbx - 1]
mov dword [rsp + 0x170], eax
test r9w, 0x93b1
cmp ecx, eax
jmp 0x140191d50
jg 0x140191db9
mov r11, qword [rsp + 0x30]
jmp 0x140191d60
jmp 0x140191bf9
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x28]
setbe ch
mov r9d, dword [rsp + 0x20]
xchg r8w, r10w
mov r10b, 0x28
mov eax, dword [rax + 0x24]
movzx r10w, r15b
mov r8b, al
not r8w
mov r10d, dword [rsp + 0x24]
xchg r8b, r8b
cmovle cx, si
lea rcx, [rsi + rax]
setno r8b
movsx r8, di
jmp 0x140191daa
movzx r8d, word [rcx + rbx*2]
jmp 0x140191db4
jmp 0x140191ddc
mov rdx, qword [rsp + 0x28]
sete r10b
mov r9d, dword [rsp + 0x20]
mov r10d, dword [rsp + 0x24]
or r8d, 0xffffffff
test sp, 0x4aae
cmp r13d, 0x4fa1612b
cmp r8d, dword [rdx + 0x14]
jmp 0x140191de5
jae 0x140191e78
mov eax, dword [rdx + 0x1c]
shr dl, 0x29
ror dl, cl
movzx dx, ch
mov ecx, r8d
btc rdx, r11
sub dx, r14w
lea rax, [rax + rsi]
test bl, sil
mov edx, dword [rax + r8*4]
test edx, edx
je 0x140191e78
cmp edx, r9d
jmp 0x140191e1d
jb 0x14019207d
lea eax, [r10 + r9]
cmp edx, eax
jae 0x14019207d
movzx ecx, byte [rsi + rdx]
bswap bx
cwde
not rax
lea rax, [rsi + rdx]
movzx ebx, si
mov rbx, rax
cmc
cmp r14b, spl
test cl, cl
jmp 0x140191e4f
je 0x140191e78
nop
cmp cl, 0x2e
jmp 0x140191e5e
je 0x140191e7f
mov cl, byte [rbx + 1]
jmp 0x140191e6c
inc rbx
clc
test cl, cl
jne 0x140191e56
xor eax, eax
jmp 0x14019208a
mov r8, rbx
cmp bl, 0x2c
cmc
sub r8, rax
clc
cmp r8, 0x104
jmp 0x140191e96
jae 0x140191e78
mov rcx, rdi
test r8, r8
jmp 0x140191ea7
je 0x140191f05
lea r9, [rsp + 0x40]
xor dl, 0x29
adc dh, 0x39
shl rdx, cl
sub r9, rax
btc dx, 0x86
cwd
bsr dx, r8w
movzx edx, byte [rax]
jmp 0x140191ed4
test dl, dl
je 0x140191f05
inc rcx
jmp 0x140191ee4
mov byte [r9 + rax], dl
jmp 0x140191eed
inc rax
stc
clc
jmp 0x140191ef7
cmp rcx, r8
jmp 0x140191eff
jb 0x140191eca
mov byte [rsp + rcx + 0x40], dil
lea rcx, [rsp + 0x40]
cwde
mov rax, qword [0x14015f928]
jmp 0x14018cdd5
jne 0x140191f3f
lea rcx, [rsp + 0x40]
mov al, 0x10
movsx eax, r9w
mov rax, qword [0x14015f920]
jmp 0x14017edfd
je 0x140191e78
cmp r11, rsi
jne 0x140191fde
cmp byte [rsp + 0x180], dil
jmp 0x140191f55
je 0x140191fc1
lea rax, [rsp + 0x40]
bt dx, r12w
sub rbp, rax
nop
rol ax, cl
lahf
btr edx, 0xaf
lea rdx, [rsp + rdi + 0x40]
mov ecx, edi
cwde
mov eax, 0xd02a7b3c
rol eax, cl
add al, dil
cmc
cmp r14w, 0xed22
xor al, byte [rdx + rbp]
jmp 0x140191f92
mov byte [rdx], al
jmp 0x140191f99
je 0x140191fb9
inc rdi
cmp r8b, 0xb4
cmc
cmp rdi, 0x104
jmp 0x140191fb3
jb 0x140191f71
lea rbp, [rsp + 0x40]
movsx edx, ax
mov rdx, rbp
mov rcx, rsi
movzx eax, bx
movsx eax, di
bswap rax
mov rax, qword [0x14015f930]
call rax
jmp 0x14019208a
cmp byte [rbx + 1], 0x23
movzx dx, dl
mov dh, 0x9a
movzx edx, r12w
lea rdx, [rbx + 1]
jne 0x140192065
movzx edx, byte [rbx + 2]
test al, 0xa1
test r14d, eax
add rbx, 2
test dl, dl
jmp 0x14019200b
je 0x14019205d
nop
jmp 0x14019201b
lea eax, [rdx - 0x30]
jmp 0x140192023
inc rbx
cmp r13, rbx
cmp al, 9
jmp 0x140192030
ja 0x14019205d
movsx eax, dl
bswap cx
sbb ch, 0x3e
mov dl, byte [rbx]
cmp r9b, al
inc ecx
lea ecx, [rdi + rdi*4]
sbb edi, r9d
lea edi, [rax + rcx*2 - 0x30]
test dl, dl
jmp 0x140192057
jne 0x14019201b
movsxd rdx, edi
shl ch, 0x89
neg ecx
xor r8d, r8d
mov cl, r15b
mov rcx, r11
jmp 0x140192073
call fcn.140191a7f
jmp 0x14019208a
lea rax, [rsi + rdx]
not rbp
xor sil, bl
mov edi, r10d
mov rbx, qword [rsp + 0x178]
sal si, cl
mov rdi, qword [rsp + 0x150]
mov sil, dl
add rsp, 0x158
pop rsi
not bp
xchg rbp, rbp
movsx bp, r11b
pop rbp
ret