Function at 0x14039e167
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
cmp ax, 0x1e7a
stc
jmp 0x14039e173
push r14
cmp bx, ax
push rsi
push rdi
jmp 0x14039e17f
push rbp
jmp 0x14039e185
push rbx
stc
test rdx, rdx
je 0x14039e502
mov r10d, ecx
cmp r10b, 0x8a
test dil, r11b
jmp 0x14039e19f
shr r10d, 0x10
test r8w, r15w
movzx ecx, cx
test r15w, sp
cmp si, 0xeb
cmp r8b, r9b
test r8, r8
jmp 0x14039e1be
je 0x14039e4f6
mov r9, rdx
btr r11, rax
sbb rax, 0x2124716f
cmp ax, r9w
mov rax, r8
cmp r11b, 0xd0
cdq
shr rax, 4
clc
mov dx, r11w
movabs rdx, 0x179baa6bb6398b7
ror r11b, cl
sbb r11d, 0x35253a9c
btr r11w, 0xaa
mul rdx
sar ah, 0x6f
and r11b, cl
shr rdx, 1
shl r11b, cl
movzx ax, cl
imul rdx, rdx, 0x15b0
btr rax, rsi
mov rax, r8
mov r11b, r14b
sub rax, rdx
mov r11d, 0x80078071
jmp 0x14039e292
lea r9, [r9 + r14]
mov edx, ecx
cmp ecx, r9d
clc
jmp 0x14039e242
imul rdx, r11
shr rdx, 0x2f
cmp si, r15w
stc
imul edx, edx, 0xfff1
sub ecx, edx
stc
mov edx, r10d
cmp r10w, r15w
stc
imul rdx, r11
test al, r9b
jmp 0x14039e272
shr rdx, 0x2f
clc
imul edx, edx, 0xfff1
clc
test r12, rcx
sub r10d, edx
sub r8, rax
mov eax, 0x15b0
je 0x14039e4f6
sub edx, edx
cmp rax, 8
jb 0x14039e389
nop
movzx esi, byte [r9 + rdx]
jmp 0x14039e2b0
add esi, ecx
rcl ch, 0x2a
add r10d, esi
test r14w, di
xor cx, sp
test r9w, 0x1ee1
movzx ecx, byte [r9 + rdx + 1]
add ecx, esi
add r10d, ecx
bts esi, edx
bt rsi, 0x67
movzx esi, byte [r9 + rdx + 2]
add esi, ecx
sbb cx, 0x555
add r10d, esi
ror ecx, 0x8a
movzx ecx, byte [r9 + rdx + 3]
add ecx, esi
add r10d, ecx
shl sil, cl
sbb sil, bpl
movzx esi, byte [r9 + rdx + 4]
cmp di, di
test r12w, r15w
cmc
add esi, ecx
bsr cx, r14w
bts cx, ax
add r10d, esi
btr cx, r9w
cmovno cx, r14w
movzx ecx, byte [r9 + rdx + 5]
test r9b, 0xe3
test r11b, dil
add ecx, esi
xchg esi, esi
test cl, bh
jmp 0x14039e33a
add r10d, ecx
clc
movzx esi, byte [r9 + rdx + 6]
cmc
add esi, ecx
add r10d, esi
neg ecx
sal cx, cl
cmp r15w, 0x3341
movzx ecx, byte [r9 + rdx + 7]
clc
jmp 0x14039e362
add ecx, esi
shr rsi, cl
add r10d, ecx
cmp r15b, 5
add rdx, 8
adc rsi, r8
lea esi, [rdx + 7]
cmp esi, eax
jb 0x14039e29f
add r9, rdx
or r14d, eax
inc r15b
mov r15d, edx
mov r14, rax
cmp dl, 0x63
clc
sub r14, r15
jbe 0x14039e237
mov rbx, r15
not rbx
cmove dx, dx
or dl, 0x16
add rbx, rax
movsx edx, bx
rcl rdx, 0x33
mov rdx, r14
test r14b, cl
and rdx, 3
jmp 0x14039e3c2
je 0x14039e428
neg rdx
shld esi, esp, 0x23
sub edi, edi
mov rsi, r9
cmovns bp, r8w
xchg bpl, bpl
nop
xchg bpl, bpl
movsx rbp, r12w
movsx ebp, ax
movzx ebp, byte [rsi]
inc rsi
jmp 0x14039e3f6
add ecx, ebp
jmp 0x14039e3fd
add r10d, ecx
dec rdi
cmp rdx, rdi
jmp 0x14039e40b
jne 0x14039e3e8
sub r15, rdi
cmp rbx, 3
jmp 0x14039e41d
jb 0x14039e233
jmp 0x14039e43b
mov rsi, r9
cmc
cmp rbx, 3
jmp 0x14039e435
jb 0x14039e233
mov rbx, rax
inc dl
jmp 0x14039e449
sub rbx, r15
ror dx, 0xcd
test r8w, si
sal edx, cl
sub edi, edi
movsx dx, r11b
nop word [rax + rax]
movzx edx, byte [rsi + rdi]
test cl, 0x3b
add edx, ecx
add cl, 0x58
bt rcx, 0x1c
add r10d, edx
sub ch, 0x71
sbb cx, di
bt rcx, 0xb
movzx ecx, byte [rsi + rdi + 1]
test sil, r15b
cmp si, di
add ecx, edx
bsf dx, r9w
neg edx
jmp 0x14039e49e
add r10d, ecx
movzx edx, byte [rsi + rdi + 2]
test r12w, r11w
add edx, ecx
cmp r8w, 0x4ef
or cl, 0x31
rcr rcx, cl
add r10d, edx
test bpl, 0xf5
mov ecx, 0x40226887
movzx ecx, byte [rsi + rdi + 3]
jmp 0x14039e4d4
add ecx, edx
add r10d, ecx
add rdi, 4
stc
cmc
cmp dil, 0xbc
cmp rbx, rdi
jmp 0x14039e4eb
jne 0x14039e466
jmp 0x14039e233
shl r10d, 0x10
or r10d, ecx
jmp 0x14039e50e
mov r10d, 1
movzx rbp, ax
bswap esi
mov eax, r10d
pop rbx
cmovg r14d, r14d
pop rbp
mov rdi, rcx
bswap si
xchg rsi, rsi
pop rdi
mov r14b, 0x3a
movsx r14w, r9b
movsx r14, r8w
pop rsi
movzx r15d, r8w
jmp 0x14039e53c
pop r14
movzx r15d, ax
xchg r15b, r15b
pop r15
jmp 0x14039e54c
ret