Function at 0x14039d9dc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
cmp r14b, dl
clc
push r14
stc
clc
push rsi
jmp 0x14039d9ed
push rdi
cmp rdi, r10
cmp r9b, 0x56
push rbp
clc
stc
push rbx
test rdx, rdx
jmp 0x14039da01
je 0x14039dd68
mov r10d, ecx
test r14, r12
clc
shr r10d, 0x10
cmc
movzx ecx, cx
clc
test r8, r8
jmp 0x14039da1f
je 0x14039dd4d
mov r9, rdx
add dx, di
sub edx, 0x235162db
mov rax, r8
movsxd r11, ebx
shr rax, 4
movabs rdx, 0x179baa6bb6398b7
mul rdx
mov ax, r11w
cmc
shr rdx, 1
add al, 0x99
imul rdx, rdx, 0x15b0
not r11b
mov rax, r8
sub rax, rdx
mov r11d, 0x80078071
jmp 0x14039da6d
jmp 0x14039dad9
lea r9, [r9 + r14]
mov edx, ecx
clc
stc
imul rdx, r11
shr rdx, 0x2f
test dx, 0x11d3
stc
imul edx, edx, 0xfff1
clc
cmp bx, r8w
sub ecx, edx
or rdx, r10
mov edx, r10d
cmc
imul rdx, r11
shr rdx, 0x2f
imul edx, edx, 0xfff1
clc
cmp r15b, r11b
sub r10d, edx
test r14b, r12b
cmp r8w, 0x10e0
cmp ebp, edi
sub r8, rax
cmovbe ax, r13w
xchg al, ah
movzx eax, si
mov eax, 0x15b0
jmp 0x14039dad3
je 0x14039dd4d
xor edx, edx
cmp rax, 8
jmp 0x14039dae4
jb 0x14039dbec
nop
shl esi, 0x66
bts rsi, rax
or sil, r14b
movzx esi, byte [r9 + rdx]
add esi, ecx
sete cl
shrd ecx, eax, 0x6b
add r10d, esi
sub cl, sil
shl ch, cl
mov ch, 0xca
movzx ecx, byte [r9 + rdx + 1]
cmp r11w, 0x4c5e
add ecx, esi
xadd sil, sil
sal si, cl
neg esi
add r10d, ecx
shl rsi, cl
movzx esi, byte [r9 + rdx + 2]
cmp bp, r15w
add esi, ecx
cmp r9b, 0x8e
add r10d, esi
btr cx, 0xc3
movzx rcx, r8w
movzx ecx, byte [r9 + rdx + 3]
stc
add ecx, esi
add r10d, ecx
rcr esi, cl
add esi, ebx
sar esi, cl
movzx esi, byte [r9 + rdx + 4]
add esi, ecx
sbb cl, r14b
adc cx, r14w
shl ch, 0xef
add r10d, esi
sal cx, 0x14
xor cx, dx
movzx ecx, byte [r9 + rdx + 5]
test dl, 0xa
cmc
jmp 0x14039db84
add ecx, esi
btc rsi, rbx
sar si, cl
bts si, bp
add r10d, ecx
movsx esi, r12w
bsf si, r9w
movzx esi, byte [r9 + rdx + 6]
add esi, ecx
sub ch, 0x3c
btc rcx, rsi
shrd cx, ax, 0xf5
add r10d, esi
or ch, 0xc1
movzx ecx, byte [r9 + rdx + 7]
jmp 0x14039dbc7
add ecx, esi
adc sil, bpl
add r10d, ecx
add rdx, 8
lea esi, [rdx + 7]
test ax, bx
cmp esi, eax
jb 0x14039daf5
add r9, rdx
bts r15w, r12w
and r15d, r14d
mov r15d, edx
movsxd r14, r10d
inc r14
bts r14w, r11w
mov r14, rax
sub r14, r15
jmp 0x14039dc05
jbe 0x14039da76
mov rbx, r15
shl dl, 0xf9
btr rdx, 0xc0
not rbx
add rbx, rax
shl dx, cl
btr dx, r14w
mov rdx, r14
and rdx, 3
je 0x14039dc90
neg rdx
test r14w, r10w
xor edi, edi
mov rsi, r9
mov bpl, 0xd9
nop
movzx ebp, byte [rsi]
jmp 0x14039dc4a
inc rsi
add ecx, ebp
cmc
stc
add r10d, ecx
jmp 0x14039dc59
dec rdi
test r13b, al
cmp si, dx
cmp rdx, rdi
jmp 0x14039dc6a
jne 0x14039dc42
sub r15, rdi
cmp sp, 0x204b
test dil, 0x7e
cmp rbx, 3
jmp 0x14039dc85
jb 0x14039da72
jmp 0x14039dca2
mov rsi, r9
cmp rbx, 3
jmp 0x14039dc9c
jb 0x14039da72
mov rbx, rax
sub rbx, r15
sub edi, edi
rcr dh, cl
bt edx, 0xc
nop word [rax + rax]
or dl, 0x6d
not dl
rcl dx, cl
movzx edx, byte [rsi + rdi]
cmp r13d, 0x57ae60f3
test r15b, sil
add edx, ecx
rcl rcx, 0x16
bts cx, r15w
add r10d, edx
test r10b, r13b
rcr cx, cl
and rcx, r14
movzx ecx, byte [rsi + rdi + 1]
clc
test r12b, r8b
add ecx, edx
cwd
movsx dx, r15b
movsx rdx, ax
add r10d, ecx
stc
movzx edx, byte [rsi + rdi + 2]
cmc
test ax, 0x1aa2
add edx, ecx
movsx rcx, r10w
add r10d, edx
and rcx, 0x499e0361
btr cx, di
movzx ecx, byte [rsi + rdi + 3]
jmp 0x14039dd28
add ecx, edx
test bx, 0x478b
cmp r12b, bl
stc
add r10d, ecx
add rdi, 4
cmp rbx, rdi
jmp 0x14039dd42
jne 0x14039dcc1
jmp 0x14039da72
shl r10d, 0x10
test dx, bx
test r14d, 0x3851701d
or r10d, ecx
jmp 0x14039dd63
jmp 0x14039dd76
mov r10d, 1
bswap r14
cdqe
movsx eax, dx
mov eax, r10d
setp r15b
pop rbx
movzx esi, r15w
pop rbp
xchg rsi, r15
not r15
pop rdi
not r14w
movzx r15d, ax
mov sil, r9b
pop rsi
pop r14
pop r15
jmp 0x14039dd9f
ret