Function at 0x1406cf06e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call rax
mov r11, rax
stc
clc
test rax, rax
jne 0x140d7c82f
lea rcx, [rsp + 0x50]
xchg ah, ah
movzx ax, bpl
mov rax, qword [0x140719158]
jmp 0x14070b1e4
call rax
mov r11, rax
cmp ebp, r14d
test cx, cx
test rax, rax
jmp 0x140d7c829
call rax
jmp 0x140d7c994
mov byte [rsp + 0x18], r8b
test r15w, 0x5c48
cmp r11b, 0xeb
stc
mov qword [rsp + 0x10], rdx
clc
test r10w, 0x6c55
push rbp
push rsi
movsx bp, bpl
cmp rdi, rcx
rcr bp, 0
sub rsp, 0x178
cmp dil, 0x55
mov rbp, rdx
movsxd rsi, r8d
cmc
shrd si, bx, 0xc2
mov rsi, rcx
clc
test rcx, rcx
jmp 0x140d7c39f
je 0x140d7c3c6
test rdx, rdx
je 0x140d7c3c6
mov eax, 0x5a4d
test bp, 0x393c
cmp word [rcx], ax
jmp 0x140d7c3c0
je 0x140d7c3dd
xor eax, eax
cmovle bp, bp
add rsp, 0x178
pop rsi
movzx rbp, ax
movzx ebp, ax
pop rbp
ret
movsxd rax, dword [rcx + 0x3c]
clc
test r11d, r10d
cmp dword [rax + rcx], 0x4550
jmp 0x140d7c3f1
jne 0x140d7c3c6
mov r8d, dword [rax + rcx + 0x88]
mov dword [rsp + 0x30], r8d
test r8d, r8d
jmp 0x140d7c40c
je 0x140d7c3c6
mov r9d, dword [rax + rcx + 0x8c]
adc dl, 0x12
cmp r11b, bl
not rcx
lea rdx, [rsi + r8]
ror cl, 0x78
jmp 0x140d7c432
mov qword [rsp + 0x170], rbx
shr cl, 0x57
mov qword [rsp + 0x168], rdi
rcr cx, 2
xor ecx, edx
add cx, bp
mov ecx, 0xffffffff
cmp r9b, al
cmc
test ax, 0x1669
sub edi, edi
mov dword [rsp + 0x20], r9d
test esi, edx
cmc
mov qword [rsp + 0x28], rdx
jmp 0x140d7c472
mov dword [rsp + 0x190], ecx
cmp rbp, 0xffff
jmp 0x140d7c485
ja 0x140d7c4ce
mov ecx, ebp
jmp 0x140d7c497
sub ecx, dword [rdx + 0x10]
stc
cmp ecx, dword [rdx + 0x14]
jae 0x140d7c4c2
mov eax, dword [rdx + 0x1c]
add rax, rsi
and dx, r9w
xadd rdx, rdx
mov edx, dword [rax + rcx*4]
test edx, edx
jmp 0x140d7c4bc
jne 0x140d7c726
xor eax, eax
jmp 0x140d7c4c9
jmp 0x140d7c994
mov eax, dword [rdx + 0x18]
test eax, eax
je 0x140d7c6ee
mov r9d, dword [rdx + 0x20]
xadd r11b, bl
rcr r11b, 0x17
rcl r11d, 0xd0
lea r11d, [rax - 1]
add rbx, rdx
btr ebx, esp
bt bx, di
mov ebx, edi
add r9, rsi
clc
mov qword [rsp + 0x40], r9
test r11d, r11d
jmp 0x140d7c50a
js 0x140d7c6dd
nop
adc bpl, 0x97
movzx r8, cx
cwd
mov r10, qword [rsp + 0x198]
lea eax, [r11 + rbx]
btc bp, 0xb7
ror rdx, cl
movzx edx, r8w
mov rbp, rdi
add r8d, 0x31ba6aac
shl r8b, cl
movsx edx, r8w
sar eax, 1
mov dword [rsp + 0x1a8], eax
sal edx, 0x3a
mov qword [rsp + 0x38], rax
and edx, esi
mov r8d, dword [r9 + rax*4]
mov eax, dword [r9 + rax*4]
sub r9w, 0x8b5
btc r9w, r14w
sub r10, rax
xor edx, 0x64265ce
movzx eax, byte [rsp + 0x1a0]
movsx edx, r11w
add r8, rsi
add r9d, 0xb8d7099
cqo
sub r10, rsi
mov r9, r10
nop
movzx r9w, sil
cqo
bswap r9
movzx edx, byte [r10 + r8]
mov r9w, dx
mov r9b, 0x57
inc r9b
movzx r9d, byte [r8]
inc r8
clc
test al, al
jmp 0x140d7c5ba
je 0x140d7c5f0
mov ecx, ebp
mov eax, 0x558364be
cmc
rol eax, cl
test sil, 0x1d
test bh, al
cmp r8b, dil
add al, bpl
jmp 0x140d7c5dc
xor dl, al
mov al, cl
mov al, byte [rsp + 0x1a0]
jmp 0x140d7c5ec
inc rbp
clc
test dl, dl
jmp 0x140d7c5f7
je 0x140d7c60b
cmp dl, r9b
jmp 0x140d7c605
je 0x140d7c59c
cmp dl, r9b
jmp 0x140d7c613
jb 0x140d7c68f
cmp dl, r9b
jmp 0x140d7c621
jbe 0x140d7c646
mov ebx, dword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x190]
jmp 0x140d7c63f
inc ebx
jmp 0x140d7c6a6
mov rdx, qword [rsp + 0x28]
movzx eax, r10w
movsx ecx, di
movzx rbx, r14w
lea ebx, [r11 + 1]
mov eax, dword [rdx + 0x24]
movsx cx, r13b
xchg cl, ch
cmovae ecx, eax
lea rcx, [rsi + rax]
mov rax, qword [rsp + 0x38]
jmp 0x140d7c675
movzx ecx, word [rcx + rax*2]
jmp 0x140d7c67e
mov dword [rsp + 0x190], ecx
jmp 0x140d7c68a
jmp 0x140d7c6a6
mov r11d, dword [rsp + 0x1a8]
mov rdx, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x190]
dec r11d
cmp ebx, r11d
bswap r9w
movsx r9, ax
mov r9, qword [rsp + 0x40]
jmp 0x140d7c6bb
jle 0x140d7c51b
mov rbp, qword [rsp + 0x198]
mov r8d, dword [rsp + 0x30]
mov r9d, dword [rsp + 0x20]
jmp 0x140d7c6d8
jmp 0x140d7c6ee
mov r9d, dword [rsp + 0x20]
test r11b, 0x81
cmp dh, 0xa4
jmp 0x140d7c6ee
cmp ecx, dword [rdx + 0x14]
jmp 0x140d7c6f6
jae 0x140d7c4c2
mov eax, dword [rdx + 0x1c]
mov rdx, rsp
cmp ax, 0x5571
lea rax, [rax + rsi]
mov dx, 0x6dbf
and dl, 0x6a
dec dh
mov edx, dword [rax + rcx*4]
clc
cmp rdi, 0x7c6a4706
test edx, edx
je 0x140d7c4c2
cmp edx, r8d
jmp 0x140d7c72e
jb 0x140d7c97f
lea eax, [r9 + r8]
cmp edx, eax
jae 0x140d7c97f
mov eax, edx
add rax, rsi
sar cx, cl
cmp r10b, 0xfd
mov rbx, rax
movzx ecx, byte [rax]
cmp r8d, ecx
clc
test si, r9w
test cl, cl
je 0x140d7c4c2
cmp cl, 0x2e
jmp 0x140d7c76a
je 0x140d7c79d
mov cl, byte [rbx + 1]
jmp 0x140d7c778
inc rbx
cmc
cmp r12w, si
test r11b, 0x55
test cl, cl
jmp 0x140d7c78b
jne 0x140d7c762
sub eax, eax
jmp 0x140d7c798
jmp 0x140d7c994
mov r8, rbx
test r8b, r15b
sub r8, rax
stc
cmp r14b, 0xc
cmp r8, 0x104
jmp 0x140d7c7b7
jae 0x140d7c4c2
mov rcx, rdi
test r14b, dil
test r8, r8
jmp 0x140d7c7cb
je 0x140d7c80f
lea r9, [rsp + 0x50]
sub r9, rax
sbb dl, 0x6c
nop
sbb edx, r15d
movzx edx, byte [rax]
cmp r10b, r8b
test dl, dl
je 0x140d7c80f
inc rcx
jmp 0x140d7c7f6
mov byte [r9 + rax], dl
inc rax
cmc
cmp cx, di
cmp rcx, r8
jmp 0x140d7c809
jb 0x140d7c7e0
mov byte [rsp + rcx + 0x50], dil
movsx ecx, r8w
lea rcx, [rsp + 0x50]
mov rax, qword [0x140719160]
jmp 0x1406cf06c
je 0x140d7c4c2
cmp r11, rsi
jmp 0x140d7c837
jne 0x140d7c8ee
cmp byte [rsp + 0x1a0], dil
jmp 0x140d7c84a
je 0x140d7c8d4
lea rax, [rsp + 0x50]
cmc
sub rbp, rax
btr ax, 0xfd
lahf
nop
rcr ax, cl
lea rdx, [rsp + rdi + 0x50]
movzx ecx, di
mov ecx, edi
bswap rax
bt ax, r12w
mov eax, 0x558364be
clc
rol eax, cl
add al, dil
test r10, 0x27ee16fb
cmp r10w, 0x1a0
jmp 0x140d7c892
xor al, byte [rdx + rbp]
mov byte [rdx], al
jmp 0x140d7c89c
je 0x140d7c8c3
inc rdi
clc
cmp r15w, 0x3e5d
jmp 0x140d7c8b1
cmp rdi, 0x104
jmp 0x140d7c8bd
jb 0x140d7c863
lea rbp, [rsp + 0x50]
movzx ax, bpl
movsx ax, r15b
cwd
mov rdx, rbp
mov rcx, rsi
movsx rax, bx
movzx ax, dh
mov rax, qword [0x140719168]
jmp 0x14070f9df
cmp byte [rbx + 1], 0x23
lea rdx, [rbx + 1]
jne 0x140d7c966
movzx edx, byte [rbx + 2]
cmc
cmp r12w, 0x35f8
stc
add rbx, 2
test dl, dl
jmp 0x140d7c913
je 0x140d7c963
nop
sets al
movsx ax, bl
lea eax, [rdx - 0x30]
jmp 0x140d7c929
inc rbx
cmp al, 9
jmp 0x140d7c933
ja 0x140d7c963
movsx eax, dl
and dl, 0x86
mov dl, byte [rbx]
cmovnp cx, r14w
and rcx, 0x3b6302e9
lea ecx, [rdi + rdi*4]
movsxd rdi, r12d
lea edi, [rax + rcx*2 - 0x30]
cmp r15w, r14w
test dl, dl
jne 0x140d7c921
movsxd rdx, edi
sub r8d, r8d
movzx rcx, di
mov rcx, r11
jmp 0x140d7c975
call fcn.140d7c352
jmp 0x140d7c994
mov eax, edx
bts di, cx
sub bh, 0x9f
bt bx, 0x3e
add rax, rsi
sar sil, 0x80
mov rbx, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x168]
add rsp, 0x178
bswap bp
setle bpl
movsx esi, r12w
pop rsi
pop rbp
ret