Function at 0x1408863bb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
test rax, rax
je 0x140d8e5f5
cmp r11, rsi
jmp 0x140d8e6bb
call rax
mov r11, rax
test rax, rax
jmp 0x140d8e69d
add dword [rax], eax
add cl, ch
add byte [rax], al
add byte [rax], al
or r8d, 0xffffffff
clc
test bp, ax
sub edi, edi
clc
stc
mov dword [rsp + 0x170], r10d
stc
test spl, r9b
mov qword [rsp + 0x28], rdx
cmp r11w, 0x183
cmp rbp, 0xffff
ja 0x140d8e375
mov r8d, ebp
sub r8d, dword [rdx + 0x10]
jmp 0x140d8e561
mov eax, dword [rdx + 0x18]
test eax, eax
je 0x140d8e561
mov r10d, dword [rdx + 0x20]
bswap rcx
cmovb cx, di
mov cl, r12b
dec eax
mov ecx, edi
lea r10, [r10 + rsi]
test rsi, r11
cmc
mov dword [rsp + 0x20], ecx
cmp si, r11w
mov dword [rsp + 0x188], eax
clc
cmp r13, r14
mov qword [rsp + 0x30], r10
test eax, eax
jmp 0x140d8e3b9
js 0x140d8e555
lea ebx, [rax + rcx]
sbb r9b, cl
bt r8w, r9w
movzx r9w, cl
mov r11, rdi
sar ebx, 1
mov eax, ebx
bsf ax, bp
ror ah, cl
movzx eax, byte [rsp + 0x180]
movzx r9w, r11b
dec dx
mov r8d, dword [r10 + rbx*4]
movzx r10w, dil
rcl r10b, cl
stc
mov r10, rbp
test spl, 0x4d
shr r9w, 0xda
lea r8, [r8 + rsi]
movzx r9d, bp
movsxd r9, edx
sub r10, r8
bswap r9
nop
mov edx, 0x535d0846
movzx rdx, r9w
cwd
movzx edx, byte [r10 + r8]
not r9b
movzx r9w, bpl
movsx r9w, r13b
movzx r9d, byte [r8]
jmp 0x140d8e43d
inc r8
test r10w, bx
test al, al
je 0x140d8e489
mov ecx, r11d
btc eax, r11d
jmp 0x140d8e45c
mov eax, 0x70850bdb
rol eax, cl
test sil, 0xa9
cmp r13b, bpl
add al, r11b
xor dl, al
inc ah
not ah
setne ah
movzx eax, byte [rsp + 0x180]
jmp 0x140d8e483
inc r11
cmp rbx, r9
test dl, dl
jmp 0x140d8e490
je 0x140d8e4a4
cmp dl, r9b
jmp 0x140d8e49e
je 0x140d8e422
cmp dl, r9b
jmp 0x140d8e4ac
jb 0x140d8e4d9
jbe 0x140d8e512
mov eax, dword [rsp + 0x188]
movzx rcx, r12w
lea ecx, [rbx + 1]
jmp 0x140d8e4cb
mov dword [rsp + 0x20], ecx
jmp 0x140d8e4d4
jmp 0x140d8e4f6
mov ecx, dword [rsp + 0x20]
lea eax, [rbx - 1]
jmp 0x140d8e4e6
mov dword [rsp + 0x188], eax
cmp r10w, 0x7006
test r11, rsi
cmp ecx, eax
jmp 0x140d8e4fd
jg 0x140d8e538
mov r10, qword [rsp + 0x30]
jmp 0x140d8e50d
jmp 0x140d8e3bf
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x24]
movzx r8, r11w
lea rcx, [rsi + rax]
bswap r8d
movsx r8, r15w
movzx r8d, word [rcx + rbx*2]
jmp 0x140d8e533
jmp 0x140d8e542
or r8d, 0xffffffff
movsxd r9, r10d
rcr dh, 0xce
mov r9d, dword [rsp + 0x24]
sal r10d, cl
dec dh
movzx rdx, r12w
mov rdx, qword [rsp + 0x28]
mov r10d, dword [rsp + 0x170]
test r12b, 0xe1
cmp r8d, dword [rdx + 0x14]
jae 0x140d8e5f5
mov eax, dword [rdx + 0x1c]
xchg cx, dx
test rsp, 0x6d863d60
mov ecx, r8d
add rax, rsi
and dh, ch
mov edx, dword [rax + r8*4]
test ebx, ebx
test edx, edx
jmp 0x140d8e58d
je 0x140d8e5f5
cmp edx, r9d
jb 0x140d8e801
lea eax, [r10 + r9]
test edx, 0x595a1ee0
cmp edx, eax
jae 0x140d8e801
movzx ecx, byte [rsi + rdx]
movsxd rax, esp
rcr bx, 0xc7
clc
lea rax, [rsi + rdx]
sar rbx, 0x63
mov rbx, rax
cmp r12b, 0x6d
clc
test cl, cl
jmp 0x140d8e5d1
je 0x140d8e5f5
nop
cmp cl, 0x2e
je 0x140d8e601
movzx ecx, byte [rbx + 1]
jmp 0x140d8e5ea
inc rbx
test cl, cl
jne 0x140d8e5d8
sub eax, eax
jmp 0x140d8e5fc
jmp 0x140d8e80f
mov r8, rbx
cmc
sub r8, rax
cmp r8, 0x104
jmp 0x140d8e614
jae 0x140d8e5f5
mov rcx, rdi
test r8, r8
jmp 0x140d8e625
je 0x140d8e676
lea r9, [rsp + 0x40]
sub r9, rax
mov rdx, 0x73d4644d
xor rdx, 0x6ec766c5
stc
movzx edx, byte [rax]
clc
test dl, dl
jmp 0x140d8e64d
je 0x140d8e676
inc rcx
jmp 0x140d8e65b
mov byte [r9 + rax], dl
jmp 0x140d8e664
inc rax
cmc
cmp rcx, r8
jmp 0x140d8e670
jb 0x140d8e642
mov byte [rsp + rcx + 0x40], dil
movsxd rax, r15d
movsx ax, bpl
cbw
lea rcx, [rsp + 0x40]
cmovp ax, bp
cdqe
cwde
mov rax, qword [0x14082a6e0]
jmp 0x140bd730c
jne 0x1408863c7
lea rcx, [rsp + 0x40]
not al
movsx ax, r13b
mov rax, qword [0x14082a6d8]
jmp 0x1408863b9
jne 0x140d8e766
cmp byte [rsp + 0x180], dil
jmp 0x140d8e6ce
je 0x140d8e74c
lea rax, [rsp + 0x40]
sub rbp, rax
cwde
btc cx, r10w
nop
lea rdx, [rsp + rdi + 0x40]
rcl cx, 0xf0
movzx eax, r10w
rcr ah, cl
mov ecx, edi
movsx eax, r12w
movzx rax, r8w
mov eax, 0x70850bdb
clc
rol eax, cl
stc
cmc
cmp r13w, r14w
add al, dil
test r9b, dl
xor al, byte [rdx + rbp]
jmp 0x140d8e718
mov byte [rdx], al
jmp 0x140d8e71f
je 0x140d8e742
inc rdi
cmp r8b, spl
jmp 0x140d8e730
cmp rdi, 0x104
jmp 0x140d8e73c
jb 0x140d8e6e3
lea rbp, [rsp + 0x40]
cdq
movzx rcx, bx
mov rdx, rbp
cmovo eax, ebp
mov rcx, rsi
bswap ax
mov rax, qword [0x14082a6e8]
call rax
jmp 0x140d8e80f
cmp byte [rbx + 1], 0x23
cqo
movsxd rdx, edx
cmovnp dx, r8w
lea rdx, [rbx + 1]
jmp 0x140d8e77d
jne 0x140d8e7f1
movzx edx, byte [rbx + 2]
add rbx, 2
test dil, 0xb8
test spl, sil
test dl, dl
jmp 0x140d8e799
je 0x140d8e7e8
nop
cdqe
lea eax, [rdx - 0x30]
jmp 0x140d8e7aa
inc rbx
cmp al, 9
jmp 0x140d8e7b4
ja 0x140d8e7e8
movsx eax, dl
mov cl, r13b
rcl cl, cl
movzx edx, byte [rbx]
and cl, ah
clc
movzx ecx, r14w
lea ecx, [rdi + rdi*4]
xadd rdi, rdi
bsr rdi, rsi
lea edi, [rax + rcx*2 - 0x30]
test dl, dl
jmp 0x140d8e7e2
jne 0x140d8e7a2
movsxd rdx, edi
ror cx, cl
mov cl, r11b
xor r8d, r8d
mov rcx, r11
call fcn.140d8e22f
jmp 0x140d8e80f
lea rax, [rsi + rdx]
adc si, r9w
neg bh
xadd di, bx
mov rbx, qword [rsp + 0x178]
sub esi, 0x762152ce
sar rdi, 0x51
sbb dil, 0x63
mov rdi, qword [rsp + 0x150]
bts rsi, r10
neg bp
cmovae si, bp
add rsp, 0x158
pop rsi
pop rbp
jmp 0x140d8e846
ret